I2C_OLED.elf: file format elf32-littlearm Sections: Idx Name Size VMA LMA File off Algn 0 .isr_vector 0000010c 08000000 08000000 00010000 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA 1 .text 00001f20 0800010c 0800010c 0001010c 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 2 .rodata 00001a2c 0800202c 0800202c 0001202c 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 3 .ARM.extab 00000000 08003a58 08003a58 0002000c 2**0 CONTENTS 4 .ARM 00000000 08003a58 08003a58 0002000c 2**0 CONTENTS 5 .preinit_array 00000000 08003a58 08003a58 0002000c 2**0 CONTENTS, ALLOC, LOAD, DATA 6 .init_array 00000004 08003a58 08003a58 00013a58 2**2 CONTENTS, ALLOC, LOAD, DATA 7 .fini_array 00000004 08003a5c 08003a5c 00013a5c 2**2 CONTENTS, ALLOC, LOAD, DATA 8 .data 0000000c 20000000 08003a60 00020000 2**2 CONTENTS, ALLOC, LOAD, DATA 9 .bss 000004f4 2000000c 08003a6c 0002000c 2**2 ALLOC 10 ._user_heap_stack 00000600 20000500 08003a6c 00020500 2**0 ALLOC 11 .ARM.attributes 00000029 00000000 00000000 0002000c 2**0 CONTENTS, READONLY 12 .debug_info 00006554 00000000 00000000 00020035 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS 13 .debug_abbrev 00001489 00000000 00000000 00026589 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS 14 .debug_aranges 00000730 00000000 00000000 00027a18 2**3 CONTENTS, READONLY, DEBUGGING, OCTETS 15 .debug_ranges 00000690 00000000 00000000 00028148 2**3 CONTENTS, READONLY, DEBUGGING, OCTETS 16 .debug_macro 00016299 00000000 00000000 000287d8 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS 17 .debug_line 0000962b 00000000 00000000 0003ea71 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS 18 .debug_str 0007e397 00000000 00000000 0004809c 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS 19 .comment 00000050 00000000 00000000 000c6433 2**0 CONTENTS, READONLY 20 .debug_frame 00001bd8 00000000 00000000 000c6484 2**2 CONTENTS, READONLY, DEBUGGING, OCTETS Disassembly of section .text: 0800010c <__do_global_dtors_aux>: 800010c: b510 push {r4, lr} 800010e: 4c05 ldr r4, [pc, #20] ; (8000124 <__do_global_dtors_aux+0x18>) 8000110: 7823 ldrb r3, [r4, #0] 8000112: b933 cbnz r3, 8000122 <__do_global_dtors_aux+0x16> 8000114: 4b04 ldr r3, [pc, #16] ; (8000128 <__do_global_dtors_aux+0x1c>) 8000116: b113 cbz r3, 800011e <__do_global_dtors_aux+0x12> 8000118: 4804 ldr r0, [pc, #16] ; (800012c <__do_global_dtors_aux+0x20>) 800011a: f3af 8000 nop.w 800011e: 2301 movs r3, #1 8000120: 7023 strb r3, [r4, #0] 8000122: bd10 pop {r4, pc} 8000124: 2000000c .word 0x2000000c 8000128: 00000000 .word 0x00000000 800012c: 08002014 .word 0x08002014 08000130 : 8000130: b508 push {r3, lr} 8000132: 4b03 ldr r3, [pc, #12] ; (8000140 ) 8000134: b11b cbz r3, 800013e 8000136: 4903 ldr r1, [pc, #12] ; (8000144 ) 8000138: 4803 ldr r0, [pc, #12] ; (8000148 ) 800013a: f3af 8000 nop.w 800013e: bd08 pop {r3, pc} 8000140: 00000000 .word 0x00000000 8000144: 20000010 .word 0x20000010 8000148: 08002014 .word 0x08002014 0800014c : 800014c: b480 push {r7} 800014e: b083 sub sp, #12 8000150: af00 add r7, sp, #0 8000152: 4b0e ldr r3, [pc, #56] ; (800018c ) 8000154: 699b ldr r3, [r3, #24] 8000156: 4a0d ldr r2, [pc, #52] ; (800018c ) 8000158: f043 0304 orr.w r3, r3, #4 800015c: 6193 str r3, [r2, #24] 800015e: 4b0b ldr r3, [pc, #44] ; (800018c ) 8000160: 699b ldr r3, [r3, #24] 8000162: f003 0304 and.w r3, r3, #4 8000166: 607b str r3, [r7, #4] 8000168: 687b ldr r3, [r7, #4] 800016a: 4b08 ldr r3, [pc, #32] ; (800018c ) 800016c: 699b ldr r3, [r3, #24] 800016e: 4a07 ldr r2, [pc, #28] ; (800018c ) 8000170: f043 0308 orr.w r3, r3, #8 8000174: 6193 str r3, [r2, #24] 8000176: 4b05 ldr r3, [pc, #20] ; (800018c ) 8000178: 699b ldr r3, [r3, #24] 800017a: f003 0308 and.w r3, r3, #8 800017e: 603b str r3, [r7, #0] 8000180: 683b ldr r3, [r7, #0] 8000182: bf00 nop 8000184: 370c adds r7, #12 8000186: 46bd mov sp, r7 8000188: bc80 pop {r7} 800018a: 4770 bx lr 800018c: 40021000 .word 0x40021000 08000190 : 8000190: b580 push {r7, lr} 8000192: af00 add r7, sp, #0 8000194: 4b12 ldr r3, [pc, #72] ; (80001e0 ) 8000196: 4a13 ldr r2, [pc, #76] ; (80001e4 ) 8000198: 601a str r2, [r3, #0] 800019a: 4b11 ldr r3, [pc, #68] ; (80001e0 ) 800019c: 4a12 ldr r2, [pc, #72] ; (80001e8 ) 800019e: 605a str r2, [r3, #4] 80001a0: 4b0f ldr r3, [pc, #60] ; (80001e0 ) 80001a2: 2200 movs r2, #0 80001a4: 609a str r2, [r3, #8] 80001a6: 4b0e ldr r3, [pc, #56] ; (80001e0 ) 80001a8: 2200 movs r2, #0 80001aa: 60da str r2, [r3, #12] 80001ac: 4b0c ldr r3, [pc, #48] ; (80001e0 ) 80001ae: f44f 4280 mov.w r2, #16384 ; 0x4000 80001b2: 611a str r2, [r3, #16] 80001b4: 4b0a ldr r3, [pc, #40] ; (80001e0 ) 80001b6: 2200 movs r2, #0 80001b8: 615a str r2, [r3, #20] 80001ba: 4b09 ldr r3, [pc, #36] ; (80001e0 ) 80001bc: 2200 movs r2, #0 80001be: 619a str r2, [r3, #24] 80001c0: 4b07 ldr r3, [pc, #28] ; (80001e0 ) 80001c2: 2200 movs r2, #0 80001c4: 61da str r2, [r3, #28] 80001c6: 4b06 ldr r3, [pc, #24] ; (80001e0 ) 80001c8: 2200 movs r2, #0 80001ca: 621a str r2, [r3, #32] 80001cc: 4804 ldr r0, [pc, #16] ; (80001e0 ) 80001ce: f000 fea5 bl 8000f1c 80001d2: 4603 mov r3, r0 80001d4: 2b00 cmp r3, #0 80001d6: d001 beq.n 80001dc 80001d8: f000 f8ab bl 8000332 80001dc: bf00 nop 80001de: bd80 pop {r7, pc} 80001e0: 20000028 .word 0x20000028 80001e4: 40005400 .word 0x40005400 80001e8: 000186a0 .word 0x000186a0 080001ec : 80001ec: b580 push {r7, lr} 80001ee: b088 sub sp, #32 80001f0: af00 add r7, sp, #0 80001f2: 6078 str r0, [r7, #4] 80001f4: f107 0310 add.w r3, r7, #16 80001f8: 2200 movs r2, #0 80001fa: 601a str r2, [r3, #0] 80001fc: 605a str r2, [r3, #4] 80001fe: 609a str r2, [r3, #8] 8000200: 60da str r2, [r3, #12] 8000202: 687b ldr r3, [r7, #4] 8000204: 681b ldr r3, [r3, #0] 8000206: 4a15 ldr r2, [pc, #84] ; (800025c ) 8000208: 4293 cmp r3, r2 800020a: d123 bne.n 8000254 800020c: 4b14 ldr r3, [pc, #80] ; (8000260 ) 800020e: 699b ldr r3, [r3, #24] 8000210: 4a13 ldr r2, [pc, #76] ; (8000260 ) 8000212: f043 0308 orr.w r3, r3, #8 8000216: 6193 str r3, [r2, #24] 8000218: 4b11 ldr r3, [pc, #68] ; (8000260 ) 800021a: 699b ldr r3, [r3, #24] 800021c: f003 0308 and.w r3, r3, #8 8000220: 60fb str r3, [r7, #12] 8000222: 68fb ldr r3, [r7, #12] 8000224: 23c0 movs r3, #192 ; 0xc0 8000226: 613b str r3, [r7, #16] 8000228: 2312 movs r3, #18 800022a: 617b str r3, [r7, #20] 800022c: 2303 movs r3, #3 800022e: 61fb str r3, [r7, #28] 8000230: f107 0310 add.w r3, r7, #16 8000234: 4619 mov r1, r3 8000236: 480b ldr r0, [pc, #44] ; (8000264 ) 8000238: f000 fcec bl 8000c14 800023c: 4b08 ldr r3, [pc, #32] ; (8000260 ) 800023e: 69db ldr r3, [r3, #28] 8000240: 4a07 ldr r2, [pc, #28] ; (8000260 ) 8000242: f443 1300 orr.w r3, r3, #2097152 ; 0x200000 8000246: 61d3 str r3, [r2, #28] 8000248: 4b05 ldr r3, [pc, #20] ; (8000260 ) 800024a: 69db ldr r3, [r3, #28] 800024c: f403 1300 and.w r3, r3, #2097152 ; 0x200000 8000250: 60bb str r3, [r7, #8] 8000252: 68bb ldr r3, [r7, #8] 8000254: bf00 nop 8000256: 3720 adds r7, #32 8000258: 46bd mov sp, r7 800025a: bd80 pop {r7, pc} 800025c: 40005400 .word 0x40005400 8000260: 40021000 .word 0x40021000 8000264: 40010c00 .word 0x40010c00 08000268
: /** * @brief The application entry point. * @retval int */ int main(void) { 8000268: b580 push {r7, lr} 800026a: b082 sub sp, #8 800026c: af02 add r7, sp, #8 /* USER CODE END 1 */ /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); 800026e: f000 fb8b bl 8000988 /* USER CODE BEGIN Init */ /* USER CODE END Init */ /* Configure the system clock */ SystemClock_Config(); 8000272: f000 f823 bl 80002bc /* USER CODE BEGIN SysInit */ /* USER CODE END SysInit */ /* Initialize all configured peripherals */ MX_GPIO_Init(); 8000276: f7ff ff69 bl 800014c MX_I2C1_Init(); 800027a: f7ff ff89 bl 8000190 /* USER CODE BEGIN 2 */ OLED_Init(); 800027e: f000 f937 bl 80004f0 OLED_ColorTurn(0); 8000282: 2000 movs r0, #0 8000284: f000 f87e bl 8000384 OLED_DisplayTurn(0); 8000288: 2000 movs r0, #0 800028a: f000 f892 bl 80003b2 OLED_ShowString(9, 13, "KEYSKING's", 16, 1); 800028e: 2301 movs r3, #1 8000290: 9300 str r3, [sp, #0] 8000292: 2310 movs r3, #16 8000294: 4a07 ldr r2, [pc, #28] ; (80002b4 ) 8000296: 210d movs r1, #13 8000298: 2009 movs r0, #9 800029a: f000 fabd bl 8000818 OLED_ShowString(9, 35, "STM32 TUTORIAL", 16, 1); 800029e: 2301 movs r3, #1 80002a0: 9300 str r3, [sp, #0] 80002a2: 2310 movs r3, #16 80002a4: 4a04 ldr r2, [pc, #16] ; (80002b8 ) 80002a6: 2123 movs r1, #35 ; 0x23 80002a8: 2009 movs r0, #9 80002aa: f000 fab5 bl 8000818 OLED_Refresh(); 80002ae: f000 f89f bl 80003f0 /* USER CODE END 2 */ /* Infinite loop */ /* USER CODE BEGIN WHILE */ while (1) { 80002b2: e7fe b.n 80002b2 80002b4: 0800202c .word 0x0800202c 80002b8: 08002038 .word 0x08002038 080002bc : /** * @brief System Clock Configuration * @retval None */ void SystemClock_Config(void) { 80002bc: b580 push {r7, lr} 80002be: b090 sub sp, #64 ; 0x40 80002c0: af00 add r7, sp, #0 RCC_OscInitTypeDef RCC_OscInitStruct = { 0 }; 80002c2: f107 0318 add.w r3, r7, #24 80002c6: 2228 movs r2, #40 ; 0x28 80002c8: 2100 movs r1, #0 80002ca: 4618 mov r0, r3 80002cc: f001 fe9a bl 8002004 RCC_ClkInitTypeDef RCC_ClkInitStruct = { 0 }; 80002d0: 1d3b adds r3, r7, #4 80002d2: 2200 movs r2, #0 80002d4: 601a str r2, [r3, #0] 80002d6: 605a str r2, [r3, #4] 80002d8: 609a str r2, [r3, #8] 80002da: 60da str r2, [r3, #12] 80002dc: 611a str r2, [r3, #16] /** Initializes the RCC Oscillators according to the specified parameters * in the RCC_OscInitTypeDef structure. */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI; 80002de: 2302 movs r3, #2 80002e0: 61bb str r3, [r7, #24] RCC_OscInitStruct.HSIState = RCC_HSI_ON; 80002e2: 2301 movs r3, #1 80002e4: 62bb str r3, [r7, #40] ; 0x28 RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT; 80002e6: 2310 movs r3, #16 80002e8: 62fb str r3, [r7, #44] ; 0x2c RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; 80002ea: 2300 movs r3, #0 80002ec: 637b str r3, [r7, #52] ; 0x34 if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) { 80002ee: f107 0318 add.w r3, r7, #24 80002f2: 4618 mov r0, r3 80002f4: f001 fa5c bl 80017b0 80002f8: 4603 mov r3, r0 80002fa: 2b00 cmp r3, #0 80002fc: d001 beq.n 8000302 Error_Handler(); 80002fe: f000 f818 bl 8000332 } /** Initializes the CPU, AHB and APB buses clocks */ RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_PCLK1 | RCC_CLOCKTYPE_PCLK2; 8000302: 230f movs r3, #15 8000304: 607b str r3, [r7, #4] RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI; 8000306: 2300 movs r3, #0 8000308: 60bb str r3, [r7, #8] RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; 800030a: 2300 movs r3, #0 800030c: 60fb str r3, [r7, #12] RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; 800030e: 2300 movs r3, #0 8000310: 613b str r3, [r7, #16] RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; 8000312: 2300 movs r3, #0 8000314: 617b str r3, [r7, #20] if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK) { 8000316: 1d3b adds r3, r7, #4 8000318: 2100 movs r1, #0 800031a: 4618 mov r0, r3 800031c: f001 fcca bl 8001cb4 8000320: 4603 mov r3, r0 8000322: 2b00 cmp r3, #0 8000324: d001 beq.n 800032a Error_Handler(); 8000326: f000 f804 bl 8000332 } } 800032a: bf00 nop 800032c: 3740 adds r7, #64 ; 0x40 800032e: 46bd mov sp, r7 8000330: bd80 pop {r7, pc} 08000332 : /** * @brief This function is executed in case of error occurrence. * @retval None */ void Error_Handler(void) { 8000332: b480 push {r7} 8000334: af00 add r7, sp, #0 \details Disables IRQ interrupts by setting the I-bit in the CPSR. Can only be executed in Privileged modes. */ __STATIC_FORCEINLINE void __disable_irq(void) { __ASM volatile ("cpsid i" : : : "memory"); 8000336: b672 cpsid i } 8000338: bf00 nop /* USER CODE BEGIN Error_Handler_Debug */ /* User can add his own implementation to report the HAL error return state */ __disable_irq(); while (1) { 800033a: e7fe b.n 800033a 0800033c : uint8_t OLED_GRAM[144][8]; //发送一个字节 //mode:数据/命令标志 0,表示命令;1,表示数据; void OLED_WR_Byte(uint8_t data, uint8_t mode) { 800033c: b580 push {r7, lr} 800033e: b086 sub sp, #24 8000340: af02 add r7, sp, #8 8000342: 4603 mov r3, r0 8000344: 460a mov r2, r1 8000346: 71fb strb r3, [r7, #7] 8000348: 4613 mov r3, r2 800034a: 71bb strb r3, [r7, #6] uint8_t send_buf[2] = { 0 }; 800034c: 2300 movs r3, #0 800034e: 81bb strh r3, [r7, #12] if (mode) 8000350: 79bb ldrb r3, [r7, #6] 8000352: 2b00 cmp r3, #0 8000354: d002 beq.n 800035c send_buf[0] = 0x40; 8000356: 2340 movs r3, #64 ; 0x40 8000358: 733b strb r3, [r7, #12] 800035a: e001 b.n 8000360 else send_buf[0] = 0x00; 800035c: 2300 movs r3, #0 800035e: 733b strb r3, [r7, #12] send_buf[1] = data; 8000360: 79fb ldrb r3, [r7, #7] 8000362: 737b strb r3, [r7, #13] HAL_I2C_Master_Transmit(&hi2c1, OLED_ADDRESS, send_buf, 2, 1); 8000364: f107 020c add.w r2, r7, #12 8000368: 2301 movs r3, #1 800036a: 9300 str r3, [sp, #0] 800036c: 2302 movs r3, #2 800036e: 217a movs r1, #122 ; 0x7a 8000370: 4803 ldr r0, [pc, #12] ; (8000380 ) 8000372: f000 ff17 bl 80011a4 } 8000376: bf00 nop 8000378: 3710 adds r7, #16 800037a: 46bd mov sp, r7 800037c: bd80 pop {r7, pc} 800037e: bf00 nop 8000380: 20000028 .word 0x20000028 08000384 : //反显函数 void OLED_ColorTurn(uint8_t i) { 8000384: b580 push {r7, lr} 8000386: b082 sub sp, #8 8000388: af00 add r7, sp, #0 800038a: 4603 mov r3, r0 800038c: 71fb strb r3, [r7, #7] if (i == 0) { 800038e: 79fb ldrb r3, [r7, #7] 8000390: 2b00 cmp r3, #0 8000392: d103 bne.n 800039c OLED_WR_Byte(0xA6, OLED_CMD); //正常显示 8000394: 2100 movs r1, #0 8000396: 20a6 movs r0, #166 ; 0xa6 8000398: f7ff ffd0 bl 800033c } if (i == 1) { 800039c: 79fb ldrb r3, [r7, #7] 800039e: 2b01 cmp r3, #1 80003a0: d103 bne.n 80003aa OLED_WR_Byte(0xA7, OLED_CMD); //反色显示 80003a2: 2100 movs r1, #0 80003a4: 20a7 movs r0, #167 ; 0xa7 80003a6: f7ff ffc9 bl 800033c } } 80003aa: bf00 nop 80003ac: 3708 adds r7, #8 80003ae: 46bd mov sp, r7 80003b0: bd80 pop {r7, pc} 080003b2 : //屏幕旋转180度 void OLED_DisplayTurn(uint8_t i) { 80003b2: b580 push {r7, lr} 80003b4: b082 sub sp, #8 80003b6: af00 add r7, sp, #0 80003b8: 4603 mov r3, r0 80003ba: 71fb strb r3, [r7, #7] if (i == 0) { 80003bc: 79fb ldrb r3, [r7, #7] 80003be: 2b00 cmp r3, #0 80003c0: d107 bne.n 80003d2 OLED_WR_Byte(0xC8, OLED_CMD); //正常显示 80003c2: 2100 movs r1, #0 80003c4: 20c8 movs r0, #200 ; 0xc8 80003c6: f7ff ffb9 bl 800033c OLED_WR_Byte(0xA1, OLED_CMD); 80003ca: 2100 movs r1, #0 80003cc: 20a1 movs r0, #161 ; 0xa1 80003ce: f7ff ffb5 bl 800033c } if (i == 1) { 80003d2: 79fb ldrb r3, [r7, #7] 80003d4: 2b01 cmp r3, #1 80003d6: d107 bne.n 80003e8 OLED_WR_Byte(0xC0, OLED_CMD); //反转显示 80003d8: 2100 movs r1, #0 80003da: 20c0 movs r0, #192 ; 0xc0 80003dc: f7ff ffae bl 800033c OLED_WR_Byte(0xA0, OLED_CMD); 80003e0: 2100 movs r1, #0 80003e2: 20a0 movs r0, #160 ; 0xa0 80003e4: f7ff ffaa bl 800033c } } 80003e8: bf00 nop 80003ea: 3708 adds r7, #8 80003ec: 46bd mov sp, r7 80003ee: bd80 pop {r7, pc} 080003f0 : OLED_WR_Byte(0x10, OLED_CMD); //关闭电荷泵 OLED_WR_Byte(0xAE, OLED_CMD); //关闭屏幕 } //更新显存到OLED void OLED_Refresh(void) { 80003f0: b580 push {r7, lr} 80003f2: b0a4 sub sp, #144 ; 0x90 80003f4: af02 add r7, sp, #8 uint8_t i, n; uint8_t send_buf[129] = { 0 }; 80003f6: 2300 movs r3, #0 80003f8: 607b str r3, [r7, #4] 80003fa: f107 0308 add.w r3, r7, #8 80003fe: 227d movs r2, #125 ; 0x7d 8000400: 2100 movs r1, #0 8000402: 4618 mov r0, r3 8000404: f001 fdfe bl 8002004 for (i = 0; i < 8; i++) { 8000408: 2300 movs r3, #0 800040a: f887 3087 strb.w r3, [r7, #135] ; 0x87 800040e: e03b b.n 8000488 OLED_WR_Byte(0xb0 + i, OLED_CMD); //设置行起始地址 8000410: f897 3087 ldrb.w r3, [r7, #135] ; 0x87 8000414: 3b50 subs r3, #80 ; 0x50 8000416: b2db uxtb r3, r3 8000418: 2100 movs r1, #0 800041a: 4618 mov r0, r3 800041c: f7ff ff8e bl 800033c OLED_WR_Byte(0x02, OLED_CMD); //设置低列起始地址 8000420: 2100 movs r1, #0 8000422: 2002 movs r0, #2 8000424: f7ff ff8a bl 800033c OLED_WR_Byte(0x10, OLED_CMD); //设置高列起始地址 8000428: 2100 movs r1, #0 800042a: 2010 movs r0, #16 800042c: f7ff ff86 bl 800033c send_buf[0] = 0x40; 8000430: 2340 movs r3, #64 ; 0x40 8000432: 713b strb r3, [r7, #4] for (n = 0; n < 128; n++) { 8000434: 2300 movs r3, #0 8000436: f887 3086 strb.w r3, [r7, #134] ; 0x86 800043a: e014 b.n 8000466 send_buf[n + 1] = OLED_GRAM[n][i]; 800043c: f897 1086 ldrb.w r1, [r7, #134] ; 0x86 8000440: f897 2087 ldrb.w r2, [r7, #135] ; 0x87 8000444: f897 3086 ldrb.w r3, [r7, #134] ; 0x86 8000448: 3301 adds r3, #1 800044a: 4814 ldr r0, [pc, #80] ; (800049c ) 800044c: 00c9 lsls r1, r1, #3 800044e: 4401 add r1, r0 8000450: 440a add r2, r1 8000452: 7812 ldrb r2, [r2, #0] 8000454: 3388 adds r3, #136 ; 0x88 8000456: 443b add r3, r7 8000458: f803 2c84 strb.w r2, [r3, #-132] for (n = 0; n < 128; n++) { 800045c: f897 3086 ldrb.w r3, [r7, #134] ; 0x86 8000460: 3301 adds r3, #1 8000462: f887 3086 strb.w r3, [r7, #134] ; 0x86 8000466: f997 3086 ldrsb.w r3, [r7, #134] ; 0x86 800046a: 2b00 cmp r3, #0 800046c: dae6 bge.n 800043c } HAL_I2C_Master_Transmit(&hi2c1, OLED_ADDRESS, send_buf, 129, 20); 800046e: 1d3a adds r2, r7, #4 8000470: 2314 movs r3, #20 8000472: 9300 str r3, [sp, #0] 8000474: 2381 movs r3, #129 ; 0x81 8000476: 217a movs r1, #122 ; 0x7a 8000478: 4809 ldr r0, [pc, #36] ; (80004a0 ) 800047a: f000 fe93 bl 80011a4 for (i = 0; i < 8; i++) { 800047e: f897 3087 ldrb.w r3, [r7, #135] ; 0x87 8000482: 3301 adds r3, #1 8000484: f887 3087 strb.w r3, [r7, #135] ; 0x87 8000488: f897 3087 ldrb.w r3, [r7, #135] ; 0x87 800048c: 2b07 cmp r3, #7 800048e: d9bf bls.n 8000410 } } 8000490: bf00 nop 8000492: bf00 nop 8000494: 3788 adds r7, #136 ; 0x88 8000496: 46bd mov sp, r7 8000498: bd80 pop {r7, pc} 800049a: bf00 nop 800049c: 2000007c .word 0x2000007c 80004a0: 20000028 .word 0x20000028 080004a4 : //清屏函数 void OLED_Clear(void) { 80004a4: b480 push {r7} 80004a6: b083 sub sp, #12 80004a8: af00 add r7, sp, #0 uint8_t i, n; for (i = 0; i < 8; i++) { 80004aa: 2300 movs r3, #0 80004ac: 71fb strb r3, [r7, #7] 80004ae: e014 b.n 80004da for (n = 0; n < 128; n++) { 80004b0: 2300 movs r3, #0 80004b2: 71bb strb r3, [r7, #6] 80004b4: e00a b.n 80004cc OLED_GRAM[n][i] = 0; //清除所有数据 80004b6: 79ba ldrb r2, [r7, #6] 80004b8: 79fb ldrb r3, [r7, #7] 80004ba: 490c ldr r1, [pc, #48] ; (80004ec ) 80004bc: 00d2 lsls r2, r2, #3 80004be: 440a add r2, r1 80004c0: 4413 add r3, r2 80004c2: 2200 movs r2, #0 80004c4: 701a strb r2, [r3, #0] for (n = 0; n < 128; n++) { 80004c6: 79bb ldrb r3, [r7, #6] 80004c8: 3301 adds r3, #1 80004ca: 71bb strb r3, [r7, #6] 80004cc: f997 3006 ldrsb.w r3, [r7, #6] 80004d0: 2b00 cmp r3, #0 80004d2: daf0 bge.n 80004b6 for (i = 0; i < 8; i++) { 80004d4: 79fb ldrb r3, [r7, #7] 80004d6: 3301 adds r3, #1 80004d8: 71fb strb r3, [r7, #7] 80004da: 79fb ldrb r3, [r7, #7] 80004dc: 2b07 cmp r3, #7 80004de: d9e7 bls.n 80004b0 } } // OLED_Refresh(); //更新显示 } 80004e0: bf00 nop 80004e2: bf00 nop 80004e4: 370c adds r7, #12 80004e6: 46bd mov sp, r7 80004e8: bc80 pop {r7} 80004ea: 4770 bx lr 80004ec: 2000007c .word 0x2000007c 080004f0 : //OLED的初始化 void OLED_Init(void) { 80004f0: b580 push {r7, lr} 80004f2: af00 add r7, sp, #0 OLED_WR_Byte(0xAE, OLED_CMD); /*display off*/ 80004f4: 2100 movs r1, #0 80004f6: 20ae movs r0, #174 ; 0xae 80004f8: f7ff ff20 bl 800033c OLED_WR_Byte(0x02, OLED_CMD); /*set lower column address*/ 80004fc: 2100 movs r1, #0 80004fe: 2002 movs r0, #2 8000500: f7ff ff1c bl 800033c OLED_WR_Byte(0x10, OLED_CMD); /*set higher column address*/ 8000504: 2100 movs r1, #0 8000506: 2010 movs r0, #16 8000508: f7ff ff18 bl 800033c OLED_WR_Byte(0x40, OLED_CMD); /*set display start line*/ 800050c: 2100 movs r1, #0 800050e: 2040 movs r0, #64 ; 0x40 8000510: f7ff ff14 bl 800033c OLED_WR_Byte(0xB0, OLED_CMD); /*set page address*/ 8000514: 2100 movs r1, #0 8000516: 20b0 movs r0, #176 ; 0xb0 8000518: f7ff ff10 bl 800033c OLED_WR_Byte(0x81, OLED_CMD); /*contract control*/ 800051c: 2100 movs r1, #0 800051e: 2081 movs r0, #129 ; 0x81 8000520: f7ff ff0c bl 800033c OLED_WR_Byte(0xcf, OLED_CMD); /*128*/ 8000524: 2100 movs r1, #0 8000526: 20cf movs r0, #207 ; 0xcf 8000528: f7ff ff08 bl 800033c OLED_WR_Byte(0xA1, OLED_CMD); /*set segment remap*/ 800052c: 2100 movs r1, #0 800052e: 20a1 movs r0, #161 ; 0xa1 8000530: f7ff ff04 bl 800033c OLED_WR_Byte(0xA6, OLED_CMD); /*normal / reverse*/ 8000534: 2100 movs r1, #0 8000536: 20a6 movs r0, #166 ; 0xa6 8000538: f7ff ff00 bl 800033c OLED_WR_Byte(0xA8, OLED_CMD); /*multiplex ratio*/ 800053c: 2100 movs r1, #0 800053e: 20a8 movs r0, #168 ; 0xa8 8000540: f7ff fefc bl 800033c OLED_WR_Byte(0x3F, OLED_CMD); /*duty = 1/64*/ 8000544: 2100 movs r1, #0 8000546: 203f movs r0, #63 ; 0x3f 8000548: f7ff fef8 bl 800033c OLED_WR_Byte(0xad, OLED_CMD); /*set charge pump enable*/ 800054c: 2100 movs r1, #0 800054e: 20ad movs r0, #173 ; 0xad 8000550: f7ff fef4 bl 800033c OLED_WR_Byte(0x8b, OLED_CMD); /* 0x8B 内供 VCC */ 8000554: 2100 movs r1, #0 8000556: 208b movs r0, #139 ; 0x8b 8000558: f7ff fef0 bl 800033c OLED_WR_Byte(0x33, OLED_CMD); /*0X30---0X33 set VPP 9V */ 800055c: 2100 movs r1, #0 800055e: 2033 movs r0, #51 ; 0x33 8000560: f7ff feec bl 800033c OLED_WR_Byte(0xC8, OLED_CMD); /*Com scan direction*/ 8000564: 2100 movs r1, #0 8000566: 20c8 movs r0, #200 ; 0xc8 8000568: f7ff fee8 bl 800033c OLED_WR_Byte(0xD3, OLED_CMD); /*set display offset*/ 800056c: 2100 movs r1, #0 800056e: 20d3 movs r0, #211 ; 0xd3 8000570: f7ff fee4 bl 800033c OLED_WR_Byte(0x00, OLED_CMD); /* 0x20 */ 8000574: 2100 movs r1, #0 8000576: 2000 movs r0, #0 8000578: f7ff fee0 bl 800033c OLED_WR_Byte(0xD5, OLED_CMD); /*set osc division*/ 800057c: 2100 movs r1, #0 800057e: 20d5 movs r0, #213 ; 0xd5 8000580: f7ff fedc bl 800033c OLED_WR_Byte(0x80, OLED_CMD); 8000584: 2100 movs r1, #0 8000586: 2080 movs r0, #128 ; 0x80 8000588: f7ff fed8 bl 800033c OLED_WR_Byte(0xD9, OLED_CMD); /*set pre-charge period*/ 800058c: 2100 movs r1, #0 800058e: 20d9 movs r0, #217 ; 0xd9 8000590: f7ff fed4 bl 800033c OLED_WR_Byte(0x1f, OLED_CMD); /*0x22*/ 8000594: 2100 movs r1, #0 8000596: 201f movs r0, #31 8000598: f7ff fed0 bl 800033c OLED_WR_Byte(0xDA, OLED_CMD); /*set COM pins*/ 800059c: 2100 movs r1, #0 800059e: 20da movs r0, #218 ; 0xda 80005a0: f7ff fecc bl 800033c OLED_WR_Byte(0x12, OLED_CMD); 80005a4: 2100 movs r1, #0 80005a6: 2012 movs r0, #18 80005a8: f7ff fec8 bl 800033c OLED_WR_Byte(0xdb, OLED_CMD); /*set vcomh*/ 80005ac: 2100 movs r1, #0 80005ae: 20db movs r0, #219 ; 0xdb 80005b0: f7ff fec4 bl 800033c OLED_WR_Byte(0x40, OLED_CMD); 80005b4: 2100 movs r1, #0 80005b6: 2040 movs r0, #64 ; 0x40 80005b8: f7ff fec0 bl 800033c OLED_Clear(); 80005bc: f7ff ff72 bl 80004a4 OLED_Refresh(); 80005c0: f7ff ff16 bl 80003f0 OLED_WR_Byte(0xAF, OLED_CMD); /*display ON*/ 80005c4: 2100 movs r1, #0 80005c6: 20af movs r0, #175 ; 0xaf 80005c8: f7ff feb8 bl 800033c } 80005cc: bf00 nop 80005ce: bd80 pop {r7, pc} 080005d0 : //画点 //x:0~127 //y:0~63 //t:1 填充 0,清空 void OLED_DrawPoint(uint8_t x, uint8_t y, uint8_t t) { 80005d0: b480 push {r7} 80005d2: b085 sub sp, #20 80005d4: af00 add r7, sp, #0 80005d6: 4603 mov r3, r0 80005d8: 71fb strb r3, [r7, #7] 80005da: 460b mov r3, r1 80005dc: 71bb strb r3, [r7, #6] 80005de: 4613 mov r3, r2 80005e0: 717b strb r3, [r7, #5] uint8_t i, m, n; i = y / 8; 80005e2: 79bb ldrb r3, [r7, #6] 80005e4: 08db lsrs r3, r3, #3 80005e6: 73fb strb r3, [r7, #15] m = y % 8; 80005e8: 79bb ldrb r3, [r7, #6] 80005ea: f003 0307 and.w r3, r3, #7 80005ee: 73bb strb r3, [r7, #14] n = 1 << m; 80005f0: 7bbb ldrb r3, [r7, #14] 80005f2: 2201 movs r2, #1 80005f4: fa02 f303 lsl.w r3, r2, r3 80005f8: 737b strb r3, [r7, #13] if (t) 80005fa: 797b ldrb r3, [r7, #5] 80005fc: 2b00 cmp r3, #0 80005fe: d012 beq.n 8000626 OLED_GRAM[x][i] |= n; 8000600: 79fa ldrb r2, [r7, #7] 8000602: 7bfb ldrb r3, [r7, #15] 8000604: 4924 ldr r1, [pc, #144] ; (8000698 ) 8000606: 00d2 lsls r2, r2, #3 8000608: 440a add r2, r1 800060a: 4413 add r3, r2 800060c: 7818 ldrb r0, [r3, #0] 800060e: 79fa ldrb r2, [r7, #7] 8000610: 7bfb ldrb r3, [r7, #15] 8000612: 7b79 ldrb r1, [r7, #13] 8000614: 4301 orrs r1, r0 8000616: b2c8 uxtb r0, r1 8000618: 491f ldr r1, [pc, #124] ; (8000698 ) 800061a: 00d2 lsls r2, r2, #3 800061c: 440a add r2, r1 800061e: 4413 add r3, r2 8000620: 4602 mov r2, r0 8000622: 701a strb r2, [r3, #0] else { OLED_GRAM[x][i] = ~OLED_GRAM[x][i]; OLED_GRAM[x][i] |= n; OLED_GRAM[x][i] = ~OLED_GRAM[x][i]; } } 8000624: e033 b.n 800068e OLED_GRAM[x][i] = ~OLED_GRAM[x][i]; 8000626: 79fa ldrb r2, [r7, #7] 8000628: 7bfb ldrb r3, [r7, #15] 800062a: 491b ldr r1, [pc, #108] ; (8000698 ) 800062c: 00d2 lsls r2, r2, #3 800062e: 440a add r2, r1 8000630: 4413 add r3, r2 8000632: 7819 ldrb r1, [r3, #0] 8000634: 79fa ldrb r2, [r7, #7] 8000636: 7bfb ldrb r3, [r7, #15] 8000638: 43c9 mvns r1, r1 800063a: b2c8 uxtb r0, r1 800063c: 4916 ldr r1, [pc, #88] ; (8000698 ) 800063e: 00d2 lsls r2, r2, #3 8000640: 440a add r2, r1 8000642: 4413 add r3, r2 8000644: 4602 mov r2, r0 8000646: 701a strb r2, [r3, #0] OLED_GRAM[x][i] |= n; 8000648: 79fa ldrb r2, [r7, #7] 800064a: 7bfb ldrb r3, [r7, #15] 800064c: 4912 ldr r1, [pc, #72] ; (8000698 ) 800064e: 00d2 lsls r2, r2, #3 8000650: 440a add r2, r1 8000652: 4413 add r3, r2 8000654: 7818 ldrb r0, [r3, #0] 8000656: 79fa ldrb r2, [r7, #7] 8000658: 7bfb ldrb r3, [r7, #15] 800065a: 7b79 ldrb r1, [r7, #13] 800065c: 4301 orrs r1, r0 800065e: b2c8 uxtb r0, r1 8000660: 490d ldr r1, [pc, #52] ; (8000698 ) 8000662: 00d2 lsls r2, r2, #3 8000664: 440a add r2, r1 8000666: 4413 add r3, r2 8000668: 4602 mov r2, r0 800066a: 701a strb r2, [r3, #0] OLED_GRAM[x][i] = ~OLED_GRAM[x][i]; 800066c: 79fa ldrb r2, [r7, #7] 800066e: 7bfb ldrb r3, [r7, #15] 8000670: 4909 ldr r1, [pc, #36] ; (8000698 ) 8000672: 00d2 lsls r2, r2, #3 8000674: 440a add r2, r1 8000676: 4413 add r3, r2 8000678: 7819 ldrb r1, [r3, #0] 800067a: 79fa ldrb r2, [r7, #7] 800067c: 7bfb ldrb r3, [r7, #15] 800067e: 43c9 mvns r1, r1 8000680: b2c8 uxtb r0, r1 8000682: 4905 ldr r1, [pc, #20] ; (8000698 ) 8000684: 00d2 lsls r2, r2, #3 8000686: 440a add r2, r1 8000688: 4413 add r3, r2 800068a: 4602 mov r2, r0 800068c: 701a strb r2, [r3, #0] } 800068e: bf00 nop 8000690: 3714 adds r7, #20 8000692: 46bd mov sp, r7 8000694: bc80 pop {r7} 8000696: 4770 bx lr 8000698: 2000007c .word 0x2000007c 0800069c : * _char: 要显示的字符 * size1: 字号8(6x8)/12(6x12)/16(8x16)/24(12x24) * mode: 0反色显示, 1正常显示 * * */ void OLED_ShowChar(uint8_t x, uint8_t y, char _char, uint8_t size1, uint8_t mode) { 800069c: b590 push {r4, r7, lr} 800069e: b085 sub sp, #20 80006a0: af00 add r7, sp, #0 80006a2: 4604 mov r4, r0 80006a4: 4608 mov r0, r1 80006a6: 4611 mov r1, r2 80006a8: 461a mov r2, r3 80006aa: 4623 mov r3, r4 80006ac: 71fb strb r3, [r7, #7] 80006ae: 4603 mov r3, r0 80006b0: 71bb strb r3, [r7, #6] 80006b2: 460b mov r3, r1 80006b4: 717b strb r3, [r7, #5] 80006b6: 4613 mov r3, r2 80006b8: 713b strb r3, [r7, #4] uint8_t i, m, temp, size2, chr1; uint8_t x0 = x, y0 = y; 80006ba: 79fb ldrb r3, [r7, #7] 80006bc: 72bb strb r3, [r7, #10] 80006be: 79bb ldrb r3, [r7, #6] 80006c0: 72fb strb r3, [r7, #11] if (size1 == 8) 80006c2: 793b ldrb r3, [r7, #4] 80006c4: 2b08 cmp r3, #8 80006c6: d102 bne.n 80006ce size2 = 6; 80006c8: 2306 movs r3, #6 80006ca: 733b strb r3, [r7, #12] 80006cc: e014 b.n 80006f8 else size2 = (size1 / 8 + ((size1 % 8) ? 1 : 0)) * (size1 / 2); //得到字体一个字符对应点阵集所占的字节数 80006ce: 793b ldrb r3, [r7, #4] 80006d0: 08db lsrs r3, r3, #3 80006d2: b2db uxtb r3, r3 80006d4: 461a mov r2, r3 80006d6: 793b ldrb r3, [r7, #4] 80006d8: f003 0307 and.w r3, r3, #7 80006dc: b2db uxtb r3, r3 80006de: 2b00 cmp r3, #0 80006e0: bf14 ite ne 80006e2: 2301 movne r3, #1 80006e4: 2300 moveq r3, #0 80006e6: b2db uxtb r3, r3 80006e8: 4413 add r3, r2 80006ea: b2db uxtb r3, r3 80006ec: 793a ldrb r2, [r7, #4] 80006ee: 0852 lsrs r2, r2, #1 80006f0: b2d2 uxtb r2, r2 80006f2: fb02 f303 mul.w r3, r2, r3 80006f6: 733b strb r3, [r7, #12] chr1 = _char - ' '; //计算偏移后的值 80006f8: 797b ldrb r3, [r7, #5] 80006fa: 3b20 subs r3, #32 80006fc: 727b strb r3, [r7, #9] for (i = 0; i < size2; i++) { 80006fe: 2300 movs r3, #0 8000700: 73fb strb r3, [r7, #15] 8000702: e078 b.n 80007f6 if (size1 == 8) 8000704: 793b ldrb r3, [r7, #4] 8000706: 2b08 cmp r3, #8 8000708: d10b bne.n 8000722 temp = asc2_0806[chr1][i]; //调用0806字体 800070a: 7a7a ldrb r2, [r7, #9] 800070c: 7bf9 ldrb r1, [r7, #15] 800070e: 483e ldr r0, [pc, #248] ; (8000808 ) 8000710: 4613 mov r3, r2 8000712: 005b lsls r3, r3, #1 8000714: 4413 add r3, r2 8000716: 005b lsls r3, r3, #1 8000718: 4403 add r3, r0 800071a: 440b add r3, r1 800071c: 781b ldrb r3, [r3, #0] 800071e: 737b strb r3, [r7, #13] 8000720: e028 b.n 8000774 else if (size1 == 12) 8000722: 793b ldrb r3, [r7, #4] 8000724: 2b0c cmp r3, #12 8000726: d10b bne.n 8000740 temp = asc2_1206[chr1][i]; //调用1206字体 8000728: 7a7a ldrb r2, [r7, #9] 800072a: 7bf9 ldrb r1, [r7, #15] 800072c: 4837 ldr r0, [pc, #220] ; (800080c ) 800072e: 4613 mov r3, r2 8000730: 005b lsls r3, r3, #1 8000732: 4413 add r3, r2 8000734: 009b lsls r3, r3, #2 8000736: 4403 add r3, r0 8000738: 440b add r3, r1 800073a: 781b ldrb r3, [r3, #0] 800073c: 737b strb r3, [r7, #13] 800073e: e019 b.n 8000774 else if (size1 == 16) 8000740: 793b ldrb r3, [r7, #4] 8000742: 2b10 cmp r3, #16 8000744: d108 bne.n 8000758 temp = asc2_1608[chr1][i]; //调用1608字体 8000746: 7a7a ldrb r2, [r7, #9] 8000748: 7bfb ldrb r3, [r7, #15] 800074a: 4931 ldr r1, [pc, #196] ; (8000810 ) 800074c: 0112 lsls r2, r2, #4 800074e: 440a add r2, r1 8000750: 4413 add r3, r2 8000752: 781b ldrb r3, [r3, #0] 8000754: 737b strb r3, [r7, #13] 8000756: e00d b.n 8000774 else if (size1 == 24) 8000758: 793b ldrb r3, [r7, #4] 800075a: 2b18 cmp r3, #24 800075c: d150 bne.n 8000800 temp = asc2_2412[chr1][i]; //调用2412字体 800075e: 7a7a ldrb r2, [r7, #9] 8000760: 7bf9 ldrb r1, [r7, #15] 8000762: 482c ldr r0, [pc, #176] ; (8000814 ) 8000764: 4613 mov r3, r2 8000766: 00db lsls r3, r3, #3 8000768: 4413 add r3, r2 800076a: 009b lsls r3, r3, #2 800076c: 4403 add r3, r0 800076e: 440b add r3, r1 8000770: 781b ldrb r3, [r3, #0] 8000772: 737b strb r3, [r7, #13] else return; for (m = 0; m < 8; m++) { 8000774: 2300 movs r3, #0 8000776: 73bb strb r3, [r7, #14] 8000778: e022 b.n 80007c0 if (temp & 0x01) 800077a: 7b7b ldrb r3, [r7, #13] 800077c: f003 0301 and.w r3, r3, #1 8000780: 2b00 cmp r3, #0 8000782: d007 beq.n 8000794 OLED_DrawPoint(x, y, mode); 8000784: f897 2020 ldrb.w r2, [r7, #32] 8000788: 79b9 ldrb r1, [r7, #6] 800078a: 79fb ldrb r3, [r7, #7] 800078c: 4618 mov r0, r3 800078e: f7ff ff1f bl 80005d0 8000792: e00c b.n 80007ae else OLED_DrawPoint(x, y, !mode); 8000794: f897 3020 ldrb.w r3, [r7, #32] 8000798: 2b00 cmp r3, #0 800079a: bf0c ite eq 800079c: 2301 moveq r3, #1 800079e: 2300 movne r3, #0 80007a0: b2db uxtb r3, r3 80007a2: 461a mov r2, r3 80007a4: 79b9 ldrb r1, [r7, #6] 80007a6: 79fb ldrb r3, [r7, #7] 80007a8: 4618 mov r0, r3 80007aa: f7ff ff11 bl 80005d0 temp >>= 1; 80007ae: 7b7b ldrb r3, [r7, #13] 80007b0: 085b lsrs r3, r3, #1 80007b2: 737b strb r3, [r7, #13] y++; 80007b4: 79bb ldrb r3, [r7, #6] 80007b6: 3301 adds r3, #1 80007b8: 71bb strb r3, [r7, #6] for (m = 0; m < 8; m++) { 80007ba: 7bbb ldrb r3, [r7, #14] 80007bc: 3301 adds r3, #1 80007be: 73bb strb r3, [r7, #14] 80007c0: 7bbb ldrb r3, [r7, #14] 80007c2: 2b07 cmp r3, #7 80007c4: d9d9 bls.n 800077a } x++; 80007c6: 79fb ldrb r3, [r7, #7] 80007c8: 3301 adds r3, #1 80007ca: 71fb strb r3, [r7, #7] if ((size1 != 8) && ((x - x0) == size1 / 2)) { 80007cc: 793b ldrb r3, [r7, #4] 80007ce: 2b08 cmp r3, #8 80007d0: d00c beq.n 80007ec 80007d2: 79fa ldrb r2, [r7, #7] 80007d4: 7abb ldrb r3, [r7, #10] 80007d6: 1ad3 subs r3, r2, r3 80007d8: 793a ldrb r2, [r7, #4] 80007da: 0852 lsrs r2, r2, #1 80007dc: b2d2 uxtb r2, r2 80007de: 4293 cmp r3, r2 80007e0: d104 bne.n 80007ec x = x0; 80007e2: 7abb ldrb r3, [r7, #10] 80007e4: 71fb strb r3, [r7, #7] y0 = y0 + 8; 80007e6: 7afb ldrb r3, [r7, #11] 80007e8: 3308 adds r3, #8 80007ea: 72fb strb r3, [r7, #11] } y = y0; 80007ec: 7afb ldrb r3, [r7, #11] 80007ee: 71bb strb r3, [r7, #6] for (i = 0; i < size2; i++) { 80007f0: 7bfb ldrb r3, [r7, #15] 80007f2: 3301 adds r3, #1 80007f4: 73fb strb r3, [r7, #15] 80007f6: 7bfa ldrb r2, [r7, #15] 80007f8: 7b3b ldrb r3, [r7, #12] 80007fa: 429a cmp r2, r3 80007fc: d382 bcc.n 8000704 80007fe: e000 b.n 8000802 return; 8000800: bf00 nop } } 8000802: 3714 adds r7, #20 8000804: 46bd mov sp, r7 8000806: bd90 pop {r4, r7, pc} 8000808: 08002058 .word 0x08002058 800080c: 08002280 .word 0x08002280 8000810: 080026f4 .word 0x080026f4 8000814: 08002ce4 .word 0x08002ce4 08000818 : * _string: 要显示的字符串 * size1: 字号8(6x8)/12(6x12)/16(8x16)/24(12x24) * mode: 0反色显示, 1正常显示 * * */ void OLED_ShowString(uint8_t x, uint8_t y, char *_string, uint8_t size1, uint8_t mode) { 8000818: b590 push {r4, r7, lr} 800081a: b085 sub sp, #20 800081c: af02 add r7, sp, #8 800081e: 603a str r2, [r7, #0] 8000820: 461a mov r2, r3 8000822: 4603 mov r3, r0 8000824: 71fb strb r3, [r7, #7] 8000826: 460b mov r3, r1 8000828: 71bb strb r3, [r7, #6] 800082a: 4613 mov r3, r2 800082c: 717b strb r3, [r7, #5] while ((*_string >= ' ') && (*_string <= '~')) //判断是不是非法字符! 800082e: e019 b.n 8000864 { OLED_ShowChar(x, y, *_string, size1, mode); 8000830: 683b ldr r3, [r7, #0] 8000832: 781a ldrb r2, [r3, #0] 8000834: 797c ldrb r4, [r7, #5] 8000836: 79b9 ldrb r1, [r7, #6] 8000838: 79f8 ldrb r0, [r7, #7] 800083a: 7e3b ldrb r3, [r7, #24] 800083c: 9300 str r3, [sp, #0] 800083e: 4623 mov r3, r4 8000840: f7ff ff2c bl 800069c if (size1 == 8) 8000844: 797b ldrb r3, [r7, #5] 8000846: 2b08 cmp r3, #8 8000848: d103 bne.n 8000852 x += 6; 800084a: 79fb ldrb r3, [r7, #7] 800084c: 3306 adds r3, #6 800084e: 71fb strb r3, [r7, #7] 8000850: e005 b.n 800085e else x += size1 / 2; 8000852: 797b ldrb r3, [r7, #5] 8000854: 085b lsrs r3, r3, #1 8000856: b2da uxtb r2, r3 8000858: 79fb ldrb r3, [r7, #7] 800085a: 4413 add r3, r2 800085c: 71fb strb r3, [r7, #7] _string++; 800085e: 683b ldr r3, [r7, #0] 8000860: 3301 adds r3, #1 8000862: 603b str r3, [r7, #0] while ((*_string >= ' ') && (*_string <= '~')) //判断是不是非法字符! 8000864: 683b ldr r3, [r7, #0] 8000866: 781b ldrb r3, [r3, #0] 8000868: 2b1f cmp r3, #31 800086a: d903 bls.n 8000874 800086c: 683b ldr r3, [r7, #0] 800086e: 781b ldrb r3, [r3, #0] 8000870: 2b7e cmp r3, #126 ; 0x7e 8000872: d9dd bls.n 8000830 } } 8000874: bf00 nop 8000876: 370c adds r7, #12 8000878: 46bd mov sp, r7 800087a: bd90 pop {r4, r7, pc} 0800087c : 800087c: b480 push {r7} 800087e: b085 sub sp, #20 8000880: af00 add r7, sp, #0 8000882: 4b15 ldr r3, [pc, #84] ; (80008d8 ) 8000884: 699b ldr r3, [r3, #24] 8000886: 4a14 ldr r2, [pc, #80] ; (80008d8 ) 8000888: f043 0301 orr.w r3, r3, #1 800088c: 6193 str r3, [r2, #24] 800088e: 4b12 ldr r3, [pc, #72] ; (80008d8 ) 8000890: 699b ldr r3, [r3, #24] 8000892: f003 0301 and.w r3, r3, #1 8000896: 60bb str r3, [r7, #8] 8000898: 68bb ldr r3, [r7, #8] 800089a: 4b0f ldr r3, [pc, #60] ; (80008d8 ) 800089c: 69db ldr r3, [r3, #28] 800089e: 4a0e ldr r2, [pc, #56] ; (80008d8 ) 80008a0: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 80008a4: 61d3 str r3, [r2, #28] 80008a6: 4b0c ldr r3, [pc, #48] ; (80008d8 ) 80008a8: 69db ldr r3, [r3, #28] 80008aa: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 80008ae: 607b str r3, [r7, #4] 80008b0: 687b ldr r3, [r7, #4] 80008b2: 4b0a ldr r3, [pc, #40] ; (80008dc ) 80008b4: 685b ldr r3, [r3, #4] 80008b6: 60fb str r3, [r7, #12] 80008b8: 68fb ldr r3, [r7, #12] 80008ba: f023 63e0 bic.w r3, r3, #117440512 ; 0x7000000 80008be: 60fb str r3, [r7, #12] 80008c0: 68fb ldr r3, [r7, #12] 80008c2: f043 7300 orr.w r3, r3, #33554432 ; 0x2000000 80008c6: 60fb str r3, [r7, #12] 80008c8: 4a04 ldr r2, [pc, #16] ; (80008dc ) 80008ca: 68fb ldr r3, [r7, #12] 80008cc: 6053 str r3, [r2, #4] 80008ce: bf00 nop 80008d0: 3714 adds r7, #20 80008d2: 46bd mov sp, r7 80008d4: bc80 pop {r7} 80008d6: 4770 bx lr 80008d8: 40021000 .word 0x40021000 80008dc: 40010000 .word 0x40010000 080008e0 : 80008e0: b480 push {r7} 80008e2: af00 add r7, sp, #0 80008e4: e7fe b.n 80008e4 080008e6 : 80008e6: b480 push {r7} 80008e8: af00 add r7, sp, #0 80008ea: e7fe b.n 80008ea 080008ec : 80008ec: b480 push {r7} 80008ee: af00 add r7, sp, #0 80008f0: e7fe b.n 80008f0 080008f2 : 80008f2: b480 push {r7} 80008f4: af00 add r7, sp, #0 80008f6: e7fe b.n 80008f6 080008f8 : 80008f8: b480 push {r7} 80008fa: af00 add r7, sp, #0 80008fc: e7fe b.n 80008fc 080008fe : 80008fe: b480 push {r7} 8000900: af00 add r7, sp, #0 8000902: bf00 nop 8000904: 46bd mov sp, r7 8000906: bc80 pop {r7} 8000908: 4770 bx lr 0800090a : 800090a: b480 push {r7} 800090c: af00 add r7, sp, #0 800090e: bf00 nop 8000910: 46bd mov sp, r7 8000912: bc80 pop {r7} 8000914: 4770 bx lr 08000916 : 8000916: b480 push {r7} 8000918: af00 add r7, sp, #0 800091a: bf00 nop 800091c: 46bd mov sp, r7 800091e: bc80 pop {r7} 8000920: 4770 bx lr 08000922 : 8000922: b580 push {r7, lr} 8000924: af00 add r7, sp, #0 8000926: f000 f875 bl 8000a14 800092a: bf00 nop 800092c: bd80 pop {r7, pc} 0800092e : 800092e: b480 push {r7} 8000930: af00 add r7, sp, #0 8000932: bf00 nop 8000934: 46bd mov sp, r7 8000936: bc80 pop {r7} 8000938: 4770 bx lr ... 0800093c : 800093c: 480c ldr r0, [pc, #48] ; (8000970 ) 800093e: 490d ldr r1, [pc, #52] ; (8000974 ) 8000940: 4a0d ldr r2, [pc, #52] ; (8000978 ) 8000942: 2300 movs r3, #0 8000944: e002 b.n 800094c 08000946 : 8000946: 58d4 ldr r4, [r2, r3] 8000948: 50c4 str r4, [r0, r3] 800094a: 3304 adds r3, #4 0800094c : 800094c: 18c4 adds r4, r0, r3 800094e: 428c cmp r4, r1 8000950: d3f9 bcc.n 8000946 8000952: 4a0a ldr r2, [pc, #40] ; (800097c ) 8000954: 4c0a ldr r4, [pc, #40] ; (8000980 ) 8000956: 2300 movs r3, #0 8000958: e001 b.n 800095e 0800095a : 800095a: 6013 str r3, [r2, #0] 800095c: 3204 adds r2, #4 0800095e : 800095e: 42a2 cmp r2, r4 8000960: d3fb bcc.n 800095a 8000962: f7ff ffe4 bl 800092e 8000966: f001 fb29 bl 8001fbc <__libc_init_array> 800096a: f7ff fc7d bl 8000268
800096e: 4770 bx lr 8000970: 20000000 .word 0x20000000 8000974: 2000000c .word 0x2000000c 8000978: 08003a60 .word 0x08003a60 800097c: 2000000c .word 0x2000000c 8000980: 20000500 .word 0x20000500 08000984 : 8000984: e7fe b.n 8000984 ... 08000988 : 8000988: b580 push {r7, lr} 800098a: af00 add r7, sp, #0 800098c: 4b08 ldr r3, [pc, #32] ; (80009b0 ) 800098e: 681b ldr r3, [r3, #0] 8000990: 4a07 ldr r2, [pc, #28] ; (80009b0 ) 8000992: f043 0310 orr.w r3, r3, #16 8000996: 6013 str r3, [r2, #0] 8000998: 2003 movs r0, #3 800099a: f000 f907 bl 8000bac 800099e: 200f movs r0, #15 80009a0: f000 f808 bl 80009b4 80009a4: f7ff ff6a bl 800087c 80009a8: 2300 movs r3, #0 80009aa: 4618 mov r0, r3 80009ac: bd80 pop {r7, pc} 80009ae: bf00 nop 80009b0: 40022000 .word 0x40022000 080009b4 : 80009b4: b580 push {r7, lr} 80009b6: b082 sub sp, #8 80009b8: af00 add r7, sp, #0 80009ba: 6078 str r0, [r7, #4] 80009bc: 4b12 ldr r3, [pc, #72] ; (8000a08 ) 80009be: 681a ldr r2, [r3, #0] 80009c0: 4b12 ldr r3, [pc, #72] ; (8000a0c ) 80009c2: 781b ldrb r3, [r3, #0] 80009c4: 4619 mov r1, r3 80009c6: f44f 737a mov.w r3, #1000 ; 0x3e8 80009ca: fbb3 f3f1 udiv r3, r3, r1 80009ce: fbb2 f3f3 udiv r3, r2, r3 80009d2: 4618 mov r0, r3 80009d4: f000 f911 bl 8000bfa 80009d8: 4603 mov r3, r0 80009da: 2b00 cmp r3, #0 80009dc: d001 beq.n 80009e2 80009de: 2301 movs r3, #1 80009e0: e00e b.n 8000a00 80009e2: 687b ldr r3, [r7, #4] 80009e4: 2b0f cmp r3, #15 80009e6: d80a bhi.n 80009fe 80009e8: 2200 movs r2, #0 80009ea: 6879 ldr r1, [r7, #4] 80009ec: f04f 30ff mov.w r0, #4294967295 80009f0: f000 f8e7 bl 8000bc2 80009f4: 4a06 ldr r2, [pc, #24] ; (8000a10 ) 80009f6: 687b ldr r3, [r7, #4] 80009f8: 6013 str r3, [r2, #0] 80009fa: 2300 movs r3, #0 80009fc: e000 b.n 8000a00 80009fe: 2301 movs r3, #1 8000a00: 4618 mov r0, r3 8000a02: 3708 adds r7, #8 8000a04: 46bd mov sp, r7 8000a06: bd80 pop {r7, pc} 8000a08: 20000000 .word 0x20000000 8000a0c: 20000008 .word 0x20000008 8000a10: 20000004 .word 0x20000004 08000a14 : 8000a14: b480 push {r7} 8000a16: af00 add r7, sp, #0 8000a18: 4b05 ldr r3, [pc, #20] ; (8000a30 ) 8000a1a: 781b ldrb r3, [r3, #0] 8000a1c: 461a mov r2, r3 8000a1e: 4b05 ldr r3, [pc, #20] ; (8000a34 ) 8000a20: 681b ldr r3, [r3, #0] 8000a22: 4413 add r3, r2 8000a24: 4a03 ldr r2, [pc, #12] ; (8000a34 ) 8000a26: 6013 str r3, [r2, #0] 8000a28: bf00 nop 8000a2a: 46bd mov sp, r7 8000a2c: bc80 pop {r7} 8000a2e: 4770 bx lr 8000a30: 20000008 .word 0x20000008 8000a34: 200004fc .word 0x200004fc 08000a38 : 8000a38: b480 push {r7} 8000a3a: af00 add r7, sp, #0 8000a3c: 4b02 ldr r3, [pc, #8] ; (8000a48 ) 8000a3e: 681b ldr r3, [r3, #0] 8000a40: 4618 mov r0, r3 8000a42: 46bd mov sp, r7 8000a44: bc80 pop {r7} 8000a46: 4770 bx lr 8000a48: 200004fc .word 0x200004fc 08000a4c <__NVIC_SetPriorityGrouping>: 8000a4c: b480 push {r7} 8000a4e: b085 sub sp, #20 8000a50: af00 add r7, sp, #0 8000a52: 6078 str r0, [r7, #4] 8000a54: 687b ldr r3, [r7, #4] 8000a56: f003 0307 and.w r3, r3, #7 8000a5a: 60fb str r3, [r7, #12] 8000a5c: 4b0c ldr r3, [pc, #48] ; (8000a90 <__NVIC_SetPriorityGrouping+0x44>) 8000a5e: 68db ldr r3, [r3, #12] 8000a60: 60bb str r3, [r7, #8] 8000a62: 68ba ldr r2, [r7, #8] 8000a64: f64f 03ff movw r3, #63743 ; 0xf8ff 8000a68: 4013 ands r3, r2 8000a6a: 60bb str r3, [r7, #8] 8000a6c: 68fb ldr r3, [r7, #12] 8000a6e: 021a lsls r2, r3, #8 8000a70: 68bb ldr r3, [r7, #8] 8000a72: 4313 orrs r3, r2 8000a74: f043 63bf orr.w r3, r3, #100139008 ; 0x5f80000 8000a78: f443 3300 orr.w r3, r3, #131072 ; 0x20000 8000a7c: 60bb str r3, [r7, #8] 8000a7e: 4a04 ldr r2, [pc, #16] ; (8000a90 <__NVIC_SetPriorityGrouping+0x44>) 8000a80: 68bb ldr r3, [r7, #8] 8000a82: 60d3 str r3, [r2, #12] 8000a84: bf00 nop 8000a86: 3714 adds r7, #20 8000a88: 46bd mov sp, r7 8000a8a: bc80 pop {r7} 8000a8c: 4770 bx lr 8000a8e: bf00 nop 8000a90: e000ed00 .word 0xe000ed00 08000a94 <__NVIC_GetPriorityGrouping>: 8000a94: b480 push {r7} 8000a96: af00 add r7, sp, #0 8000a98: 4b04 ldr r3, [pc, #16] ; (8000aac <__NVIC_GetPriorityGrouping+0x18>) 8000a9a: 68db ldr r3, [r3, #12] 8000a9c: 0a1b lsrs r3, r3, #8 8000a9e: f003 0307 and.w r3, r3, #7 8000aa2: 4618 mov r0, r3 8000aa4: 46bd mov sp, r7 8000aa6: bc80 pop {r7} 8000aa8: 4770 bx lr 8000aaa: bf00 nop 8000aac: e000ed00 .word 0xe000ed00 08000ab0 <__NVIC_SetPriority>: 8000ab0: b480 push {r7} 8000ab2: b083 sub sp, #12 8000ab4: af00 add r7, sp, #0 8000ab6: 4603 mov r3, r0 8000ab8: 6039 str r1, [r7, #0] 8000aba: 71fb strb r3, [r7, #7] 8000abc: f997 3007 ldrsb.w r3, [r7, #7] 8000ac0: 2b00 cmp r3, #0 8000ac2: db0a blt.n 8000ada <__NVIC_SetPriority+0x2a> 8000ac4: 683b ldr r3, [r7, #0] 8000ac6: b2da uxtb r2, r3 8000ac8: 490c ldr r1, [pc, #48] ; (8000afc <__NVIC_SetPriority+0x4c>) 8000aca: f997 3007 ldrsb.w r3, [r7, #7] 8000ace: 0112 lsls r2, r2, #4 8000ad0: b2d2 uxtb r2, r2 8000ad2: 440b add r3, r1 8000ad4: f883 2300 strb.w r2, [r3, #768] ; 0x300 8000ad8: e00a b.n 8000af0 <__NVIC_SetPriority+0x40> 8000ada: 683b ldr r3, [r7, #0] 8000adc: b2da uxtb r2, r3 8000ade: 4908 ldr r1, [pc, #32] ; (8000b00 <__NVIC_SetPriority+0x50>) 8000ae0: 79fb ldrb r3, [r7, #7] 8000ae2: f003 030f and.w r3, r3, #15 8000ae6: 3b04 subs r3, #4 8000ae8: 0112 lsls r2, r2, #4 8000aea: b2d2 uxtb r2, r2 8000aec: 440b add r3, r1 8000aee: 761a strb r2, [r3, #24] 8000af0: bf00 nop 8000af2: 370c adds r7, #12 8000af4: 46bd mov sp, r7 8000af6: bc80 pop {r7} 8000af8: 4770 bx lr 8000afa: bf00 nop 8000afc: e000e100 .word 0xe000e100 8000b00: e000ed00 .word 0xe000ed00 08000b04 : 8000b04: b480 push {r7} 8000b06: b089 sub sp, #36 ; 0x24 8000b08: af00 add r7, sp, #0 8000b0a: 60f8 str r0, [r7, #12] 8000b0c: 60b9 str r1, [r7, #8] 8000b0e: 607a str r2, [r7, #4] 8000b10: 68fb ldr r3, [r7, #12] 8000b12: f003 0307 and.w r3, r3, #7 8000b16: 61fb str r3, [r7, #28] 8000b18: 69fb ldr r3, [r7, #28] 8000b1a: f1c3 0307 rsb r3, r3, #7 8000b1e: 2b04 cmp r3, #4 8000b20: bf28 it cs 8000b22: 2304 movcs r3, #4 8000b24: 61bb str r3, [r7, #24] 8000b26: 69fb ldr r3, [r7, #28] 8000b28: 3304 adds r3, #4 8000b2a: 2b06 cmp r3, #6 8000b2c: d902 bls.n 8000b34 8000b2e: 69fb ldr r3, [r7, #28] 8000b30: 3b03 subs r3, #3 8000b32: e000 b.n 8000b36 8000b34: 2300 movs r3, #0 8000b36: 617b str r3, [r7, #20] 8000b38: f04f 32ff mov.w r2, #4294967295 8000b3c: 69bb ldr r3, [r7, #24] 8000b3e: fa02 f303 lsl.w r3, r2, r3 8000b42: 43da mvns r2, r3 8000b44: 68bb ldr r3, [r7, #8] 8000b46: 401a ands r2, r3 8000b48: 697b ldr r3, [r7, #20] 8000b4a: 409a lsls r2, r3 8000b4c: f04f 31ff mov.w r1, #4294967295 8000b50: 697b ldr r3, [r7, #20] 8000b52: fa01 f303 lsl.w r3, r1, r3 8000b56: 43d9 mvns r1, r3 8000b58: 687b ldr r3, [r7, #4] 8000b5a: 400b ands r3, r1 8000b5c: 4313 orrs r3, r2 8000b5e: 4618 mov r0, r3 8000b60: 3724 adds r7, #36 ; 0x24 8000b62: 46bd mov sp, r7 8000b64: bc80 pop {r7} 8000b66: 4770 bx lr 08000b68 : 8000b68: b580 push {r7, lr} 8000b6a: b082 sub sp, #8 8000b6c: af00 add r7, sp, #0 8000b6e: 6078 str r0, [r7, #4] 8000b70: 687b ldr r3, [r7, #4] 8000b72: 3b01 subs r3, #1 8000b74: f1b3 7f80 cmp.w r3, #16777216 ; 0x1000000 8000b78: d301 bcc.n 8000b7e 8000b7a: 2301 movs r3, #1 8000b7c: e00f b.n 8000b9e 8000b7e: 4a0a ldr r2, [pc, #40] ; (8000ba8 ) 8000b80: 687b ldr r3, [r7, #4] 8000b82: 3b01 subs r3, #1 8000b84: 6053 str r3, [r2, #4] 8000b86: 210f movs r1, #15 8000b88: f04f 30ff mov.w r0, #4294967295 8000b8c: f7ff ff90 bl 8000ab0 <__NVIC_SetPriority> 8000b90: 4b05 ldr r3, [pc, #20] ; (8000ba8 ) 8000b92: 2200 movs r2, #0 8000b94: 609a str r2, [r3, #8] 8000b96: 4b04 ldr r3, [pc, #16] ; (8000ba8 ) 8000b98: 2207 movs r2, #7 8000b9a: 601a str r2, [r3, #0] 8000b9c: 2300 movs r3, #0 8000b9e: 4618 mov r0, r3 8000ba0: 3708 adds r7, #8 8000ba2: 46bd mov sp, r7 8000ba4: bd80 pop {r7, pc} 8000ba6: bf00 nop 8000ba8: e000e010 .word 0xe000e010 08000bac : 8000bac: b580 push {r7, lr} 8000bae: b082 sub sp, #8 8000bb0: af00 add r7, sp, #0 8000bb2: 6078 str r0, [r7, #4] 8000bb4: 6878 ldr r0, [r7, #4] 8000bb6: f7ff ff49 bl 8000a4c <__NVIC_SetPriorityGrouping> 8000bba: bf00 nop 8000bbc: 3708 adds r7, #8 8000bbe: 46bd mov sp, r7 8000bc0: bd80 pop {r7, pc} 08000bc2 : 8000bc2: b580 push {r7, lr} 8000bc4: b086 sub sp, #24 8000bc6: af00 add r7, sp, #0 8000bc8: 4603 mov r3, r0 8000bca: 60b9 str r1, [r7, #8] 8000bcc: 607a str r2, [r7, #4] 8000bce: 73fb strb r3, [r7, #15] 8000bd0: 2300 movs r3, #0 8000bd2: 617b str r3, [r7, #20] 8000bd4: f7ff ff5e bl 8000a94 <__NVIC_GetPriorityGrouping> 8000bd8: 6178 str r0, [r7, #20] 8000bda: 687a ldr r2, [r7, #4] 8000bdc: 68b9 ldr r1, [r7, #8] 8000bde: 6978 ldr r0, [r7, #20] 8000be0: f7ff ff90 bl 8000b04 8000be4: 4602 mov r2, r0 8000be6: f997 300f ldrsb.w r3, [r7, #15] 8000bea: 4611 mov r1, r2 8000bec: 4618 mov r0, r3 8000bee: f7ff ff5f bl 8000ab0 <__NVIC_SetPriority> 8000bf2: bf00 nop 8000bf4: 3718 adds r7, #24 8000bf6: 46bd mov sp, r7 8000bf8: bd80 pop {r7, pc} 08000bfa : 8000bfa: b580 push {r7, lr} 8000bfc: b082 sub sp, #8 8000bfe: af00 add r7, sp, #0 8000c00: 6078 str r0, [r7, #4] 8000c02: 6878 ldr r0, [r7, #4] 8000c04: f7ff ffb0 bl 8000b68 8000c08: 4603 mov r3, r0 8000c0a: 4618 mov r0, r3 8000c0c: 3708 adds r7, #8 8000c0e: 46bd mov sp, r7 8000c10: bd80 pop {r7, pc} ... 08000c14 : 8000c14: b480 push {r7} 8000c16: b08b sub sp, #44 ; 0x2c 8000c18: af00 add r7, sp, #0 8000c1a: 6078 str r0, [r7, #4] 8000c1c: 6039 str r1, [r7, #0] 8000c1e: 2300 movs r3, #0 8000c20: 627b str r3, [r7, #36] ; 0x24 8000c22: 2300 movs r3, #0 8000c24: 623b str r3, [r7, #32] 8000c26: e169 b.n 8000efc 8000c28: 2201 movs r2, #1 8000c2a: 6a7b ldr r3, [r7, #36] ; 0x24 8000c2c: fa02 f303 lsl.w r3, r2, r3 8000c30: 61fb str r3, [r7, #28] 8000c32: 683b ldr r3, [r7, #0] 8000c34: 681b ldr r3, [r3, #0] 8000c36: 69fa ldr r2, [r7, #28] 8000c38: 4013 ands r3, r2 8000c3a: 61bb str r3, [r7, #24] 8000c3c: 69ba ldr r2, [r7, #24] 8000c3e: 69fb ldr r3, [r7, #28] 8000c40: 429a cmp r2, r3 8000c42: f040 8158 bne.w 8000ef6 8000c46: 683b ldr r3, [r7, #0] 8000c48: 685b ldr r3, [r3, #4] 8000c4a: 4a9a ldr r2, [pc, #616] ; (8000eb4 ) 8000c4c: 4293 cmp r3, r2 8000c4e: d05e beq.n 8000d0e 8000c50: 4a98 ldr r2, [pc, #608] ; (8000eb4 ) 8000c52: 4293 cmp r3, r2 8000c54: d875 bhi.n 8000d42 8000c56: 4a98 ldr r2, [pc, #608] ; (8000eb8 ) 8000c58: 4293 cmp r3, r2 8000c5a: d058 beq.n 8000d0e 8000c5c: 4a96 ldr r2, [pc, #600] ; (8000eb8 ) 8000c5e: 4293 cmp r3, r2 8000c60: d86f bhi.n 8000d42 8000c62: 4a96 ldr r2, [pc, #600] ; (8000ebc ) 8000c64: 4293 cmp r3, r2 8000c66: d052 beq.n 8000d0e 8000c68: 4a94 ldr r2, [pc, #592] ; (8000ebc ) 8000c6a: 4293 cmp r3, r2 8000c6c: d869 bhi.n 8000d42 8000c6e: 4a94 ldr r2, [pc, #592] ; (8000ec0 ) 8000c70: 4293 cmp r3, r2 8000c72: d04c beq.n 8000d0e 8000c74: 4a92 ldr r2, [pc, #584] ; (8000ec0 ) 8000c76: 4293 cmp r3, r2 8000c78: d863 bhi.n 8000d42 8000c7a: 4a92 ldr r2, [pc, #584] ; (8000ec4 ) 8000c7c: 4293 cmp r3, r2 8000c7e: d046 beq.n 8000d0e 8000c80: 4a90 ldr r2, [pc, #576] ; (8000ec4 ) 8000c82: 4293 cmp r3, r2 8000c84: d85d bhi.n 8000d42 8000c86: 2b12 cmp r3, #18 8000c88: d82a bhi.n 8000ce0 8000c8a: 2b12 cmp r3, #18 8000c8c: d859 bhi.n 8000d42 8000c8e: a201 add r2, pc, #4 ; (adr r2, 8000c94 ) 8000c90: f852 f023 ldr.w pc, [r2, r3, lsl #2] 8000c94: 08000d0f .word 0x08000d0f 8000c98: 08000ce9 .word 0x08000ce9 8000c9c: 08000cfb .word 0x08000cfb 8000ca0: 08000d3d .word 0x08000d3d 8000ca4: 08000d43 .word 0x08000d43 8000ca8: 08000d43 .word 0x08000d43 8000cac: 08000d43 .word 0x08000d43 8000cb0: 08000d43 .word 0x08000d43 8000cb4: 08000d43 .word 0x08000d43 8000cb8: 08000d43 .word 0x08000d43 8000cbc: 08000d43 .word 0x08000d43 8000cc0: 08000d43 .word 0x08000d43 8000cc4: 08000d43 .word 0x08000d43 8000cc8: 08000d43 .word 0x08000d43 8000ccc: 08000d43 .word 0x08000d43 8000cd0: 08000d43 .word 0x08000d43 8000cd4: 08000d43 .word 0x08000d43 8000cd8: 08000cf1 .word 0x08000cf1 8000cdc: 08000d05 .word 0x08000d05 8000ce0: 4a79 ldr r2, [pc, #484] ; (8000ec8 ) 8000ce2: 4293 cmp r3, r2 8000ce4: d013 beq.n 8000d0e 8000ce6: e02c b.n 8000d42 8000ce8: 683b ldr r3, [r7, #0] 8000cea: 68db ldr r3, [r3, #12] 8000cec: 623b str r3, [r7, #32] 8000cee: e029 b.n 8000d44 8000cf0: 683b ldr r3, [r7, #0] 8000cf2: 68db ldr r3, [r3, #12] 8000cf4: 3304 adds r3, #4 8000cf6: 623b str r3, [r7, #32] 8000cf8: e024 b.n 8000d44 8000cfa: 683b ldr r3, [r7, #0] 8000cfc: 68db ldr r3, [r3, #12] 8000cfe: 3308 adds r3, #8 8000d00: 623b str r3, [r7, #32] 8000d02: e01f b.n 8000d44 8000d04: 683b ldr r3, [r7, #0] 8000d06: 68db ldr r3, [r3, #12] 8000d08: 330c adds r3, #12 8000d0a: 623b str r3, [r7, #32] 8000d0c: e01a b.n 8000d44 8000d0e: 683b ldr r3, [r7, #0] 8000d10: 689b ldr r3, [r3, #8] 8000d12: 2b00 cmp r3, #0 8000d14: d102 bne.n 8000d1c 8000d16: 2304 movs r3, #4 8000d18: 623b str r3, [r7, #32] 8000d1a: e013 b.n 8000d44 8000d1c: 683b ldr r3, [r7, #0] 8000d1e: 689b ldr r3, [r3, #8] 8000d20: 2b01 cmp r3, #1 8000d22: d105 bne.n 8000d30 8000d24: 2308 movs r3, #8 8000d26: 623b str r3, [r7, #32] 8000d28: 687b ldr r3, [r7, #4] 8000d2a: 69fa ldr r2, [r7, #28] 8000d2c: 611a str r2, [r3, #16] 8000d2e: e009 b.n 8000d44 8000d30: 2308 movs r3, #8 8000d32: 623b str r3, [r7, #32] 8000d34: 687b ldr r3, [r7, #4] 8000d36: 69fa ldr r2, [r7, #28] 8000d38: 615a str r2, [r3, #20] 8000d3a: e003 b.n 8000d44 8000d3c: 2300 movs r3, #0 8000d3e: 623b str r3, [r7, #32] 8000d40: e000 b.n 8000d44 8000d42: bf00 nop 8000d44: 69bb ldr r3, [r7, #24] 8000d46: 2bff cmp r3, #255 ; 0xff 8000d48: d801 bhi.n 8000d4e 8000d4a: 687b ldr r3, [r7, #4] 8000d4c: e001 b.n 8000d52 8000d4e: 687b ldr r3, [r7, #4] 8000d50: 3304 adds r3, #4 8000d52: 617b str r3, [r7, #20] 8000d54: 69bb ldr r3, [r7, #24] 8000d56: 2bff cmp r3, #255 ; 0xff 8000d58: d802 bhi.n 8000d60 8000d5a: 6a7b ldr r3, [r7, #36] ; 0x24 8000d5c: 009b lsls r3, r3, #2 8000d5e: e002 b.n 8000d66 8000d60: 6a7b ldr r3, [r7, #36] ; 0x24 8000d62: 3b08 subs r3, #8 8000d64: 009b lsls r3, r3, #2 8000d66: 613b str r3, [r7, #16] 8000d68: 697b ldr r3, [r7, #20] 8000d6a: 681a ldr r2, [r3, #0] 8000d6c: 210f movs r1, #15 8000d6e: 693b ldr r3, [r7, #16] 8000d70: fa01 f303 lsl.w r3, r1, r3 8000d74: 43db mvns r3, r3 8000d76: 401a ands r2, r3 8000d78: 6a39 ldr r1, [r7, #32] 8000d7a: 693b ldr r3, [r7, #16] 8000d7c: fa01 f303 lsl.w r3, r1, r3 8000d80: 431a orrs r2, r3 8000d82: 697b ldr r3, [r7, #20] 8000d84: 601a str r2, [r3, #0] 8000d86: 683b ldr r3, [r7, #0] 8000d88: 685b ldr r3, [r3, #4] 8000d8a: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 8000d8e: 2b00 cmp r3, #0 8000d90: f000 80b1 beq.w 8000ef6 8000d94: 4b4d ldr r3, [pc, #308] ; (8000ecc ) 8000d96: 699b ldr r3, [r3, #24] 8000d98: 4a4c ldr r2, [pc, #304] ; (8000ecc ) 8000d9a: f043 0301 orr.w r3, r3, #1 8000d9e: 6193 str r3, [r2, #24] 8000da0: 4b4a ldr r3, [pc, #296] ; (8000ecc ) 8000da2: 699b ldr r3, [r3, #24] 8000da4: f003 0301 and.w r3, r3, #1 8000da8: 60bb str r3, [r7, #8] 8000daa: 68bb ldr r3, [r7, #8] 8000dac: 4a48 ldr r2, [pc, #288] ; (8000ed0 ) 8000dae: 6a7b ldr r3, [r7, #36] ; 0x24 8000db0: 089b lsrs r3, r3, #2 8000db2: 3302 adds r3, #2 8000db4: f852 3023 ldr.w r3, [r2, r3, lsl #2] 8000db8: 60fb str r3, [r7, #12] 8000dba: 6a7b ldr r3, [r7, #36] ; 0x24 8000dbc: f003 0303 and.w r3, r3, #3 8000dc0: 009b lsls r3, r3, #2 8000dc2: 220f movs r2, #15 8000dc4: fa02 f303 lsl.w r3, r2, r3 8000dc8: 43db mvns r3, r3 8000dca: 68fa ldr r2, [r7, #12] 8000dcc: 4013 ands r3, r2 8000dce: 60fb str r3, [r7, #12] 8000dd0: 687b ldr r3, [r7, #4] 8000dd2: 4a40 ldr r2, [pc, #256] ; (8000ed4 ) 8000dd4: 4293 cmp r3, r2 8000dd6: d013 beq.n 8000e00 8000dd8: 687b ldr r3, [r7, #4] 8000dda: 4a3f ldr r2, [pc, #252] ; (8000ed8 ) 8000ddc: 4293 cmp r3, r2 8000dde: d00d beq.n 8000dfc 8000de0: 687b ldr r3, [r7, #4] 8000de2: 4a3e ldr r2, [pc, #248] ; (8000edc ) 8000de4: 4293 cmp r3, r2 8000de6: d007 beq.n 8000df8 8000de8: 687b ldr r3, [r7, #4] 8000dea: 4a3d ldr r2, [pc, #244] ; (8000ee0 ) 8000dec: 4293 cmp r3, r2 8000dee: d101 bne.n 8000df4 8000df0: 2303 movs r3, #3 8000df2: e006 b.n 8000e02 8000df4: 2304 movs r3, #4 8000df6: e004 b.n 8000e02 8000df8: 2302 movs r3, #2 8000dfa: e002 b.n 8000e02 8000dfc: 2301 movs r3, #1 8000dfe: e000 b.n 8000e02 8000e00: 2300 movs r3, #0 8000e02: 6a7a ldr r2, [r7, #36] ; 0x24 8000e04: f002 0203 and.w r2, r2, #3 8000e08: 0092 lsls r2, r2, #2 8000e0a: 4093 lsls r3, r2 8000e0c: 68fa ldr r2, [r7, #12] 8000e0e: 4313 orrs r3, r2 8000e10: 60fb str r3, [r7, #12] 8000e12: 492f ldr r1, [pc, #188] ; (8000ed0 ) 8000e14: 6a7b ldr r3, [r7, #36] ; 0x24 8000e16: 089b lsrs r3, r3, #2 8000e18: 3302 adds r3, #2 8000e1a: 68fa ldr r2, [r7, #12] 8000e1c: f841 2023 str.w r2, [r1, r3, lsl #2] 8000e20: 683b ldr r3, [r7, #0] 8000e22: 685b ldr r3, [r3, #4] 8000e24: f403 3380 and.w r3, r3, #65536 ; 0x10000 8000e28: 2b00 cmp r3, #0 8000e2a: d006 beq.n 8000e3a 8000e2c: 4b2d ldr r3, [pc, #180] ; (8000ee4 ) 8000e2e: 681a ldr r2, [r3, #0] 8000e30: 492c ldr r1, [pc, #176] ; (8000ee4 ) 8000e32: 69bb ldr r3, [r7, #24] 8000e34: 4313 orrs r3, r2 8000e36: 600b str r3, [r1, #0] 8000e38: e006 b.n 8000e48 8000e3a: 4b2a ldr r3, [pc, #168] ; (8000ee4 ) 8000e3c: 681a ldr r2, [r3, #0] 8000e3e: 69bb ldr r3, [r7, #24] 8000e40: 43db mvns r3, r3 8000e42: 4928 ldr r1, [pc, #160] ; (8000ee4 ) 8000e44: 4013 ands r3, r2 8000e46: 600b str r3, [r1, #0] 8000e48: 683b ldr r3, [r7, #0] 8000e4a: 685b ldr r3, [r3, #4] 8000e4c: f403 3300 and.w r3, r3, #131072 ; 0x20000 8000e50: 2b00 cmp r3, #0 8000e52: d006 beq.n 8000e62 8000e54: 4b23 ldr r3, [pc, #140] ; (8000ee4 ) 8000e56: 685a ldr r2, [r3, #4] 8000e58: 4922 ldr r1, [pc, #136] ; (8000ee4 ) 8000e5a: 69bb ldr r3, [r7, #24] 8000e5c: 4313 orrs r3, r2 8000e5e: 604b str r3, [r1, #4] 8000e60: e006 b.n 8000e70 8000e62: 4b20 ldr r3, [pc, #128] ; (8000ee4 ) 8000e64: 685a ldr r2, [r3, #4] 8000e66: 69bb ldr r3, [r7, #24] 8000e68: 43db mvns r3, r3 8000e6a: 491e ldr r1, [pc, #120] ; (8000ee4 ) 8000e6c: 4013 ands r3, r2 8000e6e: 604b str r3, [r1, #4] 8000e70: 683b ldr r3, [r7, #0] 8000e72: 685b ldr r3, [r3, #4] 8000e74: f403 1380 and.w r3, r3, #1048576 ; 0x100000 8000e78: 2b00 cmp r3, #0 8000e7a: d006 beq.n 8000e8a 8000e7c: 4b19 ldr r3, [pc, #100] ; (8000ee4 ) 8000e7e: 689a ldr r2, [r3, #8] 8000e80: 4918 ldr r1, [pc, #96] ; (8000ee4 ) 8000e82: 69bb ldr r3, [r7, #24] 8000e84: 4313 orrs r3, r2 8000e86: 608b str r3, [r1, #8] 8000e88: e006 b.n 8000e98 8000e8a: 4b16 ldr r3, [pc, #88] ; (8000ee4 ) 8000e8c: 689a ldr r2, [r3, #8] 8000e8e: 69bb ldr r3, [r7, #24] 8000e90: 43db mvns r3, r3 8000e92: 4914 ldr r1, [pc, #80] ; (8000ee4 ) 8000e94: 4013 ands r3, r2 8000e96: 608b str r3, [r1, #8] 8000e98: 683b ldr r3, [r7, #0] 8000e9a: 685b ldr r3, [r3, #4] 8000e9c: f403 1300 and.w r3, r3, #2097152 ; 0x200000 8000ea0: 2b00 cmp r3, #0 8000ea2: d021 beq.n 8000ee8 8000ea4: 4b0f ldr r3, [pc, #60] ; (8000ee4 ) 8000ea6: 68da ldr r2, [r3, #12] 8000ea8: 490e ldr r1, [pc, #56] ; (8000ee4 ) 8000eaa: 69bb ldr r3, [r7, #24] 8000eac: 4313 orrs r3, r2 8000eae: 60cb str r3, [r1, #12] 8000eb0: e021 b.n 8000ef6 8000eb2: bf00 nop 8000eb4: 10320000 .word 0x10320000 8000eb8: 10310000 .word 0x10310000 8000ebc: 10220000 .word 0x10220000 8000ec0: 10210000 .word 0x10210000 8000ec4: 10120000 .word 0x10120000 8000ec8: 10110000 .word 0x10110000 8000ecc: 40021000 .word 0x40021000 8000ed0: 40010000 .word 0x40010000 8000ed4: 40010800 .word 0x40010800 8000ed8: 40010c00 .word 0x40010c00 8000edc: 40011000 .word 0x40011000 8000ee0: 40011400 .word 0x40011400 8000ee4: 40010400 .word 0x40010400 8000ee8: 4b0b ldr r3, [pc, #44] ; (8000f18 ) 8000eea: 68da ldr r2, [r3, #12] 8000eec: 69bb ldr r3, [r7, #24] 8000eee: 43db mvns r3, r3 8000ef0: 4909 ldr r1, [pc, #36] ; (8000f18 ) 8000ef2: 4013 ands r3, r2 8000ef4: 60cb str r3, [r1, #12] 8000ef6: 6a7b ldr r3, [r7, #36] ; 0x24 8000ef8: 3301 adds r3, #1 8000efa: 627b str r3, [r7, #36] ; 0x24 8000efc: 683b ldr r3, [r7, #0] 8000efe: 681a ldr r2, [r3, #0] 8000f00: 6a7b ldr r3, [r7, #36] ; 0x24 8000f02: fa22 f303 lsr.w r3, r2, r3 8000f06: 2b00 cmp r3, #0 8000f08: f47f ae8e bne.w 8000c28 8000f0c: bf00 nop 8000f0e: bf00 nop 8000f10: 372c adds r7, #44 ; 0x2c 8000f12: 46bd mov sp, r7 8000f14: bc80 pop {r7} 8000f16: 4770 bx lr 8000f18: 40010400 .word 0x40010400 08000f1c : 8000f1c: b580 push {r7, lr} 8000f1e: b084 sub sp, #16 8000f20: af00 add r7, sp, #0 8000f22: 6078 str r0, [r7, #4] 8000f24: 687b ldr r3, [r7, #4] 8000f26: 2b00 cmp r3, #0 8000f28: d101 bne.n 8000f2e 8000f2a: 2301 movs r3, #1 8000f2c: e12b b.n 8001186 8000f2e: 687b ldr r3, [r7, #4] 8000f30: f893 303d ldrb.w r3, [r3, #61] ; 0x3d 8000f34: b2db uxtb r3, r3 8000f36: 2b00 cmp r3, #0 8000f38: d106 bne.n 8000f48 8000f3a: 687b ldr r3, [r7, #4] 8000f3c: 2200 movs r2, #0 8000f3e: f883 203c strb.w r2, [r3, #60] ; 0x3c 8000f42: 6878 ldr r0, [r7, #4] 8000f44: f7ff f952 bl 80001ec 8000f48: 687b ldr r3, [r7, #4] 8000f4a: 2224 movs r2, #36 ; 0x24 8000f4c: f883 203d strb.w r2, [r3, #61] ; 0x3d 8000f50: 687b ldr r3, [r7, #4] 8000f52: 681b ldr r3, [r3, #0] 8000f54: 681a ldr r2, [r3, #0] 8000f56: 687b ldr r3, [r7, #4] 8000f58: 681b ldr r3, [r3, #0] 8000f5a: f022 0201 bic.w r2, r2, #1 8000f5e: 601a str r2, [r3, #0] 8000f60: 687b ldr r3, [r7, #4] 8000f62: 681b ldr r3, [r3, #0] 8000f64: 681a ldr r2, [r3, #0] 8000f66: 687b ldr r3, [r7, #4] 8000f68: 681b ldr r3, [r3, #0] 8000f6a: f442 4200 orr.w r2, r2, #32768 ; 0x8000 8000f6e: 601a str r2, [r3, #0] 8000f70: 687b ldr r3, [r7, #4] 8000f72: 681b ldr r3, [r3, #0] 8000f74: 681a ldr r2, [r3, #0] 8000f76: 687b ldr r3, [r7, #4] 8000f78: 681b ldr r3, [r3, #0] 8000f7a: f422 4200 bic.w r2, r2, #32768 ; 0x8000 8000f7e: 601a str r2, [r3, #0] 8000f80: f000 ffea bl 8001f58 8000f84: 60f8 str r0, [r7, #12] 8000f86: 687b ldr r3, [r7, #4] 8000f88: 685b ldr r3, [r3, #4] 8000f8a: 4a81 ldr r2, [pc, #516] ; (8001190 ) 8000f8c: 4293 cmp r3, r2 8000f8e: d807 bhi.n 8000fa0 8000f90: 68fb ldr r3, [r7, #12] 8000f92: 4a80 ldr r2, [pc, #512] ; (8001194 ) 8000f94: 4293 cmp r3, r2 8000f96: bf94 ite ls 8000f98: 2301 movls r3, #1 8000f9a: 2300 movhi r3, #0 8000f9c: b2db uxtb r3, r3 8000f9e: e006 b.n 8000fae 8000fa0: 68fb ldr r3, [r7, #12] 8000fa2: 4a7d ldr r2, [pc, #500] ; (8001198 ) 8000fa4: 4293 cmp r3, r2 8000fa6: bf94 ite ls 8000fa8: 2301 movls r3, #1 8000faa: 2300 movhi r3, #0 8000fac: b2db uxtb r3, r3 8000fae: 2b00 cmp r3, #0 8000fb0: d001 beq.n 8000fb6 8000fb2: 2301 movs r3, #1 8000fb4: e0e7 b.n 8001186 8000fb6: 68fb ldr r3, [r7, #12] 8000fb8: 4a78 ldr r2, [pc, #480] ; (800119c ) 8000fba: fba2 2303 umull r2, r3, r2, r3 8000fbe: 0c9b lsrs r3, r3, #18 8000fc0: 60bb str r3, [r7, #8] 8000fc2: 687b ldr r3, [r7, #4] 8000fc4: 681b ldr r3, [r3, #0] 8000fc6: 685b ldr r3, [r3, #4] 8000fc8: f023 013f bic.w r1, r3, #63 ; 0x3f 8000fcc: 687b ldr r3, [r7, #4] 8000fce: 681b ldr r3, [r3, #0] 8000fd0: 68ba ldr r2, [r7, #8] 8000fd2: 430a orrs r2, r1 8000fd4: 605a str r2, [r3, #4] 8000fd6: 687b ldr r3, [r7, #4] 8000fd8: 681b ldr r3, [r3, #0] 8000fda: 6a1b ldr r3, [r3, #32] 8000fdc: f023 013f bic.w r1, r3, #63 ; 0x3f 8000fe0: 687b ldr r3, [r7, #4] 8000fe2: 685b ldr r3, [r3, #4] 8000fe4: 4a6a ldr r2, [pc, #424] ; (8001190 ) 8000fe6: 4293 cmp r3, r2 8000fe8: d802 bhi.n 8000ff0 8000fea: 68bb ldr r3, [r7, #8] 8000fec: 3301 adds r3, #1 8000fee: e009 b.n 8001004 8000ff0: 68bb ldr r3, [r7, #8] 8000ff2: f44f 7296 mov.w r2, #300 ; 0x12c 8000ff6: fb02 f303 mul.w r3, r2, r3 8000ffa: 4a69 ldr r2, [pc, #420] ; (80011a0 ) 8000ffc: fba2 2303 umull r2, r3, r2, r3 8001000: 099b lsrs r3, r3, #6 8001002: 3301 adds r3, #1 8001004: 687a ldr r2, [r7, #4] 8001006: 6812 ldr r2, [r2, #0] 8001008: 430b orrs r3, r1 800100a: 6213 str r3, [r2, #32] 800100c: 687b ldr r3, [r7, #4] 800100e: 681b ldr r3, [r3, #0] 8001010: 69db ldr r3, [r3, #28] 8001012: f423 424f bic.w r2, r3, #52992 ; 0xcf00 8001016: f022 02ff bic.w r2, r2, #255 ; 0xff 800101a: 687b ldr r3, [r7, #4] 800101c: 685b ldr r3, [r3, #4] 800101e: 495c ldr r1, [pc, #368] ; (8001190 ) 8001020: 428b cmp r3, r1 8001022: d819 bhi.n 8001058 8001024: 68fb ldr r3, [r7, #12] 8001026: 1e59 subs r1, r3, #1 8001028: 687b ldr r3, [r7, #4] 800102a: 685b ldr r3, [r3, #4] 800102c: 005b lsls r3, r3, #1 800102e: fbb1 f3f3 udiv r3, r1, r3 8001032: 1c59 adds r1, r3, #1 8001034: f640 73fc movw r3, #4092 ; 0xffc 8001038: 400b ands r3, r1 800103a: 2b00 cmp r3, #0 800103c: d00a beq.n 8001054 800103e: 68fb ldr r3, [r7, #12] 8001040: 1e59 subs r1, r3, #1 8001042: 687b ldr r3, [r7, #4] 8001044: 685b ldr r3, [r3, #4] 8001046: 005b lsls r3, r3, #1 8001048: fbb1 f3f3 udiv r3, r1, r3 800104c: 3301 adds r3, #1 800104e: f3c3 030b ubfx r3, r3, #0, #12 8001052: e051 b.n 80010f8 8001054: 2304 movs r3, #4 8001056: e04f b.n 80010f8 8001058: 687b ldr r3, [r7, #4] 800105a: 689b ldr r3, [r3, #8] 800105c: 2b00 cmp r3, #0 800105e: d111 bne.n 8001084 8001060: 68fb ldr r3, [r7, #12] 8001062: 1e58 subs r0, r3, #1 8001064: 687b ldr r3, [r7, #4] 8001066: 6859 ldr r1, [r3, #4] 8001068: 460b mov r3, r1 800106a: 005b lsls r3, r3, #1 800106c: 440b add r3, r1 800106e: fbb0 f3f3 udiv r3, r0, r3 8001072: 3301 adds r3, #1 8001074: f3c3 030b ubfx r3, r3, #0, #12 8001078: 2b00 cmp r3, #0 800107a: bf0c ite eq 800107c: 2301 moveq r3, #1 800107e: 2300 movne r3, #0 8001080: b2db uxtb r3, r3 8001082: e012 b.n 80010aa 8001084: 68fb ldr r3, [r7, #12] 8001086: 1e58 subs r0, r3, #1 8001088: 687b ldr r3, [r7, #4] 800108a: 6859 ldr r1, [r3, #4] 800108c: 460b mov r3, r1 800108e: 009b lsls r3, r3, #2 8001090: 440b add r3, r1 8001092: 0099 lsls r1, r3, #2 8001094: 440b add r3, r1 8001096: fbb0 f3f3 udiv r3, r0, r3 800109a: 3301 adds r3, #1 800109c: f3c3 030b ubfx r3, r3, #0, #12 80010a0: 2b00 cmp r3, #0 80010a2: bf0c ite eq 80010a4: 2301 moveq r3, #1 80010a6: 2300 movne r3, #0 80010a8: b2db uxtb r3, r3 80010aa: 2b00 cmp r3, #0 80010ac: d001 beq.n 80010b2 80010ae: 2301 movs r3, #1 80010b0: e022 b.n 80010f8 80010b2: 687b ldr r3, [r7, #4] 80010b4: 689b ldr r3, [r3, #8] 80010b6: 2b00 cmp r3, #0 80010b8: d10e bne.n 80010d8 80010ba: 68fb ldr r3, [r7, #12] 80010bc: 1e58 subs r0, r3, #1 80010be: 687b ldr r3, [r7, #4] 80010c0: 6859 ldr r1, [r3, #4] 80010c2: 460b mov r3, r1 80010c4: 005b lsls r3, r3, #1 80010c6: 440b add r3, r1 80010c8: fbb0 f3f3 udiv r3, r0, r3 80010cc: 3301 adds r3, #1 80010ce: f3c3 030b ubfx r3, r3, #0, #12 80010d2: f443 4300 orr.w r3, r3, #32768 ; 0x8000 80010d6: e00f b.n 80010f8 80010d8: 68fb ldr r3, [r7, #12] 80010da: 1e58 subs r0, r3, #1 80010dc: 687b ldr r3, [r7, #4] 80010de: 6859 ldr r1, [r3, #4] 80010e0: 460b mov r3, r1 80010e2: 009b lsls r3, r3, #2 80010e4: 440b add r3, r1 80010e6: 0099 lsls r1, r3, #2 80010e8: 440b add r3, r1 80010ea: fbb0 f3f3 udiv r3, r0, r3 80010ee: 3301 adds r3, #1 80010f0: f3c3 030b ubfx r3, r3, #0, #12 80010f4: f443 4340 orr.w r3, r3, #49152 ; 0xc000 80010f8: 6879 ldr r1, [r7, #4] 80010fa: 6809 ldr r1, [r1, #0] 80010fc: 4313 orrs r3, r2 80010fe: 61cb str r3, [r1, #28] 8001100: 687b ldr r3, [r7, #4] 8001102: 681b ldr r3, [r3, #0] 8001104: 681b ldr r3, [r3, #0] 8001106: f023 01c0 bic.w r1, r3, #192 ; 0xc0 800110a: 687b ldr r3, [r7, #4] 800110c: 69da ldr r2, [r3, #28] 800110e: 687b ldr r3, [r7, #4] 8001110: 6a1b ldr r3, [r3, #32] 8001112: 431a orrs r2, r3 8001114: 687b ldr r3, [r7, #4] 8001116: 681b ldr r3, [r3, #0] 8001118: 430a orrs r2, r1 800111a: 601a str r2, [r3, #0] 800111c: 687b ldr r3, [r7, #4] 800111e: 681b ldr r3, [r3, #0] 8001120: 689b ldr r3, [r3, #8] 8001122: f423 4303 bic.w r3, r3, #33536 ; 0x8300 8001126: f023 03ff bic.w r3, r3, #255 ; 0xff 800112a: 687a ldr r2, [r7, #4] 800112c: 6911 ldr r1, [r2, #16] 800112e: 687a ldr r2, [r7, #4] 8001130: 68d2 ldr r2, [r2, #12] 8001132: 4311 orrs r1, r2 8001134: 687a ldr r2, [r7, #4] 8001136: 6812 ldr r2, [r2, #0] 8001138: 430b orrs r3, r1 800113a: 6093 str r3, [r2, #8] 800113c: 687b ldr r3, [r7, #4] 800113e: 681b ldr r3, [r3, #0] 8001140: 68db ldr r3, [r3, #12] 8001142: f023 01ff bic.w r1, r3, #255 ; 0xff 8001146: 687b ldr r3, [r7, #4] 8001148: 695a ldr r2, [r3, #20] 800114a: 687b ldr r3, [r7, #4] 800114c: 699b ldr r3, [r3, #24] 800114e: 431a orrs r2, r3 8001150: 687b ldr r3, [r7, #4] 8001152: 681b ldr r3, [r3, #0] 8001154: 430a orrs r2, r1 8001156: 60da str r2, [r3, #12] 8001158: 687b ldr r3, [r7, #4] 800115a: 681b ldr r3, [r3, #0] 800115c: 681a ldr r2, [r3, #0] 800115e: 687b ldr r3, [r7, #4] 8001160: 681b ldr r3, [r3, #0] 8001162: f042 0201 orr.w r2, r2, #1 8001166: 601a str r2, [r3, #0] 8001168: 687b ldr r3, [r7, #4] 800116a: 2200 movs r2, #0 800116c: 641a str r2, [r3, #64] ; 0x40 800116e: 687b ldr r3, [r7, #4] 8001170: 2220 movs r2, #32 8001172: f883 203d strb.w r2, [r3, #61] ; 0x3d 8001176: 687b ldr r3, [r7, #4] 8001178: 2200 movs r2, #0 800117a: 631a str r2, [r3, #48] ; 0x30 800117c: 687b ldr r3, [r7, #4] 800117e: 2200 movs r2, #0 8001180: f883 203e strb.w r2, [r3, #62] ; 0x3e 8001184: 2300 movs r3, #0 8001186: 4618 mov r0, r3 8001188: 3710 adds r7, #16 800118a: 46bd mov sp, r7 800118c: bd80 pop {r7, pc} 800118e: bf00 nop 8001190: 000186a0 .word 0x000186a0 8001194: 001e847f .word 0x001e847f 8001198: 003d08ff .word 0x003d08ff 800119c: 431bde83 .word 0x431bde83 80011a0: 10624dd3 .word 0x10624dd3 080011a4 : 80011a4: b580 push {r7, lr} 80011a6: b088 sub sp, #32 80011a8: af02 add r7, sp, #8 80011aa: 60f8 str r0, [r7, #12] 80011ac: 607a str r2, [r7, #4] 80011ae: 461a mov r2, r3 80011b0: 460b mov r3, r1 80011b2: 817b strh r3, [r7, #10] 80011b4: 4613 mov r3, r2 80011b6: 813b strh r3, [r7, #8] 80011b8: f7ff fc3e bl 8000a38 80011bc: 6178 str r0, [r7, #20] 80011be: 68fb ldr r3, [r7, #12] 80011c0: f893 303d ldrb.w r3, [r3, #61] ; 0x3d 80011c4: b2db uxtb r3, r3 80011c6: 2b20 cmp r3, #32 80011c8: f040 80e0 bne.w 800138c 80011cc: 697b ldr r3, [r7, #20] 80011ce: 9300 str r3, [sp, #0] 80011d0: 2319 movs r3, #25 80011d2: 2201 movs r2, #1 80011d4: 4970 ldr r1, [pc, #448] ; (8001398 ) 80011d6: 68f8 ldr r0, [r7, #12] 80011d8: f000 f964 bl 80014a4 80011dc: 4603 mov r3, r0 80011de: 2b00 cmp r3, #0 80011e0: d001 beq.n 80011e6 80011e2: 2302 movs r3, #2 80011e4: e0d3 b.n 800138e 80011e6: 68fb ldr r3, [r7, #12] 80011e8: f893 303c ldrb.w r3, [r3, #60] ; 0x3c 80011ec: 2b01 cmp r3, #1 80011ee: d101 bne.n 80011f4 80011f0: 2302 movs r3, #2 80011f2: e0cc b.n 800138e 80011f4: 68fb ldr r3, [r7, #12] 80011f6: 2201 movs r2, #1 80011f8: f883 203c strb.w r2, [r3, #60] ; 0x3c 80011fc: 68fb ldr r3, [r7, #12] 80011fe: 681b ldr r3, [r3, #0] 8001200: 681b ldr r3, [r3, #0] 8001202: f003 0301 and.w r3, r3, #1 8001206: 2b01 cmp r3, #1 8001208: d007 beq.n 800121a 800120a: 68fb ldr r3, [r7, #12] 800120c: 681b ldr r3, [r3, #0] 800120e: 681a ldr r2, [r3, #0] 8001210: 68fb ldr r3, [r7, #12] 8001212: 681b ldr r3, [r3, #0] 8001214: f042 0201 orr.w r2, r2, #1 8001218: 601a str r2, [r3, #0] 800121a: 68fb ldr r3, [r7, #12] 800121c: 681b ldr r3, [r3, #0] 800121e: 681a ldr r2, [r3, #0] 8001220: 68fb ldr r3, [r7, #12] 8001222: 681b ldr r3, [r3, #0] 8001224: f422 6200 bic.w r2, r2, #2048 ; 0x800 8001228: 601a str r2, [r3, #0] 800122a: 68fb ldr r3, [r7, #12] 800122c: 2221 movs r2, #33 ; 0x21 800122e: f883 203d strb.w r2, [r3, #61] ; 0x3d 8001232: 68fb ldr r3, [r7, #12] 8001234: 2210 movs r2, #16 8001236: f883 203e strb.w r2, [r3, #62] ; 0x3e 800123a: 68fb ldr r3, [r7, #12] 800123c: 2200 movs r2, #0 800123e: 641a str r2, [r3, #64] ; 0x40 8001240: 68fb ldr r3, [r7, #12] 8001242: 687a ldr r2, [r7, #4] 8001244: 625a str r2, [r3, #36] ; 0x24 8001246: 68fb ldr r3, [r7, #12] 8001248: 893a ldrh r2, [r7, #8] 800124a: 855a strh r2, [r3, #42] ; 0x2a 800124c: 68fb ldr r3, [r7, #12] 800124e: 8d5b ldrh r3, [r3, #42] ; 0x2a 8001250: b29a uxth r2, r3 8001252: 68fb ldr r3, [r7, #12] 8001254: 851a strh r2, [r3, #40] ; 0x28 8001256: 68fb ldr r3, [r7, #12] 8001258: 4a50 ldr r2, [pc, #320] ; (800139c ) 800125a: 62da str r2, [r3, #44] ; 0x2c 800125c: 8979 ldrh r1, [r7, #10] 800125e: 697b ldr r3, [r7, #20] 8001260: 6a3a ldr r2, [r7, #32] 8001262: 68f8 ldr r0, [r7, #12] 8001264: f000 f89c bl 80013a0 8001268: 4603 mov r3, r0 800126a: 2b00 cmp r3, #0 800126c: d001 beq.n 8001272 800126e: 2301 movs r3, #1 8001270: e08d b.n 800138e 8001272: 2300 movs r3, #0 8001274: 613b str r3, [r7, #16] 8001276: 68fb ldr r3, [r7, #12] 8001278: 681b ldr r3, [r3, #0] 800127a: 695b ldr r3, [r3, #20] 800127c: 613b str r3, [r7, #16] 800127e: 68fb ldr r3, [r7, #12] 8001280: 681b ldr r3, [r3, #0] 8001282: 699b ldr r3, [r3, #24] 8001284: 613b str r3, [r7, #16] 8001286: 693b ldr r3, [r7, #16] 8001288: e066 b.n 8001358 800128a: 697a ldr r2, [r7, #20] 800128c: 6a39 ldr r1, [r7, #32] 800128e: 68f8 ldr r0, [r7, #12] 8001290: f000 f9de bl 8001650 8001294: 4603 mov r3, r0 8001296: 2b00 cmp r3, #0 8001298: d00d beq.n 80012b6 800129a: 68fb ldr r3, [r7, #12] 800129c: 6c1b ldr r3, [r3, #64] ; 0x40 800129e: 2b04 cmp r3, #4 80012a0: d107 bne.n 80012b2 80012a2: 68fb ldr r3, [r7, #12] 80012a4: 681b ldr r3, [r3, #0] 80012a6: 681a ldr r2, [r3, #0] 80012a8: 68fb ldr r3, [r7, #12] 80012aa: 681b ldr r3, [r3, #0] 80012ac: f442 7200 orr.w r2, r2, #512 ; 0x200 80012b0: 601a str r2, [r3, #0] 80012b2: 2301 movs r3, #1 80012b4: e06b b.n 800138e 80012b6: 68fb ldr r3, [r7, #12] 80012b8: 6a5b ldr r3, [r3, #36] ; 0x24 80012ba: 781a ldrb r2, [r3, #0] 80012bc: 68fb ldr r3, [r7, #12] 80012be: 681b ldr r3, [r3, #0] 80012c0: 611a str r2, [r3, #16] 80012c2: 68fb ldr r3, [r7, #12] 80012c4: 6a5b ldr r3, [r3, #36] ; 0x24 80012c6: 1c5a adds r2, r3, #1 80012c8: 68fb ldr r3, [r7, #12] 80012ca: 625a str r2, [r3, #36] ; 0x24 80012cc: 68fb ldr r3, [r7, #12] 80012ce: 8d5b ldrh r3, [r3, #42] ; 0x2a 80012d0: b29b uxth r3, r3 80012d2: 3b01 subs r3, #1 80012d4: b29a uxth r2, r3 80012d6: 68fb ldr r3, [r7, #12] 80012d8: 855a strh r2, [r3, #42] ; 0x2a 80012da: 68fb ldr r3, [r7, #12] 80012dc: 8d1b ldrh r3, [r3, #40] ; 0x28 80012de: 3b01 subs r3, #1 80012e0: b29a uxth r2, r3 80012e2: 68fb ldr r3, [r7, #12] 80012e4: 851a strh r2, [r3, #40] ; 0x28 80012e6: 68fb ldr r3, [r7, #12] 80012e8: 681b ldr r3, [r3, #0] 80012ea: 695b ldr r3, [r3, #20] 80012ec: f003 0304 and.w r3, r3, #4 80012f0: 2b04 cmp r3, #4 80012f2: d11b bne.n 800132c 80012f4: 68fb ldr r3, [r7, #12] 80012f6: 8d1b ldrh r3, [r3, #40] ; 0x28 80012f8: 2b00 cmp r3, #0 80012fa: d017 beq.n 800132c 80012fc: 68fb ldr r3, [r7, #12] 80012fe: 6a5b ldr r3, [r3, #36] ; 0x24 8001300: 781a ldrb r2, [r3, #0] 8001302: 68fb ldr r3, [r7, #12] 8001304: 681b ldr r3, [r3, #0] 8001306: 611a str r2, [r3, #16] 8001308: 68fb ldr r3, [r7, #12] 800130a: 6a5b ldr r3, [r3, #36] ; 0x24 800130c: 1c5a adds r2, r3, #1 800130e: 68fb ldr r3, [r7, #12] 8001310: 625a str r2, [r3, #36] ; 0x24 8001312: 68fb ldr r3, [r7, #12] 8001314: 8d5b ldrh r3, [r3, #42] ; 0x2a 8001316: b29b uxth r3, r3 8001318: 3b01 subs r3, #1 800131a: b29a uxth r2, r3 800131c: 68fb ldr r3, [r7, #12] 800131e: 855a strh r2, [r3, #42] ; 0x2a 8001320: 68fb ldr r3, [r7, #12] 8001322: 8d1b ldrh r3, [r3, #40] ; 0x28 8001324: 3b01 subs r3, #1 8001326: b29a uxth r2, r3 8001328: 68fb ldr r3, [r7, #12] 800132a: 851a strh r2, [r3, #40] ; 0x28 800132c: 697a ldr r2, [r7, #20] 800132e: 6a39 ldr r1, [r7, #32] 8001330: 68f8 ldr r0, [r7, #12] 8001332: f000 f9ce bl 80016d2 8001336: 4603 mov r3, r0 8001338: 2b00 cmp r3, #0 800133a: d00d beq.n 8001358 800133c: 68fb ldr r3, [r7, #12] 800133e: 6c1b ldr r3, [r3, #64] ; 0x40 8001340: 2b04 cmp r3, #4 8001342: d107 bne.n 8001354 8001344: 68fb ldr r3, [r7, #12] 8001346: 681b ldr r3, [r3, #0] 8001348: 681a ldr r2, [r3, #0] 800134a: 68fb ldr r3, [r7, #12] 800134c: 681b ldr r3, [r3, #0] 800134e: f442 7200 orr.w r2, r2, #512 ; 0x200 8001352: 601a str r2, [r3, #0] 8001354: 2301 movs r3, #1 8001356: e01a b.n 800138e 8001358: 68fb ldr r3, [r7, #12] 800135a: 8d1b ldrh r3, [r3, #40] ; 0x28 800135c: 2b00 cmp r3, #0 800135e: d194 bne.n 800128a 8001360: 68fb ldr r3, [r7, #12] 8001362: 681b ldr r3, [r3, #0] 8001364: 681a ldr r2, [r3, #0] 8001366: 68fb ldr r3, [r7, #12] 8001368: 681b ldr r3, [r3, #0] 800136a: f442 7200 orr.w r2, r2, #512 ; 0x200 800136e: 601a str r2, [r3, #0] 8001370: 68fb ldr r3, [r7, #12] 8001372: 2220 movs r2, #32 8001374: f883 203d strb.w r2, [r3, #61] ; 0x3d 8001378: 68fb ldr r3, [r7, #12] 800137a: 2200 movs r2, #0 800137c: f883 203e strb.w r2, [r3, #62] ; 0x3e 8001380: 68fb ldr r3, [r7, #12] 8001382: 2200 movs r2, #0 8001384: f883 203c strb.w r2, [r3, #60] ; 0x3c 8001388: 2300 movs r3, #0 800138a: e000 b.n 800138e 800138c: 2302 movs r3, #2 800138e: 4618 mov r0, r3 8001390: 3718 adds r7, #24 8001392: 46bd mov sp, r7 8001394: bd80 pop {r7, pc} 8001396: bf00 nop 8001398: 00100002 .word 0x00100002 800139c: ffff0000 .word 0xffff0000 080013a0 : 80013a0: b580 push {r7, lr} 80013a2: b088 sub sp, #32 80013a4: af02 add r7, sp, #8 80013a6: 60f8 str r0, [r7, #12] 80013a8: 607a str r2, [r7, #4] 80013aa: 603b str r3, [r7, #0] 80013ac: 460b mov r3, r1 80013ae: 817b strh r3, [r7, #10] 80013b0: 68fb ldr r3, [r7, #12] 80013b2: 6adb ldr r3, [r3, #44] ; 0x2c 80013b4: 617b str r3, [r7, #20] 80013b6: 697b ldr r3, [r7, #20] 80013b8: 2b08 cmp r3, #8 80013ba: d006 beq.n 80013ca 80013bc: 697b ldr r3, [r7, #20] 80013be: 2b01 cmp r3, #1 80013c0: d003 beq.n 80013ca 80013c2: 697b ldr r3, [r7, #20] 80013c4: f513 3f80 cmn.w r3, #65536 ; 0x10000 80013c8: d108 bne.n 80013dc 80013ca: 68fb ldr r3, [r7, #12] 80013cc: 681b ldr r3, [r3, #0] 80013ce: 681a ldr r2, [r3, #0] 80013d0: 68fb ldr r3, [r7, #12] 80013d2: 681b ldr r3, [r3, #0] 80013d4: f442 7280 orr.w r2, r2, #256 ; 0x100 80013d8: 601a str r2, [r3, #0] 80013da: e00b b.n 80013f4 80013dc: 68fb ldr r3, [r7, #12] 80013de: 6b1b ldr r3, [r3, #48] ; 0x30 80013e0: 2b12 cmp r3, #18 80013e2: d107 bne.n 80013f4 80013e4: 68fb ldr r3, [r7, #12] 80013e6: 681b ldr r3, [r3, #0] 80013e8: 681a ldr r2, [r3, #0] 80013ea: 68fb ldr r3, [r7, #12] 80013ec: 681b ldr r3, [r3, #0] 80013ee: f442 7280 orr.w r2, r2, #256 ; 0x100 80013f2: 601a str r2, [r3, #0] 80013f4: 683b ldr r3, [r7, #0] 80013f6: 9300 str r3, [sp, #0] 80013f8: 687b ldr r3, [r7, #4] 80013fa: 2200 movs r2, #0 80013fc: f04f 1101 mov.w r1, #65537 ; 0x10001 8001400: 68f8 ldr r0, [r7, #12] 8001402: f000 f84f bl 80014a4 8001406: 4603 mov r3, r0 8001408: 2b00 cmp r3, #0 800140a: d00d beq.n 8001428 800140c: 68fb ldr r3, [r7, #12] 800140e: 681b ldr r3, [r3, #0] 8001410: 681b ldr r3, [r3, #0] 8001412: f403 7380 and.w r3, r3, #256 ; 0x100 8001416: f5b3 7f80 cmp.w r3, #256 ; 0x100 800141a: d103 bne.n 8001424 800141c: 68fb ldr r3, [r7, #12] 800141e: f44f 7200 mov.w r2, #512 ; 0x200 8001422: 641a str r2, [r3, #64] ; 0x40 8001424: 2303 movs r3, #3 8001426: e035 b.n 8001494 8001428: 68fb ldr r3, [r7, #12] 800142a: 691b ldr r3, [r3, #16] 800142c: f5b3 4f80 cmp.w r3, #16384 ; 0x4000 8001430: d108 bne.n 8001444 8001432: 897b ldrh r3, [r7, #10] 8001434: b2db uxtb r3, r3 8001436: 461a mov r2, r3 8001438: 68fb ldr r3, [r7, #12] 800143a: 681b ldr r3, [r3, #0] 800143c: f002 02fe and.w r2, r2, #254 ; 0xfe 8001440: 611a str r2, [r3, #16] 8001442: e01b b.n 800147c 8001444: 897b ldrh r3, [r7, #10] 8001446: 11db asrs r3, r3, #7 8001448: b2db uxtb r3, r3 800144a: f003 0306 and.w r3, r3, #6 800144e: b2db uxtb r3, r3 8001450: f063 030f orn r3, r3, #15 8001454: b2da uxtb r2, r3 8001456: 68fb ldr r3, [r7, #12] 8001458: 681b ldr r3, [r3, #0] 800145a: 611a str r2, [r3, #16] 800145c: 683b ldr r3, [r7, #0] 800145e: 687a ldr r2, [r7, #4] 8001460: 490e ldr r1, [pc, #56] ; (800149c ) 8001462: 68f8 ldr r0, [r7, #12] 8001464: f000 f875 bl 8001552 8001468: 4603 mov r3, r0 800146a: 2b00 cmp r3, #0 800146c: d001 beq.n 8001472 800146e: 2301 movs r3, #1 8001470: e010 b.n 8001494 8001472: 897b ldrh r3, [r7, #10] 8001474: b2da uxtb r2, r3 8001476: 68fb ldr r3, [r7, #12] 8001478: 681b ldr r3, [r3, #0] 800147a: 611a str r2, [r3, #16] 800147c: 683b ldr r3, [r7, #0] 800147e: 687a ldr r2, [r7, #4] 8001480: 4907 ldr r1, [pc, #28] ; (80014a0 ) 8001482: 68f8 ldr r0, [r7, #12] 8001484: f000 f865 bl 8001552 8001488: 4603 mov r3, r0 800148a: 2b00 cmp r3, #0 800148c: d001 beq.n 8001492 800148e: 2301 movs r3, #1 8001490: e000 b.n 8001494 8001492: 2300 movs r3, #0 8001494: 4618 mov r0, r3 8001496: 3718 adds r7, #24 8001498: 46bd mov sp, r7 800149a: bd80 pop {r7, pc} 800149c: 00010008 .word 0x00010008 80014a0: 00010002 .word 0x00010002 080014a4 : 80014a4: b580 push {r7, lr} 80014a6: b084 sub sp, #16 80014a8: af00 add r7, sp, #0 80014aa: 60f8 str r0, [r7, #12] 80014ac: 60b9 str r1, [r7, #8] 80014ae: 603b str r3, [r7, #0] 80014b0: 4613 mov r3, r2 80014b2: 71fb strb r3, [r7, #7] 80014b4: e025 b.n 8001502 80014b6: 683b ldr r3, [r7, #0] 80014b8: f1b3 3fff cmp.w r3, #4294967295 80014bc: d021 beq.n 8001502 80014be: f7ff fabb bl 8000a38 80014c2: 4602 mov r2, r0 80014c4: 69bb ldr r3, [r7, #24] 80014c6: 1ad3 subs r3, r2, r3 80014c8: 683a ldr r2, [r7, #0] 80014ca: 429a cmp r2, r3 80014cc: d302 bcc.n 80014d4 80014ce: 683b ldr r3, [r7, #0] 80014d0: 2b00 cmp r3, #0 80014d2: d116 bne.n 8001502 80014d4: 68fb ldr r3, [r7, #12] 80014d6: 2200 movs r2, #0 80014d8: 631a str r2, [r3, #48] ; 0x30 80014da: 68fb ldr r3, [r7, #12] 80014dc: 2220 movs r2, #32 80014de: f883 203d strb.w r2, [r3, #61] ; 0x3d 80014e2: 68fb ldr r3, [r7, #12] 80014e4: 2200 movs r2, #0 80014e6: f883 203e strb.w r2, [r3, #62] ; 0x3e 80014ea: 68fb ldr r3, [r7, #12] 80014ec: 6c1b ldr r3, [r3, #64] ; 0x40 80014ee: f043 0220 orr.w r2, r3, #32 80014f2: 68fb ldr r3, [r7, #12] 80014f4: 641a str r2, [r3, #64] ; 0x40 80014f6: 68fb ldr r3, [r7, #12] 80014f8: 2200 movs r2, #0 80014fa: f883 203c strb.w r2, [r3, #60] ; 0x3c 80014fe: 2301 movs r3, #1 8001500: e023 b.n 800154a 8001502: 68bb ldr r3, [r7, #8] 8001504: 0c1b lsrs r3, r3, #16 8001506: b2db uxtb r3, r3 8001508: 2b01 cmp r3, #1 800150a: d10d bne.n 8001528 800150c: 68fb ldr r3, [r7, #12] 800150e: 681b ldr r3, [r3, #0] 8001510: 695b ldr r3, [r3, #20] 8001512: 43da mvns r2, r3 8001514: 68bb ldr r3, [r7, #8] 8001516: 4013 ands r3, r2 8001518: b29b uxth r3, r3 800151a: 2b00 cmp r3, #0 800151c: bf0c ite eq 800151e: 2301 moveq r3, #1 8001520: 2300 movne r3, #0 8001522: b2db uxtb r3, r3 8001524: 461a mov r2, r3 8001526: e00c b.n 8001542 8001528: 68fb ldr r3, [r7, #12] 800152a: 681b ldr r3, [r3, #0] 800152c: 699b ldr r3, [r3, #24] 800152e: 43da mvns r2, r3 8001530: 68bb ldr r3, [r7, #8] 8001532: 4013 ands r3, r2 8001534: b29b uxth r3, r3 8001536: 2b00 cmp r3, #0 8001538: bf0c ite eq 800153a: 2301 moveq r3, #1 800153c: 2300 movne r3, #0 800153e: b2db uxtb r3, r3 8001540: 461a mov r2, r3 8001542: 79fb ldrb r3, [r7, #7] 8001544: 429a cmp r2, r3 8001546: d0b6 beq.n 80014b6 8001548: 2300 movs r3, #0 800154a: 4618 mov r0, r3 800154c: 3710 adds r7, #16 800154e: 46bd mov sp, r7 8001550: bd80 pop {r7, pc} 08001552 : 8001552: b580 push {r7, lr} 8001554: b084 sub sp, #16 8001556: af00 add r7, sp, #0 8001558: 60f8 str r0, [r7, #12] 800155a: 60b9 str r1, [r7, #8] 800155c: 607a str r2, [r7, #4] 800155e: 603b str r3, [r7, #0] 8001560: e051 b.n 8001606 8001562: 68fb ldr r3, [r7, #12] 8001564: 681b ldr r3, [r3, #0] 8001566: 695b ldr r3, [r3, #20] 8001568: f403 6380 and.w r3, r3, #1024 ; 0x400 800156c: f5b3 6f80 cmp.w r3, #1024 ; 0x400 8001570: d123 bne.n 80015ba 8001572: 68fb ldr r3, [r7, #12] 8001574: 681b ldr r3, [r3, #0] 8001576: 681a ldr r2, [r3, #0] 8001578: 68fb ldr r3, [r7, #12] 800157a: 681b ldr r3, [r3, #0] 800157c: f442 7200 orr.w r2, r2, #512 ; 0x200 8001580: 601a str r2, [r3, #0] 8001582: 68fb ldr r3, [r7, #12] 8001584: 681b ldr r3, [r3, #0] 8001586: f46f 6280 mvn.w r2, #1024 ; 0x400 800158a: 615a str r2, [r3, #20] 800158c: 68fb ldr r3, [r7, #12] 800158e: 2200 movs r2, #0 8001590: 631a str r2, [r3, #48] ; 0x30 8001592: 68fb ldr r3, [r7, #12] 8001594: 2220 movs r2, #32 8001596: f883 203d strb.w r2, [r3, #61] ; 0x3d 800159a: 68fb ldr r3, [r7, #12] 800159c: 2200 movs r2, #0 800159e: f883 203e strb.w r2, [r3, #62] ; 0x3e 80015a2: 68fb ldr r3, [r7, #12] 80015a4: 6c1b ldr r3, [r3, #64] ; 0x40 80015a6: f043 0204 orr.w r2, r3, #4 80015aa: 68fb ldr r3, [r7, #12] 80015ac: 641a str r2, [r3, #64] ; 0x40 80015ae: 68fb ldr r3, [r7, #12] 80015b0: 2200 movs r2, #0 80015b2: f883 203c strb.w r2, [r3, #60] ; 0x3c 80015b6: 2301 movs r3, #1 80015b8: e046 b.n 8001648 80015ba: 687b ldr r3, [r7, #4] 80015bc: f1b3 3fff cmp.w r3, #4294967295 80015c0: d021 beq.n 8001606 80015c2: f7ff fa39 bl 8000a38 80015c6: 4602 mov r2, r0 80015c8: 683b ldr r3, [r7, #0] 80015ca: 1ad3 subs r3, r2, r3 80015cc: 687a ldr r2, [r7, #4] 80015ce: 429a cmp r2, r3 80015d0: d302 bcc.n 80015d8 80015d2: 687b ldr r3, [r7, #4] 80015d4: 2b00 cmp r3, #0 80015d6: d116 bne.n 8001606 80015d8: 68fb ldr r3, [r7, #12] 80015da: 2200 movs r2, #0 80015dc: 631a str r2, [r3, #48] ; 0x30 80015de: 68fb ldr r3, [r7, #12] 80015e0: 2220 movs r2, #32 80015e2: f883 203d strb.w r2, [r3, #61] ; 0x3d 80015e6: 68fb ldr r3, [r7, #12] 80015e8: 2200 movs r2, #0 80015ea: f883 203e strb.w r2, [r3, #62] ; 0x3e 80015ee: 68fb ldr r3, [r7, #12] 80015f0: 6c1b ldr r3, [r3, #64] ; 0x40 80015f2: f043 0220 orr.w r2, r3, #32 80015f6: 68fb ldr r3, [r7, #12] 80015f8: 641a str r2, [r3, #64] ; 0x40 80015fa: 68fb ldr r3, [r7, #12] 80015fc: 2200 movs r2, #0 80015fe: f883 203c strb.w r2, [r3, #60] ; 0x3c 8001602: 2301 movs r3, #1 8001604: e020 b.n 8001648 8001606: 68bb ldr r3, [r7, #8] 8001608: 0c1b lsrs r3, r3, #16 800160a: b2db uxtb r3, r3 800160c: 2b01 cmp r3, #1 800160e: d10c bne.n 800162a 8001610: 68fb ldr r3, [r7, #12] 8001612: 681b ldr r3, [r3, #0] 8001614: 695b ldr r3, [r3, #20] 8001616: 43da mvns r2, r3 8001618: 68bb ldr r3, [r7, #8] 800161a: 4013 ands r3, r2 800161c: b29b uxth r3, r3 800161e: 2b00 cmp r3, #0 8001620: bf14 ite ne 8001622: 2301 movne r3, #1 8001624: 2300 moveq r3, #0 8001626: b2db uxtb r3, r3 8001628: e00b b.n 8001642 800162a: 68fb ldr r3, [r7, #12] 800162c: 681b ldr r3, [r3, #0] 800162e: 699b ldr r3, [r3, #24] 8001630: 43da mvns r2, r3 8001632: 68bb ldr r3, [r7, #8] 8001634: 4013 ands r3, r2 8001636: b29b uxth r3, r3 8001638: 2b00 cmp r3, #0 800163a: bf14 ite ne 800163c: 2301 movne r3, #1 800163e: 2300 moveq r3, #0 8001640: b2db uxtb r3, r3 8001642: 2b00 cmp r3, #0 8001644: d18d bne.n 8001562 8001646: 2300 movs r3, #0 8001648: 4618 mov r0, r3 800164a: 3710 adds r7, #16 800164c: 46bd mov sp, r7 800164e: bd80 pop {r7, pc} 08001650 : 8001650: b580 push {r7, lr} 8001652: b084 sub sp, #16 8001654: af00 add r7, sp, #0 8001656: 60f8 str r0, [r7, #12] 8001658: 60b9 str r1, [r7, #8] 800165a: 607a str r2, [r7, #4] 800165c: e02d b.n 80016ba 800165e: 68f8 ldr r0, [r7, #12] 8001660: f000 f878 bl 8001754 8001664: 4603 mov r3, r0 8001666: 2b00 cmp r3, #0 8001668: d001 beq.n 800166e 800166a: 2301 movs r3, #1 800166c: e02d b.n 80016ca 800166e: 68bb ldr r3, [r7, #8] 8001670: f1b3 3fff cmp.w r3, #4294967295 8001674: d021 beq.n 80016ba 8001676: f7ff f9df bl 8000a38 800167a: 4602 mov r2, r0 800167c: 687b ldr r3, [r7, #4] 800167e: 1ad3 subs r3, r2, r3 8001680: 68ba ldr r2, [r7, #8] 8001682: 429a cmp r2, r3 8001684: d302 bcc.n 800168c 8001686: 68bb ldr r3, [r7, #8] 8001688: 2b00 cmp r3, #0 800168a: d116 bne.n 80016ba 800168c: 68fb ldr r3, [r7, #12] 800168e: 2200 movs r2, #0 8001690: 631a str r2, [r3, #48] ; 0x30 8001692: 68fb ldr r3, [r7, #12] 8001694: 2220 movs r2, #32 8001696: f883 203d strb.w r2, [r3, #61] ; 0x3d 800169a: 68fb ldr r3, [r7, #12] 800169c: 2200 movs r2, #0 800169e: f883 203e strb.w r2, [r3, #62] ; 0x3e 80016a2: 68fb ldr r3, [r7, #12] 80016a4: 6c1b ldr r3, [r3, #64] ; 0x40 80016a6: f043 0220 orr.w r2, r3, #32 80016aa: 68fb ldr r3, [r7, #12] 80016ac: 641a str r2, [r3, #64] ; 0x40 80016ae: 68fb ldr r3, [r7, #12] 80016b0: 2200 movs r2, #0 80016b2: f883 203c strb.w r2, [r3, #60] ; 0x3c 80016b6: 2301 movs r3, #1 80016b8: e007 b.n 80016ca 80016ba: 68fb ldr r3, [r7, #12] 80016bc: 681b ldr r3, [r3, #0] 80016be: 695b ldr r3, [r3, #20] 80016c0: f003 0380 and.w r3, r3, #128 ; 0x80 80016c4: 2b80 cmp r3, #128 ; 0x80 80016c6: d1ca bne.n 800165e 80016c8: 2300 movs r3, #0 80016ca: 4618 mov r0, r3 80016cc: 3710 adds r7, #16 80016ce: 46bd mov sp, r7 80016d0: bd80 pop {r7, pc} 080016d2 : 80016d2: b580 push {r7, lr} 80016d4: b084 sub sp, #16 80016d6: af00 add r7, sp, #0 80016d8: 60f8 str r0, [r7, #12] 80016da: 60b9 str r1, [r7, #8] 80016dc: 607a str r2, [r7, #4] 80016de: e02d b.n 800173c 80016e0: 68f8 ldr r0, [r7, #12] 80016e2: f000 f837 bl 8001754 80016e6: 4603 mov r3, r0 80016e8: 2b00 cmp r3, #0 80016ea: d001 beq.n 80016f0 80016ec: 2301 movs r3, #1 80016ee: e02d b.n 800174c 80016f0: 68bb ldr r3, [r7, #8] 80016f2: f1b3 3fff cmp.w r3, #4294967295 80016f6: d021 beq.n 800173c 80016f8: f7ff f99e bl 8000a38 80016fc: 4602 mov r2, r0 80016fe: 687b ldr r3, [r7, #4] 8001700: 1ad3 subs r3, r2, r3 8001702: 68ba ldr r2, [r7, #8] 8001704: 429a cmp r2, r3 8001706: d302 bcc.n 800170e 8001708: 68bb ldr r3, [r7, #8] 800170a: 2b00 cmp r3, #0 800170c: d116 bne.n 800173c 800170e: 68fb ldr r3, [r7, #12] 8001710: 2200 movs r2, #0 8001712: 631a str r2, [r3, #48] ; 0x30 8001714: 68fb ldr r3, [r7, #12] 8001716: 2220 movs r2, #32 8001718: f883 203d strb.w r2, [r3, #61] ; 0x3d 800171c: 68fb ldr r3, [r7, #12] 800171e: 2200 movs r2, #0 8001720: f883 203e strb.w r2, [r3, #62] ; 0x3e 8001724: 68fb ldr r3, [r7, #12] 8001726: 6c1b ldr r3, [r3, #64] ; 0x40 8001728: f043 0220 orr.w r2, r3, #32 800172c: 68fb ldr r3, [r7, #12] 800172e: 641a str r2, [r3, #64] ; 0x40 8001730: 68fb ldr r3, [r7, #12] 8001732: 2200 movs r2, #0 8001734: f883 203c strb.w r2, [r3, #60] ; 0x3c 8001738: 2301 movs r3, #1 800173a: e007 b.n 800174c 800173c: 68fb ldr r3, [r7, #12] 800173e: 681b ldr r3, [r3, #0] 8001740: 695b ldr r3, [r3, #20] 8001742: f003 0304 and.w r3, r3, #4 8001746: 2b04 cmp r3, #4 8001748: d1ca bne.n 80016e0 800174a: 2300 movs r3, #0 800174c: 4618 mov r0, r3 800174e: 3710 adds r7, #16 8001750: 46bd mov sp, r7 8001752: bd80 pop {r7, pc} 08001754 : 8001754: b480 push {r7} 8001756: b083 sub sp, #12 8001758: af00 add r7, sp, #0 800175a: 6078 str r0, [r7, #4] 800175c: 687b ldr r3, [r7, #4] 800175e: 681b ldr r3, [r3, #0] 8001760: 695b ldr r3, [r3, #20] 8001762: f403 6380 and.w r3, r3, #1024 ; 0x400 8001766: f5b3 6f80 cmp.w r3, #1024 ; 0x400 800176a: d11b bne.n 80017a4 800176c: 687b ldr r3, [r7, #4] 800176e: 681b ldr r3, [r3, #0] 8001770: f46f 6280 mvn.w r2, #1024 ; 0x400 8001774: 615a str r2, [r3, #20] 8001776: 687b ldr r3, [r7, #4] 8001778: 2200 movs r2, #0 800177a: 631a str r2, [r3, #48] ; 0x30 800177c: 687b ldr r3, [r7, #4] 800177e: 2220 movs r2, #32 8001780: f883 203d strb.w r2, [r3, #61] ; 0x3d 8001784: 687b ldr r3, [r7, #4] 8001786: 2200 movs r2, #0 8001788: f883 203e strb.w r2, [r3, #62] ; 0x3e 800178c: 687b ldr r3, [r7, #4] 800178e: 6c1b ldr r3, [r3, #64] ; 0x40 8001790: f043 0204 orr.w r2, r3, #4 8001794: 687b ldr r3, [r7, #4] 8001796: 641a str r2, [r3, #64] ; 0x40 8001798: 687b ldr r3, [r7, #4] 800179a: 2200 movs r2, #0 800179c: f883 203c strb.w r2, [r3, #60] ; 0x3c 80017a0: 2301 movs r3, #1 80017a2: e000 b.n 80017a6 80017a4: 2300 movs r3, #0 80017a6: 4618 mov r0, r3 80017a8: 370c adds r7, #12 80017aa: 46bd mov sp, r7 80017ac: bc80 pop {r7} 80017ae: 4770 bx lr 080017b0 : 80017b0: b580 push {r7, lr} 80017b2: b086 sub sp, #24 80017b4: af00 add r7, sp, #0 80017b6: 6078 str r0, [r7, #4] 80017b8: 687b ldr r3, [r7, #4] 80017ba: 2b00 cmp r3, #0 80017bc: d101 bne.n 80017c2 80017be: 2301 movs r3, #1 80017c0: e272 b.n 8001ca8 80017c2: 687b ldr r3, [r7, #4] 80017c4: 681b ldr r3, [r3, #0] 80017c6: f003 0301 and.w r3, r3, #1 80017ca: 2b00 cmp r3, #0 80017cc: f000 8087 beq.w 80018de 80017d0: 4b92 ldr r3, [pc, #584] ; (8001a1c ) 80017d2: 685b ldr r3, [r3, #4] 80017d4: f003 030c and.w r3, r3, #12 80017d8: 2b04 cmp r3, #4 80017da: d00c beq.n 80017f6 80017dc: 4b8f ldr r3, [pc, #572] ; (8001a1c ) 80017de: 685b ldr r3, [r3, #4] 80017e0: f003 030c and.w r3, r3, #12 80017e4: 2b08 cmp r3, #8 80017e6: d112 bne.n 800180e 80017e8: 4b8c ldr r3, [pc, #560] ; (8001a1c ) 80017ea: 685b ldr r3, [r3, #4] 80017ec: f403 3380 and.w r3, r3, #65536 ; 0x10000 80017f0: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 80017f4: d10b bne.n 800180e 80017f6: 4b89 ldr r3, [pc, #548] ; (8001a1c ) 80017f8: 681b ldr r3, [r3, #0] 80017fa: f403 3300 and.w r3, r3, #131072 ; 0x20000 80017fe: 2b00 cmp r3, #0 8001800: d06c beq.n 80018dc 8001802: 687b ldr r3, [r7, #4] 8001804: 685b ldr r3, [r3, #4] 8001806: 2b00 cmp r3, #0 8001808: d168 bne.n 80018dc 800180a: 2301 movs r3, #1 800180c: e24c b.n 8001ca8 800180e: 687b ldr r3, [r7, #4] 8001810: 685b ldr r3, [r3, #4] 8001812: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 8001816: d106 bne.n 8001826 8001818: 4b80 ldr r3, [pc, #512] ; (8001a1c ) 800181a: 681b ldr r3, [r3, #0] 800181c: 4a7f ldr r2, [pc, #508] ; (8001a1c ) 800181e: f443 3380 orr.w r3, r3, #65536 ; 0x10000 8001822: 6013 str r3, [r2, #0] 8001824: e02e b.n 8001884 8001826: 687b ldr r3, [r7, #4] 8001828: 685b ldr r3, [r3, #4] 800182a: 2b00 cmp r3, #0 800182c: d10c bne.n 8001848 800182e: 4b7b ldr r3, [pc, #492] ; (8001a1c ) 8001830: 681b ldr r3, [r3, #0] 8001832: 4a7a ldr r2, [pc, #488] ; (8001a1c ) 8001834: f423 3380 bic.w r3, r3, #65536 ; 0x10000 8001838: 6013 str r3, [r2, #0] 800183a: 4b78 ldr r3, [pc, #480] ; (8001a1c ) 800183c: 681b ldr r3, [r3, #0] 800183e: 4a77 ldr r2, [pc, #476] ; (8001a1c ) 8001840: f423 2380 bic.w r3, r3, #262144 ; 0x40000 8001844: 6013 str r3, [r2, #0] 8001846: e01d b.n 8001884 8001848: 687b ldr r3, [r7, #4] 800184a: 685b ldr r3, [r3, #4] 800184c: f5b3 2fa0 cmp.w r3, #327680 ; 0x50000 8001850: d10c bne.n 800186c 8001852: 4b72 ldr r3, [pc, #456] ; (8001a1c ) 8001854: 681b ldr r3, [r3, #0] 8001856: 4a71 ldr r2, [pc, #452] ; (8001a1c ) 8001858: f443 2380 orr.w r3, r3, #262144 ; 0x40000 800185c: 6013 str r3, [r2, #0] 800185e: 4b6f ldr r3, [pc, #444] ; (8001a1c ) 8001860: 681b ldr r3, [r3, #0] 8001862: 4a6e ldr r2, [pc, #440] ; (8001a1c ) 8001864: f443 3380 orr.w r3, r3, #65536 ; 0x10000 8001868: 6013 str r3, [r2, #0] 800186a: e00b b.n 8001884 800186c: 4b6b ldr r3, [pc, #428] ; (8001a1c ) 800186e: 681b ldr r3, [r3, #0] 8001870: 4a6a ldr r2, [pc, #424] ; (8001a1c ) 8001872: f423 3380 bic.w r3, r3, #65536 ; 0x10000 8001876: 6013 str r3, [r2, #0] 8001878: 4b68 ldr r3, [pc, #416] ; (8001a1c ) 800187a: 681b ldr r3, [r3, #0] 800187c: 4a67 ldr r2, [pc, #412] ; (8001a1c ) 800187e: f423 2380 bic.w r3, r3, #262144 ; 0x40000 8001882: 6013 str r3, [r2, #0] 8001884: 687b ldr r3, [r7, #4] 8001886: 685b ldr r3, [r3, #4] 8001888: 2b00 cmp r3, #0 800188a: d013 beq.n 80018b4 800188c: f7ff f8d4 bl 8000a38 8001890: 6138 str r0, [r7, #16] 8001892: e008 b.n 80018a6 8001894: f7ff f8d0 bl 8000a38 8001898: 4602 mov r2, r0 800189a: 693b ldr r3, [r7, #16] 800189c: 1ad3 subs r3, r2, r3 800189e: 2b64 cmp r3, #100 ; 0x64 80018a0: d901 bls.n 80018a6 80018a2: 2303 movs r3, #3 80018a4: e200 b.n 8001ca8 80018a6: 4b5d ldr r3, [pc, #372] ; (8001a1c ) 80018a8: 681b ldr r3, [r3, #0] 80018aa: f403 3300 and.w r3, r3, #131072 ; 0x20000 80018ae: 2b00 cmp r3, #0 80018b0: d0f0 beq.n 8001894 80018b2: e014 b.n 80018de 80018b4: f7ff f8c0 bl 8000a38 80018b8: 6138 str r0, [r7, #16] 80018ba: e008 b.n 80018ce 80018bc: f7ff f8bc bl 8000a38 80018c0: 4602 mov r2, r0 80018c2: 693b ldr r3, [r7, #16] 80018c4: 1ad3 subs r3, r2, r3 80018c6: 2b64 cmp r3, #100 ; 0x64 80018c8: d901 bls.n 80018ce 80018ca: 2303 movs r3, #3 80018cc: e1ec b.n 8001ca8 80018ce: 4b53 ldr r3, [pc, #332] ; (8001a1c ) 80018d0: 681b ldr r3, [r3, #0] 80018d2: f403 3300 and.w r3, r3, #131072 ; 0x20000 80018d6: 2b00 cmp r3, #0 80018d8: d1f0 bne.n 80018bc 80018da: e000 b.n 80018de 80018dc: bf00 nop 80018de: 687b ldr r3, [r7, #4] 80018e0: 681b ldr r3, [r3, #0] 80018e2: f003 0302 and.w r3, r3, #2 80018e6: 2b00 cmp r3, #0 80018e8: d063 beq.n 80019b2 80018ea: 4b4c ldr r3, [pc, #304] ; (8001a1c ) 80018ec: 685b ldr r3, [r3, #4] 80018ee: f003 030c and.w r3, r3, #12 80018f2: 2b00 cmp r3, #0 80018f4: d00b beq.n 800190e 80018f6: 4b49 ldr r3, [pc, #292] ; (8001a1c ) 80018f8: 685b ldr r3, [r3, #4] 80018fa: f003 030c and.w r3, r3, #12 80018fe: 2b08 cmp r3, #8 8001900: d11c bne.n 800193c 8001902: 4b46 ldr r3, [pc, #280] ; (8001a1c ) 8001904: 685b ldr r3, [r3, #4] 8001906: f403 3380 and.w r3, r3, #65536 ; 0x10000 800190a: 2b00 cmp r3, #0 800190c: d116 bne.n 800193c 800190e: 4b43 ldr r3, [pc, #268] ; (8001a1c ) 8001910: 681b ldr r3, [r3, #0] 8001912: f003 0302 and.w r3, r3, #2 8001916: 2b00 cmp r3, #0 8001918: d005 beq.n 8001926 800191a: 687b ldr r3, [r7, #4] 800191c: 691b ldr r3, [r3, #16] 800191e: 2b01 cmp r3, #1 8001920: d001 beq.n 8001926 8001922: 2301 movs r3, #1 8001924: e1c0 b.n 8001ca8 8001926: 4b3d ldr r3, [pc, #244] ; (8001a1c ) 8001928: 681b ldr r3, [r3, #0] 800192a: f023 02f8 bic.w r2, r3, #248 ; 0xf8 800192e: 687b ldr r3, [r7, #4] 8001930: 695b ldr r3, [r3, #20] 8001932: 00db lsls r3, r3, #3 8001934: 4939 ldr r1, [pc, #228] ; (8001a1c ) 8001936: 4313 orrs r3, r2 8001938: 600b str r3, [r1, #0] 800193a: e03a b.n 80019b2 800193c: 687b ldr r3, [r7, #4] 800193e: 691b ldr r3, [r3, #16] 8001940: 2b00 cmp r3, #0 8001942: d020 beq.n 8001986 8001944: 4b36 ldr r3, [pc, #216] ; (8001a20 ) 8001946: 2201 movs r2, #1 8001948: 601a str r2, [r3, #0] 800194a: f7ff f875 bl 8000a38 800194e: 6138 str r0, [r7, #16] 8001950: e008 b.n 8001964 8001952: f7ff f871 bl 8000a38 8001956: 4602 mov r2, r0 8001958: 693b ldr r3, [r7, #16] 800195a: 1ad3 subs r3, r2, r3 800195c: 2b02 cmp r3, #2 800195e: d901 bls.n 8001964 8001960: 2303 movs r3, #3 8001962: e1a1 b.n 8001ca8 8001964: 4b2d ldr r3, [pc, #180] ; (8001a1c ) 8001966: 681b ldr r3, [r3, #0] 8001968: f003 0302 and.w r3, r3, #2 800196c: 2b00 cmp r3, #0 800196e: d0f0 beq.n 8001952 8001970: 4b2a ldr r3, [pc, #168] ; (8001a1c ) 8001972: 681b ldr r3, [r3, #0] 8001974: f023 02f8 bic.w r2, r3, #248 ; 0xf8 8001978: 687b ldr r3, [r7, #4] 800197a: 695b ldr r3, [r3, #20] 800197c: 00db lsls r3, r3, #3 800197e: 4927 ldr r1, [pc, #156] ; (8001a1c ) 8001980: 4313 orrs r3, r2 8001982: 600b str r3, [r1, #0] 8001984: e015 b.n 80019b2 8001986: 4b26 ldr r3, [pc, #152] ; (8001a20 ) 8001988: 2200 movs r2, #0 800198a: 601a str r2, [r3, #0] 800198c: f7ff f854 bl 8000a38 8001990: 6138 str r0, [r7, #16] 8001992: e008 b.n 80019a6 8001994: f7ff f850 bl 8000a38 8001998: 4602 mov r2, r0 800199a: 693b ldr r3, [r7, #16] 800199c: 1ad3 subs r3, r2, r3 800199e: 2b02 cmp r3, #2 80019a0: d901 bls.n 80019a6 80019a2: 2303 movs r3, #3 80019a4: e180 b.n 8001ca8 80019a6: 4b1d ldr r3, [pc, #116] ; (8001a1c ) 80019a8: 681b ldr r3, [r3, #0] 80019aa: f003 0302 and.w r3, r3, #2 80019ae: 2b00 cmp r3, #0 80019b0: d1f0 bne.n 8001994 80019b2: 687b ldr r3, [r7, #4] 80019b4: 681b ldr r3, [r3, #0] 80019b6: f003 0308 and.w r3, r3, #8 80019ba: 2b00 cmp r3, #0 80019bc: d03a beq.n 8001a34 80019be: 687b ldr r3, [r7, #4] 80019c0: 699b ldr r3, [r3, #24] 80019c2: 2b00 cmp r3, #0 80019c4: d019 beq.n 80019fa 80019c6: 4b17 ldr r3, [pc, #92] ; (8001a24 ) 80019c8: 2201 movs r2, #1 80019ca: 601a str r2, [r3, #0] 80019cc: f7ff f834 bl 8000a38 80019d0: 6138 str r0, [r7, #16] 80019d2: e008 b.n 80019e6 80019d4: f7ff f830 bl 8000a38 80019d8: 4602 mov r2, r0 80019da: 693b ldr r3, [r7, #16] 80019dc: 1ad3 subs r3, r2, r3 80019de: 2b02 cmp r3, #2 80019e0: d901 bls.n 80019e6 80019e2: 2303 movs r3, #3 80019e4: e160 b.n 8001ca8 80019e6: 4b0d ldr r3, [pc, #52] ; (8001a1c ) 80019e8: 6a5b ldr r3, [r3, #36] ; 0x24 80019ea: f003 0302 and.w r3, r3, #2 80019ee: 2b00 cmp r3, #0 80019f0: d0f0 beq.n 80019d4 80019f2: 2001 movs r0, #1 80019f4: f000 fac4 bl 8001f80 80019f8: e01c b.n 8001a34 80019fa: 4b0a ldr r3, [pc, #40] ; (8001a24 ) 80019fc: 2200 movs r2, #0 80019fe: 601a str r2, [r3, #0] 8001a00: f7ff f81a bl 8000a38 8001a04: 6138 str r0, [r7, #16] 8001a06: e00f b.n 8001a28 8001a08: f7ff f816 bl 8000a38 8001a0c: 4602 mov r2, r0 8001a0e: 693b ldr r3, [r7, #16] 8001a10: 1ad3 subs r3, r2, r3 8001a12: 2b02 cmp r3, #2 8001a14: d908 bls.n 8001a28 8001a16: 2303 movs r3, #3 8001a18: e146 b.n 8001ca8 8001a1a: bf00 nop 8001a1c: 40021000 .word 0x40021000 8001a20: 42420000 .word 0x42420000 8001a24: 42420480 .word 0x42420480 8001a28: 4b92 ldr r3, [pc, #584] ; (8001c74 ) 8001a2a: 6a5b ldr r3, [r3, #36] ; 0x24 8001a2c: f003 0302 and.w r3, r3, #2 8001a30: 2b00 cmp r3, #0 8001a32: d1e9 bne.n 8001a08 8001a34: 687b ldr r3, [r7, #4] 8001a36: 681b ldr r3, [r3, #0] 8001a38: f003 0304 and.w r3, r3, #4 8001a3c: 2b00 cmp r3, #0 8001a3e: f000 80a6 beq.w 8001b8e 8001a42: 2300 movs r3, #0 8001a44: 75fb strb r3, [r7, #23] 8001a46: 4b8b ldr r3, [pc, #556] ; (8001c74 ) 8001a48: 69db ldr r3, [r3, #28] 8001a4a: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 8001a4e: 2b00 cmp r3, #0 8001a50: d10d bne.n 8001a6e 8001a52: 4b88 ldr r3, [pc, #544] ; (8001c74 ) 8001a54: 69db ldr r3, [r3, #28] 8001a56: 4a87 ldr r2, [pc, #540] ; (8001c74 ) 8001a58: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 8001a5c: 61d3 str r3, [r2, #28] 8001a5e: 4b85 ldr r3, [pc, #532] ; (8001c74 ) 8001a60: 69db ldr r3, [r3, #28] 8001a62: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 8001a66: 60bb str r3, [r7, #8] 8001a68: 68bb ldr r3, [r7, #8] 8001a6a: 2301 movs r3, #1 8001a6c: 75fb strb r3, [r7, #23] 8001a6e: 4b82 ldr r3, [pc, #520] ; (8001c78 ) 8001a70: 681b ldr r3, [r3, #0] 8001a72: f403 7380 and.w r3, r3, #256 ; 0x100 8001a76: 2b00 cmp r3, #0 8001a78: d118 bne.n 8001aac 8001a7a: 4b7f ldr r3, [pc, #508] ; (8001c78 ) 8001a7c: 681b ldr r3, [r3, #0] 8001a7e: 4a7e ldr r2, [pc, #504] ; (8001c78 ) 8001a80: f443 7380 orr.w r3, r3, #256 ; 0x100 8001a84: 6013 str r3, [r2, #0] 8001a86: f7fe ffd7 bl 8000a38 8001a8a: 6138 str r0, [r7, #16] 8001a8c: e008 b.n 8001aa0 8001a8e: f7fe ffd3 bl 8000a38 8001a92: 4602 mov r2, r0 8001a94: 693b ldr r3, [r7, #16] 8001a96: 1ad3 subs r3, r2, r3 8001a98: 2b64 cmp r3, #100 ; 0x64 8001a9a: d901 bls.n 8001aa0 8001a9c: 2303 movs r3, #3 8001a9e: e103 b.n 8001ca8 8001aa0: 4b75 ldr r3, [pc, #468] ; (8001c78 ) 8001aa2: 681b ldr r3, [r3, #0] 8001aa4: f403 7380 and.w r3, r3, #256 ; 0x100 8001aa8: 2b00 cmp r3, #0 8001aaa: d0f0 beq.n 8001a8e 8001aac: 687b ldr r3, [r7, #4] 8001aae: 68db ldr r3, [r3, #12] 8001ab0: 2b01 cmp r3, #1 8001ab2: d106 bne.n 8001ac2 8001ab4: 4b6f ldr r3, [pc, #444] ; (8001c74 ) 8001ab6: 6a1b ldr r3, [r3, #32] 8001ab8: 4a6e ldr r2, [pc, #440] ; (8001c74 ) 8001aba: f043 0301 orr.w r3, r3, #1 8001abe: 6213 str r3, [r2, #32] 8001ac0: e02d b.n 8001b1e 8001ac2: 687b ldr r3, [r7, #4] 8001ac4: 68db ldr r3, [r3, #12] 8001ac6: 2b00 cmp r3, #0 8001ac8: d10c bne.n 8001ae4 8001aca: 4b6a ldr r3, [pc, #424] ; (8001c74 ) 8001acc: 6a1b ldr r3, [r3, #32] 8001ace: 4a69 ldr r2, [pc, #420] ; (8001c74 ) 8001ad0: f023 0301 bic.w r3, r3, #1 8001ad4: 6213 str r3, [r2, #32] 8001ad6: 4b67 ldr r3, [pc, #412] ; (8001c74 ) 8001ad8: 6a1b ldr r3, [r3, #32] 8001ada: 4a66 ldr r2, [pc, #408] ; (8001c74 ) 8001adc: f023 0304 bic.w r3, r3, #4 8001ae0: 6213 str r3, [r2, #32] 8001ae2: e01c b.n 8001b1e 8001ae4: 687b ldr r3, [r7, #4] 8001ae6: 68db ldr r3, [r3, #12] 8001ae8: 2b05 cmp r3, #5 8001aea: d10c bne.n 8001b06 8001aec: 4b61 ldr r3, [pc, #388] ; (8001c74 ) 8001aee: 6a1b ldr r3, [r3, #32] 8001af0: 4a60 ldr r2, [pc, #384] ; (8001c74 ) 8001af2: f043 0304 orr.w r3, r3, #4 8001af6: 6213 str r3, [r2, #32] 8001af8: 4b5e ldr r3, [pc, #376] ; (8001c74 ) 8001afa: 6a1b ldr r3, [r3, #32] 8001afc: 4a5d ldr r2, [pc, #372] ; (8001c74 ) 8001afe: f043 0301 orr.w r3, r3, #1 8001b02: 6213 str r3, [r2, #32] 8001b04: e00b b.n 8001b1e 8001b06: 4b5b ldr r3, [pc, #364] ; (8001c74 ) 8001b08: 6a1b ldr r3, [r3, #32] 8001b0a: 4a5a ldr r2, [pc, #360] ; (8001c74 ) 8001b0c: f023 0301 bic.w r3, r3, #1 8001b10: 6213 str r3, [r2, #32] 8001b12: 4b58 ldr r3, [pc, #352] ; (8001c74 ) 8001b14: 6a1b ldr r3, [r3, #32] 8001b16: 4a57 ldr r2, [pc, #348] ; (8001c74 ) 8001b18: f023 0304 bic.w r3, r3, #4 8001b1c: 6213 str r3, [r2, #32] 8001b1e: 687b ldr r3, [r7, #4] 8001b20: 68db ldr r3, [r3, #12] 8001b22: 2b00 cmp r3, #0 8001b24: d015 beq.n 8001b52 8001b26: f7fe ff87 bl 8000a38 8001b2a: 6138 str r0, [r7, #16] 8001b2c: e00a b.n 8001b44 8001b2e: f7fe ff83 bl 8000a38 8001b32: 4602 mov r2, r0 8001b34: 693b ldr r3, [r7, #16] 8001b36: 1ad3 subs r3, r2, r3 8001b38: f241 3288 movw r2, #5000 ; 0x1388 8001b3c: 4293 cmp r3, r2 8001b3e: d901 bls.n 8001b44 8001b40: 2303 movs r3, #3 8001b42: e0b1 b.n 8001ca8 8001b44: 4b4b ldr r3, [pc, #300] ; (8001c74 ) 8001b46: 6a1b ldr r3, [r3, #32] 8001b48: f003 0302 and.w r3, r3, #2 8001b4c: 2b00 cmp r3, #0 8001b4e: d0ee beq.n 8001b2e 8001b50: e014 b.n 8001b7c 8001b52: f7fe ff71 bl 8000a38 8001b56: 6138 str r0, [r7, #16] 8001b58: e00a b.n 8001b70 8001b5a: f7fe ff6d bl 8000a38 8001b5e: 4602 mov r2, r0 8001b60: 693b ldr r3, [r7, #16] 8001b62: 1ad3 subs r3, r2, r3 8001b64: f241 3288 movw r2, #5000 ; 0x1388 8001b68: 4293 cmp r3, r2 8001b6a: d901 bls.n 8001b70 8001b6c: 2303 movs r3, #3 8001b6e: e09b b.n 8001ca8 8001b70: 4b40 ldr r3, [pc, #256] ; (8001c74 ) 8001b72: 6a1b ldr r3, [r3, #32] 8001b74: f003 0302 and.w r3, r3, #2 8001b78: 2b00 cmp r3, #0 8001b7a: d1ee bne.n 8001b5a 8001b7c: 7dfb ldrb r3, [r7, #23] 8001b7e: 2b01 cmp r3, #1 8001b80: d105 bne.n 8001b8e 8001b82: 4b3c ldr r3, [pc, #240] ; (8001c74 ) 8001b84: 69db ldr r3, [r3, #28] 8001b86: 4a3b ldr r2, [pc, #236] ; (8001c74 ) 8001b88: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 8001b8c: 61d3 str r3, [r2, #28] 8001b8e: 687b ldr r3, [r7, #4] 8001b90: 69db ldr r3, [r3, #28] 8001b92: 2b00 cmp r3, #0 8001b94: f000 8087 beq.w 8001ca6 8001b98: 4b36 ldr r3, [pc, #216] ; (8001c74 ) 8001b9a: 685b ldr r3, [r3, #4] 8001b9c: f003 030c and.w r3, r3, #12 8001ba0: 2b08 cmp r3, #8 8001ba2: d061 beq.n 8001c68 8001ba4: 687b ldr r3, [r7, #4] 8001ba6: 69db ldr r3, [r3, #28] 8001ba8: 2b02 cmp r3, #2 8001baa: d146 bne.n 8001c3a 8001bac: 4b33 ldr r3, [pc, #204] ; (8001c7c ) 8001bae: 2200 movs r2, #0 8001bb0: 601a str r2, [r3, #0] 8001bb2: f7fe ff41 bl 8000a38 8001bb6: 6138 str r0, [r7, #16] 8001bb8: e008 b.n 8001bcc 8001bba: f7fe ff3d bl 8000a38 8001bbe: 4602 mov r2, r0 8001bc0: 693b ldr r3, [r7, #16] 8001bc2: 1ad3 subs r3, r2, r3 8001bc4: 2b02 cmp r3, #2 8001bc6: d901 bls.n 8001bcc 8001bc8: 2303 movs r3, #3 8001bca: e06d b.n 8001ca8 8001bcc: 4b29 ldr r3, [pc, #164] ; (8001c74 ) 8001bce: 681b ldr r3, [r3, #0] 8001bd0: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 8001bd4: 2b00 cmp r3, #0 8001bd6: d1f0 bne.n 8001bba 8001bd8: 687b ldr r3, [r7, #4] 8001bda: 6a1b ldr r3, [r3, #32] 8001bdc: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 8001be0: d108 bne.n 8001bf4 8001be2: 4b24 ldr r3, [pc, #144] ; (8001c74 ) 8001be4: 685b ldr r3, [r3, #4] 8001be6: f423 3200 bic.w r2, r3, #131072 ; 0x20000 8001bea: 687b ldr r3, [r7, #4] 8001bec: 689b ldr r3, [r3, #8] 8001bee: 4921 ldr r1, [pc, #132] ; (8001c74 ) 8001bf0: 4313 orrs r3, r2 8001bf2: 604b str r3, [r1, #4] 8001bf4: 4b1f ldr r3, [pc, #124] ; (8001c74 ) 8001bf6: 685b ldr r3, [r3, #4] 8001bf8: f423 1274 bic.w r2, r3, #3997696 ; 0x3d0000 8001bfc: 687b ldr r3, [r7, #4] 8001bfe: 6a19 ldr r1, [r3, #32] 8001c00: 687b ldr r3, [r7, #4] 8001c02: 6a5b ldr r3, [r3, #36] ; 0x24 8001c04: 430b orrs r3, r1 8001c06: 491b ldr r1, [pc, #108] ; (8001c74 ) 8001c08: 4313 orrs r3, r2 8001c0a: 604b str r3, [r1, #4] 8001c0c: 4b1b ldr r3, [pc, #108] ; (8001c7c ) 8001c0e: 2201 movs r2, #1 8001c10: 601a str r2, [r3, #0] 8001c12: f7fe ff11 bl 8000a38 8001c16: 6138 str r0, [r7, #16] 8001c18: e008 b.n 8001c2c 8001c1a: f7fe ff0d bl 8000a38 8001c1e: 4602 mov r2, r0 8001c20: 693b ldr r3, [r7, #16] 8001c22: 1ad3 subs r3, r2, r3 8001c24: 2b02 cmp r3, #2 8001c26: d901 bls.n 8001c2c 8001c28: 2303 movs r3, #3 8001c2a: e03d b.n 8001ca8 8001c2c: 4b11 ldr r3, [pc, #68] ; (8001c74 ) 8001c2e: 681b ldr r3, [r3, #0] 8001c30: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 8001c34: 2b00 cmp r3, #0 8001c36: d0f0 beq.n 8001c1a 8001c38: e035 b.n 8001ca6 8001c3a: 4b10 ldr r3, [pc, #64] ; (8001c7c ) 8001c3c: 2200 movs r2, #0 8001c3e: 601a str r2, [r3, #0] 8001c40: f7fe fefa bl 8000a38 8001c44: 6138 str r0, [r7, #16] 8001c46: e008 b.n 8001c5a 8001c48: f7fe fef6 bl 8000a38 8001c4c: 4602 mov r2, r0 8001c4e: 693b ldr r3, [r7, #16] 8001c50: 1ad3 subs r3, r2, r3 8001c52: 2b02 cmp r3, #2 8001c54: d901 bls.n 8001c5a 8001c56: 2303 movs r3, #3 8001c58: e026 b.n 8001ca8 8001c5a: 4b06 ldr r3, [pc, #24] ; (8001c74 ) 8001c5c: 681b ldr r3, [r3, #0] 8001c5e: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 8001c62: 2b00 cmp r3, #0 8001c64: d1f0 bne.n 8001c48 8001c66: e01e b.n 8001ca6 8001c68: 687b ldr r3, [r7, #4] 8001c6a: 69db ldr r3, [r3, #28] 8001c6c: 2b01 cmp r3, #1 8001c6e: d107 bne.n 8001c80 8001c70: 2301 movs r3, #1 8001c72: e019 b.n 8001ca8 8001c74: 40021000 .word 0x40021000 8001c78: 40007000 .word 0x40007000 8001c7c: 42420060 .word 0x42420060 8001c80: 4b0b ldr r3, [pc, #44] ; (8001cb0 ) 8001c82: 685b ldr r3, [r3, #4] 8001c84: 60fb str r3, [r7, #12] 8001c86: 68fb ldr r3, [r7, #12] 8001c88: f403 3280 and.w r2, r3, #65536 ; 0x10000 8001c8c: 687b ldr r3, [r7, #4] 8001c8e: 6a1b ldr r3, [r3, #32] 8001c90: 429a cmp r2, r3 8001c92: d106 bne.n 8001ca2 8001c94: 68fb ldr r3, [r7, #12] 8001c96: f403 1270 and.w r2, r3, #3932160 ; 0x3c0000 8001c9a: 687b ldr r3, [r7, #4] 8001c9c: 6a5b ldr r3, [r3, #36] ; 0x24 8001c9e: 429a cmp r2, r3 8001ca0: d001 beq.n 8001ca6 8001ca2: 2301 movs r3, #1 8001ca4: e000 b.n 8001ca8 8001ca6: 2300 movs r3, #0 8001ca8: 4618 mov r0, r3 8001caa: 3718 adds r7, #24 8001cac: 46bd mov sp, r7 8001cae: bd80 pop {r7, pc} 8001cb0: 40021000 .word 0x40021000 08001cb4 : 8001cb4: b580 push {r7, lr} 8001cb6: b084 sub sp, #16 8001cb8: af00 add r7, sp, #0 8001cba: 6078 str r0, [r7, #4] 8001cbc: 6039 str r1, [r7, #0] 8001cbe: 687b ldr r3, [r7, #4] 8001cc0: 2b00 cmp r3, #0 8001cc2: d101 bne.n 8001cc8 8001cc4: 2301 movs r3, #1 8001cc6: e0d0 b.n 8001e6a 8001cc8: 4b6a ldr r3, [pc, #424] ; (8001e74 ) 8001cca: 681b ldr r3, [r3, #0] 8001ccc: f003 0307 and.w r3, r3, #7 8001cd0: 683a ldr r2, [r7, #0] 8001cd2: 429a cmp r2, r3 8001cd4: d910 bls.n 8001cf8 8001cd6: 4b67 ldr r3, [pc, #412] ; (8001e74 ) 8001cd8: 681b ldr r3, [r3, #0] 8001cda: f023 0207 bic.w r2, r3, #7 8001cde: 4965 ldr r1, [pc, #404] ; (8001e74 ) 8001ce0: 683b ldr r3, [r7, #0] 8001ce2: 4313 orrs r3, r2 8001ce4: 600b str r3, [r1, #0] 8001ce6: 4b63 ldr r3, [pc, #396] ; (8001e74 ) 8001ce8: 681b ldr r3, [r3, #0] 8001cea: f003 0307 and.w r3, r3, #7 8001cee: 683a ldr r2, [r7, #0] 8001cf0: 429a cmp r2, r3 8001cf2: d001 beq.n 8001cf8 8001cf4: 2301 movs r3, #1 8001cf6: e0b8 b.n 8001e6a 8001cf8: 687b ldr r3, [r7, #4] 8001cfa: 681b ldr r3, [r3, #0] 8001cfc: f003 0302 and.w r3, r3, #2 8001d00: 2b00 cmp r3, #0 8001d02: d020 beq.n 8001d46 8001d04: 687b ldr r3, [r7, #4] 8001d06: 681b ldr r3, [r3, #0] 8001d08: f003 0304 and.w r3, r3, #4 8001d0c: 2b00 cmp r3, #0 8001d0e: d005 beq.n 8001d1c 8001d10: 4b59 ldr r3, [pc, #356] ; (8001e78 ) 8001d12: 685b ldr r3, [r3, #4] 8001d14: 4a58 ldr r2, [pc, #352] ; (8001e78 ) 8001d16: f443 63e0 orr.w r3, r3, #1792 ; 0x700 8001d1a: 6053 str r3, [r2, #4] 8001d1c: 687b ldr r3, [r7, #4] 8001d1e: 681b ldr r3, [r3, #0] 8001d20: f003 0308 and.w r3, r3, #8 8001d24: 2b00 cmp r3, #0 8001d26: d005 beq.n 8001d34 8001d28: 4b53 ldr r3, [pc, #332] ; (8001e78 ) 8001d2a: 685b ldr r3, [r3, #4] 8001d2c: 4a52 ldr r2, [pc, #328] ; (8001e78 ) 8001d2e: f443 5360 orr.w r3, r3, #14336 ; 0x3800 8001d32: 6053 str r3, [r2, #4] 8001d34: 4b50 ldr r3, [pc, #320] ; (8001e78 ) 8001d36: 685b ldr r3, [r3, #4] 8001d38: f023 02f0 bic.w r2, r3, #240 ; 0xf0 8001d3c: 687b ldr r3, [r7, #4] 8001d3e: 689b ldr r3, [r3, #8] 8001d40: 494d ldr r1, [pc, #308] ; (8001e78 ) 8001d42: 4313 orrs r3, r2 8001d44: 604b str r3, [r1, #4] 8001d46: 687b ldr r3, [r7, #4] 8001d48: 681b ldr r3, [r3, #0] 8001d4a: f003 0301 and.w r3, r3, #1 8001d4e: 2b00 cmp r3, #0 8001d50: d040 beq.n 8001dd4 8001d52: 687b ldr r3, [r7, #4] 8001d54: 685b ldr r3, [r3, #4] 8001d56: 2b01 cmp r3, #1 8001d58: d107 bne.n 8001d6a 8001d5a: 4b47 ldr r3, [pc, #284] ; (8001e78 ) 8001d5c: 681b ldr r3, [r3, #0] 8001d5e: f403 3300 and.w r3, r3, #131072 ; 0x20000 8001d62: 2b00 cmp r3, #0 8001d64: d115 bne.n 8001d92 8001d66: 2301 movs r3, #1 8001d68: e07f b.n 8001e6a 8001d6a: 687b ldr r3, [r7, #4] 8001d6c: 685b ldr r3, [r3, #4] 8001d6e: 2b02 cmp r3, #2 8001d70: d107 bne.n 8001d82 8001d72: 4b41 ldr r3, [pc, #260] ; (8001e78 ) 8001d74: 681b ldr r3, [r3, #0] 8001d76: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 8001d7a: 2b00 cmp r3, #0 8001d7c: d109 bne.n 8001d92 8001d7e: 2301 movs r3, #1 8001d80: e073 b.n 8001e6a 8001d82: 4b3d ldr r3, [pc, #244] ; (8001e78 ) 8001d84: 681b ldr r3, [r3, #0] 8001d86: f003 0302 and.w r3, r3, #2 8001d8a: 2b00 cmp r3, #0 8001d8c: d101 bne.n 8001d92 8001d8e: 2301 movs r3, #1 8001d90: e06b b.n 8001e6a 8001d92: 4b39 ldr r3, [pc, #228] ; (8001e78 ) 8001d94: 685b ldr r3, [r3, #4] 8001d96: f023 0203 bic.w r2, r3, #3 8001d9a: 687b ldr r3, [r7, #4] 8001d9c: 685b ldr r3, [r3, #4] 8001d9e: 4936 ldr r1, [pc, #216] ; (8001e78 ) 8001da0: 4313 orrs r3, r2 8001da2: 604b str r3, [r1, #4] 8001da4: f7fe fe48 bl 8000a38 8001da8: 60f8 str r0, [r7, #12] 8001daa: e00a b.n 8001dc2 8001dac: f7fe fe44 bl 8000a38 8001db0: 4602 mov r2, r0 8001db2: 68fb ldr r3, [r7, #12] 8001db4: 1ad3 subs r3, r2, r3 8001db6: f241 3288 movw r2, #5000 ; 0x1388 8001dba: 4293 cmp r3, r2 8001dbc: d901 bls.n 8001dc2 8001dbe: 2303 movs r3, #3 8001dc0: e053 b.n 8001e6a 8001dc2: 4b2d ldr r3, [pc, #180] ; (8001e78 ) 8001dc4: 685b ldr r3, [r3, #4] 8001dc6: f003 020c and.w r2, r3, #12 8001dca: 687b ldr r3, [r7, #4] 8001dcc: 685b ldr r3, [r3, #4] 8001dce: 009b lsls r3, r3, #2 8001dd0: 429a cmp r2, r3 8001dd2: d1eb bne.n 8001dac 8001dd4: 4b27 ldr r3, [pc, #156] ; (8001e74 ) 8001dd6: 681b ldr r3, [r3, #0] 8001dd8: f003 0307 and.w r3, r3, #7 8001ddc: 683a ldr r2, [r7, #0] 8001dde: 429a cmp r2, r3 8001de0: d210 bcs.n 8001e04 8001de2: 4b24 ldr r3, [pc, #144] ; (8001e74 ) 8001de4: 681b ldr r3, [r3, #0] 8001de6: f023 0207 bic.w r2, r3, #7 8001dea: 4922 ldr r1, [pc, #136] ; (8001e74 ) 8001dec: 683b ldr r3, [r7, #0] 8001dee: 4313 orrs r3, r2 8001df0: 600b str r3, [r1, #0] 8001df2: 4b20 ldr r3, [pc, #128] ; (8001e74 ) 8001df4: 681b ldr r3, [r3, #0] 8001df6: f003 0307 and.w r3, r3, #7 8001dfa: 683a ldr r2, [r7, #0] 8001dfc: 429a cmp r2, r3 8001dfe: d001 beq.n 8001e04 8001e00: 2301 movs r3, #1 8001e02: e032 b.n 8001e6a 8001e04: 687b ldr r3, [r7, #4] 8001e06: 681b ldr r3, [r3, #0] 8001e08: f003 0304 and.w r3, r3, #4 8001e0c: 2b00 cmp r3, #0 8001e0e: d008 beq.n 8001e22 8001e10: 4b19 ldr r3, [pc, #100] ; (8001e78 ) 8001e12: 685b ldr r3, [r3, #4] 8001e14: f423 62e0 bic.w r2, r3, #1792 ; 0x700 8001e18: 687b ldr r3, [r7, #4] 8001e1a: 68db ldr r3, [r3, #12] 8001e1c: 4916 ldr r1, [pc, #88] ; (8001e78 ) 8001e1e: 4313 orrs r3, r2 8001e20: 604b str r3, [r1, #4] 8001e22: 687b ldr r3, [r7, #4] 8001e24: 681b ldr r3, [r3, #0] 8001e26: f003 0308 and.w r3, r3, #8 8001e2a: 2b00 cmp r3, #0 8001e2c: d009 beq.n 8001e42 8001e2e: 4b12 ldr r3, [pc, #72] ; (8001e78 ) 8001e30: 685b ldr r3, [r3, #4] 8001e32: f423 5260 bic.w r2, r3, #14336 ; 0x3800 8001e36: 687b ldr r3, [r7, #4] 8001e38: 691b ldr r3, [r3, #16] 8001e3a: 00db lsls r3, r3, #3 8001e3c: 490e ldr r1, [pc, #56] ; (8001e78 ) 8001e3e: 4313 orrs r3, r2 8001e40: 604b str r3, [r1, #4] 8001e42: f000 f821 bl 8001e88 8001e46: 4602 mov r2, r0 8001e48: 4b0b ldr r3, [pc, #44] ; (8001e78 ) 8001e4a: 685b ldr r3, [r3, #4] 8001e4c: 091b lsrs r3, r3, #4 8001e4e: f003 030f and.w r3, r3, #15 8001e52: 490a ldr r1, [pc, #40] ; (8001e7c ) 8001e54: 5ccb ldrb r3, [r1, r3] 8001e56: fa22 f303 lsr.w r3, r2, r3 8001e5a: 4a09 ldr r2, [pc, #36] ; (8001e80 ) 8001e5c: 6013 str r3, [r2, #0] 8001e5e: 4b09 ldr r3, [pc, #36] ; (8001e84 ) 8001e60: 681b ldr r3, [r3, #0] 8001e62: 4618 mov r0, r3 8001e64: f7fe fda6 bl 80009b4 8001e68: 2300 movs r3, #0 8001e6a: 4618 mov r0, r3 8001e6c: 3710 adds r7, #16 8001e6e: 46bd mov sp, r7 8001e70: bd80 pop {r7, pc} 8001e72: bf00 nop 8001e74: 40022000 .word 0x40022000 8001e78: 40021000 .word 0x40021000 8001e7c: 08003a40 .word 0x08003a40 8001e80: 20000000 .word 0x20000000 8001e84: 20000004 .word 0x20000004 08001e88 : 8001e88: b490 push {r4, r7} 8001e8a: b08a sub sp, #40 ; 0x28 8001e8c: af00 add r7, sp, #0 8001e8e: 4b29 ldr r3, [pc, #164] ; (8001f34 ) 8001e90: 1d3c adds r4, r7, #4 8001e92: cb0f ldmia r3, {r0, r1, r2, r3} 8001e94: e884 000f stmia.w r4, {r0, r1, r2, r3} 8001e98: f240 2301 movw r3, #513 ; 0x201 8001e9c: 803b strh r3, [r7, #0] 8001e9e: 2300 movs r3, #0 8001ea0: 61fb str r3, [r7, #28] 8001ea2: 2300 movs r3, #0 8001ea4: 61bb str r3, [r7, #24] 8001ea6: 2300 movs r3, #0 8001ea8: 627b str r3, [r7, #36] ; 0x24 8001eaa: 2300 movs r3, #0 8001eac: 617b str r3, [r7, #20] 8001eae: 2300 movs r3, #0 8001eb0: 623b str r3, [r7, #32] 8001eb2: 4b21 ldr r3, [pc, #132] ; (8001f38 ) 8001eb4: 685b ldr r3, [r3, #4] 8001eb6: 61fb str r3, [r7, #28] 8001eb8: 69fb ldr r3, [r7, #28] 8001eba: f003 030c and.w r3, r3, #12 8001ebe: 2b04 cmp r3, #4 8001ec0: d002 beq.n 8001ec8 8001ec2: 2b08 cmp r3, #8 8001ec4: d003 beq.n 8001ece 8001ec6: e02b b.n 8001f20 8001ec8: 4b1c ldr r3, [pc, #112] ; (8001f3c ) 8001eca: 623b str r3, [r7, #32] 8001ecc: e02b b.n 8001f26 8001ece: 69fb ldr r3, [r7, #28] 8001ed0: 0c9b lsrs r3, r3, #18 8001ed2: f003 030f and.w r3, r3, #15 8001ed6: 3328 adds r3, #40 ; 0x28 8001ed8: 443b add r3, r7 8001eda: f813 3c24 ldrb.w r3, [r3, #-36] 8001ede: 617b str r3, [r7, #20] 8001ee0: 69fb ldr r3, [r7, #28] 8001ee2: f403 3380 and.w r3, r3, #65536 ; 0x10000 8001ee6: 2b00 cmp r3, #0 8001ee8: d012 beq.n 8001f10 8001eea: 4b13 ldr r3, [pc, #76] ; (8001f38 ) 8001eec: 685b ldr r3, [r3, #4] 8001eee: 0c5b lsrs r3, r3, #17 8001ef0: f003 0301 and.w r3, r3, #1 8001ef4: 3328 adds r3, #40 ; 0x28 8001ef6: 443b add r3, r7 8001ef8: f813 3c28 ldrb.w r3, [r3, #-40] 8001efc: 61bb str r3, [r7, #24] 8001efe: 697b ldr r3, [r7, #20] 8001f00: 4a0e ldr r2, [pc, #56] ; (8001f3c ) 8001f02: fb03 f202 mul.w r2, r3, r2 8001f06: 69bb ldr r3, [r7, #24] 8001f08: fbb2 f3f3 udiv r3, r2, r3 8001f0c: 627b str r3, [r7, #36] ; 0x24 8001f0e: e004 b.n 8001f1a 8001f10: 697b ldr r3, [r7, #20] 8001f12: 4a0b ldr r2, [pc, #44] ; (8001f40 ) 8001f14: fb02 f303 mul.w r3, r2, r3 8001f18: 627b str r3, [r7, #36] ; 0x24 8001f1a: 6a7b ldr r3, [r7, #36] ; 0x24 8001f1c: 623b str r3, [r7, #32] 8001f1e: e002 b.n 8001f26 8001f20: 4b06 ldr r3, [pc, #24] ; (8001f3c ) 8001f22: 623b str r3, [r7, #32] 8001f24: bf00 nop 8001f26: 6a3b ldr r3, [r7, #32] 8001f28: 4618 mov r0, r3 8001f2a: 3728 adds r7, #40 ; 0x28 8001f2c: 46bd mov sp, r7 8001f2e: bc90 pop {r4, r7} 8001f30: 4770 bx lr 8001f32: bf00 nop 8001f34: 08002048 .word 0x08002048 8001f38: 40021000 .word 0x40021000 8001f3c: 007a1200 .word 0x007a1200 8001f40: 003d0900 .word 0x003d0900 08001f44 : 8001f44: b480 push {r7} 8001f46: af00 add r7, sp, #0 8001f48: 4b02 ldr r3, [pc, #8] ; (8001f54 ) 8001f4a: 681b ldr r3, [r3, #0] 8001f4c: 4618 mov r0, r3 8001f4e: 46bd mov sp, r7 8001f50: bc80 pop {r7} 8001f52: 4770 bx lr 8001f54: 20000000 .word 0x20000000 08001f58 : 8001f58: b580 push {r7, lr} 8001f5a: af00 add r7, sp, #0 8001f5c: f7ff fff2 bl 8001f44 8001f60: 4602 mov r2, r0 8001f62: 4b05 ldr r3, [pc, #20] ; (8001f78 ) 8001f64: 685b ldr r3, [r3, #4] 8001f66: 0a1b lsrs r3, r3, #8 8001f68: f003 0307 and.w r3, r3, #7 8001f6c: 4903 ldr r1, [pc, #12] ; (8001f7c ) 8001f6e: 5ccb ldrb r3, [r1, r3] 8001f70: fa22 f303 lsr.w r3, r2, r3 8001f74: 4618 mov r0, r3 8001f76: bd80 pop {r7, pc} 8001f78: 40021000 .word 0x40021000 8001f7c: 08003a50 .word 0x08003a50 08001f80 : 8001f80: b480 push {r7} 8001f82: b085 sub sp, #20 8001f84: af00 add r7, sp, #0 8001f86: 6078 str r0, [r7, #4] 8001f88: 4b0a ldr r3, [pc, #40] ; (8001fb4 ) 8001f8a: 681b ldr r3, [r3, #0] 8001f8c: 4a0a ldr r2, [pc, #40] ; (8001fb8 ) 8001f8e: fba2 2303 umull r2, r3, r2, r3 8001f92: 0a5b lsrs r3, r3, #9 8001f94: 687a ldr r2, [r7, #4] 8001f96: fb02 f303 mul.w r3, r2, r3 8001f9a: 60fb str r3, [r7, #12] 8001f9c: bf00 nop 8001f9e: 68fb ldr r3, [r7, #12] 8001fa0: 1e5a subs r2, r3, #1 8001fa2: 60fa str r2, [r7, #12] 8001fa4: 2b00 cmp r3, #0 8001fa6: d1f9 bne.n 8001f9c 8001fa8: bf00 nop 8001faa: bf00 nop 8001fac: 3714 adds r7, #20 8001fae: 46bd mov sp, r7 8001fb0: bc80 pop {r7} 8001fb2: 4770 bx lr 8001fb4: 20000000 .word 0x20000000 8001fb8: 10624dd3 .word 0x10624dd3 08001fbc <__libc_init_array>: 8001fbc: b570 push {r4, r5, r6, lr} 8001fbe: 2600 movs r6, #0 8001fc0: 4d0c ldr r5, [pc, #48] ; (8001ff4 <__libc_init_array+0x38>) 8001fc2: 4c0d ldr r4, [pc, #52] ; (8001ff8 <__libc_init_array+0x3c>) 8001fc4: 1b64 subs r4, r4, r5 8001fc6: 10a4 asrs r4, r4, #2 8001fc8: 42a6 cmp r6, r4 8001fca: d109 bne.n 8001fe0 <__libc_init_array+0x24> 8001fcc: f000 f822 bl 8002014 <_init> 8001fd0: 2600 movs r6, #0 8001fd2: 4d0a ldr r5, [pc, #40] ; (8001ffc <__libc_init_array+0x40>) 8001fd4: 4c0a ldr r4, [pc, #40] ; (8002000 <__libc_init_array+0x44>) 8001fd6: 1b64 subs r4, r4, r5 8001fd8: 10a4 asrs r4, r4, #2 8001fda: 42a6 cmp r6, r4 8001fdc: d105 bne.n 8001fea <__libc_init_array+0x2e> 8001fde: bd70 pop {r4, r5, r6, pc} 8001fe0: f855 3b04 ldr.w r3, [r5], #4 8001fe4: 4798 blx r3 8001fe6: 3601 adds r6, #1 8001fe8: e7ee b.n 8001fc8 <__libc_init_array+0xc> 8001fea: f855 3b04 ldr.w r3, [r5], #4 8001fee: 4798 blx r3 8001ff0: 3601 adds r6, #1 8001ff2: e7f2 b.n 8001fda <__libc_init_array+0x1e> 8001ff4: 08003a58 .word 0x08003a58 8001ff8: 08003a58 .word 0x08003a58 8001ffc: 08003a58 .word 0x08003a58 8002000: 08003a5c .word 0x08003a5c 08002004 : 8002004: 4603 mov r3, r0 8002006: 4402 add r2, r0 8002008: 4293 cmp r3, r2 800200a: d100 bne.n 800200e 800200c: 4770 bx lr 800200e: f803 1b01 strb.w r1, [r3], #1 8002012: e7f9 b.n 8002008 08002014 <_init>: 8002014: b5f8 push {r3, r4, r5, r6, r7, lr} 8002016: bf00 nop 8002018: bcf8 pop {r3, r4, r5, r6, r7} 800201a: bc08 pop {r3} 800201c: 469e mov lr, r3 800201e: 4770 bx lr 08002020 <_fini>: 8002020: b5f8 push {r3, r4, r5, r6, r7, lr} 8002022: bf00 nop 8002024: bcf8 pop {r3, r4, r5, r6, r7} 8002026: bc08 pop {r3} 8002028: 469e mov lr, r3 800202a: 4770 bx lr