From 6f0b3d7eff0a7ff9b9fb7c703acf0d817aa577f0 Mon Sep 17 00:00:00 2001 From: YunHorn Technology Date: Tue, 12 Mar 2024 18:20:00 +0800 Subject: [PATCH] step 2, usart2 rx ananlog --- Core/Src/usart.c | 8 +- .../Release/Application/User/Core/usart.cyclo | 2 +- .../Release/LoRaWAN_End_Node_E5CC.bin | Bin 66916 -> 66940 bytes .../Release/LoRaWAN_End_Node_E5CC.list | 42377 ++++++++-------- 4 files changed, 21200 insertions(+), 21187 deletions(-) diff --git a/Core/Src/usart.c b/Core/Src/usart.c index 6acb8b0..5f2619e 100644 --- a/Core/Src/usart.c +++ b/Core/Src/usart.c @@ -100,13 +100,19 @@ void HAL_UART_MspInit(UART_HandleTypeDef* uartHandle) PA3 ------> USART2_RX PA2 ------> USART2_TX */ - GPIO_InitStruct.Pin = USARTx_RX_Pin|USARTx_TX_Pin; + GPIO_InitStruct.Pin = USARTx_TX_Pin; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; GPIO_InitStruct.Pull = GPIO_NOPULL; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; GPIO_InitStruct.Alternate = GPIO_AF7_USART2; HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); + GPIO_InitStruct.Pin = USARTx_RX_Pin; + GPIO_InitStruct.Mode = GPIO_MODE_ANALOG; + GPIO_InitStruct.Pull = GPIO_NOPULL; + GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; + HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); + /* USART2 DMA Init */ /* USART2_TX Init */ hdma_usart2_tx.Instance = DMA1_Channel5; diff --git a/STM32CubeIDE/Release/Application/User/Core/usart.cyclo b/STM32CubeIDE/Release/Application/User/Core/usart.cyclo index 1a3c676..ceaa8a3 100644 --- a/STM32CubeIDE/Release/Application/User/Core/usart.cyclo +++ b/STM32CubeIDE/Release/Application/User/Core/usart.cyclo @@ -1,3 +1,3 @@ D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/usart.c:32:6:MX_USART2_UART_Init 5 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/usart.c:75:6:HAL_UART_MspInit 4 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/usart.c:142:6:HAL_UART_MspDeInit 2 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/usart.c:148:6:HAL_UART_MspDeInit 2 diff --git a/STM32CubeIDE/Release/LoRaWAN_End_Node_E5CC.bin b/STM32CubeIDE/Release/LoRaWAN_End_Node_E5CC.bin index d6a85ffd98a5269345cb189f25b79706f947ac0d..0c35ebe770716959d2c255da4e12d910cb40e1d4 100644 GIT binary patch delta 4615 zcmZ`*3sh8Bmc8e_delRy6eS{`vZRWV21FuAOl$iqegy`VD4M81D=JBmXcUdDrrW5^ z(9uNKYUXGV9XiW#*-F$1K1)Sq&|o_8*GiNa!q}QN3dY}4fhwrqoLAx+dse2_+V||c z&;6Wx@42_$Pamt?AFBk$z*tiuj9uFk%R~j`gPz&v^$Mz2{vYkR@42o11wW&o;;;Dy z-}8Pi*tP!2Ul9EDx?kwr@PejHqWoU$clHJUi~9e^gYCj(^D3MGk+2PCgC4d?E1*;Z z|BdZ0Ey*0`6ziD$W3Mio-vTuk@4^g_ogPKI)*F-!@*6&dH}~eszGRW=n>+#8oXk4~ z;x|1iD^K>XxI^m;8ST^>`PxFK>K-RAJSN&Xxdsme>)`;N4K~9@d=NZI*WGKZA#712)_%LR`im*8M4d;eGw>nwU`KSHZ7;AXO=Z7@10qX{gfHwSb zKq*|nypZK^9KQ~Uf*@=UF_c{I$?a5yK~1jwXA7<1BYrCFwd8?br+uiPV zr3JHZt{qOJ0F5H}aAat-W_*uW=X3ni7nIG*3$Q5E1b@P^P_zD=H`*4FvpsEib8hFl z6b`w)WS47^qi{}#Ca>M(;V85d9u_^!sI!9nZ=PXPmps9>!40gD#W9N#h`NW*QAckt zYUmIxoc!`}red=|=Ia$-k5iQc#wO-CH+yu-Bq&L-bRGz8_N{rM-*7!Z?7E+GZ(^aIk?V_kgbJUi2|6_gq zhAN zK5Vu|>lA47!<|9~$XZMeFN*)(r?N7+&6h#j_YW$E&l{~A$WmVvn3VA^AEPWHdjU^` z#|C~$8S)L`?|3hKQdFjouQ6KrPeHc$hFQnZ+?<^69A-`Svo|m=;tCAG*hoWcT;CRQ zRxl}BYV4~A+c)_$Ol4Ja%!cnq#)Aj9M#jQZY>14}+1=|BAb0#H43^juMxrg$lPvKv=cvqM?U^2clI1a`k z4sI5dJE+DIL!NGrOL?`1_lDOgN$qodh8GQQ1LCM5S;8U8k!`qs$cX_*h@B^N5QcO! zQRv30QSY11^(55~qvwIoZs-_IozEQeAE(TV{j4y_=h%+7qBfhdsDqPdMtZZ2#l%+= zW)V-kE2nR)^*InLj45HM?z|kf6{5#jIb)FA>*BY)KH2LSgl$H>`IyV=81DJgA%2_J z!FjSKX?xc>IpX_W>65&ULbumpzz9<{Fg$814BSTJt7!aPXo%JeUr?<9$48gNv=Mtk zSmMpiLn4cVJC z#>{9YenYmH>dHP{U&zF2BNI;#Wuk{P#&`&#^(cF$?BP;Em9*wpIiTC>rFWBoUl!>G zzK^Z3=D?Xwl{LKH>qtN$ZU>m9opD-@^LX*luo>{Jq)sq%+EX6EYPRjL<*VDYiL+ zx@Ea-eu-K3rl6>C-d2TOZ%K zWi!hvetm+T;_SlHmITcW*D1Xv^Kt9tJ03?X_E=1sZ~RJkYdtAnVr;4bB+N`TCH|+Y zNiU^!w<78P;cs)Jb@QE|#Hp8+w}Fd`v_;G7mPO7>p|Lk1rl!We>r&CaG`LyZA4yy2 zV)}k@-K{gJ|8HFu;+I-;iO)h;Y6Rq9Xxc|9YFB{ugsqK_pcR0tOwT1aT6H&5C~7s| zKRsoh$I;!Z>>y9|eQ9lU1P}32TD-QkSJ@#kxs?~F=eMX%H)&3jcEYy9ubjY9>1Iuh zUzzP!c42XPB7BUP9uvBn#*}RHY1ANIy7x!zRT_5*UQAEX&7>aYzS)kEIt6tZDR31t zGoq+0&M2f*YRV{rCMhOU4WSczQlD&iRZx<_2Xydn(GiZqRBIKC#Wrh#?pyj>x@FrD z04>Zoy20Z(hhbR>`oqp#dba|s_iXtAaFrjjbt zxGtG;)B%B$rZKUCP%R}-+rz_csddH(Uez^&iMaHQ!BX6;RRE`@owK6=O7QfY2q?g| zImM>xe0o+0c0&0aCLZjw3Rkcii}Lezuk_N@&tR5c_jan;&`y?t7xS;v6SuEmCmh5n zg-bvyH5BH8#x#q%y+QBAOeS_=#N0ArA$2XlopXy}x}=_GP-RxqlhQyq`U|+W;9vE+ z7uqO&o@1X>vQVvpMObQE5?E2h#B~BQF2=jIm8P!w^imZwG4vgJL5ZIt&&C?M=VXhh zEGneH+3szA1PrSaY4em?z z%O6owspfYGWX7**hs^aKFi}$QdnR5d6#s#Vn+ZNb@){-{AZW<1p#O*e%g+*jOc=G6 ziOZ#u4_q9?OT}waICvygt<|cOY05$Zhk3|fxQdCp3FS+fct*#J_W{J3Wuy~QNgG90 zvkdQSnocViv-wTxTe10Tfy``Npak5oRjrt>DtTqxvpdG};FE;UeEq4turDugtc!^Q z3HPO$=RDG(63oP(bj!}aGENO~@ zP143DJqTABhy_y3nKtFH%Kvs00+0Ea*iCpv%KT;o2OZLibAbSV!L{eBbX{#s%+NFA z^Vkf5 zqj?Y~5*A|2(|Fj9xlc_47pXvej-|xu>w)3Ar$Ynpd08|wKX&Nxz|#@^F7?%XPQ3H< zS8xxx1AMuQ|Npt_5cz@zk z(x=b(j5vJ?5zoooPh9hiC)E>wN#Ut^ey&yc)V!p>kseHZPUiI7AL!F>deOqlbbyMr z2hKCG^c)@W1tvZq+tNZW7in;XUaMv%PNQ_xeNXl~Cax#FgxW-qeXR5$d`8$wZK?@7 zh*uI)X{^PB&BPO1X)Lm5$?u_Yc9Si=MDH{CC$+PFVs1N4NMhB|LVAAy-mjdZf`l=T zqo@y|ZU_^9r0+tCo!up#Y^Lu>!V2QWr00{ZClnG&2%gG16})XqUc|(rcPR`)6+!8) Q{5F!ln(953V+2U}A5p&SnE(I) delta 4618 zcmZ`*4OCP|mahA{n|`gdfQtOINH+}wf<%;K)OA&U8xRa3=m;SWlBmIP96`qzvLO&T ztm8yCF(oP*<9ZTT8AF7;A(0q@3C2W?6G>1*@Q*kK38OqC`WpIgzlVB`vnSip&@DEu`Ow{CQdhwtHj%t)(4#bYJW7s-$*(z? z{D#xnqmE!rTN)-|7Q!qJH=pVsW{e*c8$HU89`AIGoX?B=E%Y+4^0%6fxxf}3ur%VCKSf>R@VAG^aLpN&G;1YZnem2hJdl) zbmT!C_`p%tdK_bQ>0*;;)hyA-Ui`|qDRb^Pr<(7V70ID3jCub}-=v$TJLGF2Zj>)O zACz1}Ng8Vnzstn9rs@W*4clYG(hl(_0wxrya<<%%ngTAA&JTf>W za>9cp6l`Qsmvr2NzHig!;R@5*)EfI8Ul}}+?(mx6Nb2P+!4byu_ctsZxyWaEe{jT@ zJub5?@;O0X?3t=Q1$sS?G$n?Vf6SO~lUJ5tQM1_W5iCjL@2`a*zrw3cu@fCQLp+M) z9GT86TDfFM?Y-yJ5BD|=_x3xr=~_9NcbTkHw>f5@@W$crYS! z1j;(ysm7N(v17?BV%I857JqEKIhb~PhY41E$W{$nU9P51Z&g2dJ?F2Ck0KjCFuq;) zD!w;AULKO`*XU4Bs7XVCjcNgVlseuW@;vR~857cUyHF36yk^4D(QkuEz*)fS9usfg z<cpUv~Zi-0`v z*j_n#Q-ep@!}pux12UbtnXHDwX4(X^w>;#~?0hoIt(bYg*<}6P;Z`1Z{pSaooo>b3 zm6qW%RB0E$KXfE#xRvLfZY7e(TK3Qge%i9wP>K1qnEy3CCCsGTj^2Kr6INwt1N#BU z;+Mh#bSo7mmh-`|Z-TaieF@lst-zar&d$VfyxV%(Z|NWtr=#~J-XI+IG2Rj$qk9Ex z8^0NTMt>Q90&b<5e-^Pm|2?Q@fLnkM;^Kh)p-lAEGII^=Rm_nX#>B5+bI?~;<>XQ( zZZb2mKAefY&=}K@H?mh(NL{fKpjz7cn@sZC>&A)5Xjm5UZ9T(pMp_MpcC9V2*{w|D zK~cLYR%(j!5d^)5pNL*S7bR1SRq#3G(%G!VyNe6-edpXt8=oJ$o;LC?Vnb;?zaHD} zJL-YIOMe}Hy^EiC>;t+Yl}(Ny3g&y`LTQB58ds&Gbe{b9L>$4)bTH}OciO9NB~~hX z{59RQ=iOemm|~5r*SwYF)y~Y?hLRSt_VlpupL<+Np1aZ{MBVDtn1AVEtrxK>F9SRI z%zwW|7kS9+NSxuRv#V(XKRr8@in!mL^+^#fz3sexTU@O^;r9MYmlEP?Gx^2b?bKd% zDFLoym`}odulEEOhsh)aFL9wV^fr%@>Sj^RXI+ZU#ZS$d<8$4qih&So+Fi*jkpIpi{ZcMZoza3WY zbv8r!n$JoMp%$JG{XIvUNlLoc$)W!b-N=>Kd?=|4OKj)Yk|z3G8&X$7oYJY$A@U+OC0mTAp&c#WJ*<4eGm@=FX;{f0R_b|K zax87*2a+TFtA_M8srXsU>aCIbHu!X4-ZI{u9Pd|%2}Dq|}@P z8fuqrE|{#r$dJ4pMDrSv5c=PDDWFUgcBfzC4>$Q=vnvxo5Z^dE~%yQ%sy)7MT=Kckkr07 zn~cUhg#8xB#zH1`^Vq^FT^2%9cvImrdPXuW3DKrj;bf@;-uV@@J@>Ero=3*0F%Pjr zDqpJC(gI#xyxLG+g#QB_Gv{+x@p?=5vpBGpF_C`H#8<(O!LzQ8i4CyxF>;wyv!YL+ z71FDJ$Q9^a>D(XN1nS_mrK`~z)wYWfX+|D8Cd_$53$prlkr8=HBHU;Qn;9M!4X)4s3I^AT8vJEI!w*{@) zJ)n$sY2<^>0p*sI_VFb$OmZ@@4dZ|0v7eX(w?mru$#N~FNR7wZ1Vf4&6^8*Syu2-x z{v_>bGm-8SMq-N8a=c63y4n*Tk>S5ROuP(?m-4@wEYMkL(_Sc8KbTl(AcyVvcxdQqc;ANm1_%G>pmr+Lp+;epkKBGC z?jOqqS|WY%(`wR{;IdQ0XWl5)-cby8{{D?&GWRrikM`%zlxgO>6r^TVnT#Toc z@Yz2f5WNvoX<=qAe>L{az7q1~rG2I3l&+zrIKJ>^Cfa>BW6++tnT*!&R<3^>f`m*K z7Q95rG!+M?HDH1iUUn203L7*ik0EN6jK5gPVAhZr31sn^cP7$K{@fjl?*c7}50MAXciss%C~g+U zthaHS`r^*y5nT^@BL}(r&TpuVM+`(74nGjDNDBwzY1HBn)E{5~?v9tX-~CDBzX1R3 zzXjex@_DdPD3Qg|): 800015c: b508 push {r3, lr} @@ -62,7 +62,7 @@ Disassembly of section .text: 800016a: bd08 pop {r3, pc} 800016c: 00000000 .word 0x00000000 8000170: 2000010c .word 0x2000010c - 8000174: 0800f480 .word 0x0800f480 + 8000174: 0800f498 .word 0x0800f498 08000178 : 8000178: 4603 mov r3, r0 @@ -1286,7 +1286,7 @@ Disassembly of section .text: 8000edc: 6382 str r2, [r0, #56] ; 0x38 8000ede: f880 303c strb.w r3, [r0, #60] ; 0x3c 8000ee2: 64c3 str r3, [r0, #76] ; 0x4c - 8000ee4: f001 fcd2 bl 800288c + 8000ee4: f001 fcdc bl 80028a0 8000ee8: b118 cbz r0, 8000ef2 8000eea: e8bd 4008 ldmia.w sp!, {r3, lr} 8000eee: f000 bb17 b.w 8001520 @@ -1334,30 +1334,30 @@ Disassembly of section .text: 8000f4c: 9403 str r4, [sp, #12] 8000f4e: f7ff ffa9 bl 8000ea4 8000f52: 4814 ldr r0, [pc, #80] ; (8000fa4 ) - 8000f54: f002 f832 bl 8002fbc + 8000f54: f002 f83c bl 8002fd0 8000f58: b108 cbz r0, 8000f5e 8000f5a: f000 fae1 bl 8001520 8000f5e: 4811 ldr r0, [pc, #68] ; (8000fa4 ) 8000f60: 9403 str r4, [sp, #12] 8000f62: a901 add r1, sp, #4 8000f64: e9cd 5401 strd r5, r4, [sp, #4] - 8000f68: f001 fdee bl 8002b48 + 8000f68: f001 fdf8 bl 8002b5c 8000f6c: b108 cbz r0, 8000f72 8000f6e: f000 fad7 bl 8001520 8000f72: 480c ldr r0, [pc, #48] ; (8000fa4 ) - 8000f74: f001 ff4c bl 8002e10 + 8000f74: f001 ff56 bl 8002e24 8000f78: b108 cbz r0, 8000f7e 8000f7a: f000 fad1 bl 8001520 8000f7e: f04f 31ff mov.w r1, #4294967295 8000f82: 4808 ldr r0, [pc, #32] ; (8000fa4 ) - 8000f84: f001 fd82 bl 8002a8c + 8000f84: f001 fd8c bl 8002aa0 8000f88: 4806 ldr r0, [pc, #24] ; (8000fa4 ) - 8000f8a: f001 fff9 bl 8002f80 + 8000f8a: f002 f803 bl 8002f94 8000f8e: 4805 ldr r0, [pc, #20] ; (8000fa4 ) - 8000f90: f001 fdd6 bl 8002b40 + 8000f90: f001 fde0 bl 8002b54 8000f94: 4604 mov r4, r0 8000f96: 4803 ldr r0, [pc, #12] ; (8000fa4 ) - 8000f98: f001 ff9c bl 8002ed4 + 8000f98: f001 ffa6 bl 8002ee8 8000f9c: 4620 mov r0, r4 8000f9e: b005 add sp, #20 8000fa0: bd30 pop {r4, r5, pc} @@ -1455,15 +1455,15 @@ Disassembly of section .text: 8001092: 2102 movs r1, #2 8001094: 200f movs r0, #15 8001096: 9b00 ldr r3, [sp, #0] - 8001098: f002 f82e bl 80030f8 + 8001098: f002 f838 bl 800310c 800109c: 200f movs r0, #15 800109e: b003 add sp, #12 80010a0: f85d eb04 ldr.w lr, [sp], #4 - 80010a4: f002 b85a b.w 800315c + 80010a4: f002 b864 b.w 8003170 080010a8 : 80010a8: b508 push {r3, lr} - 80010aa: f002 fa9f bl 80035ec + 80010aa: f002 faa9 bl 8003600 80010ae: b110 cbz r0, 80010b6 80010b0: f06f 0004 mvn.w r0, #4 80010b4: bd08 pop {r3, pc} @@ -1473,7 +1473,7 @@ Disassembly of section .text: 80010be: 619a str r2, [r3, #24] 80010c0: f24c 32fa movw r2, #50170 ; 0xc3fa 80010c4: 611a str r2, [r3, #16] - 80010c6: f002 faa3 bl 8003610 + 80010c6: f002 faad bl 8003624 80010ca: 2800 cmp r0, #0 80010cc: d0f2 beq.n 80010b4 80010ce: e7ef b.n 80010b0 @@ -1490,7 +1490,7 @@ Disassembly of section .text: 80010e2: f7ff ffe1 bl 80010a8 80010e6: 4605 mov r5, r0 80010e8: bb70 cbnz r0, 8001148 - 80010ea: f002 fa7f bl 80035ec + 80010ea: f002 fa89 bl 8003600 80010ee: bb88 cbnz r0, 8001154 80010f0: 481a ldr r0, [pc, #104] ; (800115c ) 80010f2: 4a1b ldr r2, [pc, #108] ; (8001160 ) @@ -1515,13 +1515,13 @@ Disassembly of section .text: 800112e: 4669 mov r1, sp 8001130: a801 add r0, sp, #4 8001132: 9303 str r3, [sp, #12] - 8001134: f002 faec bl 8003710 + 8001134: f002 faf6 bl 8003724 8001138: b120 cbz r0, 8001144 800113a: 2802 cmp r0, #2 800113c: bf0c ite eq 800113e: 2501 moveq r5, #1 8001140: f06f 0501 mvnne.w r5, #1 - 8001144: f002 fa64 bl 8003610 + 8001144: f002 fa6e bl 8003624 8001148: 4628 mov r0, r5 800114a: b005 add sp, #20 800114c: bdf0 pop {r4, r5, r6, r7, pc} @@ -1566,7 +1566,7 @@ Disassembly of section .text: 80011b4: f7ff ff78 bl 80010a8 80011b8: 4604 mov r4, r0 80011ba: bba0 cbnz r0, 8001226 - 80011bc: f002 fa16 bl 80035ec + 80011bc: f002 fa20 bl 8003600 80011c0: 2800 cmp r0, #0 80011c2: f040 80aa bne.w 800131a 80011c6: f8d8 15e0 ldr.w r1, [r8, #1504] ; 0x5e0 @@ -1600,7 +1600,7 @@ Disassembly of section .text: 800121c: 9b03 ldr r3, [sp, #12] 800121e: 459a cmp sl, r3 8001220: d305 bcc.n 800122e - 8001222: f002 f9f5 bl 8003610 + 8001222: f002 f9ff bl 8003624 8001226: 4620 mov r0, r4 8001228: b009 add sp, #36 ; 0x24 800122a: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} @@ -1643,14 +1643,14 @@ Disassembly of section .text: 8001290: d004 beq.n 800129c 8001292: f44f 6200 mov.w r2, #2048 ; 0x800 8001296: 4641 mov r1, r8 - 8001298: f00d fc1e bl 800ead8 + 8001298: f00d fc28 bl 800eaec 800129c: f8df 9088 ldr.w r9, [pc, #136] ; 8001328 80012a0: f8d9 3000 ldr.w r3, [r9] 80012a4: f3cb 000a ubfx r0, fp, #0, #11 80012a8: 4639 mov r1, r7 80012aa: 4418 add r0, r3 80012ac: b2aa uxth r2, r5 - 80012ae: f00d fc13 bl 800ead8 + 80012ae: f00d fc1d bl 800eaec 80012b2: f44f 6100 mov.w r1, #2048 ; 0x800 80012b6: 4640 mov r0, r8 80012b8: f7ff ff0c bl 80010d4 @@ -1667,7 +1667,7 @@ Disassembly of section .text: 80012d6: 9302 str r3, [sp, #8] 80012d8: 2001 movs r0, #1 80012da: e9d3 2300 ldrd r2, r3, [r3] - 80012de: f002 f9d1 bl 8003684 + 80012de: f002 f9db bl 8003698 80012e2: b988 cbnz r0, 8001308 80012e4: 9907 ldr r1, [sp, #28] 80012e6: 9b01 ldr r3, [sp, #4] @@ -1710,7 +1710,7 @@ Disassembly of section .text: 800134a: b140 cbz r0, 800135e 800134c: b139 cbz r1, 800135e 800134e: b292 uxth r2, r2 - 8001350: f00d fbc2 bl 800ead8 + 8001350: f00d fbcc bl 800eaec 8001354: 2000 movs r0, #0 8001356: bd70 pop {r4, r5, r6, pc} 8001358: f04f 30ff mov.w r0, #4294967295 @@ -1759,7 +1759,7 @@ Disassembly of section .text: 80013be: 2214 movs r2, #20 80013c0: 2100 movs r1, #0 80013c2: a801 add r0, sp, #4 - 80013c4: f00d ffb0 bl 800f328 + 80013c4: f00d ffba bl 800f33c 80013c8: 2002 movs r0, #2 80013ca: f7ff ffe9 bl 80013a0 80013ce: 4e29 ldr r6, [pc, #164] ; (8001474 ) @@ -1770,7 +1770,7 @@ Disassembly of section .text: 80013dc: f44f 413a mov.w r1, #47616 ; 0xba00 80013e0: 2200 movs r2, #0 80013e2: 4630 mov r0, r6 - 80013e4: f002 fb02 bl 80039ec + 80013e4: f002 fb0c bl 8003a00 80013e8: 2501 movs r5, #1 80013ea: f44f 430a mov.w r3, #35328 ; 0x8a00 80013ee: 2400 movs r4, #0 @@ -1780,43 +1780,43 @@ Disassembly of section .text: 80013f8: 4630 mov r0, r6 80013fa: e9cd 4303 strd r4, r3, [sp, #12] 80013fe: f04f 0803 mov.w r8, #3 - 8001402: f002 f9d3 bl 80037ac + 8001402: f002 f9dd bl 80037c0 8001406: f44f 1704 mov.w r7, #2162688 ; 0x210000 800140a: a901 add r1, sp, #4 800140c: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 8001410: e9cd 8701 strd r8, r7, [sp, #4] 8001414: 9503 str r5, [sp, #12] - 8001416: f002 f9c9 bl 80037ac + 8001416: f002 f9d3 bl 80037c0 800141a: f44f 5340 mov.w r3, #12288 ; 0x3000 800141e: a901 add r1, sp, #4 8001420: 4630 mov r0, r6 8001422: e9cd 3501 strd r3, r5, [sp, #4] 8001426: e9cd 4803 strd r4, r8, [sp, #12] - 800142a: f002 f9bf bl 80037ac + 800142a: f002 f9c9 bl 80037c0 800142e: 2340 movs r3, #64 ; 0x40 8001430: a901 add r1, sp, #4 8001432: 4811 ldr r0, [pc, #68] ; (8001478 ) 8001434: 9503 str r5, [sp, #12] 8001436: e9cd 3701 strd r3, r7, [sp, #4] - 800143a: f002 f9b7 bl 80037ac + 800143a: f002 f9c1 bl 80037c0 800143e: 4622 mov r2, r4 8001440: 4621 mov r1, r4 8001442: 2006 movs r0, #6 - 8001444: f001 fe58 bl 80030f8 + 8001444: f001 fe62 bl 800310c 8001448: 2006 movs r0, #6 - 800144a: f001 fe87 bl 800315c + 800144a: f001 fe91 bl 8003170 800144e: 4622 mov r2, r4 8001450: 4621 mov r1, r4 8001452: 2007 movs r0, #7 - 8001454: f001 fe50 bl 80030f8 + 8001454: f001 fe5a bl 800310c 8001458: 2007 movs r0, #7 - 800145a: f001 fe7f bl 800315c + 800145a: f001 fe89 bl 8003170 800145e: 4622 mov r2, r4 8001460: 4621 mov r1, r4 8001462: 2016 movs r0, #22 - 8001464: f001 fe48 bl 80030f8 + 8001464: f001 fe52 bl 800310c 8001468: 2016 movs r0, #22 - 800146a: f001 fe77 bl 800315c + 800146a: f001 fe81 bl 8003170 800146e: b006 add sp, #24 8001470: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} 8001474: 48000400 .word 0x48000400 @@ -1828,12 +1828,12 @@ Disassembly of section .text: 8001480: 2248 movs r2, #72 ; 0x48 8001482: 2100 movs r1, #0 8001484: a808 add r0, sp, #32 - 8001486: f00d ff4f bl 800f328 + 8001486: f00d ff59 bl 800f33c 800148a: 2218 movs r2, #24 800148c: 2100 movs r1, #0 800148e: a802 add r0, sp, #8 - 8001490: f00d ff4a bl 800f328 - 8001494: f002 fac4 bl 8003a20 + 8001490: f00d ff54 bl 800f33c + 8001494: f002 face bl 8003a34 8001498: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 800149c: 2001 movs r0, #1 800149e: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 @@ -1856,7 +1856,7 @@ Disassembly of section .text: 80014d4: 22b0 movs r2, #176 ; 0xb0 80014d6: a808 add r0, sp, #32 80014d8: e9cd 2312 strd r2, r3, [sp, #72] ; 0x48 - 80014dc: f002 fc2a bl 8003d34 + 80014dc: f002 fc34 bl 8003d48 80014e0: b108 cbz r0, 80014e6 80014e2: b672 cpsid i 80014e4: e7fe b.n 80014e4 @@ -1866,7 +1866,7 @@ Disassembly of section .text: 80014f0: e9cd 0006 strd r0, r0, [sp, #24] 80014f4: 2102 movs r1, #2 80014f6: a802 add r0, sp, #8 - 80014f8: f002 feb6 bl 8004268 + 80014f8: f002 fec0 bl 800427c 80014fc: b108 cbz r0, 8001502 80014fe: b672 cpsid i 8001500: e7fe b.n 8001500 @@ -1875,11 +1875,11 @@ Disassembly of section .text: 08001508
: 8001508: b508 push {r3, lr} - 800150a: f001 f96d bl 80027e8 + 800150a: f001 f977 bl 80027fc 800150e: f7ff ffb5 bl 800147c 8001512: f7ff ff51 bl 80013b8 - 8001516: f000 fc8b bl 8001e30 - 800151a: f000 fc90 bl 8001e3e + 8001516: f000 fc95 bl 8001e44 + 800151a: f000 fc9a bl 8001e52 800151e: e7fc b.n 800151a 08001520 : @@ -1892,7 +1892,7 @@ Disassembly of section .text: 8001528: 222c movs r2, #44 ; 0x2c 800152a: 2100 movs r1, #0 800152c: a801 add r0, sp, #4 - 800152e: f00d fefb bl 800f328 + 800152e: f00d ff05 bl 800f33c 8001532: 4817 ldr r0, [pc, #92] ; (8001590 ) 8001534: 4b17 ldr r3, [pc, #92] ; (8001594 ) 8001536: 6003 str r3, [r0, #0] @@ -1905,11 +1905,11 @@ Disassembly of section .text: 800154a: 6183 str r3, [r0, #24] 800154c: f44f 7380 mov.w r3, #256 ; 0x100 8001550: 6243 str r3, [r0, #36] ; 0x24 - 8001552: f003 f933 bl 80047bc + 8001552: f003 f93d bl 80047d0 8001556: b108 cbz r0, 800155c 8001558: f7ff ffe2 bl 8001520 800155c: 480c ldr r0, [pc, #48] ; (8001590 ) - 800155e: f003 fa59 bl 8004a14 + 800155e: f003 fa63 bl 8004a28 8001562: b108 cbz r0, 8001568 8001564: f7ff ffdc bl 8001520 8001568: f04f 5300 mov.w r3, #536870912 ; 0x20000000 @@ -1922,7 +1922,7 @@ Disassembly of section .text: 800157a: 9202 str r2, [sp, #8] 800157c: 9206 str r2, [sp, #24] 800157e: 930b str r3, [sp, #44] ; 0x2c - 8001580: f003 f97c bl 800487c + 8001580: f003 f986 bl 8004890 8001584: b108 cbz r0, 800158a 8001586: f7ff ffcb bl 8001520 800158a: b00d add sp, #52 ; 0x34 @@ -1937,7 +1937,7 @@ Disassembly of section .text: 800159e: 2238 movs r2, #56 ; 0x38 80015a0: 2100 movs r1, #0 80015a2: a802 add r0, sp, #8 - 80015a4: f00d fec0 bl 800f328 + 80015a4: f00d feca bl 800f33c 80015a8: 6822 ldr r2, [r4, #0] 80015aa: 4b19 ldr r3, [pc, #100] ; (8001610 ) 80015ac: 429a cmp r2, r3 @@ -1947,7 +1947,7 @@ Disassembly of section .text: 80015b6: a802 add r0, sp, #8 80015b8: f44f 7380 mov.w r3, #256 ; 0x100 80015bc: 930f str r3, [sp, #60] ; 0x3c - 80015be: f002 ff77 bl 80044b0 + 80015be: f002 ff81 bl 80044c4 80015c2: b108 cbz r0, 80015c8 80015c4: f7ff ffac bl 8001520 80015c8: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 @@ -1964,15 +1964,15 @@ Disassembly of section .text: 80015ea: 4611 mov r1, r2 80015ec: 9301 str r3, [sp, #4] 80015ee: 9b01 ldr r3, [sp, #4] - 80015f0: f001 fd82 bl 80030f8 + 80015f0: f001 fd8c bl 800310c 80015f4: 2002 movs r0, #2 - 80015f6: f001 fdb1 bl 800315c + 80015f6: f001 fdbb bl 8003170 80015fa: 2200 movs r2, #0 80015fc: 202a movs r0, #42 ; 0x2a 80015fe: 4611 mov r1, r2 - 8001600: f001 fd7a bl 80030f8 + 8001600: f001 fd84 bl 800310c 8001604: 202a movs r0, #42 ; 0x2a - 8001606: f001 fda9 bl 800315c + 8001606: f001 fdb3 bl 8003170 800160a: b010 add sp, #64 ; 0x40 800160c: bd10 pop {r4, pc} 800160e: bf00 nop @@ -1980,44 +1980,44 @@ Disassembly of section .text: 08001614 : 8001614: b508 push {r3, lr} - 8001616: f001 f8fd bl 8002814 + 8001616: f001 f907 bl 8002828 800161a: 4b03 ldr r3, [pc, #12] ; (8001628 ) 800161c: 2207 movs r2, #7 800161e: 619a str r2, [r3, #24] 8001620: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001624: f002 ba24 b.w 8003a70 + 8001624: f002 ba2e b.w 8003a84 8001628: 58000400 .word 0x58000400 0800162c : - 800162c: f001 b8f9 b.w 8002822 + 800162c: f001 b903 b.w 8002836 08001630 : 8001630: b508 push {r3, lr} - 8001632: f001 f8ef bl 8002814 + 8001632: f001 f8f9 bl 8002828 8001636: 4b04 ldr r3, [pc, #16] ; (8001648 ) 8001638: 2001 movs r0, #1 800163a: f8c3 0088 str.w r0, [r3, #136] ; 0x88 800163e: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001642: f002 ba57 b.w 8003af4 + 8001642: f002 ba61 b.w 8003b08 8001646: bf00 nop 8001648: 58000400 .word 0x58000400 0800164c : 800164c: b508 push {r3, lr} - 800164e: f001 f8e8 bl 8002822 + 800164e: f001 f8f2 bl 8002836 8001652: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001656: f000 bbab b.w 8001db0 + 8001656: f000 bbb5 b.w 8001dc4 0800165a : 800165a: b508 push {r3, lr} - 800165c: f001 f8da bl 8002814 + 800165c: f001 f8e4 bl 8002828 8001660: e8bd 4008 ldmia.w sp!, {r3, lr} 8001664: 2101 movs r1, #1 8001666: 2000 movs r0, #0 - 8001668: f002 b9e2 b.w 8003a30 + 8001668: f002 b9ec b.w 8003a44 0800166c : - 800166c: f001 b8d9 b.w 8002822 + 800166c: f001 b8e3 b.w 8002836 08001670 : 8001670: 4770 bx lr @@ -2051,44 +2051,44 @@ Disassembly of section .text: 08001684 : 8001684: 4801 ldr r0, [pc, #4] ; (800168c ) - 8001686: f003 b9eb b.w 8004a60 + 8001686: f003 b9f5 b.w 8004a74 800168a: bf00 nop 800168c: 2000018c .word 0x2000018c 08001690 : 8001690: 2001 movs r0, #1 - 8001692: f002 b9b9 b.w 8003a08 + 8001692: f002 b9c3 b.w 8003a1c 08001696 : 8001696: 2002 movs r0, #2 - 8001698: f002 b9b6 b.w 8003a08 + 8001698: f002 b9c0 b.w 8003a1c 0800169c : 800169c: 4801 ldr r0, [pc, #4] ; (80016a4 ) - 800169e: f001 bf37 b.w 8003510 + 800169e: f001 bf41 b.w 8003524 80016a2: bf00 nop 80016a4: 200001d8 .word 0x200001d8 080016a8 : 80016a8: 2040 movs r0, #64 ; 0x40 - 80016aa: f002 b9ad b.w 8003a08 + 80016aa: f002 b9b7 b.w 8003a1c ... 080016b0 : 80016b0: 4801 ldr r0, [pc, #4] ; (80016b8 ) - 80016b2: f003 bd99 b.w 80051e8 + 80016b2: f003 bda3 b.w 80051fc 80016b6: bf00 nop 80016b8: 20000238 .word 0x20000238 080016bc : 80016bc: 4801 ldr r0, [pc, #4] ; (80016c4 ) - 80016be: f003 b801 b.w 80046c4 + 80016be: f003 b80b b.w 80046d8 80016c2: bf00 nop 80016c4: 2000018c .word 0x2000018c 080016c8 : 80016c8: 4801 ldr r0, [pc, #4] ; (80016d0 ) - 80016ca: f003 bbf4 b.w 8004eb6 + 80016ca: f003 bbfe b.w 8004eca 80016ce: bf00 nop 80016d0: 200001c4 .word 0x200001c4 @@ -2097,7 +2097,7 @@ Disassembly of section .text: 80016d6: b508 push {r3, lr} 80016d8: 2308 movs r3, #8 80016da: 6003 str r3, [r0, #0] - 80016dc: f003 fa06 bl 8004aec + 80016dc: f003 fa10 bl 8004b00 80016e0: b118 cbz r0, 80016ea 80016e2: e8bd 4008 ldmia.w sp!, {r3, lr} 80016e6: f7ff bf1b b.w 8001520 @@ -2117,11 +2117,11 @@ Disassembly of section .text: 8001708: 4611 mov r1, r2 800170a: 2032 movs r0, #50 ; 0x32 800170c: 9b01 ldr r3, [sp, #4] - 800170e: f001 fcf3 bl 80030f8 + 800170e: f001 fcfd bl 800310c 8001712: 2032 movs r0, #50 ; 0x32 8001714: b003 add sp, #12 8001716: f85d eb04 ldr.w lr, [sp], #4 - 800171a: f001 bd1f b.w 800315c + 800171a: f001 bd29 b.w 8003170 ... 08001720 : @@ -2131,13 +2131,13 @@ Disassembly of section .text: 8001726: ab05 add r3, sp, #20 8001728: 2110 movs r1, #16 800172a: 9301 str r3, [sp, #4] - 800172c: f00d fcde bl 800f0ec + 800172c: f00d fce8 bl 800f100 8001730: b003 add sp, #12 8001732: f85d eb04 ldr.w lr, [sp], #4 8001736: b002 add sp, #8 8001738: 4770 bx lr 800173a: bf00 nop - 800173c: 0800f524 .word 0x0800f524 + 800173c: 0800f53c .word 0x0800f53c 08001740 : 8001740: b530 push {r4, r5, lr} @@ -2145,7 +2145,7 @@ Disassembly of section .text: 8001744: 4604 mov r4, r0 8001746: a802 add r0, sp, #8 8001748: 460d mov r5, r1 - 800174a: f00d fafb bl 800ed44 + 800174a: f00d fb05 bl 800ed58 800174e: f9bd 300c ldrsh.w r3, [sp, #12] 8001752: 4a06 ldr r2, [pc, #24] ; (800176c ) 8001754: 9300 str r3, [sp, #0] @@ -2158,7 +2158,7 @@ Disassembly of section .text: 8001766: 8028 strh r0, [r5, #0] 8001768: b005 add sp, #20 800176a: bd30 pop {r4, r5, pc} - 800176c: 0800f524 .word 0x0800f524 + 800176c: 0800f53c .word 0x0800f53c 08001770 : 8001770: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 @@ -2166,32 +2166,32 @@ Disassembly of section .text: 8001776: 6893 ldr r3, [r2, #8] 8001778: f423 4300 bic.w r3, r3, #32768 ; 0x8000 800177c: 6093 str r3, [r2, #8] - 800177e: f00d fb69 bl 800ee54 + 800177e: f00d fb73 bl 800ee68 8001782: 4b0e ldr r3, [pc, #56] ; (80017bc ) 8001784: 2401 movs r4, #1 8001786: 701c strb r4, [r3, #0] 8001788: f000 f8a8 bl 80018dc - 800178c: f00d f832 bl 800e7f4 + 800178c: f00d f83c bl 800e808 8001790: 480b ldr r0, [pc, #44] ; (80017c0 ) - 8001792: f00d f849 bl 800e828 + 8001792: f00d f853 bl 800e83c 8001796: 4b0b ldr r3, [pc, #44] ; (80017c4 ) 8001798: f44f 4200 mov.w r2, #32768 ; 0x8000 800179c: 611a str r2, [r3, #16] 800179e: 2002 movs r0, #2 - 80017a0: f00d f848 bl 800e834 + 80017a0: f00d f852 bl 800e848 80017a4: f7ff fc00 bl 8000fa8 80017a8: f000 f8f4 bl 8001994 - 80017ac: f00d f93e bl 800ea2c + 80017ac: f00d f948 bl 800ea40 80017b0: 4621 mov r1, r4 80017b2: 4620 mov r0, r4 80017b4: e8bd 4010 ldmia.w sp!, {r4, lr} - 80017b8: f00d b958 b.w 800ea6c + 80017b8: f00d b962 b.w 800ea80 80017bc: 200001d0 .word 0x200001d0 80017c0: 08001741 .word 0x08001741 80017c4: 58004000 .word 0x58004000 080017c8 : - 80017c8: f00d b966 b.w 800ea98 + 80017c8: f00d b970 b.w 800eaac 080017cc : 80017cc: b508 push {r3, lr} @@ -2231,11 +2231,11 @@ Disassembly of section .text: 800181c: 1c59 adds r1, r3, #1 800181e: 4604 mov r4, r0 8001820: d119 bne.n 8001856 - 8001822: f001 f805 bl 8002830 + 8001822: f001 f80f bl 8002844 8001826: 4605 mov r5, r0 - 8001828: f001 f80e bl 8002848 + 8001828: f001 f818 bl 800285c 800182c: 4405 add r5, r0 - 800182e: f001 f805 bl 800283c + 800182e: f001 f80f bl 8002850 8001832: 0e2b lsrs r3, r5, #24 8001834: 71e3 strb r3, [r4, #7] 8001836: 0c2b lsrs r3, r5, #16 @@ -2277,11 +2277,11 @@ Disassembly of section .text: 800188a: 3301 adds r3, #1 800188c: 4605 mov r5, r0 800188e: d109 bne.n 80018a4 - 8001890: f000 ffce bl 8002830 + 8001890: f000 ffd8 bl 8002844 8001894: 4604 mov r4, r0 - 8001896: f000 ffd1 bl 800283c + 8001896: f000 ffdb bl 8002850 800189a: 4044 eors r4, r0 - 800189c: f000 ffd4 bl 8002848 + 800189c: f000 ffde bl 800285c 80018a0: 4044 eors r4, r0 80018a2: 602c str r4, [r5, #0] 80018a4: bd38 pop {r3, r4, r5, pc} @@ -2291,12 +2291,12 @@ Disassembly of section .text: 080018ac : 80018ac: 2101 movs r1, #1 80018ae: 2002 movs r0, #2 - 80018b0: f00d b8c6 b.w 800ea40 + 80018b0: f00d b8d0 b.w 800ea54 080018b4 : 80018b4: 2100 movs r1, #0 80018b6: 2002 movs r0, #2 - 80018b8: f00d b8c2 b.w 800ea40 + 80018b8: f00d b8cc b.w 800ea54 080018bc : 80018bc: 2000 movs r0, #0 @@ -2320,9 +2320,9 @@ Disassembly of section .text: 080018dc : 80018dc: b5f0 push {r4, r5, r6, r7, lr} 80018de: b089 sub sp, #36 ; 0x24 - 80018e0: f000 ffb8 bl 8002854 - 80018e4: f000 ffbe bl 8002864 - 80018e8: f000 ffc4 bl 8002874 + 80018e0: f000 ffc2 bl 8002868 + 80018e4: f000 ffc8 bl 8002878 + 80018e8: f000 ffce bl 8002888 80018ec: 2301 movs r3, #1 80018ee: 9304 str r3, [sp, #16] 80018f0: 2303 movs r3, #3 @@ -2351,19 +2351,19 @@ Disassembly of section .text: 800192a: 9b01 ldr r3, [sp, #4] 800192c: 9703 str r7, [sp, #12] 800192e: f44f 5600 mov.w r6, #8192 ; 0x2000 - 8001932: f001 ff3b bl 80037ac + 8001932: f001 ff45 bl 80037c0 8001936: a903 add r1, sp, #12 8001938: 4620 mov r0, r4 800193a: 9603 str r6, [sp, #12] - 800193c: f001 ff36 bl 80037ac + 800193c: f001 ff40 bl 80037c0 8001940: 462a mov r2, r5 8001942: 4639 mov r1, r7 8001944: 4620 mov r0, r4 - 8001946: f002 f851 bl 80039ec + 8001946: f002 f85b bl 8003a00 800194a: 462a mov r2, r5 800194c: 4631 mov r1, r6 800194e: 4620 mov r0, r4 - 8001950: f002 f84c bl 80039ec + 8001950: f002 f856 bl 8003a00 8001954: b009 add sp, #36 ; 0x24 8001956: bdf0 pop {r4, r5, r6, r7, pc} 8001958: 48000400 .word 0x48000400 @@ -2467,7 +2467,7 @@ Disassembly of section .text: 8001a1c: 65da str r2, [r3, #92] ; 0x5c 8001a1e: f44f 7180 mov.w r1, #256 ; 0x100 8001a22: 4620 mov r0, r4 - 8001a24: f002 fe14 bl 8004650 + 8001a24: f002 fe1e bl 8004664 8001a28: f04f 33ff mov.w r3, #4294967295 8001a2c: 6323 str r3, [r4, #48] ; 0x30 8001a2e: 2000 movs r0, #0 @@ -2480,7 +2480,7 @@ Disassembly of section .text: 8001a3c: 4602 mov r2, r0 8001a3e: 2100 movs r1, #0 8001a40: 4801 ldr r0, [pc, #4] ; (8001a48 ) - 8001a42: f003 b81e b.w 8004a82 + 8001a42: f003 b828 b.w 8004a96 8001a46: bf00 nop 8001a48: 2000018c .word 0x2000018c @@ -2488,7 +2488,7 @@ Disassembly of section .text: 8001a4c: 4602 mov r2, r0 8001a4e: 2101 movs r1, #1 8001a50: 4801 ldr r0, [pc, #4] ; (8001a58 ) - 8001a52: f003 b816 b.w 8004a82 + 8001a52: f003 b820 b.w 8004a96 8001a56: bf00 nop 8001a58: 2000018c .word 0x2000018c @@ -2499,7 +2499,7 @@ Disassembly of section .text: 8001a62: 2100 movs r1, #0 8001a64: 4604 mov r4, r0 8001a66: a801 add r0, sp, #4 - 8001a68: f00d fc5e bl 800f328 + 8001a68: f00d fc68 bl 800f33c 8001a6c: f7ff ffd2 bl 8001a14 8001a70: 4b0c ldr r3, [pc, #48] ; (8001aa4 ) 8001a72: 480d ldr r0, [pc, #52] ; (8001aa8 ) @@ -2516,7 +2516,7 @@ Disassembly of section .text: 8001a8c: a901 add r1, sp, #4 8001a8e: 9402 str r4, [sp, #8] 8001a90: 930b str r3, [sp, #44] ; 0x2c - 8001a92: f002 fef3 bl 800487c + 8001a92: f002 fefd bl 8004890 8001a96: b108 cbz r0, 8001a9c 8001a98: f7ff fd42 bl 8001520 8001a9c: 2000 movs r0, #0 @@ -2533,7 +2533,7 @@ Disassembly of section .text: 8001ab4: 2102 movs r1, #2 8001ab6: 4604 mov r4, r0 8001ab8: 4807 ldr r0, [pc, #28] ; (8001ad8 ) - 8001aba: f002 ffe9 bl 8004a90 + 8001aba: f002 fff3 bl 8004aa4 8001abe: f3c4 0209 ubfx r2, r4, #0, #10 8001ac2: f44f 717a mov.w r1, #1000 ; 0x3e8 8001ac6: fba2 2101 umull r2, r1, r2, r1 @@ -2548,13 +2548,13 @@ Disassembly of section .text: 08001adc : 8001adc: 4801 ldr r0, [pc, #4] ; (8001ae4 ) 8001ade: 2100 movs r1, #0 - 8001ae0: f002 bfd6 b.w 8004a90 + 8001ae0: f002 bfe0 b.w 8004aa4 8001ae4: 2000018c .word 0x2000018c 08001ae8 : 8001ae8: 4801 ldr r0, [pc, #4] ; (8001af0 ) 8001aea: 2101 movs r1, #1 - 8001aec: f002 bfd0 b.w 8004a90 + 8001aec: f002 bfda b.w 8004aa4 8001af0: 2000018c .word 0x2000018c 08001af4 : @@ -2569,14 +2569,14 @@ Disassembly of section .text: 8001b08: f7ff ff84 bl 8001a14 8001b0c: f44f 7180 mov.w r1, #256 ; 0x100 8001b10: 4620 mov r0, r4 - 8001b12: f002 fd9d bl 8004650 + 8001b12: f002 fda7 bl 8004664 8001b16: 4620 mov r0, r4 8001b18: 6327 str r7, [r4, #48] ; 0x30 - 8001b1a: f002 ff5d bl 80049d8 + 8001b1a: f002 ff67 bl 80049ec 8001b1e: 4632 mov r2, r6 8001b20: 4620 mov r0, r4 8001b22: 2102 movs r1, #2 - 8001b24: f002 ffad bl 8004a82 + 8001b24: f002 ffb7 bl 8004a96 8001b28: f7ff ff5a bl 80019e0 8001b2c: 2301 movs r3, #1 8001b2e: 702b strb r3, [r5, #0] @@ -2605,7 +2605,7 @@ Disassembly of section .text: 8001b64: e7f7 b.n 8001b56 08001b66 : - 8001b66: f00d ba7d b.w 800f064 + 8001b66: f00d ba87 b.w 800f078 ... 08001b6c : @@ -2613,12 +2613,12 @@ Disassembly of section .text: 8001b6e: 4c06 ldr r4, [pc, #24] ; (8001b88 ) 8001b70: 2102 movs r1, #2 8001b72: 4620 mov r0, r4 - 8001b74: f002 ff8c bl 8004a90 + 8001b74: f002 ff96 bl 8004aa4 8001b78: 2102 movs r1, #2 8001b7a: 1c42 adds r2, r0, #1 8001b7c: 4620 mov r0, r4 8001b7e: e8bd 4010 ldmia.w sp!, {r4, lr} - 8001b82: f002 bf7e b.w 8004a82 + 8001b82: f002 bf88 b.w 8004a96 8001b86: bf00 nop 8001b88: 2000018c .word 0x2000018c @@ -2635,21 +2635,21 @@ Disassembly of section .text: 8001ba6: e9c0 3307 strd r3, r3, [r0, #28] 8001baa: e9c0 3309 strd r3, r3, [r0, #36] ; 0x24 8001bae: 6103 str r3, [r0, #16] - 8001bb0: f004 f8fb bl 8005daa + 8001bb0: f004 f905 bl 8005dbe 8001bb4: b108 cbz r0, 8001bba 8001bb6: f7ff fcb3 bl 8001520 8001bba: 480b ldr r0, [pc, #44] ; (8001be8 ) 8001bbc: 2100 movs r1, #0 - 8001bbe: f004 fa70 bl 80060a2 + 8001bbe: f004 fa7a bl 80060b6 8001bc2: b108 cbz r0, 8001bc8 8001bc4: f7ff fcac bl 8001520 8001bc8: 4807 ldr r0, [pc, #28] ; (8001be8 ) 8001bca: 2100 movs r1, #0 - 8001bcc: f004 fa89 bl 80060e2 + 8001bcc: f004 fa93 bl 80060f6 8001bd0: b108 cbz r0, 8001bd6 8001bd2: f7ff fca5 bl 8001520 8001bd6: 4804 ldr r0, [pc, #16] ; (8001be8 ) - 8001bd8: f004 fa43 bl 8006062 + 8001bd8: f004 fa4d bl 8006076 8001bdc: b118 cbz r0, 8001be6 8001bde: e8bd 4008 ldmia.w sp!, {r3, lr} 8001be2: f7ff bc9d b.w 8001520 @@ -2664,21831 +2664,21838 @@ Disassembly of section .text: 8001bf6: 2214 movs r2, #20 8001bf8: 2100 movs r1, #0 8001bfa: a803 add r0, sp, #12 - 8001bfc: f00d fb94 bl 800f328 + 8001bfc: f00d fb9e bl 800f33c 8001c00: 2238 movs r2, #56 ; 0x38 8001c02: 2100 movs r1, #0 8001c04: a808 add r0, sp, #32 - 8001c06: f00d fb8f bl 800f328 + 8001c06: f00d fb99 bl 800f33c 8001c0a: 6832 ldr r2, [r6, #0] - 8001c0c: 4b27 ldr r3, [pc, #156] ; (8001cac ) + 8001c0c: 4b2c ldr r3, [pc, #176] ; (8001cc0 ) 8001c0e: 429a cmp r2, r3 - 8001c10: d14a bne.n 8001ca8 + 8001c10: d154 bne.n 8001cbc 8001c12: 2302 movs r3, #2 8001c14: 9308 str r3, [sp, #32] 8001c16: a808 add r0, sp, #32 - 8001c18: 4b25 ldr r3, [pc, #148] ; (8001cb0 ) + 8001c18: 4b2a ldr r3, [pc, #168] ; (8001cc4 ) 8001c1a: 930a str r3, [sp, #40] ; 0x28 - 8001c1c: f002 fc48 bl 80044b0 + 8001c1c: f002 fc52 bl 80044c4 8001c20: b108 cbz r0, 8001c26 8001c22: f7ff fc7d bl 8001520 8001c26: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 8001c2a: 2500 movs r5, #0 8001c2c: 6d9a ldr r2, [r3, #88] ; 0x58 - 8001c2e: 4c21 ldr r4, [pc, #132] ; (8001cb4 ) - 8001c30: f442 3200 orr.w r2, r2, #131072 ; 0x20000 - 8001c34: 659a str r2, [r3, #88] ; 0x58 - 8001c36: 6d9a ldr r2, [r3, #88] ; 0x58 - 8001c38: f402 3200 and.w r2, r2, #131072 ; 0x20000 - 8001c3c: 9202 str r2, [sp, #8] - 8001c3e: 9a02 ldr r2, [sp, #8] - 8001c40: 6cda ldr r2, [r3, #76] ; 0x4c - 8001c42: f042 0201 orr.w r2, r2, #1 - 8001c46: 64da str r2, [r3, #76] ; 0x4c - 8001c48: 6cdb ldr r3, [r3, #76] ; 0x4c - 8001c4a: f003 0301 and.w r3, r3, #1 - 8001c4e: 9301 str r3, [sp, #4] + 8001c2e: f442 3200 orr.w r2, r2, #131072 ; 0x20000 + 8001c32: 659a str r2, [r3, #88] ; 0x58 + 8001c34: 6d9a ldr r2, [r3, #88] ; 0x58 + 8001c36: f402 3200 and.w r2, r2, #131072 ; 0x20000 + 8001c3a: 9202 str r2, [sp, #8] + 8001c3c: 9a02 ldr r2, [sp, #8] + 8001c3e: 6cda ldr r2, [r3, #76] ; 0x4c + 8001c40: f042 0201 orr.w r2, r2, #1 + 8001c44: 64da str r2, [r3, #76] ; 0x4c + 8001c46: 6cdb ldr r3, [r3, #76] ; 0x4c + 8001c48: f003 0301 and.w r3, r3, #1 + 8001c4c: 9301 str r3, [sp, #4] + 8001c4e: 2204 movs r2, #4 8001c50: 9b01 ldr r3, [sp, #4] - 8001c52: 220c movs r2, #12 - 8001c54: 2302 movs r3, #2 - 8001c56: e9cd 2303 strd r2, r3, [sp, #12] - 8001c5a: 2303 movs r3, #3 - 8001c5c: e9cd 5305 strd r5, r3, [sp, #20] - 8001c60: a903 add r1, sp, #12 - 8001c62: 2307 movs r3, #7 - 8001c64: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 - 8001c68: 9307 str r3, [sp, #28] - 8001c6a: f001 fd9f bl 80037ac - 8001c6e: 4912 ldr r1, [pc, #72] ; (8001cb8 ) - 8001c70: 6225 str r5, [r4, #32] - 8001c72: 2314 movs r3, #20 - 8001c74: e9c4 1300 strd r1, r3, [r4] - 8001c78: 2310 movs r3, #16 - 8001c7a: e9c4 3502 strd r3, r5, [r4, #8] - 8001c7e: 4620 mov r0, r4 - 8001c80: 2380 movs r3, #128 ; 0x80 - 8001c82: e9c4 3504 strd r3, r5, [r4, #16] - 8001c86: e9c4 5506 strd r5, r5, [r4, #24] - 8001c8a: f001 fac7 bl 800321c - 8001c8e: b108 cbz r0, 8001c94 - 8001c90: f7ff fc46 bl 8001520 - 8001c94: 2025 movs r0, #37 ; 0x25 - 8001c96: 67f4 str r4, [r6, #124] ; 0x7c - 8001c98: 2200 movs r2, #0 - 8001c9a: 2102 movs r1, #2 - 8001c9c: 62a6 str r6, [r4, #40] ; 0x28 - 8001c9e: f001 fa2b bl 80030f8 - 8001ca2: 2025 movs r0, #37 ; 0x25 - 8001ca4: f001 fa5a bl 800315c - 8001ca8: b016 add sp, #88 ; 0x58 - 8001caa: bd70 pop {r4, r5, r6, pc} - 8001cac: 40004400 .word 0x40004400 - 8001cb0: 000c0004 .word 0x000c0004 - 8001cb4: 200001d8 .word 0x200001d8 - 8001cb8: 40020058 .word 0x40020058 + 8001c52: 2302 movs r3, #2 + 8001c54: e9cd 2303 strd r2, r3, [sp, #12] + 8001c58: 2403 movs r4, #3 + 8001c5a: 2307 movs r3, #7 + 8001c5c: a903 add r1, sp, #12 + 8001c5e: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 + 8001c62: e9cd 5405 strd r5, r4, [sp, #20] + 8001c66: 9307 str r3, [sp, #28] + 8001c68: f001 fdaa bl 80037c0 + 8001c6c: 2308 movs r3, #8 + 8001c6e: a903 add r1, sp, #12 + 8001c70: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 + 8001c74: e9cd 3403 strd r3, r4, [sp, #12] + 8001c78: e9cd 5505 strd r5, r5, [sp, #20] + 8001c7c: 4c12 ldr r4, [pc, #72] ; (8001cc8 ) + 8001c7e: f001 fd9f bl 80037c0 + 8001c82: 4912 ldr r1, [pc, #72] ; (8001ccc ) + 8001c84: 6225 str r5, [r4, #32] + 8001c86: 2314 movs r3, #20 + 8001c88: e9c4 1300 strd r1, r3, [r4] + 8001c8c: 2310 movs r3, #16 + 8001c8e: e9c4 3502 strd r3, r5, [r4, #8] + 8001c92: 4620 mov r0, r4 + 8001c94: 2380 movs r3, #128 ; 0x80 + 8001c96: e9c4 3504 strd r3, r5, [r4, #16] + 8001c9a: e9c4 5506 strd r5, r5, [r4, #24] + 8001c9e: f001 fac7 bl 8003230 + 8001ca2: b108 cbz r0, 8001ca8 + 8001ca4: f7ff fc3c bl 8001520 + 8001ca8: 2025 movs r0, #37 ; 0x25 + 8001caa: 67f4 str r4, [r6, #124] ; 0x7c + 8001cac: 2200 movs r2, #0 + 8001cae: 2102 movs r1, #2 + 8001cb0: 62a6 str r6, [r4, #40] ; 0x28 + 8001cb2: f001 fa2b bl 800310c + 8001cb6: 2025 movs r0, #37 ; 0x25 + 8001cb8: f001 fa5a bl 8003170 + 8001cbc: b016 add sp, #88 ; 0x58 + 8001cbe: bd70 pop {r4, r5, r6, pc} + 8001cc0: 40004400 .word 0x40004400 + 8001cc4: 000c0004 .word 0x000c0004 + 8001cc8: 200001d8 .word 0x200001d8 + 8001ccc: 40020058 .word 0x40020058 -08001cbc : - 8001cbc: 6802 ldr r2, [r0, #0] - 8001cbe: 4b0c ldr r3, [pc, #48] ; (8001cf0 ) - 8001cc0: 429a cmp r2, r3 - 8001cc2: b510 push {r4, lr} - 8001cc4: 4604 mov r4, r0 - 8001cc6: d112 bne.n 8001cee - 8001cc8: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8001ccc: 210c movs r1, #12 - 8001cce: 6d93 ldr r3, [r2, #88] ; 0x58 - 8001cd0: f423 3300 bic.w r3, r3, #131072 ; 0x20000 - 8001cd4: 6593 str r3, [r2, #88] ; 0x58 - 8001cd6: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 - 8001cda: f001 fe13 bl 8003904 - 8001cde: 6fe0 ldr r0, [r4, #124] ; 0x7c - 8001ce0: f001 fb10 bl 8003304 - 8001ce4: e8bd 4010 ldmia.w sp!, {r4, lr} - 8001ce8: 2025 movs r0, #37 ; 0x25 - 8001cea: f001 ba45 b.w 8003178 - 8001cee: bd10 pop {r4, pc} - 8001cf0: 40004400 .word 0x40004400 +08001cd0 : + 8001cd0: 6802 ldr r2, [r0, #0] + 8001cd2: 4b0c ldr r3, [pc, #48] ; (8001d04 ) + 8001cd4: 429a cmp r2, r3 + 8001cd6: b510 push {r4, lr} + 8001cd8: 4604 mov r4, r0 + 8001cda: d112 bne.n 8001d02 + 8001cdc: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8001ce0: 210c movs r1, #12 + 8001ce2: 6d93 ldr r3, [r2, #88] ; 0x58 + 8001ce4: f423 3300 bic.w r3, r3, #131072 ; 0x20000 + 8001ce8: 6593 str r3, [r2, #88] ; 0x58 + 8001cea: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 + 8001cee: f001 fe13 bl 8003918 + 8001cf2: 6fe0 ldr r0, [r4, #124] ; 0x7c + 8001cf4: f001 fb10 bl 8003318 + 8001cf8: e8bd 4010 ldmia.w sp!, {r4, lr} + 8001cfc: 2025 movs r0, #37 ; 0x25 + 8001cfe: f001 ba45 b.w 800318c + 8001d02: bd10 pop {r4, pc} + 8001d04: 40004400 .word 0x40004400 -08001cf4 : - 8001cf4: b508 push {r3, lr} - 8001cf6: 460a mov r2, r1 - 8001cf8: 4601 mov r1, r0 - 8001cfa: 4802 ldr r0, [pc, #8] ; (8001d04 ) - 8001cfc: f003 f9d8 bl 80050b0 - 8001d00: 2000 movs r0, #0 - 8001d02: bd08 pop {r3, pc} - 8001d04: 20000238 .word 0x20000238 +08001d08 : + 8001d08: b508 push {r3, lr} + 8001d0a: 460a mov r2, r1 + 8001d0c: 4601 mov r1, r0 + 8001d0e: 4802 ldr r0, [pc, #8] ; (8001d18 ) + 8001d10: f003 f9d8 bl 80050c4 + 8001d14: 2000 movs r0, #0 + 8001d16: bd08 pop {r3, pc} + 8001d18: 20000238 .word 0x20000238 -08001d08 : - 8001d08: b513 push {r0, r1, r4, lr} - 8001d0a: 4b11 ldr r3, [pc, #68] ; (8001d50 ) - 8001d0c: 4c11 ldr r4, [pc, #68] ; (8001d54 ) - 8001d0e: 6018 str r0, [r3, #0] - 8001d10: f44f 1300 mov.w r3, #2097152 ; 0x200000 - 8001d14: 9300 str r3, [sp, #0] - 8001d16: ab02 add r3, sp, #8 - 8001d18: e913 0006 ldmdb r3, {r1, r2} - 8001d1c: 4620 mov r0, r4 - 8001d1e: f004 f944 bl 8005faa - 8001d22: 6823 ldr r3, [r4, #0] - 8001d24: 69da ldr r2, [r3, #28] - 8001d26: 03d1 lsls r1, r2, #15 - 8001d28: d4fc bmi.n 8001d24 - 8001d2a: 69da ldr r2, [r3, #28] - 8001d2c: 0252 lsls r2, r2, #9 - 8001d2e: d5fc bpl.n 8001d2a - 8001d30: 689a ldr r2, [r3, #8] - 8001d32: 4808 ldr r0, [pc, #32] ; (8001d54 ) - 8001d34: f442 0280 orr.w r2, r2, #4194304 ; 0x400000 - 8001d38: 609a str r2, [r3, #8] - 8001d3a: f004 f97c bl 8006036 - 8001d3e: 4906 ldr r1, [pc, #24] ; (8001d58 ) - 8001d40: 4804 ldr r0, [pc, #16] ; (8001d54 ) - 8001d42: 2201 movs r2, #1 - 8001d44: f004 f8ea bl 8005f1c - 8001d48: 2000 movs r0, #0 - 8001d4a: b002 add sp, #8 - 8001d4c: bd10 pop {r4, pc} - 8001d4e: bf00 nop - 8001d50: 200002cc .word 0x200002cc - 8001d54: 20000238 .word 0x20000238 - 8001d58: 200002d4 .word 0x200002d4 +08001d1c : + 8001d1c: b513 push {r0, r1, r4, lr} + 8001d1e: 4b11 ldr r3, [pc, #68] ; (8001d64 ) + 8001d20: 4c11 ldr r4, [pc, #68] ; (8001d68 ) + 8001d22: 6018 str r0, [r3, #0] + 8001d24: f44f 1300 mov.w r3, #2097152 ; 0x200000 + 8001d28: 9300 str r3, [sp, #0] + 8001d2a: ab02 add r3, sp, #8 + 8001d2c: e913 0006 ldmdb r3, {r1, r2} + 8001d30: 4620 mov r0, r4 + 8001d32: f004 f944 bl 8005fbe + 8001d36: 6823 ldr r3, [r4, #0] + 8001d38: 69da ldr r2, [r3, #28] + 8001d3a: 03d1 lsls r1, r2, #15 + 8001d3c: d4fc bmi.n 8001d38 + 8001d3e: 69da ldr r2, [r3, #28] + 8001d40: 0252 lsls r2, r2, #9 + 8001d42: d5fc bpl.n 8001d3e + 8001d44: 689a ldr r2, [r3, #8] + 8001d46: 4808 ldr r0, [pc, #32] ; (8001d68 ) + 8001d48: f442 0280 orr.w r2, r2, #4194304 ; 0x400000 + 8001d4c: 609a str r2, [r3, #8] + 8001d4e: f004 f97c bl 800604a + 8001d52: 4906 ldr r1, [pc, #24] ; (8001d6c ) + 8001d54: 4804 ldr r0, [pc, #16] ; (8001d68 ) + 8001d56: 2201 movs r2, #1 + 8001d58: f004 f8ea bl 8005f30 + 8001d5c: 2000 movs r0, #0 + 8001d5e: b002 add sp, #8 + 8001d60: bd10 pop {r4, pc} + 8001d62: bf00 nop + 8001d64: 200002cc .word 0x200002cc + 8001d68: 20000238 .word 0x20000238 + 8001d6c: 200002d4 .word 0x200002d4 -08001d5c : - 8001d5c: b508 push {r3, lr} - 8001d5e: 4b07 ldr r3, [pc, #28] ; (8001d7c ) - 8001d60: 6018 str r0, [r3, #0] - 8001d62: f7ff f981 bl 8001068 - 8001d66: f7ff ff11 bl 8001b8c - 8001d6a: 4a05 ldr r2, [pc, #20] ; (8001d80 ) - 8001d6c: f8d2 3080 ldr.w r3, [r2, #128] ; 0x80 - 8001d70: f043 6300 orr.w r3, r3, #134217728 ; 0x8000000 - 8001d74: f8c2 3080 str.w r3, [r2, #128] ; 0x80 - 8001d78: 2000 movs r0, #0 - 8001d7a: bd08 pop {r3, pc} - 8001d7c: 200002d0 .word 0x200002d0 - 8001d80: 58000800 .word 0x58000800 +08001d70 : + 8001d70: b508 push {r3, lr} + 8001d72: 4b07 ldr r3, [pc, #28] ; (8001d90 ) + 8001d74: 6018 str r0, [r3, #0] + 8001d76: f7ff f977 bl 8001068 + 8001d7a: f7ff ff07 bl 8001b8c + 8001d7e: 4a05 ldr r2, [pc, #20] ; (8001d94 ) + 8001d80: f8d2 3080 ldr.w r3, [r2, #128] ; 0x80 + 8001d84: f043 6300 orr.w r3, r3, #134217728 ; 0x8000000 + 8001d88: f8c2 3080 str.w r3, [r2, #128] ; 0x80 + 8001d8c: 2000 movs r0, #0 + 8001d8e: bd08 pop {r3, pc} + 8001d90: 200002d0 .word 0x200002d0 + 8001d94: 58000800 .word 0x58000800 -08001d84 : - 8001d84: b508 push {r3, lr} - 8001d86: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8001d8a: 4808 ldr r0, [pc, #32] ; (8001dac ) - 8001d8c: 6b9a ldr r2, [r3, #56] ; 0x38 - 8001d8e: f442 3200 orr.w r2, r2, #131072 ; 0x20000 - 8001d92: 639a str r2, [r3, #56] ; 0x38 - 8001d94: 6b9a ldr r2, [r3, #56] ; 0x38 - 8001d96: f422 3200 bic.w r2, r2, #131072 ; 0x20000 - 8001d9a: 639a str r2, [r3, #56] ; 0x38 - 8001d9c: f7ff ff8e bl 8001cbc - 8001da0: 200f movs r0, #15 - 8001da2: f001 f9e9 bl 8003178 - 8001da6: 2000 movs r0, #0 - 8001da8: bd08 pop {r3, pc} - 8001daa: bf00 nop - 8001dac: 20000238 .word 0x20000238 +08001d98 : + 8001d98: b508 push {r3, lr} + 8001d9a: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8001d9e: 4808 ldr r0, [pc, #32] ; (8001dc0 ) + 8001da0: 6b9a ldr r2, [r3, #56] ; 0x38 + 8001da2: f442 3200 orr.w r2, r2, #131072 ; 0x20000 + 8001da6: 639a str r2, [r3, #56] ; 0x38 + 8001da8: 6b9a ldr r2, [r3, #56] ; 0x38 + 8001daa: f422 3200 bic.w r2, r2, #131072 ; 0x20000 + 8001dae: 639a str r2, [r3, #56] ; 0x38 + 8001db0: f7ff ff8e bl 8001cd0 + 8001db4: 200f movs r0, #15 + 8001db6: f001 f9e9 bl 800318c + 8001dba: 2000 movs r0, #0 + 8001dbc: bd08 pop {r3, pc} + 8001dbe: bf00 nop + 8001dc0: 20000238 .word 0x20000238 -08001db0 : - 8001db0: b508 push {r3, lr} - 8001db2: 4807 ldr r0, [pc, #28] ; (8001dd0 ) - 8001db4: f003 fff9 bl 8005daa - 8001db8: b108 cbz r0, 8001dbe - 8001dba: f7ff fbb1 bl 8001520 - 8001dbe: 4805 ldr r0, [pc, #20] ; (8001dd4 ) - 8001dc0: f001 fa2c bl 800321c - 8001dc4: b118 cbz r0, 8001dce - 8001dc6: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001dca: f7ff bba9 b.w 8001520 - 8001dce: bd08 pop {r3, pc} - 8001dd0: 20000238 .word 0x20000238 - 8001dd4: 200001d8 .word 0x200001d8 +08001dc4 : + 8001dc4: b508 push {r3, lr} + 8001dc6: 4807 ldr r0, [pc, #28] ; (8001de4 ) + 8001dc8: f003 fff9 bl 8005dbe + 8001dcc: b108 cbz r0, 8001dd2 + 8001dce: f7ff fba7 bl 8001520 + 8001dd2: 4805 ldr r0, [pc, #20] ; (8001de8 ) + 8001dd4: f001 fa2c bl 8003230 + 8001dd8: b118 cbz r0, 8001de2 + 8001dda: e8bd 4008 ldmia.w sp!, {r3, lr} + 8001dde: f7ff bb9f b.w 8001520 + 8001de2: bd08 pop {r3, pc} + 8001de4: 20000238 .word 0x20000238 + 8001de8: 200001d8 .word 0x200001d8 -08001dd8 : - 8001dd8: 6802 ldr r2, [r0, #0] - 8001dda: 4b04 ldr r3, [pc, #16] ; (8001dec ) - 8001ddc: 429a cmp r2, r3 - 8001dde: d103 bne.n 8001de8 - 8001de0: 4b03 ldr r3, [pc, #12] ; (8001df0 ) - 8001de2: 2000 movs r0, #0 - 8001de4: 681b ldr r3, [r3, #0] - 8001de6: 4718 bx r3 - 8001de8: 4770 bx lr - 8001dea: bf00 nop - 8001dec: 40004400 .word 0x40004400 - 8001df0: 200002d0 .word 0x200002d0 +08001dec : + 8001dec: 6802 ldr r2, [r0, #0] + 8001dee: 4b04 ldr r3, [pc, #16] ; (8001e00 ) + 8001df0: 429a cmp r2, r3 + 8001df2: d103 bne.n 8001dfc + 8001df4: 4b03 ldr r3, [pc, #12] ; (8001e04 ) + 8001df6: 2000 movs r0, #0 + 8001df8: 681b ldr r3, [r3, #0] + 8001dfa: 4718 bx r3 + 8001dfc: 4770 bx lr + 8001dfe: bf00 nop + 8001e00: 40004400 .word 0x40004400 + 8001e04: 200002d0 .word 0x200002d0 -08001df4 : - 8001df4: 6802 ldr r2, [r0, #0] - 8001df6: 4b0b ldr r3, [pc, #44] ; (8001e24 ) - 8001df8: 429a cmp r2, r3 - 8001dfa: b510 push {r4, lr} - 8001dfc: 4604 mov r4, r0 - 8001dfe: d10f bne.n 8001e20 - 8001e00: 4b09 ldr r3, [pc, #36] ; (8001e28 ) - 8001e02: 681b ldr r3, [r3, #0] - 8001e04: b12b cbz r3, 8001e12 - 8001e06: f8d0 2090 ldr.w r2, [r0, #144] ; 0x90 - 8001e0a: b912 cbnz r2, 8001e12 - 8001e0c: 4807 ldr r0, [pc, #28] ; (8001e2c ) - 8001e0e: 2101 movs r1, #1 - 8001e10: 4798 blx r3 - 8001e12: 4620 mov r0, r4 - 8001e14: 4905 ldr r1, [pc, #20] ; (8001e2c ) - 8001e16: e8bd 4010 ldmia.w sp!, {r4, lr} - 8001e1a: 2201 movs r2, #1 - 8001e1c: f004 b87e b.w 8005f1c - 8001e20: bd10 pop {r4, pc} - 8001e22: bf00 nop - 8001e24: 40004400 .word 0x40004400 - 8001e28: 200002cc .word 0x200002cc - 8001e2c: 200002d4 .word 0x200002d4 +08001e08 : + 8001e08: 6802 ldr r2, [r0, #0] + 8001e0a: 4b0b ldr r3, [pc, #44] ; (8001e38 ) + 8001e0c: 429a cmp r2, r3 + 8001e0e: b510 push {r4, lr} + 8001e10: 4604 mov r4, r0 + 8001e12: d10f bne.n 8001e34 + 8001e14: 4b09 ldr r3, [pc, #36] ; (8001e3c ) + 8001e16: 681b ldr r3, [r3, #0] + 8001e18: b12b cbz r3, 8001e26 + 8001e1a: f8d0 2090 ldr.w r2, [r0, #144] ; 0x90 + 8001e1e: b912 cbnz r2, 8001e26 + 8001e20: 4807 ldr r0, [pc, #28] ; (8001e40 ) + 8001e22: 2101 movs r1, #1 + 8001e24: 4798 blx r3 + 8001e26: 4620 mov r0, r4 + 8001e28: 4905 ldr r1, [pc, #20] ; (8001e40 ) + 8001e2a: e8bd 4010 ldmia.w sp!, {r4, lr} + 8001e2e: 2201 movs r2, #1 + 8001e30: f004 b87e b.w 8005f30 + 8001e34: bd10 pop {r4, pc} + 8001e36: bf00 nop + 8001e38: 40004400 .word 0x40004400 + 8001e3c: 200002cc .word 0x200002cc + 8001e40: 200002d4 .word 0x200002d4 -08001e30 : - 8001e30: b508 push {r3, lr} - 8001e32: f7ff fc9d bl 8001770 - 8001e36: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001e3a: f000 bb4f b.w 80024dc +08001e44 : + 8001e44: b508 push {r3, lr} + 8001e46: f7ff fc93 bl 8001770 + 8001e4a: e8bd 4008 ldmia.w sp!, {r3, lr} + 8001e4e: f000 bb4f b.w 80024f0 -08001e3e : - 8001e3e: f04f 30ff mov.w r0, #4294967295 - 8001e42: f00c be8d b.w 800eb60 +08001e52 : + 8001e52: f04f 30ff mov.w r0, #4294967295 + 8001e56: f00c be8d b.w 800eb74 -08001e46 : - 8001e46: 4770 bx lr +08001e5a : + 8001e5a: 4770 bx lr -08001e48 : - 8001e48: 4b01 ldr r3, [pc, #4] ; (8001e50 ) - 8001e4a: 70d8 strb r0, [r3, #3] - 8001e4c: 4770 bx lr - 8001e4e: bf00 nop - 8001e50: 20000058 .word 0x20000058 +08001e5c : + 8001e5c: 4b01 ldr r3, [pc, #4] ; (8001e64 ) + 8001e5e: 70d8 strb r0, [r3, #3] + 8001e60: 4770 bx lr + 8001e62: bf00 nop + 8001e64: 20000058 .word 0x20000058 -08001e54 : - 8001e54: 4b01 ldr r3, [pc, #4] ; (8001e5c ) - 8001e56: 7418 strb r0, [r3, #16] - 8001e58: 4770 bx lr - 8001e5a: bf00 nop - 8001e5c: 20000058 .word 0x20000058 +08001e68 : + 8001e68: 4b01 ldr r3, [pc, #4] ; (8001e70 ) + 8001e6a: 7418 strb r0, [r3, #16] + 8001e6c: 4770 bx lr + 8001e6e: bf00 nop + 8001e70: 20000058 .word 0x20000058 -08001e60 : - 8001e60: b507 push {r0, r1, r2, lr} - 8001e62: 4b06 ldr r3, [pc, #24] ; (8001e7c ) - 8001e64: 2200 movs r2, #0 - 8001e66: 5c1b ldrb r3, [r3, r0] - 8001e68: 9300 str r3, [sp, #0] - 8001e6a: 4611 mov r1, r2 - 8001e6c: 4b04 ldr r3, [pc, #16] ; (8001e80 ) - 8001e6e: 2002 movs r0, #2 - 8001e70: f00c fd2a bl 800e8c8 - 8001e74: b003 add sp, #12 - 8001e76: f85d fb04 ldr.w pc, [sp], #4 - 8001e7a: bf00 nop - 8001e7c: 0800f59a .word 0x0800f59a - 8001e80: 0800f580 .word 0x0800f580 +08001e74 : + 8001e74: b507 push {r0, r1, r2, lr} + 8001e76: 4b06 ldr r3, [pc, #24] ; (8001e90 ) + 8001e78: 2200 movs r2, #0 + 8001e7a: 5c1b ldrb r3, [r3, r0] + 8001e7c: 9300 str r3, [sp, #0] + 8001e7e: 4611 mov r1, r2 + 8001e80: 4b04 ldr r3, [pc, #16] ; (8001e94 ) + 8001e82: 2002 movs r0, #2 + 8001e84: f00c fd2a bl 800e8dc + 8001e88: b003 add sp, #12 + 8001e8a: f85d fb04 ldr.w pc, [sp], #4 + 8001e8e: bf00 nop + 8001e90: 0800f5b2 .word 0x0800f5b2 + 8001e94: 0800f598 .word 0x0800f598 -08001e84 : - 8001e84: b508 push {r3, lr} - 8001e86: 2002 movs r0, #2 - 8001e88: 2100 movs r1, #0 - 8001e8a: f00c fe31 bl 800eaf0 - 8001e8e: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001e92: 4801 ldr r0, [pc, #4] ; (8001e98 ) - 8001e94: f00d b894 b.w 800efc0 - 8001e98: 20000428 .word 0x20000428 - -08001e9c : +08001e98 : + 8001e98: b508 push {r3, lr} + 8001e9a: 2002 movs r0, #2 8001e9c: 2100 movs r1, #0 - 8001e9e: 2001 movs r0, #1 - 8001ea0: f00c be26 b.w 800eaf0 + 8001e9e: f00c fe31 bl 800eb04 + 8001ea2: e8bd 4008 ldmia.w sp!, {r3, lr} + 8001ea6: 4801 ldr r0, [pc, #4] ; (8001eac ) + 8001ea8: f00d b894 b.w 800efd4 + 8001eac: 20000428 .word 0x20000428 -08001ea4 : - 8001ea4: b510 push {r4, lr} - 8001ea6: 4c09 ldr r4, [pc, #36] ; (8001ecc ) - 8001ea8: b160 cbz r0, 8001ec4 - 8001eaa: 6020 str r0, [r4, #0] - 8001eac: 4808 ldr r0, [pc, #32] ; (8001ed0 ) - 8001eae: f00d f839 bl 800ef24 - 8001eb2: 6821 ldr r1, [r4, #0] - 8001eb4: 4806 ldr r0, [pc, #24] ; (8001ed0 ) - 8001eb6: f00d f8bd bl 800f034 - 8001eba: e8bd 4010 ldmia.w sp!, {r4, lr} - 8001ebe: 4804 ldr r0, [pc, #16] ; (8001ed0 ) - 8001ec0: f00d b87e b.w 800efc0 - 8001ec4: f247 5330 movw r3, #30000 ; 0x7530 - 8001ec8: 6023 str r3, [r4, #0] - 8001eca: e7ef b.n 8001eac - 8001ecc: 20000070 .word 0x20000070 - 8001ed0: 20000428 .word 0x20000428 +08001eb0 : + 8001eb0: 2100 movs r1, #0 + 8001eb2: 2001 movs r0, #1 + 8001eb4: f00c be26 b.w 800eb04 -08001ed4 : - 8001ed4: b537 push {r0, r1, r2, r4, r5, lr} - 8001ed6: 4604 mov r4, r0 - 8001ed8: b338 cbz r0, 8001f2a - 8001eda: f990 5006 ldrsb.w r5, [r0, #6] - 8001ede: bb35 cbnz r5, 8001f2e - 8001ee0: 4814 ldr r0, [pc, #80] ; (8001f34 ) - 8001ee2: f00d f81f bl 800ef24 - 8001ee6: 4814 ldr r0, [pc, #80] ; (8001f38 ) - 8001ee8: 462a mov r2, r5 - 8001eea: f44f 6100 mov.w r1, #2048 ; 0x800 - 8001eee: f001 fd7d bl 80039ec - 8001ef2: 4b12 ldr r3, [pc, #72] ; (8001f3c ) - 8001ef4: 462a mov r2, r5 - 8001ef6: 4629 mov r1, r5 - 8001ef8: 2002 movs r0, #2 - 8001efa: f00c fce5 bl 800e8c8 - 8001efe: 79e3 ldrb r3, [r4, #7] - 8001f00: 2b01 cmp r3, #1 - 8001f02: bf0c ite eq - 8001f04: 4b0e ldreq r3, [pc, #56] ; (8001f40 ) - 8001f06: 4b0f ldrne r3, [pc, #60] ; (8001f44 ) - 8001f08: 2200 movs r2, #0 - 8001f0a: 4611 mov r1, r2 +08001eb8 : + 8001eb8: b510 push {r4, lr} + 8001eba: 4c09 ldr r4, [pc, #36] ; (8001ee0 ) + 8001ebc: b160 cbz r0, 8001ed8 + 8001ebe: 6020 str r0, [r4, #0] + 8001ec0: 4808 ldr r0, [pc, #32] ; (8001ee4 ) + 8001ec2: f00d f839 bl 800ef38 + 8001ec6: 6821 ldr r1, [r4, #0] + 8001ec8: 4806 ldr r0, [pc, #24] ; (8001ee4 ) + 8001eca: f00d f8bd bl 800f048 + 8001ece: e8bd 4010 ldmia.w sp!, {r4, lr} + 8001ed2: 4804 ldr r0, [pc, #16] ; (8001ee4 ) + 8001ed4: f00d b87e b.w 800efd4 + 8001ed8: f247 5330 movw r3, #30000 ; 0x7530 + 8001edc: 6023 str r3, [r4, #0] + 8001ede: e7ef b.n 8001ec0 + 8001ee0: 20000070 .word 0x20000070 + 8001ee4: 20000428 .word 0x20000428 + +08001ee8 : + 8001ee8: b537 push {r0, r1, r2, r4, r5, lr} + 8001eea: 4604 mov r4, r0 + 8001eec: b338 cbz r0, 8001f3e + 8001eee: f990 5006 ldrsb.w r5, [r0, #6] + 8001ef2: bb35 cbnz r5, 8001f42 + 8001ef4: 4814 ldr r0, [pc, #80] ; (8001f48 ) + 8001ef6: f00d f81f bl 800ef38 + 8001efa: 4814 ldr r0, [pc, #80] ; (8001f4c ) + 8001efc: 462a mov r2, r5 + 8001efe: f44f 6100 mov.w r1, #2048 ; 0x800 + 8001f02: f001 fd7d bl 8003a00 + 8001f06: 4b12 ldr r3, [pc, #72] ; (8001f50 ) + 8001f08: 462a mov r2, r5 + 8001f0a: 4629 mov r1, r5 8001f0c: 2002 movs r0, #2 - 8001f0e: f00c fcdb bl 800e8c8 - 8001f12: f994 3005 ldrsb.w r3, [r4, #5] - 8001f16: 9301 str r3, [sp, #4] - 8001f18: f994 3004 ldrsb.w r3, [r4, #4] - 8001f1c: 9300 str r3, [sp, #0] - 8001f1e: 2200 movs r2, #0 - 8001f20: 4b09 ldr r3, [pc, #36] ; (8001f48 ) - 8001f22: 4611 mov r1, r2 - 8001f24: 2003 movs r0, #3 - 8001f26: f00c fccf bl 800e8c8 - 8001f2a: b003 add sp, #12 - 8001f2c: bd30 pop {r4, r5, pc} - 8001f2e: 4b07 ldr r3, [pc, #28] ; (8001f4c ) - 8001f30: e7ea b.n 8001f08 - 8001f32: bf00 nop - 8001f34: 200003c8 .word 0x200003c8 - 8001f38: 48000400 .word 0x48000400 - 8001f3c: 0800f59e .word 0x0800f59e - 8001f40: 0800f5b3 .word 0x0800f5b3 - 8001f44: 0800f5d0 .word 0x0800f5d0 - 8001f48: 0800f606 .word 0x0800f606 - 8001f4c: 0800f5ed .word 0x0800f5ed + 8001f0e: f00c fce5 bl 800e8dc + 8001f12: 79e3 ldrb r3, [r4, #7] + 8001f14: 2b01 cmp r3, #1 + 8001f16: bf0c ite eq + 8001f18: 4b0e ldreq r3, [pc, #56] ; (8001f54 ) + 8001f1a: 4b0f ldrne r3, [pc, #60] ; (8001f58 ) + 8001f1c: 2200 movs r2, #0 + 8001f1e: 4611 mov r1, r2 + 8001f20: 2002 movs r0, #2 + 8001f22: f00c fcdb bl 800e8dc + 8001f26: f994 3005 ldrsb.w r3, [r4, #5] + 8001f2a: 9301 str r3, [sp, #4] + 8001f2c: f994 3004 ldrsb.w r3, [r4, #4] + 8001f30: 9300 str r3, [sp, #0] + 8001f32: 2200 movs r2, #0 + 8001f34: 4b09 ldr r3, [pc, #36] ; (8001f5c ) + 8001f36: 4611 mov r1, r2 + 8001f38: 2003 movs r0, #3 + 8001f3a: f00c fccf bl 800e8dc + 8001f3e: b003 add sp, #12 + 8001f40: bd30 pop {r4, r5, pc} + 8001f42: 4b07 ldr r3, [pc, #28] ; (8001f60 ) + 8001f44: e7ea b.n 8001f1c + 8001f46: bf00 nop + 8001f48: 200003c8 .word 0x200003c8 + 8001f4c: 48000400 .word 0x48000400 + 8001f50: 0800f5b6 .word 0x0800f5b6 + 8001f54: 0800f5cb .word 0x0800f5cb + 8001f58: 0800f5e8 .word 0x0800f5e8 + 8001f5c: 0800f61e .word 0x0800f61e + 8001f60: 0800f605 .word 0x0800f605 -08001f50 : - 8001f50: b508 push {r3, lr} - 8001f52: 4b0e ldr r3, [pc, #56] ; (8001f8c ) - 8001f54: 781b ldrb r3, [r3, #0] - 8001f56: 2b02 cmp r3, #2 - 8001f58: d103 bne.n 8001f62 - 8001f5a: 2100 movs r1, #0 - 8001f5c: 2008 movs r0, #8 - 8001f5e: f00c fdc7 bl 800eaf0 - 8001f62: 480b ldr r0, [pc, #44] ; (8001f90 ) - 8001f64: 2200 movs r2, #0 - 8001f66: f44f 4100 mov.w r1, #32768 ; 0x8000 - 8001f6a: f001 fd3f bl 80039ec - 8001f6e: 4808 ldr r0, [pc, #32] ; (8001f90 ) - 8001f70: 2200 movs r2, #0 - 8001f72: f44f 7100 mov.w r1, #512 ; 0x200 - 8001f76: f001 fd39 bl 80039ec - 8001f7a: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001f7e: 4804 ldr r0, [pc, #16] ; (8001f90 ) - 8001f80: 2200 movs r2, #0 - 8001f82: f44f 6100 mov.w r1, #2048 ; 0x800 - 8001f86: f001 bd31 b.w 80039ec - 8001f8a: bf00 nop - 8001f8c: 20000000 .word 0x20000000 - 8001f90: 48000400 .word 0x48000400 +08001f64 : + 8001f64: b508 push {r3, lr} + 8001f66: 4b0e ldr r3, [pc, #56] ; (8001fa0 ) + 8001f68: 781b ldrb r3, [r3, #0] + 8001f6a: 2b02 cmp r3, #2 + 8001f6c: d103 bne.n 8001f76 + 8001f6e: 2100 movs r1, #0 + 8001f70: 2008 movs r0, #8 + 8001f72: f00c fdc7 bl 800eb04 + 8001f76: 480b ldr r0, [pc, #44] ; (8001fa4 ) + 8001f78: 2200 movs r2, #0 + 8001f7a: f44f 4100 mov.w r1, #32768 ; 0x8000 + 8001f7e: f001 fd3f bl 8003a00 + 8001f82: 4808 ldr r0, [pc, #32] ; (8001fa4 ) + 8001f84: 2200 movs r2, #0 + 8001f86: f44f 7100 mov.w r1, #512 ; 0x200 + 8001f8a: f001 fd39 bl 8003a00 + 8001f8e: e8bd 4008 ldmia.w sp!, {r3, lr} + 8001f92: 4804 ldr r0, [pc, #16] ; (8001fa4 ) + 8001f94: 2200 movs r2, #0 + 8001f96: f44f 6100 mov.w r1, #2048 ; 0x800 + 8001f9a: f001 bd31 b.w 8003a00 + 8001f9e: bf00 nop + 8001fa0: 20000000 .word 0x20000000 + 8001fa4: 48000400 .word 0x48000400 -08001f94 : - 8001f94: 4802 ldr r0, [pc, #8] ; (8001fa0 ) - 8001f96: 2200 movs r2, #0 - 8001f98: f44f 4100 mov.w r1, #32768 ; 0x8000 - 8001f9c: f001 bd26 b.w 80039ec - 8001fa0: 48000400 .word 0x48000400 +08001fa8 : + 8001fa8: 4802 ldr r0, [pc, #8] ; (8001fb4 ) + 8001faa: 2200 movs r2, #0 + 8001fac: f44f 4100 mov.w r1, #32768 ; 0x8000 + 8001fb0: f001 bd26 b.w 8003a00 + 8001fb4: 48000400 .word 0x48000400 -08001fa4 : - 8001fa4: 4802 ldr r0, [pc, #8] ; (8001fb0 ) - 8001fa6: 2200 movs r2, #0 - 8001fa8: f44f 7100 mov.w r1, #512 ; 0x200 - 8001fac: f001 bd1e b.w 80039ec - 8001fb0: 48000400 .word 0x48000400 +08001fb8 : + 8001fb8: 4802 ldr r0, [pc, #8] ; (8001fc4 ) + 8001fba: 2200 movs r2, #0 + 8001fbc: f44f 7100 mov.w r1, #512 ; 0x200 + 8001fc0: f001 bd1e b.w 8003a00 + 8001fc4: 48000400 .word 0x48000400 -08001fb4 : - 8001fb4: b538 push {r3, r4, r5, lr} - 8001fb6: 4604 mov r4, r0 - 8001fb8: 460d mov r5, r1 - 8001fba: 4807 ldr r0, [pc, #28] ; (8001fd8 ) - 8001fbc: f44f 6100 mov.w r1, #2048 ; 0x800 - 8001fc0: f7ff f9d4 bl 800136c - 8001fc4: b930 cbnz r0, 8001fd4 - 8001fc6: 462a mov r2, r5 - 8001fc8: 4621 mov r1, r4 - 8001fca: 4803 ldr r0, [pc, #12] ; (8001fd8 ) - 8001fcc: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 8001fd0: f7ff b8ce b.w 8001170 - 8001fd4: bd38 pop {r3, r4, r5, pc} - 8001fd6: bf00 nop - 8001fd8: 0803f000 .word 0x0803f000 +08001fc8 : + 8001fc8: b538 push {r3, r4, r5, lr} + 8001fca: 4604 mov r4, r0 + 8001fcc: 460d mov r5, r1 + 8001fce: 4807 ldr r0, [pc, #28] ; (8001fec ) + 8001fd0: f44f 6100 mov.w r1, #2048 ; 0x800 + 8001fd4: f7ff f9ca bl 800136c + 8001fd8: b930 cbnz r0, 8001fe8 + 8001fda: 462a mov r2, r5 + 8001fdc: 4621 mov r1, r4 + 8001fde: 4803 ldr r0, [pc, #12] ; (8001fec ) + 8001fe0: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 8001fe4: f7ff b8c4 b.w 8001170 + 8001fe8: bd38 pop {r3, r4, r5, pc} + 8001fea: bf00 nop + 8001fec: 0803f000 .word 0x0803f000 -08001fdc : - 8001fdc: 460a mov r2, r1 - 8001fde: 4901 ldr r1, [pc, #4] ; (8001fe4 ) - 8001fe0: f7ff b9a4 b.w 800132c - 8001fe4: 0803f000 .word 0x0803f000 +08001ff0 : + 8001ff0: 460a mov r2, r1 + 8001ff2: 4901 ldr r1, [pc, #4] ; (8001ff8 ) + 8001ff4: f7ff b99a b.w 800132c + 8001ff8: 0803f000 .word 0x0803f000 -08001fe8 : - 8001fe8: b570 push {r4, r5, r6, lr} - 8001fea: 481f ldr r0, [pc, #124] ; (8002068 ) - 8001fec: 2201 movs r2, #1 - 8001fee: f44f 4100 mov.w r1, #32768 ; 0x8000 - 8001ff2: f001 fcfb bl 80039ec - 8001ff6: 481c ldr r0, [pc, #112] ; (8002068 ) - 8001ff8: 2201 movs r2, #1 - 8001ffa: f44f 7100 mov.w r1, #512 ; 0x200 - 8001ffe: f001 fcf5 bl 80039ec - 8002002: 2201 movs r2, #1 - 8002004: f44f 6100 mov.w r1, #2048 ; 0x800 - 8002008: 4817 ldr r0, [pc, #92] ; (8002068 ) - 800200a: f001 fcef bl 80039ec - 800200e: 4817 ldr r0, [pc, #92] ; (800206c ) - 8002010: f00c ff88 bl 800ef24 - 8002014: f004 fcca bl 80069ac - 8002018: 4604 mov r4, r0 - 800201a: b150 cbz r0, 8002032 - 800201c: 2200 movs r2, #0 - 800201e: 4b14 ldr r3, [pc, #80] ; (8002070 ) - 8002020: 4611 mov r1, r2 - 8002022: 2002 movs r0, #2 - 8002024: f00c fc50 bl 800e8c8 - 8002028: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 800202c: 4811 ldr r0, [pc, #68] ; (8002074 ) - 800202e: f00c bfc7 b.w 800efc0 - 8002032: 4d11 ldr r5, [pc, #68] ; (8002078 ) - 8002034: 4b11 ldr r3, [pc, #68] ; (800207c ) - 8002036: 4602 mov r2, r0 - 8002038: 4601 mov r1, r0 - 800203a: 2002 movs r0, #2 - 800203c: f00c fc44 bl 800e8c8 - 8002040: 2601 movs r6, #1 - 8002042: 4b0f ldr r3, [pc, #60] ; (8002080 ) - 8002044: 702e strb r6, [r5, #0] - 8002046: 4622 mov r2, r4 - 8002048: 4621 mov r1, r4 - 800204a: 2002 movs r0, #2 - 800204c: f00c fc3c bl 800e8c8 - 8002050: 480c ldr r0, [pc, #48] ; (8002084 ) - 8002052: f004 fb3d bl 80066d0 - 8002056: 7828 ldrb r0, [r5, #0] - 8002058: 4631 mov r1, r6 - 800205a: f004 f88f bl 800617c - 800205e: 4803 ldr r0, [pc, #12] ; (800206c ) - 8002060: f00c ffae bl 800efc0 - 8002064: e7e0 b.n 8002028 - 8002066: bf00 nop - 8002068: 48000400 .word 0x48000400 - 800206c: 20000428 .word 0x20000428 - 8002070: 0800f62f .word 0x0800f62f - 8002074: 200003f8 .word 0x200003f8 - 8002078: 20000000 .word 0x20000000 - 800207c: 0800f64d .word 0x0800f64d - 8002080: 0800f661 .word 0x0800f661 - 8002084: 20000058 .word 0x20000058 +08001ffc : + 8001ffc: b570 push {r4, r5, r6, lr} + 8001ffe: 481f ldr r0, [pc, #124] ; (800207c ) + 8002000: 2201 movs r2, #1 + 8002002: f44f 4100 mov.w r1, #32768 ; 0x8000 + 8002006: f001 fcfb bl 8003a00 + 800200a: 481c ldr r0, [pc, #112] ; (800207c ) + 800200c: 2201 movs r2, #1 + 800200e: f44f 7100 mov.w r1, #512 ; 0x200 + 8002012: f001 fcf5 bl 8003a00 + 8002016: 2201 movs r2, #1 + 8002018: f44f 6100 mov.w r1, #2048 ; 0x800 + 800201c: 4817 ldr r0, [pc, #92] ; (800207c ) + 800201e: f001 fcef bl 8003a00 + 8002022: 4817 ldr r0, [pc, #92] ; (8002080 ) + 8002024: f00c ff88 bl 800ef38 + 8002028: f004 fcca bl 80069c0 + 800202c: 4604 mov r4, r0 + 800202e: b150 cbz r0, 8002046 + 8002030: 2200 movs r2, #0 + 8002032: 4b14 ldr r3, [pc, #80] ; (8002084 ) + 8002034: 4611 mov r1, r2 + 8002036: 2002 movs r0, #2 + 8002038: f00c fc50 bl 800e8dc + 800203c: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 8002040: 4811 ldr r0, [pc, #68] ; (8002088 ) + 8002042: f00c bfc7 b.w 800efd4 + 8002046: 4d11 ldr r5, [pc, #68] ; (800208c ) + 8002048: 4b11 ldr r3, [pc, #68] ; (8002090 ) + 800204a: 4602 mov r2, r0 + 800204c: 4601 mov r1, r0 + 800204e: 2002 movs r0, #2 + 8002050: f00c fc44 bl 800e8dc + 8002054: 2601 movs r6, #1 + 8002056: 4b0f ldr r3, [pc, #60] ; (8002094 ) + 8002058: 702e strb r6, [r5, #0] + 800205a: 4622 mov r2, r4 + 800205c: 4621 mov r1, r4 + 800205e: 2002 movs r0, #2 + 8002060: f00c fc3c bl 800e8dc + 8002064: 480c ldr r0, [pc, #48] ; (8002098 ) + 8002066: f004 fb3d bl 80066e4 + 800206a: 7828 ldrb r0, [r5, #0] + 800206c: 4631 mov r1, r6 + 800206e: f004 f88f bl 8006190 + 8002072: 4803 ldr r0, [pc, #12] ; (8002080 ) + 8002074: f00c ffae bl 800efd4 + 8002078: e7e0 b.n 800203c + 800207a: bf00 nop + 800207c: 48000400 .word 0x48000400 + 8002080: 20000428 .word 0x20000428 + 8002084: 0800f647 .word 0x0800f647 + 8002088: 200003f8 .word 0x200003f8 + 800208c: 20000000 .word 0x20000000 + 8002090: 0800f665 .word 0x0800f665 + 8002094: 0800f679 .word 0x0800f679 + 8002098: 20000058 .word 0x20000058 -08002088 : - 8002088: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 800208c: b089 sub sp, #36 ; 0x24 - 800208e: f7ff fb9d bl 80017cc - 8002092: 4605 mov r5, r0 - 8002094: f004 f968 bl 8006368 - 8002098: 4607 mov r7, r0 - 800209a: b188 cbz r0, 80020c0 - 800209c: 2400 movs r4, #0 - 800209e: 485b ldr r0, [pc, #364] ; (800220c ) - 80020a0: f00c ff40 bl 800ef24 - 80020a4: 4b5a ldr r3, [pc, #360] ; (8002210 ) - 80020a6: 4859 ldr r0, [pc, #356] ; (800220c ) - 80020a8: 6819 ldr r1, [r3, #0] - 80020aa: 42a1 cmp r1, r4 - 80020ac: bf38 it cc - 80020ae: 4621 movcc r1, r4 - 80020b0: f00c ffc0 bl 800f034 - 80020b4: 4855 ldr r0, [pc, #340] ; (800220c ) - 80020b6: f00c ff83 bl 800efc0 - 80020ba: b009 add sp, #36 ; 0x24 - 80020bc: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 80020c0: a802 add r0, sp, #8 - 80020c2: f7ff fc4b bl 800195c - 80020c6: 4b53 ldr r3, [pc, #332] ; (8002214 ) - 80020c8: 9500 str r5, [sp, #0] - 80020ca: 2201 movs r2, #1 - 80020cc: 4639 mov r1, r7 - 80020ce: 2002 movs r0, #2 - 80020d0: f00c fbfa bl 800e8c8 - 80020d4: 9803 ldr r0, [sp, #12] - 80020d6: 4c50 ldr r4, [pc, #320] ; (8002218 ) - 80020d8: f7fe fd20 bl 8000b1c <__aeabi_f2iz> - 80020dc: b200 sxth r0, r0 +0800209c : + 800209c: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 80020a0: b089 sub sp, #36 ; 0x24 + 80020a2: f7ff fb93 bl 80017cc + 80020a6: 4605 mov r5, r0 + 80020a8: f004 f968 bl 800637c + 80020ac: 4607 mov r7, r0 + 80020ae: b188 cbz r0, 80020d4 + 80020b0: 2400 movs r4, #0 + 80020b2: 485b ldr r0, [pc, #364] ; (8002220 ) + 80020b4: f00c ff40 bl 800ef38 + 80020b8: 4b5a ldr r3, [pc, #360] ; (8002224 ) + 80020ba: 4859 ldr r0, [pc, #356] ; (8002220 ) + 80020bc: 6819 ldr r1, [r3, #0] + 80020be: 42a1 cmp r1, r4 + 80020c0: bf38 it cc + 80020c2: 4621 movcc r1, r4 + 80020c4: f00c ffc0 bl 800f048 + 80020c8: 4855 ldr r0, [pc, #340] ; (8002220 ) + 80020ca: f00c ff83 bl 800efd4 + 80020ce: b009 add sp, #36 ; 0x24 + 80020d0: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 80020d4: a802 add r0, sp, #8 + 80020d6: f7ff fc41 bl 800195c + 80020da: 4b53 ldr r3, [pc, #332] ; (8002228 ) + 80020dc: 9500 str r5, [sp, #0] 80020de: 2201 movs r2, #1 - 80020e0: 4b4e ldr r3, [pc, #312] ; (800221c ) - 80020e2: 9000 str r0, [sp, #0] - 80020e4: 4639 mov r1, r7 - 80020e6: 2002 movs r0, #2 - 80020e8: f00c fbee bl 800e8c8 - 80020ec: 2302 movs r3, #2 - 80020ee: 9804 ldr r0, [sp, #16] - 80020f0: 7023 strb r3, [r4, #0] - 80020f2: 494b ldr r1, [pc, #300] ; (8002220 ) - 80020f4: f7fe fbc2 bl 800087c <__aeabi_fmul> - 80020f8: f7fe fd36 bl 8000b68 <__aeabi_f2uiz> - 80020fc: b286 uxth r6, r0 - 80020fe: 9803 ldr r0, [sp, #12] - 8002100: f7fe fd0c bl 8000b1c <__aeabi_f2iz> - 8002104: 4947 ldr r1, [pc, #284] ; (8002224 ) - 8002106: fa0f f880 sxth.w r8, r0 - 800210a: 9802 ldr r0, [sp, #8] - 800210c: f7fe fbb6 bl 800087c <__aeabi_fmul> - 8002110: 4943 ldr r1, [pc, #268] ; (8002220 ) - 8002112: f7fe fc67 bl 80009e4 <__aeabi_fdiv> - 8002116: f7fe fd27 bl 8000b68 <__aeabi_f2uiz> - 800211a: 4a43 ldr r2, [pc, #268] ; (8002228 ) - 800211c: 6863 ldr r3, [r4, #4] - 800211e: 7812 ldrb r2, [r2, #0] - 8002120: 701a strb r2, [r3, #0] - 8002122: 6863 ldr r3, [r4, #4] - 8002124: f3c0 2207 ubfx r2, r0, #8, #8 - 8002128: 705a strb r2, [r3, #1] - 800212a: 6863 ldr r3, [r4, #4] - 800212c: 7098 strb r0, [r3, #2] - 800212e: 6863 ldr r3, [r4, #4] - 8002130: f883 8003 strb.w r8, [r3, #3] - 8002134: 6863 ldr r3, [r4, #4] - 8002136: 0a32 lsrs r2, r6, #8 - 8002138: 711a strb r2, [r3, #4] - 800213a: 6863 ldr r3, [r4, #4] - 800213c: 715e strb r6, [r3, #5] - 800213e: 4e3b ldr r6, [pc, #236] ; (800222c ) - 8002140: 7833 ldrb r3, [r6, #0] - 8002142: 2b08 cmp r3, #8 - 8002144: d001 beq.n 800214a - 8002146: 2b01 cmp r3, #1 - 8002148: d830 bhi.n 80021ac - 800214a: 6862 ldr r2, [r4, #4] - 800214c: 2300 movs r3, #0 - 800214e: 7193 strb r3, [r2, #6] - 8002150: 6862 ldr r2, [r4, #4] - 8002152: 71d3 strb r3, [r2, #7] - 8002154: 6862 ldr r2, [r4, #4] - 8002156: b22d sxth r5, r5 - 8002158: eb05 0545 add.w r5, r5, r5, lsl #1 - 800215c: 7213 strb r3, [r2, #8] - 800215e: 7253 strb r3, [r2, #9] - 8002160: eb05 1545 add.w r5, r5, r5, lsl #5 - 8002164: 23fe movs r3, #254 ; 0xfe - 8002166: fbb5 f5f3 udiv r5, r5, r3 - 800216a: 230b movs r3, #11 - 800216c: 7295 strb r5, [r2, #10] - 800216e: 7063 strb r3, [r4, #1] - 8002170: 4c2f ldr r4, [pc, #188] ; (8002230 ) - 8002172: 7a63 ldrb r3, [r4, #9] - 8002174: b163 cbz r3, 8002190 - 8002176: f004 f8e3 bl 8006340 - 800217a: 2801 cmp r0, #1 - 800217c: d108 bne.n 8002190 - 800217e: 4620 mov r0, r4 - 8002180: f00c fed0 bl 800ef24 - 8002184: 482b ldr r0, [pc, #172] ; (8002234 ) - 8002186: 2200 movs r2, #0 - 8002188: f44f 6100 mov.w r1, #2048 ; 0x800 - 800218c: f001 fc2e bl 80039ec - 8002190: 78f1 ldrb r1, [r6, #3] - 8002192: 4821 ldr r0, [pc, #132] ; (8002218 ) - 8002194: 2200 movs r2, #0 - 8002196: f004 f8fd bl 8006394 - 800219a: 4604 mov r4, r0 - 800219c: bb08 cbnz r0, 80021e2 - 800219e: 2201 movs r2, #1 - 80021a0: 4601 mov r1, r0 - 80021a2: 4b25 ldr r3, [pc, #148] ; (8002238 ) - 80021a4: 4610 mov r0, r2 - 80021a6: f00c fb8f bl 800e8c8 - 80021aa: e778 b.n 800209e - 80021ac: e9dd 8505 ldrd r8, r5, [sp, #20] - 80021b0: f8d4 9004 ldr.w r9, [r4, #4] - 80021b4: f7ff fb0a bl 80017cc - 80021b8: f889 0006 strb.w r0, [r9, #6] - 80021bc: 6863 ldr r3, [r4, #4] - 80021be: ea4f 4228 mov.w r2, r8, asr #16 - 80021c2: 71da strb r2, [r3, #7] - 80021c4: 6863 ldr r3, [r4, #4] - 80021c6: ea4f 2228 mov.w r2, r8, asr #8 - 80021ca: 721a strb r2, [r3, #8] - 80021cc: 142a asrs r2, r5, #16 - 80021ce: 729a strb r2, [r3, #10] - 80021d0: 122a asrs r2, r5, #8 - 80021d2: f883 8009 strb.w r8, [r3, #9] - 80021d6: 72da strb r2, [r3, #11] - 80021d8: 731d strb r5, [r3, #12] - 80021da: 735f strb r7, [r3, #13] - 80021dc: 739f strb r7, [r3, #14] - 80021de: 230f movs r3, #15 - 80021e0: e7c5 b.n 800216e - 80021e2: 3406 adds r4, #6 - 80021e4: f47f af5a bne.w 800209c - 80021e8: f004 f8a4 bl 8006334 - 80021ec: 4604 mov r4, r0 - 80021ee: 2800 cmp r0, #0 - 80021f0: f43f af55 beq.w 800209e - 80021f4: 2201 movs r2, #1 - 80021f6: f44f 737a mov.w r3, #1000 ; 0x3e8 - 80021fa: 2100 movs r1, #0 - 80021fc: fbb0 f3f3 udiv r3, r0, r3 - 8002200: 4610 mov r0, r2 - 8002202: 9300 str r3, [sp, #0] - 8002204: 4b0d ldr r3, [pc, #52] ; (800223c ) - 8002206: f00c fb5f bl 800e8c8 - 800220a: e748 b.n 800209e - 800220c: 20000428 .word 0x20000428 - 8002210: 20000070 .word 0x20000070 - 8002214: 0800f680 .word 0x0800f680 - 8002218: 20000004 .word 0x20000004 - 800221c: 0800f68b .word 0x0800f68b - 8002220: 41200000 .word 0x41200000 - 8002224: 42c80000 .word 0x42c80000 - 8002228: 200003c7 .word 0x200003c7 - 800222c: 20000058 .word 0x20000058 - 8002230: 200003c8 .word 0x200003c8 - 8002234: 48000400 .word 0x48000400 - 8002238: 0800f696 .word 0x0800f696 - 800223c: 0800f6a5 .word 0x0800f6a5 + 80020e0: 4639 mov r1, r7 + 80020e2: 2002 movs r0, #2 + 80020e4: f00c fbfa bl 800e8dc + 80020e8: 9803 ldr r0, [sp, #12] + 80020ea: 4c50 ldr r4, [pc, #320] ; (800222c ) + 80020ec: f7fe fd16 bl 8000b1c <__aeabi_f2iz> + 80020f0: b200 sxth r0, r0 + 80020f2: 2201 movs r2, #1 + 80020f4: 4b4e ldr r3, [pc, #312] ; (8002230 ) + 80020f6: 9000 str r0, [sp, #0] + 80020f8: 4639 mov r1, r7 + 80020fa: 2002 movs r0, #2 + 80020fc: f00c fbee bl 800e8dc + 8002100: 2302 movs r3, #2 + 8002102: 9804 ldr r0, [sp, #16] + 8002104: 7023 strb r3, [r4, #0] + 8002106: 494b ldr r1, [pc, #300] ; (8002234 ) + 8002108: f7fe fbb8 bl 800087c <__aeabi_fmul> + 800210c: f7fe fd2c bl 8000b68 <__aeabi_f2uiz> + 8002110: b286 uxth r6, r0 + 8002112: 9803 ldr r0, [sp, #12] + 8002114: f7fe fd02 bl 8000b1c <__aeabi_f2iz> + 8002118: 4947 ldr r1, [pc, #284] ; (8002238 ) + 800211a: fa0f f880 sxth.w r8, r0 + 800211e: 9802 ldr r0, [sp, #8] + 8002120: f7fe fbac bl 800087c <__aeabi_fmul> + 8002124: 4943 ldr r1, [pc, #268] ; (8002234 ) + 8002126: f7fe fc5d bl 80009e4 <__aeabi_fdiv> + 800212a: f7fe fd1d bl 8000b68 <__aeabi_f2uiz> + 800212e: 4a43 ldr r2, [pc, #268] ; (800223c ) + 8002130: 6863 ldr r3, [r4, #4] + 8002132: 7812 ldrb r2, [r2, #0] + 8002134: 701a strb r2, [r3, #0] + 8002136: 6863 ldr r3, [r4, #4] + 8002138: f3c0 2207 ubfx r2, r0, #8, #8 + 800213c: 705a strb r2, [r3, #1] + 800213e: 6863 ldr r3, [r4, #4] + 8002140: 7098 strb r0, [r3, #2] + 8002142: 6863 ldr r3, [r4, #4] + 8002144: f883 8003 strb.w r8, [r3, #3] + 8002148: 6863 ldr r3, [r4, #4] + 800214a: 0a32 lsrs r2, r6, #8 + 800214c: 711a strb r2, [r3, #4] + 800214e: 6863 ldr r3, [r4, #4] + 8002150: 715e strb r6, [r3, #5] + 8002152: 4e3b ldr r6, [pc, #236] ; (8002240 ) + 8002154: 7833 ldrb r3, [r6, #0] + 8002156: 2b08 cmp r3, #8 + 8002158: d001 beq.n 800215e + 800215a: 2b01 cmp r3, #1 + 800215c: d830 bhi.n 80021c0 + 800215e: 6862 ldr r2, [r4, #4] + 8002160: 2300 movs r3, #0 + 8002162: 7193 strb r3, [r2, #6] + 8002164: 6862 ldr r2, [r4, #4] + 8002166: 71d3 strb r3, [r2, #7] + 8002168: 6862 ldr r2, [r4, #4] + 800216a: b22d sxth r5, r5 + 800216c: eb05 0545 add.w r5, r5, r5, lsl #1 + 8002170: 7213 strb r3, [r2, #8] + 8002172: 7253 strb r3, [r2, #9] + 8002174: eb05 1545 add.w r5, r5, r5, lsl #5 + 8002178: 23fe movs r3, #254 ; 0xfe + 800217a: fbb5 f5f3 udiv r5, r5, r3 + 800217e: 230b movs r3, #11 + 8002180: 7295 strb r5, [r2, #10] + 8002182: 7063 strb r3, [r4, #1] + 8002184: 4c2f ldr r4, [pc, #188] ; (8002244 ) + 8002186: 7a63 ldrb r3, [r4, #9] + 8002188: b163 cbz r3, 80021a4 + 800218a: f004 f8e3 bl 8006354 + 800218e: 2801 cmp r0, #1 + 8002190: d108 bne.n 80021a4 + 8002192: 4620 mov r0, r4 + 8002194: f00c fed0 bl 800ef38 + 8002198: 482b ldr r0, [pc, #172] ; (8002248 ) + 800219a: 2200 movs r2, #0 + 800219c: f44f 6100 mov.w r1, #2048 ; 0x800 + 80021a0: f001 fc2e bl 8003a00 + 80021a4: 78f1 ldrb r1, [r6, #3] + 80021a6: 4821 ldr r0, [pc, #132] ; (800222c ) + 80021a8: 2200 movs r2, #0 + 80021aa: f004 f8fd bl 80063a8 + 80021ae: 4604 mov r4, r0 + 80021b0: bb08 cbnz r0, 80021f6 + 80021b2: 2201 movs r2, #1 + 80021b4: 4601 mov r1, r0 + 80021b6: 4b25 ldr r3, [pc, #148] ; (800224c ) + 80021b8: 4610 mov r0, r2 + 80021ba: f00c fb8f bl 800e8dc + 80021be: e778 b.n 80020b2 + 80021c0: e9dd 8505 ldrd r8, r5, [sp, #20] + 80021c4: f8d4 9004 ldr.w r9, [r4, #4] + 80021c8: f7ff fb00 bl 80017cc + 80021cc: f889 0006 strb.w r0, [r9, #6] + 80021d0: 6863 ldr r3, [r4, #4] + 80021d2: ea4f 4228 mov.w r2, r8, asr #16 + 80021d6: 71da strb r2, [r3, #7] + 80021d8: 6863 ldr r3, [r4, #4] + 80021da: ea4f 2228 mov.w r2, r8, asr #8 + 80021de: 721a strb r2, [r3, #8] + 80021e0: 142a asrs r2, r5, #16 + 80021e2: 729a strb r2, [r3, #10] + 80021e4: 122a asrs r2, r5, #8 + 80021e6: f883 8009 strb.w r8, [r3, #9] + 80021ea: 72da strb r2, [r3, #11] + 80021ec: 731d strb r5, [r3, #12] + 80021ee: 735f strb r7, [r3, #13] + 80021f0: 739f strb r7, [r3, #14] + 80021f2: 230f movs r3, #15 + 80021f4: e7c5 b.n 8002182 + 80021f6: 3406 adds r4, #6 + 80021f8: f47f af5a bne.w 80020b0 + 80021fc: f004 f8a4 bl 8006348 + 8002200: 4604 mov r4, r0 + 8002202: 2800 cmp r0, #0 + 8002204: f43f af55 beq.w 80020b2 + 8002208: 2201 movs r2, #1 + 800220a: f44f 737a mov.w r3, #1000 ; 0x3e8 + 800220e: 2100 movs r1, #0 + 8002210: fbb0 f3f3 udiv r3, r0, r3 + 8002214: 4610 mov r0, r2 + 8002216: 9300 str r3, [sp, #0] + 8002218: 4b0d ldr r3, [pc, #52] ; (8002250 ) + 800221a: f00c fb5f bl 800e8dc + 800221e: e748 b.n 80020b2 + 8002220: 20000428 .word 0x20000428 + 8002224: 20000070 .word 0x20000070 + 8002228: 0800f698 .word 0x0800f698 + 800222c: 20000004 .word 0x20000004 + 8002230: 0800f6a3 .word 0x0800f6a3 + 8002234: 41200000 .word 0x41200000 + 8002238: 42c80000 .word 0x42c80000 + 800223c: 200003c7 .word 0x200003c7 + 8002240: 20000058 .word 0x20000058 + 8002244: 200003c8 .word 0x200003c8 + 8002248: 48000400 .word 0x48000400 + 800224c: 0800f6ae .word 0x0800f6ae + 8002250: 0800f6bd .word 0x0800f6bd -08002240 : - 8002240: 4802 ldr r0, [pc, #8] ; (800224c ) - 8002242: f44f 6100 mov.w r1, #2048 ; 0x800 - 8002246: f001 bbd6 b.w 80039f6 - 800224a: bf00 nop - 800224c: 48000400 .word 0x48000400 +08002254 : + 8002254: 4802 ldr r0, [pc, #8] ; (8002260 ) + 8002256: f44f 6100 mov.w r1, #2048 ; 0x800 + 800225a: f001 bbd6 b.w 8003a0a + 800225e: bf00 nop + 8002260: 48000400 .word 0x48000400 -08002250 : - 8002250: b500 push {lr} - 8002252: 4603 mov r3, r0 - 8002254: b08d sub sp, #52 ; 0x34 - 8002256: 2800 cmp r0, #0 - 8002258: d02c beq.n 80022b4 - 800225a: 7840 ldrb r0, [r0, #1] - 800225c: 2802 cmp r0, #2 - 800225e: d00a beq.n 8002276 - 8002260: 2803 cmp r0, #3 - 8002262: d02a beq.n 80022ba - 8002264: 4b16 ldr r3, [pc, #88] ; (80022c0 ) - 8002266: 2200 movs r2, #0 - 8002268: 4611 mov r1, r2 - 800226a: 2002 movs r0, #2 - 800226c: b00d add sp, #52 ; 0x34 - 800226e: f85d eb04 ldr.w lr, [sp], #4 - 8002272: f00c bb29 b.w 800e8c8 - 8002276: 7f1a ldrb r2, [r3, #28] - 8002278: 920b str r2, [sp, #44] ; 0x2c - 800227a: 7eda ldrb r2, [r3, #27] - 800227c: 920a str r2, [sp, #40] ; 0x28 - 800227e: 7e9a ldrb r2, [r3, #26] - 8002280: 9209 str r2, [sp, #36] ; 0x24 - 8002282: 7e5a ldrb r2, [r3, #25] - 8002284: 9208 str r2, [sp, #32] - 8002286: 7e1a ldrb r2, [r3, #24] - 8002288: 9207 str r2, [sp, #28] - 800228a: 7dda ldrb r2, [r3, #23] - 800228c: 9206 str r2, [sp, #24] - 800228e: 7d9a ldrb r2, [r3, #22] - 8002290: 9205 str r2, [sp, #20] - 8002292: 685a ldr r2, [r3, #4] - 8002294: 9204 str r2, [sp, #16] - 8002296: 68da ldr r2, [r3, #12] - 8002298: 9203 str r2, [sp, #12] - 800229a: f993 2014 ldrsb.w r2, [r3, #20] - 800229e: 9202 str r2, [sp, #8] - 80022a0: f9b3 2012 ldrsh.w r2, [r3, #18] - 80022a4: 9201 str r2, [sp, #4] - 80022a6: 7c1b ldrb r3, [r3, #16] - 80022a8: 9300 str r3, [sp, #0] - 80022aa: 2200 movs r2, #0 - 80022ac: 4b05 ldr r3, [pc, #20] ; (80022c4 ) - 80022ae: 4611 mov r1, r2 - 80022b0: f00c fb0a bl 800e8c8 - 80022b4: b00d add sp, #52 ; 0x34 - 80022b6: f85d fb04 ldr.w pc, [sp], #4 - 80022ba: 4b03 ldr r3, [pc, #12] ; (80022c8 ) - 80022bc: e7d3 b.n 8002266 - 80022be: bf00 nop - 80022c0: 0800f6c3 .word 0x0800f6c3 - 80022c4: 0800f6da .word 0x0800f6da - 80022c8: 0800f74c .word 0x0800f74c +08002264 : + 8002264: b500 push {lr} + 8002266: 4603 mov r3, r0 + 8002268: b08d sub sp, #52 ; 0x34 + 800226a: 2800 cmp r0, #0 + 800226c: d02c beq.n 80022c8 + 800226e: 7840 ldrb r0, [r0, #1] + 8002270: 2802 cmp r0, #2 + 8002272: d00a beq.n 800228a + 8002274: 2803 cmp r0, #3 + 8002276: d02a beq.n 80022ce + 8002278: 4b16 ldr r3, [pc, #88] ; (80022d4 ) + 800227a: 2200 movs r2, #0 + 800227c: 4611 mov r1, r2 + 800227e: 2002 movs r0, #2 + 8002280: b00d add sp, #52 ; 0x34 + 8002282: f85d eb04 ldr.w lr, [sp], #4 + 8002286: f00c bb29 b.w 800e8dc + 800228a: 7f1a ldrb r2, [r3, #28] + 800228c: 920b str r2, [sp, #44] ; 0x2c + 800228e: 7eda ldrb r2, [r3, #27] + 8002290: 920a str r2, [sp, #40] ; 0x28 + 8002292: 7e9a ldrb r2, [r3, #26] + 8002294: 9209 str r2, [sp, #36] ; 0x24 + 8002296: 7e5a ldrb r2, [r3, #25] + 8002298: 9208 str r2, [sp, #32] + 800229a: 7e1a ldrb r2, [r3, #24] + 800229c: 9207 str r2, [sp, #28] + 800229e: 7dda ldrb r2, [r3, #23] + 80022a0: 9206 str r2, [sp, #24] + 80022a2: 7d9a ldrb r2, [r3, #22] + 80022a4: 9205 str r2, [sp, #20] + 80022a6: 685a ldr r2, [r3, #4] + 80022a8: 9204 str r2, [sp, #16] + 80022aa: 68da ldr r2, [r3, #12] + 80022ac: 9203 str r2, [sp, #12] + 80022ae: f993 2014 ldrsb.w r2, [r3, #20] + 80022b2: 9202 str r2, [sp, #8] + 80022b4: f9b3 2012 ldrsh.w r2, [r3, #18] + 80022b8: 9201 str r2, [sp, #4] + 80022ba: 7c1b ldrb r3, [r3, #16] + 80022bc: 9300 str r3, [sp, #0] + 80022be: 2200 movs r2, #0 + 80022c0: 4b05 ldr r3, [pc, #20] ; (80022d8 ) + 80022c2: 4611 mov r1, r2 + 80022c4: f00c fb0a bl 800e8dc + 80022c8: b00d add sp, #52 ; 0x34 + 80022ca: f85d fb04 ldr.w pc, [sp], #4 + 80022ce: 4b03 ldr r3, [pc, #12] ; (80022dc ) + 80022d0: e7d3 b.n 800227a + 80022d2: bf00 nop + 80022d4: 0800f6db .word 0x0800f6db + 80022d8: 0800f6f2 .word 0x0800f6f2 + 80022dc: 0800f764 .word 0x0800f764 -080022cc : - 80022cc: 2801 cmp r0, #1 - 80022ce: f04f 0200 mov.w r2, #0 - 80022d2: bf0c ite eq - 80022d4: 4b02 ldreq r3, [pc, #8] ; (80022e0 ) - 80022d6: 4b03 ldrne r3, [pc, #12] ; (80022e4 ) - 80022d8: 4611 mov r1, r2 - 80022da: 2002 movs r0, #2 - 80022dc: f00c baf4 b.w 800e8c8 - 80022e0: 0800f76b .word 0x0800f76b - 80022e4: 0800f77d .word 0x0800f77d +080022e0 : + 80022e0: 2801 cmp r0, #1 + 80022e2: f04f 0200 mov.w r2, #0 + 80022e6: bf0c ite eq + 80022e8: 4b02 ldreq r3, [pc, #8] ; (80022f4 ) + 80022ea: 4b03 ldrne r3, [pc, #12] ; (80022f8 ) + 80022ec: 4611 mov r1, r2 + 80022ee: 2002 movs r0, #2 + 80022f0: f00c baf4 b.w 800e8dc + 80022f4: 0800f783 .word 0x0800f783 + 80022f8: 0800f795 .word 0x0800f795 -080022e8 : - 80022e8: b508 push {r3, lr} - 80022ea: f004 fb68 bl 80069be - 80022ee: b980 cbnz r0, 8002312 - 80022f0: f004 f826 bl 8006340 - 80022f4: 2801 cmp r0, #1 - 80022f6: d10c bne.n 8002312 - 80022f8: f3bf 8f4f dsb sy - 80022fc: 4905 ldr r1, [pc, #20] ; (8002314 ) - 80022fe: 4b06 ldr r3, [pc, #24] ; (8002318 ) - 8002300: 68ca ldr r2, [r1, #12] - 8002302: f402 62e0 and.w r2, r2, #1792 ; 0x700 - 8002306: 4313 orrs r3, r2 - 8002308: 60cb str r3, [r1, #12] - 800230a: f3bf 8f4f dsb sy - 800230e: bf00 nop - 8002310: e7fd b.n 800230e - 8002312: bd08 pop {r3, pc} - 8002314: e000ed00 .word 0xe000ed00 - 8002318: 05fa0004 .word 0x05fa0004 +080022fc : + 80022fc: b508 push {r3, lr} + 80022fe: f004 fb68 bl 80069d2 + 8002302: b980 cbnz r0, 8002326 + 8002304: f004 f826 bl 8006354 + 8002308: 2801 cmp r0, #1 + 800230a: d10c bne.n 8002326 + 800230c: f3bf 8f4f dsb sy + 8002310: 4905 ldr r1, [pc, #20] ; (8002328 ) + 8002312: 4b06 ldr r3, [pc, #24] ; (800232c ) + 8002314: 68ca ldr r2, [r1, #12] + 8002316: f402 62e0 and.w r2, r2, #1792 ; 0x700 + 800231a: 4313 orrs r3, r2 + 800231c: 60cb str r3, [r1, #12] + 800231e: f3bf 8f4f dsb sy + 8002322: bf00 nop + 8002324: e7fd b.n 8002322 + 8002326: bd08 pop {r3, pc} + 8002328: e000ed00 .word 0xe000ed00 + 800232c: 05fa0004 .word 0x05fa0004 -0800231c : - 800231c: b51f push {r0, r1, r2, r3, r4, lr} - 800231e: 4604 mov r4, r0 - 8002320: 2800 cmp r0, #0 - 8002322: d037 beq.n 8002394 - 8002324: 7803 ldrb r3, [r0, #0] - 8002326: 2b00 cmp r3, #0 - 8002328: d034 beq.n 8002394 - 800232a: 2201 movs r2, #1 - 800232c: f44f 7100 mov.w r1, #512 ; 0x200 - 8002330: 481e ldr r0, [pc, #120] ; (80023ac ) - 8002332: f001 fb5b bl 80039ec - 8002336: 481e ldr r0, [pc, #120] ; (80023b0 ) - 8002338: f00c fe42 bl 800efc0 - 800233c: 2200 movs r2, #0 - 800233e: 4611 mov r1, r2 - 8002340: 4b1c ldr r3, [pc, #112] ; (80023b4 ) - 8002342: 2002 movs r0, #2 - 8002344: f00c fac0 bl 800e8c8 - 8002348: f994 3018 ldrsb.w r3, [r4, #24] - 800234c: 9303 str r3, [sp, #12] - 800234e: f994 300a ldrsb.w r3, [r4, #10] - 8002352: 9302 str r3, [sp, #8] - 8002354: 7c23 ldrb r3, [r4, #16] - 8002356: 9301 str r3, [sp, #4] - 8002358: 68e3 ldr r3, [r4, #12] - 800235a: 9300 str r3, [sp, #0] - 800235c: 2200 movs r2, #0 - 800235e: 4611 mov r1, r2 - 8002360: 4b15 ldr r3, [pc, #84] ; (80023b8 ) - 8002362: 2003 movs r0, #3 - 8002364: f00c fab0 bl 800e8c8 - 8002368: 2200 movs r2, #0 - 800236a: 4b14 ldr r3, [pc, #80] ; (80023bc ) - 800236c: 4611 mov r1, r2 - 800236e: 2003 movs r0, #3 - 8002370: f00c faaa bl 800e8c8 - 8002374: 7a23 ldrb r3, [r4, #8] - 8002376: 2b01 cmp r3, #1 - 8002378: d10e bne.n 8002398 - 800237a: 7a61 ldrb r1, [r4, #9] - 800237c: 4a10 ldr r2, [pc, #64] ; (80023c0 ) - 800237e: 4b11 ldr r3, [pc, #68] ; (80023c4 ) - 8002380: 2900 cmp r1, #0 - 8002382: bf08 it eq - 8002384: 4613 moveq r3, r2 - 8002386: 2200 movs r2, #0 - 8002388: 9300 str r3, [sp, #0] - 800238a: 4611 mov r1, r2 - 800238c: 4b0e ldr r3, [pc, #56] ; (80023c8 ) - 800238e: 2003 movs r0, #3 - 8002390: f00c fa9a bl 800e8c8 - 8002394: b004 add sp, #16 - 8002396: bd10 pop {r4, pc} - 8002398: 2200 movs r2, #0 - 800239a: 4b0c ldr r3, [pc, #48] ; (80023cc ) - 800239c: 4611 mov r1, r2 - 800239e: 2003 movs r0, #3 - 80023a0: b004 add sp, #16 - 80023a2: e8bd 4010 ldmia.w sp!, {r4, lr} - 80023a6: f00c ba8f b.w 800e8c8 - 80023aa: bf00 nop - 80023ac: 48000400 .word 0x48000400 - 80023b0: 20000410 .word 0x20000410 - 80023b4: 0800f796 .word 0x0800f796 - 80023b8: 0800f7c7 .word 0x0800f7c7 - 80023bc: 0800f7f8 .word 0x0800f7f8 - 80023c0: 0800f791 .word 0x0800f791 - 80023c4: 0800f792 .word 0x0800f792 - 80023c8: 0800f805 .word 0x0800f805 - 80023cc: 0800f816 .word 0x0800f816 +08002330 : + 8002330: b51f push {r0, r1, r2, r3, r4, lr} + 8002332: 4604 mov r4, r0 + 8002334: 2800 cmp r0, #0 + 8002336: d037 beq.n 80023a8 + 8002338: 7803 ldrb r3, [r0, #0] + 800233a: 2b00 cmp r3, #0 + 800233c: d034 beq.n 80023a8 + 800233e: 2201 movs r2, #1 + 8002340: f44f 7100 mov.w r1, #512 ; 0x200 + 8002344: 481e ldr r0, [pc, #120] ; (80023c0 ) + 8002346: f001 fb5b bl 8003a00 + 800234a: 481e ldr r0, [pc, #120] ; (80023c4 ) + 800234c: f00c fe42 bl 800efd4 + 8002350: 2200 movs r2, #0 + 8002352: 4611 mov r1, r2 + 8002354: 4b1c ldr r3, [pc, #112] ; (80023c8 ) + 8002356: 2002 movs r0, #2 + 8002358: f00c fac0 bl 800e8dc + 800235c: f994 3018 ldrsb.w r3, [r4, #24] + 8002360: 9303 str r3, [sp, #12] + 8002362: f994 300a ldrsb.w r3, [r4, #10] + 8002366: 9302 str r3, [sp, #8] + 8002368: 7c23 ldrb r3, [r4, #16] + 800236a: 9301 str r3, [sp, #4] + 800236c: 68e3 ldr r3, [r4, #12] + 800236e: 9300 str r3, [sp, #0] + 8002370: 2200 movs r2, #0 + 8002372: 4611 mov r1, r2 + 8002374: 4b15 ldr r3, [pc, #84] ; (80023cc ) + 8002376: 2003 movs r0, #3 + 8002378: f00c fab0 bl 800e8dc + 800237c: 2200 movs r2, #0 + 800237e: 4b14 ldr r3, [pc, #80] ; (80023d0 ) + 8002380: 4611 mov r1, r2 + 8002382: 2003 movs r0, #3 + 8002384: f00c faaa bl 800e8dc + 8002388: 7a23 ldrb r3, [r4, #8] + 800238a: 2b01 cmp r3, #1 + 800238c: d10e bne.n 80023ac + 800238e: 7a61 ldrb r1, [r4, #9] + 8002390: 4a10 ldr r2, [pc, #64] ; (80023d4 ) + 8002392: 4b11 ldr r3, [pc, #68] ; (80023d8 ) + 8002394: 2900 cmp r1, #0 + 8002396: bf08 it eq + 8002398: 4613 moveq r3, r2 + 800239a: 2200 movs r2, #0 + 800239c: 9300 str r3, [sp, #0] + 800239e: 4611 mov r1, r2 + 80023a0: 4b0e ldr r3, [pc, #56] ; (80023dc ) + 80023a2: 2003 movs r0, #3 + 80023a4: f00c fa9a bl 800e8dc + 80023a8: b004 add sp, #16 + 80023aa: bd10 pop {r4, pc} + 80023ac: 2200 movs r2, #0 + 80023ae: 4b0c ldr r3, [pc, #48] ; (80023e0 ) + 80023b0: 4611 mov r1, r2 + 80023b2: 2003 movs r0, #3 + 80023b4: b004 add sp, #16 + 80023b6: e8bd 4010 ldmia.w sp!, {r4, lr} + 80023ba: f00c ba8f b.w 800e8dc + 80023be: bf00 nop + 80023c0: 48000400 .word 0x48000400 + 80023c4: 20000410 .word 0x20000410 + 80023c8: 0800f7ae .word 0x0800f7ae + 80023cc: 0800f7df .word 0x0800f7df + 80023d0: 0800f810 .word 0x0800f810 + 80023d4: 0800f7a9 .word 0x0800f7a9 + 80023d8: 0800f7aa .word 0x0800f7aa + 80023dc: 0800f81d .word 0x0800f81d + 80023e0: 0800f82e .word 0x0800f82e -080023d0 : - 80023d0: b5f0 push {r4, r5, r6, r7, lr} - 80023d2: 4605 mov r5, r0 - 80023d4: b087 sub sp, #28 - 80023d6: 460c mov r4, r1 - 80023d8: 2900 cmp r1, #0 - 80023da: d037 beq.n 800244c - 80023dc: 482c ldr r0, [pc, #176] ; (8002490 ) - 80023de: 2201 movs r2, #1 - 80023e0: f44f 4100 mov.w r1, #32768 ; 0x8000 - 80023e4: f001 fb02 bl 80039ec - 80023e8: 482a ldr r0, [pc, #168] ; (8002494 ) - 80023ea: f00c fde9 bl 800efc0 - 80023ee: 7826 ldrb r6, [r4, #0] - 80023f0: b19e cbz r6, 800241a - 80023f2: 2d00 cmp r5, #0 - 80023f4: d04a beq.n 800248c - 80023f6: 686b ldr r3, [r5, #4] - 80023f8: 782e ldrb r6, [r5, #0] - 80023fa: b173 cbz r3, 800241a - 80023fc: 2e02 cmp r6, #2 - 80023fe: d027 beq.n 8002450 - 8002400: 2e03 cmp r6, #3 - 8002402: d10a bne.n 800241a - 8002404: 786a ldrb r2, [r5, #1] - 8002406: 2a01 cmp r2, #1 - 8002408: d107 bne.n 800241a - 800240a: 7818 ldrb r0, [r3, #0] - 800240c: 2801 cmp r0, #1 - 800240e: d002 beq.n 8002416 - 8002410: 2802 cmp r0, #2 - 8002412: d000 beq.n 8002416 - 8002414: b908 cbnz r0, 800241a - 8002416: f004 f889 bl 800652c - 800241a: 7c23 ldrb r3, [r4, #16] - 800241c: 2b05 cmp r3, #5 - 800241e: d815 bhi.n 800244c - 8002420: f994 200a ldrsb.w r2, [r4, #10] - 8002424: 9205 str r2, [sp, #20] - 8002426: f994 2009 ldrsb.w r2, [r4, #9] - 800242a: 9204 str r2, [sp, #16] - 800242c: 4a1a ldr r2, [pc, #104] ; (8002498 ) - 800242e: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8002432: 9303 str r3, [sp, #12] - 8002434: f994 3008 ldrsb.w r3, [r4, #8] - 8002438: e9cd 6301 strd r6, r3, [sp, #4] - 800243c: 2200 movs r2, #0 - 800243e: 68e3 ldr r3, [r4, #12] - 8002440: 9300 str r3, [sp, #0] - 8002442: 4611 mov r1, r2 - 8002444: 4b15 ldr r3, [pc, #84] ; (800249c ) - 8002446: 2003 movs r0, #3 - 8002448: f00c fa3e bl 800e8c8 - 800244c: b007 add sp, #28 - 800244e: bdf0 pop {r4, r5, r6, r7, pc} - 8002450: 786f ldrb r7, [r5, #1] - 8002452: 2f01 cmp r7, #1 - 8002454: d1e1 bne.n 800241a - 8002456: 781d ldrb r5, [r3, #0] - 8002458: 4b11 ldr r3, [pc, #68] ; (80024a0 ) - 800245a: f005 0501 and.w r5, r5, #1 - 800245e: 701d strb r5, [r3, #0] - 8002460: b965 cbnz r5, 800247c - 8002462: 462a mov r2, r5 - 8002464: 4b0f ldr r3, [pc, #60] ; (80024a4 ) - 8002466: 4629 mov r1, r5 - 8002468: 2003 movs r0, #3 - 800246a: f00c fa2d bl 800e8c8 - 800246e: 462a mov r2, r5 - 8002470: 4807 ldr r0, [pc, #28] ; (8002490 ) - 8002472: f44f 6100 mov.w r1, #2048 ; 0x800 - 8002476: f001 fab9 bl 80039ec - 800247a: e7ce b.n 800241a - 800247c: 2200 movs r2, #0 - 800247e: 4611 mov r1, r2 - 8002480: 4b09 ldr r3, [pc, #36] ; (80024a8 ) - 8002482: 2003 movs r0, #3 - 8002484: f00c fa20 bl 800e8c8 - 8002488: 463a mov r2, r7 - 800248a: e7f1 b.n 8002470 - 800248c: 462e mov r6, r5 - 800248e: e7c4 b.n 800241a - 8002490: 48000400 .word 0x48000400 - 8002494: 200003e0 .word 0x200003e0 - 8002498: 0800f964 .word 0x0800f964 - 800249c: 0800f837 .word 0x0800f837 - 80024a0: 200003c7 .word 0x200003c7 - 80024a4: 0800f824 .word 0x0800f824 - 80024a8: 0800f82e .word 0x0800f82e +080023e4 : + 80023e4: b5f0 push {r4, r5, r6, r7, lr} + 80023e6: 4605 mov r5, r0 + 80023e8: b087 sub sp, #28 + 80023ea: 460c mov r4, r1 + 80023ec: 2900 cmp r1, #0 + 80023ee: d037 beq.n 8002460 + 80023f0: 482c ldr r0, [pc, #176] ; (80024a4 ) + 80023f2: 2201 movs r2, #1 + 80023f4: f44f 4100 mov.w r1, #32768 ; 0x8000 + 80023f8: f001 fb02 bl 8003a00 + 80023fc: 482a ldr r0, [pc, #168] ; (80024a8 ) + 80023fe: f00c fde9 bl 800efd4 + 8002402: 7826 ldrb r6, [r4, #0] + 8002404: b19e cbz r6, 800242e + 8002406: 2d00 cmp r5, #0 + 8002408: d04a beq.n 80024a0 + 800240a: 686b ldr r3, [r5, #4] + 800240c: 782e ldrb r6, [r5, #0] + 800240e: b173 cbz r3, 800242e + 8002410: 2e02 cmp r6, #2 + 8002412: d027 beq.n 8002464 + 8002414: 2e03 cmp r6, #3 + 8002416: d10a bne.n 800242e + 8002418: 786a ldrb r2, [r5, #1] + 800241a: 2a01 cmp r2, #1 + 800241c: d107 bne.n 800242e + 800241e: 7818 ldrb r0, [r3, #0] + 8002420: 2801 cmp r0, #1 + 8002422: d002 beq.n 800242a + 8002424: 2802 cmp r0, #2 + 8002426: d000 beq.n 800242a + 8002428: b908 cbnz r0, 800242e + 800242a: f004 f889 bl 8006540 + 800242e: 7c23 ldrb r3, [r4, #16] + 8002430: 2b05 cmp r3, #5 + 8002432: d815 bhi.n 8002460 + 8002434: f994 200a ldrsb.w r2, [r4, #10] + 8002438: 9205 str r2, [sp, #20] + 800243a: f994 2009 ldrsb.w r2, [r4, #9] + 800243e: 9204 str r2, [sp, #16] + 8002440: 4a1a ldr r2, [pc, #104] ; (80024ac ) + 8002442: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8002446: 9303 str r3, [sp, #12] + 8002448: f994 3008 ldrsb.w r3, [r4, #8] + 800244c: e9cd 6301 strd r6, r3, [sp, #4] + 8002450: 2200 movs r2, #0 + 8002452: 68e3 ldr r3, [r4, #12] + 8002454: 9300 str r3, [sp, #0] + 8002456: 4611 mov r1, r2 + 8002458: 4b15 ldr r3, [pc, #84] ; (80024b0 ) + 800245a: 2003 movs r0, #3 + 800245c: f00c fa3e bl 800e8dc + 8002460: b007 add sp, #28 + 8002462: bdf0 pop {r4, r5, r6, r7, pc} + 8002464: 786f ldrb r7, [r5, #1] + 8002466: 2f01 cmp r7, #1 + 8002468: d1e1 bne.n 800242e + 800246a: 781d ldrb r5, [r3, #0] + 800246c: 4b11 ldr r3, [pc, #68] ; (80024b4 ) + 800246e: f005 0501 and.w r5, r5, #1 + 8002472: 701d strb r5, [r3, #0] + 8002474: b965 cbnz r5, 8002490 + 8002476: 462a mov r2, r5 + 8002478: 4b0f ldr r3, [pc, #60] ; (80024b8 ) + 800247a: 4629 mov r1, r5 + 800247c: 2003 movs r0, #3 + 800247e: f00c fa2d bl 800e8dc + 8002482: 462a mov r2, r5 + 8002484: 4807 ldr r0, [pc, #28] ; (80024a4 ) + 8002486: f44f 6100 mov.w r1, #2048 ; 0x800 + 800248a: f001 fab9 bl 8003a00 + 800248e: e7ce b.n 800242e + 8002490: 2200 movs r2, #0 + 8002492: 4611 mov r1, r2 + 8002494: 4b09 ldr r3, [pc, #36] ; (80024bc ) + 8002496: 2003 movs r0, #3 + 8002498: f00c fa20 bl 800e8dc + 800249c: 463a mov r2, r7 + 800249e: e7f1 b.n 8002484 + 80024a0: 462e mov r6, r5 + 80024a2: e7c4 b.n 800242e + 80024a4: 48000400 .word 0x48000400 + 80024a8: 200003e0 .word 0x200003e0 + 80024ac: 0800f97c .word 0x0800f97c + 80024b0: 0800f84f .word 0x0800f84f + 80024b4: 200003c7 .word 0x200003c7 + 80024b8: 0800f83c .word 0x0800f83c + 80024bc: 0800f846 .word 0x0800f846 -080024ac : - 80024ac: b510 push {r4, lr} - 80024ae: f004 fb19 bl 8006ae4 - 80024b2: f110 0f08 cmn.w r0, #8 - 80024b6: d107 bne.n 80024c8 - 80024b8: 4b06 ldr r3, [pc, #24] ; (80024d4 ) - 80024ba: 2200 movs r2, #0 - 80024bc: e8bd 4010 ldmia.w sp!, {r4, lr} - 80024c0: 4611 mov r1, r2 - 80024c2: 2002 movs r0, #2 - 80024c4: f00c ba00 b.w 800e8c8 - 80024c8: 3001 adds r0, #1 - 80024ca: d101 bne.n 80024d0 - 80024cc: 4b02 ldr r3, [pc, #8] ; (80024d8 ) - 80024ce: e7f4 b.n 80024ba - 80024d0: bd10 pop {r4, pc} - 80024d2: bf00 nop - 80024d4: 0800f87e .word 0x0800f87e - 80024d8: 0800f894 .word 0x0800f894 +080024c0 : + 80024c0: b510 push {r4, lr} + 80024c2: f004 fb19 bl 8006af8 + 80024c6: f110 0f08 cmn.w r0, #8 + 80024ca: d107 bne.n 80024dc + 80024cc: 4b06 ldr r3, [pc, #24] ; (80024e8 ) + 80024ce: 2200 movs r2, #0 + 80024d0: e8bd 4010 ldmia.w sp!, {r4, lr} + 80024d4: 4611 mov r1, r2 + 80024d6: 2002 movs r0, #2 + 80024d8: f00c ba00 b.w 800e8dc + 80024dc: 3001 adds r0, #1 + 80024de: d101 bne.n 80024e4 + 80024e0: 4b02 ldr r3, [pc, #8] ; (80024ec ) + 80024e2: e7f4 b.n 80024ce + 80024e4: bd10 pop {r4, pc} + 80024e6: bf00 nop + 80024e8: 0800f896 .word 0x0800f896 + 80024ec: 0800f8ac .word 0x0800f8ac -080024dc : - 80024dc: b5f0 push {r4, r5, r6, r7, lr} - 80024de: b087 sub sp, #28 - 80024e0: 2400 movs r4, #0 - 80024e2: 2601 movs r6, #1 - 80024e4: 2703 movs r7, #3 - 80024e6: 4b4f ldr r3, [pc, #316] ; (8002624 ) - 80024e8: 9402 str r4, [sp, #8] - 80024ea: 4622 mov r2, r4 - 80024ec: 4621 mov r1, r4 - 80024ee: e9cd 6700 strd r6, r7, [sp] - 80024f2: 2002 movs r0, #2 - 80024f4: 2502 movs r5, #2 - 80024f6: 9405 str r4, [sp, #20] - 80024f8: f00c f9e6 bl 800e8c8 - 80024fc: 2305 movs r3, #5 - 80024fe: e9cd 5300 strd r5, r3, [sp] - 8002502: 4622 mov r2, r4 - 8002504: 4b48 ldr r3, [pc, #288] ; (8002628 ) - 8002506: 9402 str r4, [sp, #8] - 8002508: 4621 mov r1, r4 - 800250a: 4628 mov r0, r5 - 800250c: f00c f9dc bl 800e8c8 - 8002510: 4b46 ldr r3, [pc, #280] ; (800262c ) - 8002512: 9600 str r6, [sp, #0] - 8002514: 4622 mov r2, r4 - 8002516: 4621 mov r1, r4 - 8002518: e9cd 7401 strd r7, r4, [sp, #4] - 800251c: 4628 mov r0, r5 - 800251e: f00c f9d3 bl 800e8c8 - 8002522: a905 add r1, sp, #20 - 8002524: 4620 mov r0, r4 - 8002526: f004 fa2d bl 8006984 - 800252a: 9b05 ldr r3, [sp, #20] - 800252c: f3c3 2207 ubfx r2, r3, #8, #8 - 8002530: 9202 str r2, [sp, #8] - 8002532: f3c3 4207 ubfx r2, r3, #16, #8 - 8002536: 0e1b lsrs r3, r3, #24 - 8002538: 9201 str r2, [sp, #4] - 800253a: 9300 str r3, [sp, #0] - 800253c: 4622 mov r2, r4 - 800253e: 4b3c ldr r3, [pc, #240] ; (8002630 ) - 8002540: 4621 mov r1, r4 - 8002542: 4628 mov r0, r5 - 8002544: f00c f9c0 bl 800e8c8 - 8002548: a905 add r1, sp, #20 - 800254a: 4630 mov r0, r6 - 800254c: f004 fa1a bl 8006984 - 8002550: 9b05 ldr r3, [sp, #20] - 8002552: b2da uxtb r2, r3 - 8002554: 9203 str r2, [sp, #12] - 8002556: f3c3 2207 ubfx r2, r3, #8, #8 - 800255a: 9202 str r2, [sp, #8] - 800255c: f3c3 4207 ubfx r2, r3, #16, #8 - 8002560: 0e1b lsrs r3, r3, #24 - 8002562: 9201 str r2, [sp, #4] - 8002564: 9300 str r3, [sp, #0] - 8002566: 4622 mov r2, r4 - 8002568: 4b32 ldr r3, [pc, #200] ; (8002634 ) - 800256a: 4621 mov r1, r4 - 800256c: 4628 mov r0, r5 - 800256e: f00c f9ab bl 800e8c8 - 8002572: 4b31 ldr r3, [pc, #196] ; (8002638 ) - 8002574: 4831 ldr r0, [pc, #196] ; (800263c ) - 8002576: 9400 str r4, [sp, #0] - 8002578: 4622 mov r2, r4 - 800257a: f44f 71fa mov.w r1, #500 ; 0x1f4 - 800257e: f00c fc73 bl 800ee68 - 8002582: 4b2f ldr r3, [pc, #188] ; (8002640 ) - 8002584: 482f ldr r0, [pc, #188] ; (8002644 ) - 8002586: 9400 str r4, [sp, #0] - 8002588: 4622 mov r2, r4 - 800258a: f44f 71fa mov.w r1, #500 ; 0x1f4 - 800258e: f00c fc6b bl 800ee68 - 8002592: 4b2d ldr r3, [pc, #180] ; (8002648 ) - 8002594: 482d ldr r0, [pc, #180] ; (800264c ) - 8002596: 9400 str r4, [sp, #0] - 8002598: 4632 mov r2, r6 - 800259a: f44f 71fa mov.w r1, #500 ; 0x1f4 - 800259e: f00c fc63 bl 800ee68 - 80025a2: 4620 mov r0, r4 - 80025a4: f7fe fdde bl 8001164 - 80025a8: b108 cbz r0, 80025ae - 80025aa: f7fe ffb9 bl 8001520 - 80025ae: 4b28 ldr r3, [pc, #160] ; (8002650 ) - 80025b0: 9400 str r4, [sp, #0] - 80025b2: 2200 movs r2, #0 - 80025b4: f44f 61fa mov.w r1, #2000 ; 0x7d0 - 80025b8: 4826 ldr r0, [pc, #152] ; (8002654 ) - 80025ba: f00c fc55 bl 800ee68 - 80025be: 4a26 ldr r2, [pc, #152] ; (8002658 ) - 80025c0: 2100 movs r1, #0 - 80025c2: 2001 movs r0, #1 - 80025c4: f00c fb50 bl 800ec68 - 80025c8: 4a24 ldr r2, [pc, #144] ; (800265c ) - 80025ca: 2100 movs r1, #0 - 80025cc: 2002 movs r0, #2 - 80025ce: f00c fb4b bl 800ec68 - 80025d2: 4a23 ldr r2, [pc, #140] ; (8002660 ) +080024f0 : + 80024f0: b5f0 push {r4, r5, r6, r7, lr} + 80024f2: b087 sub sp, #28 + 80024f4: 2400 movs r4, #0 + 80024f6: 2601 movs r6, #1 + 80024f8: 2703 movs r7, #3 + 80024fa: 4b4f ldr r3, [pc, #316] ; (8002638 ) + 80024fc: 9402 str r4, [sp, #8] + 80024fe: 4622 mov r2, r4 + 8002500: 4621 mov r1, r4 + 8002502: e9cd 6700 strd r6, r7, [sp] + 8002506: 2002 movs r0, #2 + 8002508: 2502 movs r5, #2 + 800250a: 9405 str r4, [sp, #20] + 800250c: f00c f9e6 bl 800e8dc + 8002510: 2305 movs r3, #5 + 8002512: e9cd 5300 strd r5, r3, [sp] + 8002516: 4622 mov r2, r4 + 8002518: 4b48 ldr r3, [pc, #288] ; (800263c ) + 800251a: 9402 str r4, [sp, #8] + 800251c: 4621 mov r1, r4 + 800251e: 4628 mov r0, r5 + 8002520: f00c f9dc bl 800e8dc + 8002524: 4b46 ldr r3, [pc, #280] ; (8002640 ) + 8002526: 9600 str r6, [sp, #0] + 8002528: 4622 mov r2, r4 + 800252a: 4621 mov r1, r4 + 800252c: e9cd 7401 strd r7, r4, [sp, #4] + 8002530: 4628 mov r0, r5 + 8002532: f00c f9d3 bl 800e8dc + 8002536: a905 add r1, sp, #20 + 8002538: 4620 mov r0, r4 + 800253a: f004 fa2d bl 8006998 + 800253e: 9b05 ldr r3, [sp, #20] + 8002540: f3c3 2207 ubfx r2, r3, #8, #8 + 8002544: 9202 str r2, [sp, #8] + 8002546: f3c3 4207 ubfx r2, r3, #16, #8 + 800254a: 0e1b lsrs r3, r3, #24 + 800254c: 9201 str r2, [sp, #4] + 800254e: 9300 str r3, [sp, #0] + 8002550: 4622 mov r2, r4 + 8002552: 4b3c ldr r3, [pc, #240] ; (8002644 ) + 8002554: 4621 mov r1, r4 + 8002556: 4628 mov r0, r5 + 8002558: f00c f9c0 bl 800e8dc + 800255c: a905 add r1, sp, #20 + 800255e: 4630 mov r0, r6 + 8002560: f004 fa1a bl 8006998 + 8002564: 9b05 ldr r3, [sp, #20] + 8002566: b2da uxtb r2, r3 + 8002568: 9203 str r2, [sp, #12] + 800256a: f3c3 2207 ubfx r2, r3, #8, #8 + 800256e: 9202 str r2, [sp, #8] + 8002570: f3c3 4207 ubfx r2, r3, #16, #8 + 8002574: 0e1b lsrs r3, r3, #24 + 8002576: 9201 str r2, [sp, #4] + 8002578: 9300 str r3, [sp, #0] + 800257a: 4622 mov r2, r4 + 800257c: 4b32 ldr r3, [pc, #200] ; (8002648 ) + 800257e: 4621 mov r1, r4 + 8002580: 4628 mov r0, r5 + 8002582: f00c f9ab bl 800e8dc + 8002586: 4b31 ldr r3, [pc, #196] ; (800264c ) + 8002588: 4831 ldr r0, [pc, #196] ; (8002650 ) + 800258a: 9400 str r4, [sp, #0] + 800258c: 4622 mov r2, r4 + 800258e: f44f 71fa mov.w r1, #500 ; 0x1f4 + 8002592: f00c fc73 bl 800ee7c + 8002596: 4b2f ldr r3, [pc, #188] ; (8002654 ) + 8002598: 482f ldr r0, [pc, #188] ; (8002658 ) + 800259a: 9400 str r4, [sp, #0] + 800259c: 4622 mov r2, r4 + 800259e: f44f 71fa mov.w r1, #500 ; 0x1f4 + 80025a2: f00c fc6b bl 800ee7c + 80025a6: 4b2d ldr r3, [pc, #180] ; (800265c ) + 80025a8: 482d ldr r0, [pc, #180] ; (8002660 ) + 80025aa: 9400 str r4, [sp, #0] + 80025ac: 4632 mov r2, r6 + 80025ae: f44f 71fa mov.w r1, #500 ; 0x1f4 + 80025b2: f00c fc63 bl 800ee7c + 80025b6: 4620 mov r0, r4 + 80025b8: f7fe fdd4 bl 8001164 + 80025bc: b108 cbz r0, 80025c2 + 80025be: f7fe ffaf bl 8001520 + 80025c2: 4b28 ldr r3, [pc, #160] ; (8002664 ) + 80025c4: 9400 str r4, [sp, #0] + 80025c6: 2200 movs r2, #0 + 80025c8: f44f 61fa mov.w r1, #2000 ; 0x7d0 + 80025cc: 4826 ldr r0, [pc, #152] ; (8002668 ) + 80025ce: f00c fc55 bl 800ee7c + 80025d2: 4a26 ldr r2, [pc, #152] ; (800266c ) 80025d4: 2100 movs r1, #0 - 80025d6: 2004 movs r0, #4 - 80025d8: f00c fb46 bl 800ec68 - 80025dc: 4a21 ldr r2, [pc, #132] ; (8002664 ) + 80025d6: 2001 movs r0, #1 + 80025d8: f00c fb50 bl 800ec7c + 80025dc: 4a24 ldr r2, [pc, #144] ; (8002670 ) 80025de: 2100 movs r1, #0 - 80025e0: 2008 movs r0, #8 - 80025e2: f00c fb41 bl 800ec68 - 80025e6: f000 f859 bl 800269c - 80025ea: 491f ldr r1, [pc, #124] ; (8002668 ) - 80025ec: 481f ldr r0, [pc, #124] ; (800266c ) - 80025ee: f004 f97f bl 80068f0 - 80025f2: 481f ldr r0, [pc, #124] ; (8002670 ) - 80025f4: f004 f86c bl 80066d0 - 80025f8: 4814 ldr r0, [pc, #80] ; (800264c ) - 80025fa: f00c fce1 bl 800efc0 - 80025fe: 4b1d ldr r3, [pc, #116] ; (8002674 ) - 8002600: 2100 movs r1, #0 - 8002602: 7818 ldrb r0, [r3, #0] - 8002604: f003 fdba bl 800617c - 8002608: 491b ldr r1, [pc, #108] ; (8002678 ) - 800260a: 9400 str r4, [sp, #0] - 800260c: 4b1b ldr r3, [pc, #108] ; (800267c ) - 800260e: 6809 ldr r1, [r1, #0] - 8002610: 481b ldr r0, [pc, #108] ; (8002680 ) - 8002612: 2200 movs r2, #0 - 8002614: f00c fc28 bl 800ee68 - 8002618: 4819 ldr r0, [pc, #100] ; (8002680 ) - 800261a: f00c fcd1 bl 800efc0 - 800261e: b007 add sp, #28 - 8002620: bdf0 pop {r4, r5, r6, r7, pc} - 8002622: bf00 nop - 8002624: 0800f8ac .word 0x0800f8ac - 8002628: 0800f8cd .word 0x0800f8cd - 800262c: 0800f8ee .word 0x0800f8ee - 8002630: 0800f90f .word 0x0800f90f - 8002634: 0800f930 .word 0x0800f930 - 8002638: 08001fa5 .word 0x08001fa5 - 800263c: 20000410 .word 0x20000410 - 8002640: 08001f95 .word 0x08001f95 - 8002644: 200003e0 .word 0x200003e0 - 8002648: 08002241 .word 0x08002241 - 800264c: 200003c8 .word 0x200003c8 - 8002650: 08001f51 .word 0x08001f51 - 8002654: 200003f8 .word 0x200003f8 - 8002658: 080064c9 .word 0x080064c9 - 800265c: 08002089 .word 0x08002089 - 8002660: 080024ad .word 0x080024ad - 8002664: 08001fe9 .word 0x08001fe9 - 8002668: 01030000 .word 0x01030000 - 800266c: 2000000c .word 0x2000000c - 8002670: 20000058 .word 0x20000058 - 8002674: 20000000 .word 0x20000000 - 8002678: 20000070 .word 0x20000070 - 800267c: 08001e85 .word 0x08001e85 - 8002680: 20000428 .word 0x20000428 + 80025e0: 2002 movs r0, #2 + 80025e2: f00c fb4b bl 800ec7c + 80025e6: 4a23 ldr r2, [pc, #140] ; (8002674 ) + 80025e8: 2100 movs r1, #0 + 80025ea: 2004 movs r0, #4 + 80025ec: f00c fb46 bl 800ec7c + 80025f0: 4a21 ldr r2, [pc, #132] ; (8002678 ) + 80025f2: 2100 movs r1, #0 + 80025f4: 2008 movs r0, #8 + 80025f6: f00c fb41 bl 800ec7c + 80025fa: f000 f859 bl 80026b0 + 80025fe: 491f ldr r1, [pc, #124] ; (800267c ) + 8002600: 481f ldr r0, [pc, #124] ; (8002680 ) + 8002602: f004 f97f bl 8006904 + 8002606: 481f ldr r0, [pc, #124] ; (8002684 ) + 8002608: f004 f86c bl 80066e4 + 800260c: 4814 ldr r0, [pc, #80] ; (8002660 ) + 800260e: f00c fce1 bl 800efd4 + 8002612: 4b1d ldr r3, [pc, #116] ; (8002688 ) + 8002614: 2100 movs r1, #0 + 8002616: 7818 ldrb r0, [r3, #0] + 8002618: f003 fdba bl 8006190 + 800261c: 491b ldr r1, [pc, #108] ; (800268c ) + 800261e: 9400 str r4, [sp, #0] + 8002620: 4b1b ldr r3, [pc, #108] ; (8002690 ) + 8002622: 6809 ldr r1, [r1, #0] + 8002624: 481b ldr r0, [pc, #108] ; (8002694 ) + 8002626: 2200 movs r2, #0 + 8002628: f00c fc28 bl 800ee7c + 800262c: 4819 ldr r0, [pc, #100] ; (8002694 ) + 800262e: f00c fcd1 bl 800efd4 + 8002632: b007 add sp, #28 + 8002634: bdf0 pop {r4, r5, r6, r7, pc} + 8002636: bf00 nop + 8002638: 0800f8c4 .word 0x0800f8c4 + 800263c: 0800f8e5 .word 0x0800f8e5 + 8002640: 0800f906 .word 0x0800f906 + 8002644: 0800f927 .word 0x0800f927 + 8002648: 0800f948 .word 0x0800f948 + 800264c: 08001fb9 .word 0x08001fb9 + 8002650: 20000410 .word 0x20000410 + 8002654: 08001fa9 .word 0x08001fa9 + 8002658: 200003e0 .word 0x200003e0 + 800265c: 08002255 .word 0x08002255 + 8002660: 200003c8 .word 0x200003c8 + 8002664: 08001f65 .word 0x08001f65 + 8002668: 200003f8 .word 0x200003f8 + 800266c: 080064dd .word 0x080064dd + 8002670: 0800209d .word 0x0800209d + 8002674: 080024c1 .word 0x080024c1 + 8002678: 08001ffd .word 0x08001ffd + 800267c: 01030000 .word 0x01030000 + 8002680: 2000000c .word 0x2000000c + 8002684: 20000058 .word 0x20000058 + 8002688: 20000000 .word 0x20000000 + 800268c: 20000070 .word 0x20000070 + 8002690: 08001e99 .word 0x08001e99 + 8002694: 20000428 .word 0x20000428 -08002684 : - 8002684: 2802 cmp r0, #2 - 8002686: d004 beq.n 8002692 - 8002688: 2840 cmp r0, #64 ; 0x40 - 800268a: d106 bne.n 800269a - 800268c: 2100 movs r1, #0 - 800268e: 2004 movs r0, #4 - 8002690: e001 b.n 8002696 - 8002692: 2100 movs r1, #0 - 8002694: 2008 movs r0, #8 - 8002696: f00c ba2b b.w 800eaf0 - 800269a: 4770 bx lr +08002698 : + 8002698: 2802 cmp r0, #2 + 800269a: d004 beq.n 80026a6 + 800269c: 2840 cmp r0, #64 ; 0x40 + 800269e: d106 bne.n 80026ae + 80026a0: 2100 movs r1, #0 + 80026a2: 2004 movs r0, #4 + 80026a4: e001 b.n 80026aa + 80026a6: 2100 movs r1, #0 + 80026a8: 2008 movs r0, #8 + 80026aa: f00c ba2b b.w 800eb04 + 80026ae: 4770 bx lr -0800269c : - 800269c: 4b03 ldr r3, [pc, #12] ; (80026ac ) - 800269e: 2200 movs r2, #0 - 80026a0: e9c3 2202 strd r2, r2, [r3, #8] - 80026a4: 2201 movs r2, #1 - 80026a6: e9c3 2200 strd r2, r2, [r3] - 80026aa: 4770 bx lr - 80026ac: 20000440 .word 0x20000440 +080026b0 : + 80026b0: 4b03 ldr r3, [pc, #12] ; (80026c0 ) + 80026b2: 2200 movs r2, #0 + 80026b4: e9c3 2202 strd r2, r2, [r3, #8] + 80026b8: 2201 movs r2, #1 + 80026ba: e9c3 2200 strd r2, r2, [r3] + 80026be: 4770 bx lr + 80026c0: 20000440 .word 0x20000440 -080026b0 : - 80026b0: 4800 ldr r0, [pc, #0] ; (80026b4 ) - 80026b2: 4770 bx lr - 80026b4: 20000440 .word 0x20000440 +080026c4 : + 80026c4: 4800 ldr r0, [pc, #0] ; (80026c8 ) + 80026c6: 4770 bx lr + 80026c8: 20000440 .word 0x20000440 -080026b8 : - 80026b8: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 80026bc: b082 sub sp, #8 - 80026be: 6cda ldr r2, [r3, #76] ; 0x4c - 80026c0: 4302 orrs r2, r0 - 80026c2: 64da str r2, [r3, #76] ; 0x4c - 80026c4: 6cdb ldr r3, [r3, #76] ; 0x4c - 80026c6: 4003 ands r3, r0 - 80026c8: 9301 str r3, [sp, #4] - 80026ca: 9b01 ldr r3, [sp, #4] - 80026cc: b002 add sp, #8 - 80026ce: 4770 bx lr +080026cc : + 80026cc: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80026d0: b082 sub sp, #8 + 80026d2: 6cda ldr r2, [r3, #76] ; 0x4c + 80026d4: 4302 orrs r2, r0 + 80026d6: 64da str r2, [r3, #76] ; 0x4c + 80026d8: 6cdb ldr r3, [r3, #76] ; 0x4c + 80026da: 4003 ands r3, r0 + 80026dc: 9301 str r3, [sp, #4] + 80026de: 9b01 ldr r3, [sp, #4] + 80026e0: b002 add sp, #8 + 80026e2: 4770 bx lr -080026d0 : - 80026d0: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 80026d4: b086 sub sp, #24 - 80026d6: 2400 movs r4, #0 - 80026d8: 2002 movs r0, #2 - 80026da: 4d15 ldr r5, [pc, #84] ; (8002730 ) - 80026dc: 9405 str r4, [sp, #20] - 80026de: f7ff ffeb bl 80026b8 - 80026e2: 2004 movs r0, #4 - 80026e4: f7ff ffe8 bl 80026b8 - 80026e8: 4f12 ldr r7, [pc, #72] ; (8002734 ) - 80026ea: 9403 str r4, [sp, #12] - 80026ec: f44f 7680 mov.w r6, #256 ; 0x100 - 80026f0: 2301 movs r3, #1 - 80026f2: eb0d 0100 add.w r1, sp, r0 - 80026f6: e9cd 6301 strd r6, r3, [sp, #4] - 80026fa: 4628 mov r0, r5 - 80026fc: 2303 movs r3, #3 - 80026fe: 9304 str r3, [sp, #16] - 8002700: f44f 5800 mov.w r8, #8192 ; 0x2000 - 8002704: f001 f852 bl 80037ac - 8002708: a901 add r1, sp, #4 - 800270a: 4638 mov r0, r7 - 800270c: f8cd 8004 str.w r8, [sp, #4] - 8002710: f001 f84c bl 80037ac - 8002714: 4622 mov r2, r4 - 8002716: 4641 mov r1, r8 - 8002718: 4638 mov r0, r7 - 800271a: f001 f967 bl 80039ec - 800271e: 4628 mov r0, r5 - 8002720: 4622 mov r2, r4 - 8002722: 4631 mov r1, r6 - 8002724: f001 f962 bl 80039ec - 8002728: 4620 mov r0, r4 - 800272a: b006 add sp, #24 - 800272c: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8002730: 48000400 .word 0x48000400 - 8002734: 48000800 .word 0x48000800 +080026e4 : + 80026e4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 80026e8: b086 sub sp, #24 + 80026ea: 2400 movs r4, #0 + 80026ec: 2002 movs r0, #2 + 80026ee: 4d15 ldr r5, [pc, #84] ; (8002744 ) + 80026f0: 9405 str r4, [sp, #20] + 80026f2: f7ff ffeb bl 80026cc + 80026f6: 2004 movs r0, #4 + 80026f8: f7ff ffe8 bl 80026cc + 80026fc: 4f12 ldr r7, [pc, #72] ; (8002748 ) + 80026fe: 9403 str r4, [sp, #12] + 8002700: f44f 7680 mov.w r6, #256 ; 0x100 + 8002704: 2301 movs r3, #1 + 8002706: eb0d 0100 add.w r1, sp, r0 + 800270a: e9cd 6301 strd r6, r3, [sp, #4] + 800270e: 4628 mov r0, r5 + 8002710: 2303 movs r3, #3 + 8002712: 9304 str r3, [sp, #16] + 8002714: f44f 5800 mov.w r8, #8192 ; 0x2000 + 8002718: f001 f852 bl 80037c0 + 800271c: a901 add r1, sp, #4 + 800271e: 4638 mov r0, r7 + 8002720: f8cd 8004 str.w r8, [sp, #4] + 8002724: f001 f84c bl 80037c0 + 8002728: 4622 mov r2, r4 + 800272a: 4641 mov r1, r8 + 800272c: 4638 mov r0, r7 + 800272e: f001 f967 bl 8003a00 + 8002732: 4628 mov r0, r5 + 8002734: 4622 mov r2, r4 + 8002736: 4631 mov r1, r6 + 8002738: f001 f962 bl 8003a00 + 800273c: 4620 mov r0, r4 + 800273e: b006 add sp, #24 + 8002740: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8002744: 48000400 .word 0x48000400 + 8002748: 48000800 .word 0x48000800 -08002738 : - 8002738: 2803 cmp r0, #3 - 800273a: b510 push {r4, lr} - 800273c: d80e bhi.n 800275c - 800273e: 2801 cmp r0, #1 - 8002740: d810 bhi.n 8002764 - 8002742: b968 cbnz r0, 8002760 - 8002744: 4602 mov r2, r0 - 8002746: 480b ldr r0, [pc, #44] ; (8002774 ) - 8002748: f44f 7180 mov.w r1, #256 ; 0x100 - 800274c: f001 f94e bl 80039ec - 8002750: 2200 movs r2, #0 - 8002752: 4809 ldr r0, [pc, #36] ; (8002778 ) - 8002754: f44f 5100 mov.w r1, #8192 ; 0x2000 - 8002758: f001 f948 bl 80039ec - 800275c: 2000 movs r0, #0 - 800275e: bd10 pop {r4, pc} - 8002760: 2201 movs r2, #1 - 8002762: e7f0 b.n 8002746 +0800274c : + 800274c: 2803 cmp r0, #3 + 800274e: b510 push {r4, lr} + 8002750: d80e bhi.n 8002770 + 8002752: 2801 cmp r0, #1 + 8002754: d810 bhi.n 8002778 + 8002756: b968 cbnz r0, 8002774 + 8002758: 4602 mov r2, r0 + 800275a: 480b ldr r0, [pc, #44] ; (8002788 ) + 800275c: f44f 7180 mov.w r1, #256 ; 0x100 + 8002760: f001 f94e bl 8003a00 8002764: 2200 movs r2, #0 - 8002766: 4803 ldr r0, [pc, #12] ; (8002774 ) - 8002768: f44f 7180 mov.w r1, #256 ; 0x100 - 800276c: f001 f93e bl 80039ec - 8002770: 2201 movs r2, #1 - 8002772: e7ee b.n 8002752 - 8002774: 48000400 .word 0x48000400 - 8002778: 48000800 .word 0x48000800 + 8002766: 4809 ldr r0, [pc, #36] ; (800278c ) + 8002768: f44f 5100 mov.w r1, #8192 ; 0x2000 + 800276c: f001 f948 bl 8003a00 + 8002770: 2000 movs r0, #0 + 8002772: bd10 pop {r4, pc} + 8002774: 2201 movs r2, #1 + 8002776: e7f0 b.n 800275a + 8002778: 2200 movs r2, #0 + 800277a: 4803 ldr r0, [pc, #12] ; (8002788 ) + 800277c: f44f 7180 mov.w r1, #256 ; 0x100 + 8002780: f001 f93e bl 8003a00 + 8002784: 2201 movs r2, #1 + 8002786: e7ee b.n 8002766 + 8002788: 48000400 .word 0x48000400 + 800278c: 48000800 .word 0x48000800 -0800277c : - 800277c: 2002 movs r0, #2 - 800277e: 4770 bx lr +08002790 : + 8002790: 2002 movs r0, #2 + 8002792: 4770 bx lr -08002780 : - 8002780: 2000 movs r0, #0 - 8002782: 4770 bx lr +08002794 : + 8002794: 2000 movs r0, #0 + 8002796: 4770 bx lr -08002784 : - 8002784: 2001 movs r0, #1 - 8002786: 4770 bx lr +08002798 : + 8002798: 2001 movs r0, #1 + 800279a: 4770 bx lr -08002788 : - 8002788: 2800 cmp r0, #0 - 800278a: bf0c ite eq - 800278c: 200f moveq r0, #15 - 800278e: 2016 movne r0, #22 - 8002790: 4770 bx lr +0800279c : + 800279c: 2800 cmp r0, #0 + 800279e: bf0c ite eq + 80027a0: 200f moveq r0, #15 + 80027a2: 2016 movne r0, #22 + 80027a4: 4770 bx lr ... -08002794 : - 8002794: 480d ldr r0, [pc, #52] ; (80027cc ) - 8002796: 4685 mov sp, r0 - 8002798: f000 f825 bl 80027e6 - 800279c: 480c ldr r0, [pc, #48] ; (80027d0 ) - 800279e: 490d ldr r1, [pc, #52] ; (80027d4 ) - 80027a0: 4a0d ldr r2, [pc, #52] ; (80027d8 ) - 80027a2: 2300 movs r3, #0 - 80027a4: e002 b.n 80027ac - -080027a6 : - 80027a6: 58d4 ldr r4, [r2, r3] - 80027a8: 50c4 str r4, [r0, r3] - 80027aa: 3304 adds r3, #4 - -080027ac : - 80027ac: 18c4 adds r4, r0, r3 - 80027ae: 428c cmp r4, r1 - 80027b0: d3f9 bcc.n 80027a6 - 80027b2: 4a0a ldr r2, [pc, #40] ; (80027dc ) - 80027b4: 4c0a ldr r4, [pc, #40] ; (80027e0 ) +080027a8 : + 80027a8: 480d ldr r0, [pc, #52] ; (80027e0 ) + 80027aa: 4685 mov sp, r0 + 80027ac: f000 f825 bl 80027fa + 80027b0: 480c ldr r0, [pc, #48] ; (80027e4 ) + 80027b2: 490d ldr r1, [pc, #52] ; (80027e8 ) + 80027b4: 4a0d ldr r2, [pc, #52] ; (80027ec ) 80027b6: 2300 movs r3, #0 - 80027b8: e001 b.n 80027be + 80027b8: e002 b.n 80027c0 -080027ba : - 80027ba: 6013 str r3, [r2, #0] - 80027bc: 3204 adds r2, #4 +080027ba : + 80027ba: 58d4 ldr r4, [r2, r3] + 80027bc: 50c4 str r4, [r0, r3] + 80027be: 3304 adds r3, #4 -080027be : - 80027be: 42a2 cmp r2, r4 - 80027c0: d3fb bcc.n 80027ba - 80027c2: f00c fdb9 bl 800f338 <__libc_init_array> - 80027c6: f7fe fe9f bl 8001508
+080027c0 : + 80027c0: 18c4 adds r4, r0, r3 + 80027c2: 428c cmp r4, r1 + 80027c4: d3f9 bcc.n 80027ba + 80027c6: 4a0a ldr r2, [pc, #40] ; (80027f0 ) + 80027c8: 4c0a ldr r4, [pc, #40] ; (80027f4 ) + 80027ca: 2300 movs r3, #0 + 80027cc: e001 b.n 80027d2 -080027ca : - 80027ca: e7fe b.n 80027ca - 80027cc: 20010000 .word 0x20010000 - 80027d0: 20000000 .word 0x20000000 - 80027d4: 20000108 .word 0x20000108 - 80027d8: 0801045c .word 0x0801045c - 80027dc: 20000108 .word 0x20000108 - 80027e0: 200021b4 .word 0x200021b4 +080027ce : + 80027ce: 6013 str r3, [r2, #0] + 80027d0: 3204 adds r2, #4 -080027e4 : - 80027e4: e7fe b.n 80027e4 +080027d2 : + 80027d2: 42a2 cmp r2, r4 + 80027d4: d3fb bcc.n 80027ce + 80027d6: f00c fdb9 bl 800f34c <__libc_init_array> + 80027da: f7fe fe95 bl 8001508
-080027e6 : - 80027e6: 4770 bx lr +080027de : + 80027de: e7fe b.n 80027de + 80027e0: 20010000 .word 0x20010000 + 80027e4: 20000000 .word 0x20000000 + 80027e8: 20000108 .word 0x20000108 + 80027ec: 08010474 .word 0x08010474 + 80027f0: 20000108 .word 0x20000108 + 80027f4: 200021b4 .word 0x200021b4 -080027e8 : - 80027e8: b510 push {r4, lr} - 80027ea: 2003 movs r0, #3 - 80027ec: f000 fc72 bl 80030d4 - 80027f0: f001 fa90 bl 8003d14 - 80027f4: 4b06 ldr r3, [pc, #24] ; (8002810 ) - 80027f6: 6018 str r0, [r3, #0] - 80027f8: 200f movs r0, #15 - 80027fa: f7ff f85f bl 80018bc - 80027fe: 4604 mov r4, r0 - 8002800: b918 cbnz r0, 800280a - 8002802: f7fe ff35 bl 8001670 - 8002806: 4620 mov r0, r4 - 8002808: bd10 pop {r4, pc} - 800280a: 2401 movs r4, #1 - 800280c: e7fb b.n 8002806 - 800280e: bf00 nop - 8002810: 20000074 .word 0x20000074 +080027f8 : + 80027f8: e7fe b.n 80027f8 -08002814 : - 8002814: f04f 22e0 mov.w r2, #3758153728 ; 0xe000e000 - 8002818: 6913 ldr r3, [r2, #16] - 800281a: f023 0302 bic.w r3, r3, #2 - 800281e: 6113 str r3, [r2, #16] - 8002820: 4770 bx lr +080027fa : + 80027fa: 4770 bx lr -08002822 : - 8002822: f04f 22e0 mov.w r2, #3758153728 ; 0xe000e000 - 8002826: 6913 ldr r3, [r2, #16] - 8002828: f043 0302 orr.w r3, r3, #2 - 800282c: 6113 str r3, [r2, #16] - 800282e: 4770 bx lr +080027fc : + 80027fc: b510 push {r4, lr} + 80027fe: 2003 movs r0, #3 + 8002800: f000 fc72 bl 80030e8 + 8002804: f001 fa90 bl 8003d28 + 8002808: 4b06 ldr r3, [pc, #24] ; (8002824 ) + 800280a: 6018 str r0, [r3, #0] + 800280c: 200f movs r0, #15 + 800280e: f7ff f855 bl 80018bc + 8002812: 4604 mov r4, r0 + 8002814: b918 cbnz r0, 800281e + 8002816: f7fe ff2b bl 8001670 + 800281a: 4620 mov r0, r4 + 800281c: bd10 pop {r4, pc} + 800281e: 2401 movs r4, #1 + 8002820: e7fb b.n 800281a + 8002822: bf00 nop + 8002824: 20000074 .word 0x20000074 -08002830 : - 8002830: 4b01 ldr r3, [pc, #4] ; (8002838 ) - 8002832: f8d3 0590 ldr.w r0, [r3, #1424] ; 0x590 - 8002836: 4770 bx lr - 8002838: 1fff7000 .word 0x1fff7000 +08002828 : + 8002828: f04f 22e0 mov.w r2, #3758153728 ; 0xe000e000 + 800282c: 6913 ldr r3, [r2, #16] + 800282e: f023 0302 bic.w r3, r3, #2 + 8002832: 6113 str r3, [r2, #16] + 8002834: 4770 bx lr -0800283c : - 800283c: 4b01 ldr r3, [pc, #4] ; (8002844 ) - 800283e: f8d3 0594 ldr.w r0, [r3, #1428] ; 0x594 +08002836 : + 8002836: f04f 22e0 mov.w r2, #3758153728 ; 0xe000e000 + 800283a: 6913 ldr r3, [r2, #16] + 800283c: f043 0302 orr.w r3, r3, #2 + 8002840: 6113 str r3, [r2, #16] 8002842: 4770 bx lr - 8002844: 1fff7000 .word 0x1fff7000 -08002848 : - 8002848: 4b01 ldr r3, [pc, #4] ; (8002850 ) - 800284a: f8d3 0598 ldr.w r0, [r3, #1432] ; 0x598 - 800284e: 4770 bx lr - 8002850: 1fff7000 .word 0x1fff7000 +08002844 : + 8002844: 4b01 ldr r3, [pc, #4] ; (800284c ) + 8002846: f8d3 0590 ldr.w r0, [r3, #1424] ; 0x590 + 800284a: 4770 bx lr + 800284c: 1fff7000 .word 0x1fff7000 -08002854 : - 8002854: 4a02 ldr r2, [pc, #8] ; (8002860 ) - 8002856: 6853 ldr r3, [r2, #4] - 8002858: f023 0301 bic.w r3, r3, #1 - 800285c: 6053 str r3, [r2, #4] - 800285e: 4770 bx lr - 8002860: e0042000 .word 0xe0042000 +08002850 : + 8002850: 4b01 ldr r3, [pc, #4] ; (8002858 ) + 8002852: f8d3 0594 ldr.w r0, [r3, #1428] ; 0x594 + 8002856: 4770 bx lr + 8002858: 1fff7000 .word 0x1fff7000 -08002864 : - 8002864: 4a02 ldr r2, [pc, #8] ; (8002870 ) - 8002866: 6853 ldr r3, [r2, #4] - 8002868: f023 0302 bic.w r3, r3, #2 - 800286c: 6053 str r3, [r2, #4] - 800286e: 4770 bx lr - 8002870: e0042000 .word 0xe0042000 +0800285c : + 800285c: 4b01 ldr r3, [pc, #4] ; (8002864 ) + 800285e: f8d3 0598 ldr.w r0, [r3, #1432] ; 0x598 + 8002862: 4770 bx lr + 8002864: 1fff7000 .word 0x1fff7000 -08002874 : - 8002874: 4a02 ldr r2, [pc, #8] ; (8002880 ) - 8002876: 6853 ldr r3, [r2, #4] - 8002878: f023 0304 bic.w r3, r3, #4 - 800287c: 6053 str r3, [r2, #4] - 800287e: 4770 bx lr - 8002880: e0042000 .word 0xe0042000 +08002868 : + 8002868: 4a02 ldr r2, [pc, #8] ; (8002874 ) + 800286a: 6853 ldr r3, [r2, #4] + 800286c: f023 0301 bic.w r3, r3, #1 + 8002870: 6053 str r3, [r2, #4] + 8002872: 4770 bx lr + 8002874: e0042000 .word 0xe0042000 -08002884 : - 8002884: 6880 ldr r0, [r0, #8] - 8002886: f3c0 0080 ubfx r0, r0, #2, #1 - 800288a: 4770 bx lr +08002878 : + 8002878: 4a02 ldr r2, [pc, #8] ; (8002884 ) + 800287a: 6853 ldr r3, [r2, #4] + 800287c: f023 0302 bic.w r3, r3, #2 + 8002880: 6053 str r3, [r2, #4] + 8002882: 4770 bx lr + 8002884: e0042000 .word 0xe0042000 -0800288c : - 800288c: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 800288e: 2300 movs r3, #0 - 8002890: 9301 str r3, [sp, #4] - 8002892: 4604 mov r4, r0 - 8002894: 2800 cmp r0, #0 - 8002896: f000 80e9 beq.w 8002a6c - 800289a: 6d85 ldr r5, [r0, #88] ; 0x58 - 800289c: b925 cbnz r5, 80028a8 - 800289e: f7fe fb2d bl 8000efc - 80028a2: 65e5 str r5, [r4, #92] ; 0x5c - 80028a4: f884 5054 strb.w r5, [r4, #84] ; 0x54 - 80028a8: 6823 ldr r3, [r4, #0] - 80028aa: 689a ldr r2, [r3, #8] - 80028ac: 00d0 lsls r0, r2, #3 - 80028ae: f140 80a1 bpl.w 80029f4 - 80028b2: 689a ldr r2, [r3, #8] - 80028b4: 00d1 lsls r1, r2, #3 - 80028b6: f100 80b4 bmi.w 8002a22 - 80028ba: 6da2 ldr r2, [r4, #88] ; 0x58 - 80028bc: f042 0210 orr.w r2, r2, #16 - 80028c0: 65a2 str r2, [r4, #88] ; 0x58 - 80028c2: 6de2 ldr r2, [r4, #92] ; 0x5c - 80028c4: f042 0201 orr.w r2, r2, #1 - 80028c8: 65e2 str r2, [r4, #92] ; 0x5c - 80028ca: 2501 movs r5, #1 - 80028cc: 4618 mov r0, r3 - 80028ce: f7ff ffd9 bl 8002884 - 80028d2: 6da2 ldr r2, [r4, #88] ; 0x58 - 80028d4: f002 0210 and.w r2, r2, #16 - 80028d8: 4302 orrs r2, r0 - 80028da: f040 80c9 bne.w 8002a70 - 80028de: 6da2 ldr r2, [r4, #88] ; 0x58 - 80028e0: 6920 ldr r0, [r4, #16] - 80028e2: f422 7281 bic.w r2, r2, #258 ; 0x102 - 80028e6: f042 0202 orr.w r2, r2, #2 - 80028ea: 65a2 str r2, [r4, #88] ; 0x58 - 80028ec: 689a ldr r2, [r3, #8] - 80028ee: 07d2 lsls r2, r2, #31 - 80028f0: d45d bmi.n 80029ae - 80028f2: 6b22 ldr r2, [r4, #48] ; 0x30 - 80028f4: 7ea6 ldrb r6, [r4, #26] - 80028f6: f894 c02c ldrb.w ip, [r4, #44] ; 0x2c - 80028fa: 3a00 subs r2, #0 - 80028fc: bf18 it ne - 80028fe: 2201 movne r2, #1 - 8002900: 0317 lsls r7, r2, #12 - 8002902: e9d4 1202 ldrd r1, r2, [r4, #8] - 8002906: 430a orrs r2, r1 - 8002908: 7e21 ldrb r1, [r4, #24] - 800290a: ea42 3281 orr.w r2, r2, r1, lsl #14 - 800290e: 7e61 ldrb r1, [r4, #25] - 8002910: ea42 32c1 orr.w r2, r2, r1, lsl #15 - 8002914: ea42 3246 orr.w r2, r2, r6, lsl #13 - 8002918: 2800 cmp r0, #0 - 800291a: ea42 024c orr.w r2, r2, ip, lsl #1 - 800291e: bfb4 ite lt - 8002920: f020 4100 biclt.w r1, r0, #2147483648 ; 0x80000000 - 8002924: f44f 1100 movge.w r1, #2097152 ; 0x200000 - 8002928: 433a orrs r2, r7 - 800292a: 430a orrs r2, r1 - 800292c: f894 1020 ldrb.w r1, [r4, #32] - 8002930: 2901 cmp r1, #1 - 8002932: d103 bne.n 800293c - 8002934: 2e00 cmp r6, #0 - 8002936: d176 bne.n 8002a26 - 8002938: f442 3280 orr.w r2, r2, #65536 ; 0x10000 - 800293c: 6a61 ldr r1, [r4, #36] ; 0x24 - 800293e: b121 cbz r1, 800294a - 8002940: 6aa6 ldr r6, [r4, #40] ; 0x28 - 8002942: f401 71e0 and.w r1, r1, #448 ; 0x1c0 - 8002946: 4331 orrs r1, r6 - 8002948: 430a orrs r2, r1 - 800294a: 68d9 ldr r1, [r3, #12] - 800294c: 6ce6 ldr r6, [r4, #76] ; 0x4c - 800294e: f421 31fe bic.w r1, r1, #130048 ; 0x1fc00 - 8002952: f421 71ff bic.w r1, r1, #510 ; 0x1fe - 8002956: 4311 orrs r1, r2 - 8002958: 60d9 str r1, [r3, #12] - 800295a: f894 203c ldrb.w r2, [r4, #60] ; 0x3c - 800295e: 6861 ldr r1, [r4, #4] - 8002960: 2a01 cmp r2, #1 - 8002962: f001 4c40 and.w ip, r1, #3221225472 ; 0xc0000000 - 8002966: ea4c 0606 orr.w r6, ip, r6 - 800296a: d109 bne.n 8002980 - 800296c: e9d4 2710 ldrd r2, r7, [r4, #64] ; 0x40 - 8002970: 433a orrs r2, r7 - 8002972: 4332 orrs r2, r6 - 8002974: 6ca6 ldr r6, [r4, #72] ; 0x48 - 8002976: 4332 orrs r2, r6 - 8002978: ea42 020c orr.w r2, r2, ip - 800297c: f042 0601 orr.w r6, r2, #1 - 8002980: 691f ldr r7, [r3, #16] - 8002982: 4a3e ldr r2, [pc, #248] ; (8002a7c ) - 8002984: 403a ands r2, r7 +08002888 : + 8002888: 4a02 ldr r2, [pc, #8] ; (8002894 ) + 800288a: 6853 ldr r3, [r2, #4] + 800288c: f023 0304 bic.w r3, r3, #4 + 8002890: 6053 str r3, [r2, #4] + 8002892: 4770 bx lr + 8002894: e0042000 .word 0xe0042000 + +08002898 : + 8002898: 6880 ldr r0, [r0, #8] + 800289a: f3c0 0080 ubfx r0, r0, #2, #1 + 800289e: 4770 bx lr + +080028a0 : + 80028a0: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 80028a2: 2300 movs r3, #0 + 80028a4: 9301 str r3, [sp, #4] + 80028a6: 4604 mov r4, r0 + 80028a8: 2800 cmp r0, #0 + 80028aa: f000 80e9 beq.w 8002a80 + 80028ae: 6d85 ldr r5, [r0, #88] ; 0x58 + 80028b0: b925 cbnz r5, 80028bc + 80028b2: f7fe fb23 bl 8000efc + 80028b6: 65e5 str r5, [r4, #92] ; 0x5c + 80028b8: f884 5054 strb.w r5, [r4, #84] ; 0x54 + 80028bc: 6823 ldr r3, [r4, #0] + 80028be: 689a ldr r2, [r3, #8] + 80028c0: 00d0 lsls r0, r2, #3 + 80028c2: f140 80a1 bpl.w 8002a08 + 80028c6: 689a ldr r2, [r3, #8] + 80028c8: 00d1 lsls r1, r2, #3 + 80028ca: f100 80b4 bmi.w 8002a36 + 80028ce: 6da2 ldr r2, [r4, #88] ; 0x58 + 80028d0: f042 0210 orr.w r2, r2, #16 + 80028d4: 65a2 str r2, [r4, #88] ; 0x58 + 80028d6: 6de2 ldr r2, [r4, #92] ; 0x5c + 80028d8: f042 0201 orr.w r2, r2, #1 + 80028dc: 65e2 str r2, [r4, #92] ; 0x5c + 80028de: 2501 movs r5, #1 + 80028e0: 4618 mov r0, r3 + 80028e2: f7ff ffd9 bl 8002898 + 80028e6: 6da2 ldr r2, [r4, #88] ; 0x58 + 80028e8: f002 0210 and.w r2, r2, #16 + 80028ec: 4302 orrs r2, r0 + 80028ee: f040 80c9 bne.w 8002a84 + 80028f2: 6da2 ldr r2, [r4, #88] ; 0x58 + 80028f4: 6920 ldr r0, [r4, #16] + 80028f6: f422 7281 bic.w r2, r2, #258 ; 0x102 + 80028fa: f042 0202 orr.w r2, r2, #2 + 80028fe: 65a2 str r2, [r4, #88] ; 0x58 + 8002900: 689a ldr r2, [r3, #8] + 8002902: 07d2 lsls r2, r2, #31 + 8002904: d45d bmi.n 80029c2 + 8002906: 6b22 ldr r2, [r4, #48] ; 0x30 + 8002908: 7ea6 ldrb r6, [r4, #26] + 800290a: f894 c02c ldrb.w ip, [r4, #44] ; 0x2c + 800290e: 3a00 subs r2, #0 + 8002910: bf18 it ne + 8002912: 2201 movne r2, #1 + 8002914: 0317 lsls r7, r2, #12 + 8002916: e9d4 1202 ldrd r1, r2, [r4, #8] + 800291a: 430a orrs r2, r1 + 800291c: 7e21 ldrb r1, [r4, #24] + 800291e: ea42 3281 orr.w r2, r2, r1, lsl #14 + 8002922: 7e61 ldrb r1, [r4, #25] + 8002924: ea42 32c1 orr.w r2, r2, r1, lsl #15 + 8002928: ea42 3246 orr.w r2, r2, r6, lsl #13 + 800292c: 2800 cmp r0, #0 + 800292e: ea42 024c orr.w r2, r2, ip, lsl #1 + 8002932: bfb4 ite lt + 8002934: f020 4100 biclt.w r1, r0, #2147483648 ; 0x80000000 + 8002938: f44f 1100 movge.w r1, #2097152 ; 0x200000 + 800293c: 433a orrs r2, r7 + 800293e: 430a orrs r2, r1 + 8002940: f894 1020 ldrb.w r1, [r4, #32] + 8002944: 2901 cmp r1, #1 + 8002946: d103 bne.n 8002950 + 8002948: 2e00 cmp r6, #0 + 800294a: d176 bne.n 8002a3a + 800294c: f442 3280 orr.w r2, r2, #65536 ; 0x10000 + 8002950: 6a61 ldr r1, [r4, #36] ; 0x24 + 8002952: b121 cbz r1, 800295e + 8002954: 6aa6 ldr r6, [r4, #40] ; 0x28 + 8002956: f401 71e0 and.w r1, r1, #448 ; 0x1c0 + 800295a: 4331 orrs r1, r6 + 800295c: 430a orrs r2, r1 + 800295e: 68d9 ldr r1, [r3, #12] + 8002960: 6ce6 ldr r6, [r4, #76] ; 0x4c + 8002962: f421 31fe bic.w r1, r1, #130048 ; 0x1fc00 + 8002966: f421 71ff bic.w r1, r1, #510 ; 0x1fe + 800296a: 4311 orrs r1, r2 + 800296c: 60d9 str r1, [r3, #12] + 800296e: f894 203c ldrb.w r2, [r4, #60] ; 0x3c + 8002972: 6861 ldr r1, [r4, #4] + 8002974: 2a01 cmp r2, #1 + 8002976: f001 4c40 and.w ip, r1, #3221225472 ; 0xc0000000 + 800297a: ea4c 0606 orr.w r6, ip, r6 + 800297e: d109 bne.n 8002994 + 8002980: e9d4 2710 ldrd r2, r7, [r4, #64] ; 0x40 + 8002984: 433a orrs r2, r7 8002986: 4332 orrs r2, r6 - 8002988: 611a str r2, [r3, #16] - 800298a: f021 4200 bic.w r2, r1, #2147483648 ; 0x80000000 - 800298e: f1b2 4f80 cmp.w r2, #1073741824 ; 0x40000000 - 8002992: d00c beq.n 80029ae - 8002994: f1b1 4f00 cmp.w r1, #2147483648 ; 0x80000000 - 8002998: d009 beq.n 80029ae - 800299a: 4e39 ldr r6, [pc, #228] ; (8002a80 ) - 800299c: f8d6 2708 ldr.w r2, [r6, #1800] ; 0x708 - 80029a0: f401 1170 and.w r1, r1, #3932160 ; 0x3c0000 - 80029a4: f422 1270 bic.w r2, r2, #3932160 ; 0x3c0000 - 80029a8: 430a orrs r2, r1 - 80029aa: f8c6 2708 str.w r2, [r6, #1800] ; 0x708 - 80029ae: 695a ldr r2, [r3, #20] - 80029b0: 6b66 ldr r6, [r4, #52] ; 0x34 - 80029b2: 6ba1 ldr r1, [r4, #56] ; 0x38 - 80029b4: f022 0207 bic.w r2, r2, #7 - 80029b8: 4332 orrs r2, r6 - 80029ba: 615a str r2, [r3, #20] - 80029bc: 695a ldr r2, [r3, #20] - 80029be: f022 0270 bic.w r2, r2, #112 ; 0x70 - 80029c2: ea42 1201 orr.w r2, r2, r1, lsl #4 - 80029c6: 615a str r2, [r3, #20] - 80029c8: 2800 cmp r0, #0 - 80029ca: d135 bne.n 8002a38 - 80029cc: 6a9a ldr r2, [r3, #40] ; 0x28 - 80029ce: f062 020f orn r2, r2, #15 - 80029d2: 629a str r2, [r3, #40] ; 0x28 - 80029d4: 695b ldr r3, [r3, #20] - 80029d6: f003 0307 and.w r3, r3, #7 - 80029da: 429e cmp r6, r3 - 80029dc: d13c bne.n 8002a58 - 80029de: 2300 movs r3, #0 - 80029e0: 65e3 str r3, [r4, #92] ; 0x5c - 80029e2: 6da3 ldr r3, [r4, #88] ; 0x58 - 80029e4: f023 0303 bic.w r3, r3, #3 - 80029e8: f043 0301 orr.w r3, r3, #1 - 80029ec: 65a3 str r3, [r4, #88] ; 0x58 - 80029ee: 4628 mov r0, r5 - 80029f0: b003 add sp, #12 - 80029f2: bdf0 pop {r4, r5, r6, r7, pc} - 80029f4: 689a ldr r2, [r3, #8] - 80029f6: 4923 ldr r1, [pc, #140] ; (8002a84 ) - 80029f8: f022 4210 bic.w r2, r2, #2415919104 ; 0x90000000 - 80029fc: f022 0217 bic.w r2, r2, #23 - 8002a00: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 - 8002a04: 609a str r2, [r3, #8] - 8002a06: 4a20 ldr r2, [pc, #128] ; (8002a88 ) - 8002a08: 6812 ldr r2, [r2, #0] - 8002a0a: fbb2 f2f1 udiv r2, r2, r1 - 8002a0e: 3201 adds r2, #1 - 8002a10: 0052 lsls r2, r2, #1 - 8002a12: 9201 str r2, [sp, #4] - 8002a14: 9a01 ldr r2, [sp, #4] - 8002a16: 2a00 cmp r2, #0 - 8002a18: f43f af4b beq.w 80028b2 - 8002a1c: 9a01 ldr r2, [sp, #4] - 8002a1e: 3a01 subs r2, #1 - 8002a20: e7f7 b.n 8002a12 - 8002a22: 2500 movs r5, #0 - 8002a24: e752 b.n 80028cc - 8002a26: 6da1 ldr r1, [r4, #88] ; 0x58 - 8002a28: f041 0120 orr.w r1, r1, #32 - 8002a2c: 65a1 str r1, [r4, #88] ; 0x58 - 8002a2e: 6de1 ldr r1, [r4, #92] ; 0x5c - 8002a30: f041 0101 orr.w r1, r1, #1 - 8002a34: 65e1 str r1, [r4, #92] ; 0x5c - 8002a36: e781 b.n 800293c - 8002a38: f5b0 1f00 cmp.w r0, #2097152 ; 0x200000 - 8002a3c: d1ca bne.n 80029d4 - 8002a3e: 6a9a ldr r2, [r3, #40] ; 0x28 - 8002a40: 69e2 ldr r2, [r4, #28] - 8002a42: 3a01 subs r2, #1 - 8002a44: 0092 lsls r2, r2, #2 - 8002a46: f06f 010f mvn.w r1, #15 - 8002a4a: f002 021c and.w r2, r2, #28 - 8002a4e: fa01 f202 lsl.w r2, r1, r2 - 8002a52: 6e21 ldr r1, [r4, #96] ; 0x60 - 8002a54: 430a orrs r2, r1 - 8002a56: e7bc b.n 80029d2 - 8002a58: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002a5a: f023 0312 bic.w r3, r3, #18 - 8002a5e: f043 0310 orr.w r3, r3, #16 - 8002a62: 65a3 str r3, [r4, #88] ; 0x58 - 8002a64: 6de3 ldr r3, [r4, #92] ; 0x5c - 8002a66: f043 0301 orr.w r3, r3, #1 - 8002a6a: 65e3 str r3, [r4, #92] ; 0x5c - 8002a6c: 2501 movs r5, #1 - 8002a6e: e7be b.n 80029ee - 8002a70: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002988: 6ca6 ldr r6, [r4, #72] ; 0x48 + 800298a: 4332 orrs r2, r6 + 800298c: ea42 020c orr.w r2, r2, ip + 8002990: f042 0601 orr.w r6, r2, #1 + 8002994: 691f ldr r7, [r3, #16] + 8002996: 4a3e ldr r2, [pc, #248] ; (8002a90 ) + 8002998: 403a ands r2, r7 + 800299a: 4332 orrs r2, r6 + 800299c: 611a str r2, [r3, #16] + 800299e: f021 4200 bic.w r2, r1, #2147483648 ; 0x80000000 + 80029a2: f1b2 4f80 cmp.w r2, #1073741824 ; 0x40000000 + 80029a6: d00c beq.n 80029c2 + 80029a8: f1b1 4f00 cmp.w r1, #2147483648 ; 0x80000000 + 80029ac: d009 beq.n 80029c2 + 80029ae: 4e39 ldr r6, [pc, #228] ; (8002a94 ) + 80029b0: f8d6 2708 ldr.w r2, [r6, #1800] ; 0x708 + 80029b4: f401 1170 and.w r1, r1, #3932160 ; 0x3c0000 + 80029b8: f422 1270 bic.w r2, r2, #3932160 ; 0x3c0000 + 80029bc: 430a orrs r2, r1 + 80029be: f8c6 2708 str.w r2, [r6, #1800] ; 0x708 + 80029c2: 695a ldr r2, [r3, #20] + 80029c4: 6b66 ldr r6, [r4, #52] ; 0x34 + 80029c6: 6ba1 ldr r1, [r4, #56] ; 0x38 + 80029c8: f022 0207 bic.w r2, r2, #7 + 80029cc: 4332 orrs r2, r6 + 80029ce: 615a str r2, [r3, #20] + 80029d0: 695a ldr r2, [r3, #20] + 80029d2: f022 0270 bic.w r2, r2, #112 ; 0x70 + 80029d6: ea42 1201 orr.w r2, r2, r1, lsl #4 + 80029da: 615a str r2, [r3, #20] + 80029dc: 2800 cmp r0, #0 + 80029de: d135 bne.n 8002a4c + 80029e0: 6a9a ldr r2, [r3, #40] ; 0x28 + 80029e2: f062 020f orn r2, r2, #15 + 80029e6: 629a str r2, [r3, #40] ; 0x28 + 80029e8: 695b ldr r3, [r3, #20] + 80029ea: f003 0307 and.w r3, r3, #7 + 80029ee: 429e cmp r6, r3 + 80029f0: d13c bne.n 8002a6c + 80029f2: 2300 movs r3, #0 + 80029f4: 65e3 str r3, [r4, #92] ; 0x5c + 80029f6: 6da3 ldr r3, [r4, #88] ; 0x58 + 80029f8: f023 0303 bic.w r3, r3, #3 + 80029fc: f043 0301 orr.w r3, r3, #1 + 8002a00: 65a3 str r3, [r4, #88] ; 0x58 + 8002a02: 4628 mov r0, r5 + 8002a04: b003 add sp, #12 + 8002a06: bdf0 pop {r4, r5, r6, r7, pc} + 8002a08: 689a ldr r2, [r3, #8] + 8002a0a: 4923 ldr r1, [pc, #140] ; (8002a98 ) + 8002a0c: f022 4210 bic.w r2, r2, #2415919104 ; 0x90000000 + 8002a10: f022 0217 bic.w r2, r2, #23 + 8002a14: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 + 8002a18: 609a str r2, [r3, #8] + 8002a1a: 4a20 ldr r2, [pc, #128] ; (8002a9c ) + 8002a1c: 6812 ldr r2, [r2, #0] + 8002a1e: fbb2 f2f1 udiv r2, r2, r1 + 8002a22: 3201 adds r2, #1 + 8002a24: 0052 lsls r2, r2, #1 + 8002a26: 9201 str r2, [sp, #4] + 8002a28: 9a01 ldr r2, [sp, #4] + 8002a2a: 2a00 cmp r2, #0 + 8002a2c: f43f af4b beq.w 80028c6 + 8002a30: 9a01 ldr r2, [sp, #4] + 8002a32: 3a01 subs r2, #1 + 8002a34: e7f7 b.n 8002a26 + 8002a36: 2500 movs r5, #0 + 8002a38: e752 b.n 80028e0 + 8002a3a: 6da1 ldr r1, [r4, #88] ; 0x58 + 8002a3c: f041 0120 orr.w r1, r1, #32 + 8002a40: 65a1 str r1, [r4, #88] ; 0x58 + 8002a42: 6de1 ldr r1, [r4, #92] ; 0x5c + 8002a44: f041 0101 orr.w r1, r1, #1 + 8002a48: 65e1 str r1, [r4, #92] ; 0x5c + 8002a4a: e781 b.n 8002950 + 8002a4c: f5b0 1f00 cmp.w r0, #2097152 ; 0x200000 + 8002a50: d1ca bne.n 80029e8 + 8002a52: 6a9a ldr r2, [r3, #40] ; 0x28 + 8002a54: 69e2 ldr r2, [r4, #28] + 8002a56: 3a01 subs r2, #1 + 8002a58: 0092 lsls r2, r2, #2 + 8002a5a: f06f 010f mvn.w r1, #15 + 8002a5e: f002 021c and.w r2, r2, #28 + 8002a62: fa01 f202 lsl.w r2, r1, r2 + 8002a66: 6e21 ldr r1, [r4, #96] ; 0x60 + 8002a68: 430a orrs r2, r1 + 8002a6a: e7bc b.n 80029e6 + 8002a6c: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002a6e: f023 0312 bic.w r3, r3, #18 8002a72: f043 0310 orr.w r3, r3, #16 8002a76: 65a3 str r3, [r4, #88] ; 0x58 - 8002a78: e7f8 b.n 8002a6c - 8002a7a: bf00 nop - 8002a7c: 1ffffc02 .word 0x1ffffc02 - 8002a80: 40012000 .word 0x40012000 - 8002a84: 00030d40 .word 0x00030d40 - 8002a88: 20000074 .word 0x20000074 + 8002a78: 6de3 ldr r3, [r4, #92] ; 0x5c + 8002a7a: f043 0301 orr.w r3, r3, #1 + 8002a7e: 65e3 str r3, [r4, #92] ; 0x5c + 8002a80: 2501 movs r5, #1 + 8002a82: e7be b.n 8002a02 + 8002a84: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002a86: f043 0310 orr.w r3, r3, #16 + 8002a8a: 65a3 str r3, [r4, #88] ; 0x58 + 8002a8c: e7f8 b.n 8002a80 + 8002a8e: bf00 nop + 8002a90: 1ffffc02 .word 0x1ffffc02 + 8002a94: 40012000 .word 0x40012000 + 8002a98: 00030d40 .word 0x00030d40 + 8002a9c: 20000074 .word 0x20000074 -08002a8c : - 8002a8c: b5f8 push {r3, r4, r5, r6, r7, lr} - 8002a8e: 6945 ldr r5, [r0, #20] - 8002a90: 2d08 cmp r5, #8 - 8002a92: 4604 mov r4, r0 - 8002a94: 460e mov r6, r1 - 8002a96: d00a beq.n 8002aae - 8002a98: 6803 ldr r3, [r0, #0] - 8002a9a: 68db ldr r3, [r3, #12] - 8002a9c: 07d8 lsls r0, r3, #31 - 8002a9e: d505 bpl.n 8002aac - 8002aa0: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002aa2: f043 0320 orr.w r3, r3, #32 - 8002aa6: 65a3 str r3, [r4, #88] ; 0x58 - 8002aa8: 2001 movs r0, #1 - 8002aaa: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8002aac: 2504 movs r5, #4 - 8002aae: f7fe ff07 bl 80018c0 - 8002ab2: 4607 mov r7, r0 - 8002ab4: 6823 ldr r3, [r4, #0] - 8002ab6: 681a ldr r2, [r3, #0] - 8002ab8: 422a tst r2, r5 - 8002aba: d021 beq.n 8002b00 - 8002abc: 6da2 ldr r2, [r4, #88] ; 0x58 - 8002abe: f442 7200 orr.w r2, r2, #512 ; 0x200 - 8002ac2: 65a2 str r2, [r4, #88] ; 0x58 - 8002ac4: 68da ldr r2, [r3, #12] - 8002ac6: f412 6f40 tst.w r2, #3072 ; 0xc00 - 8002aca: d114 bne.n 8002af6 - 8002acc: 7ea2 ldrb r2, [r4, #26] - 8002ace: b992 cbnz r2, 8002af6 - 8002ad0: 681a ldr r2, [r3, #0] - 8002ad2: 0712 lsls r2, r2, #28 - 8002ad4: d50f bpl.n 8002af6 - 8002ad6: 4618 mov r0, r3 - 8002ad8: f7ff fed4 bl 8002884 - 8002adc: bb28 cbnz r0, 8002b2a - 8002ade: 685a ldr r2, [r3, #4] - 8002ae0: f022 020c bic.w r2, r2, #12 - 8002ae4: 605a str r2, [r3, #4] - 8002ae6: 6da2 ldr r2, [r4, #88] ; 0x58 - 8002ae8: f422 7280 bic.w r2, r2, #256 ; 0x100 - 8002aec: f022 0201 bic.w r2, r2, #1 - 8002af0: f042 0201 orr.w r2, r2, #1 - 8002af4: 65a2 str r2, [r4, #88] ; 0x58 - 8002af6: 7e20 ldrb r0, [r4, #24] - 8002af8: bb00 cbnz r0, 8002b3c - 8002afa: 220c movs r2, #12 - 8002afc: 601a str r2, [r3, #0] - 8002afe: e7d4 b.n 8002aaa - 8002b00: 1c71 adds r1, r6, #1 - 8002b02: d0d8 beq.n 8002ab6 - 8002b04: f7fe fedc bl 80018c0 - 8002b08: 1bc0 subs r0, r0, r7 - 8002b0a: 42b0 cmp r0, r6 - 8002b0c: d801 bhi.n 8002b12 - 8002b0e: 2e00 cmp r6, #0 - 8002b10: d1d0 bne.n 8002ab4 - 8002b12: 6823 ldr r3, [r4, #0] - 8002b14: 681b ldr r3, [r3, #0] - 8002b16: 402b ands r3, r5 - 8002b18: d1cc bne.n 8002ab4 - 8002b1a: 6da2 ldr r2, [r4, #88] ; 0x58 - 8002b1c: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002b20: f042 0204 orr.w r2, r2, #4 - 8002b24: 65a2 str r2, [r4, #88] ; 0x58 - 8002b26: 2003 movs r0, #3 - 8002b28: e7bf b.n 8002aaa - 8002b2a: 6da2 ldr r2, [r4, #88] ; 0x58 - 8002b2c: f042 0220 orr.w r2, r2, #32 - 8002b30: 65a2 str r2, [r4, #88] ; 0x58 - 8002b32: 6de2 ldr r2, [r4, #92] ; 0x5c - 8002b34: f042 0201 orr.w r2, r2, #1 - 8002b38: 65e2 str r2, [r4, #92] ; 0x5c - 8002b3a: e7dc b.n 8002af6 - 8002b3c: 2000 movs r0, #0 - 8002b3e: e7b4 b.n 8002aaa +08002aa0 : + 8002aa0: b5f8 push {r3, r4, r5, r6, r7, lr} + 8002aa2: 6945 ldr r5, [r0, #20] + 8002aa4: 2d08 cmp r5, #8 + 8002aa6: 4604 mov r4, r0 + 8002aa8: 460e mov r6, r1 + 8002aaa: d00a beq.n 8002ac2 + 8002aac: 6803 ldr r3, [r0, #0] + 8002aae: 68db ldr r3, [r3, #12] + 8002ab0: 07d8 lsls r0, r3, #31 + 8002ab2: d505 bpl.n 8002ac0 + 8002ab4: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002ab6: f043 0320 orr.w r3, r3, #32 + 8002aba: 65a3 str r3, [r4, #88] ; 0x58 + 8002abc: 2001 movs r0, #1 + 8002abe: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8002ac0: 2504 movs r5, #4 + 8002ac2: f7fe fefd bl 80018c0 + 8002ac6: 4607 mov r7, r0 + 8002ac8: 6823 ldr r3, [r4, #0] + 8002aca: 681a ldr r2, [r3, #0] + 8002acc: 422a tst r2, r5 + 8002ace: d021 beq.n 8002b14 + 8002ad0: 6da2 ldr r2, [r4, #88] ; 0x58 + 8002ad2: f442 7200 orr.w r2, r2, #512 ; 0x200 + 8002ad6: 65a2 str r2, [r4, #88] ; 0x58 + 8002ad8: 68da ldr r2, [r3, #12] + 8002ada: f412 6f40 tst.w r2, #3072 ; 0xc00 + 8002ade: d114 bne.n 8002b0a + 8002ae0: 7ea2 ldrb r2, [r4, #26] + 8002ae2: b992 cbnz r2, 8002b0a + 8002ae4: 681a ldr r2, [r3, #0] + 8002ae6: 0712 lsls r2, r2, #28 + 8002ae8: d50f bpl.n 8002b0a + 8002aea: 4618 mov r0, r3 + 8002aec: f7ff fed4 bl 8002898 + 8002af0: bb28 cbnz r0, 8002b3e + 8002af2: 685a ldr r2, [r3, #4] + 8002af4: f022 020c bic.w r2, r2, #12 + 8002af8: 605a str r2, [r3, #4] + 8002afa: 6da2 ldr r2, [r4, #88] ; 0x58 + 8002afc: f422 7280 bic.w r2, r2, #256 ; 0x100 + 8002b00: f022 0201 bic.w r2, r2, #1 + 8002b04: f042 0201 orr.w r2, r2, #1 + 8002b08: 65a2 str r2, [r4, #88] ; 0x58 + 8002b0a: 7e20 ldrb r0, [r4, #24] + 8002b0c: bb00 cbnz r0, 8002b50 + 8002b0e: 220c movs r2, #12 + 8002b10: 601a str r2, [r3, #0] + 8002b12: e7d4 b.n 8002abe + 8002b14: 1c71 adds r1, r6, #1 + 8002b16: d0d8 beq.n 8002aca + 8002b18: f7fe fed2 bl 80018c0 + 8002b1c: 1bc0 subs r0, r0, r7 + 8002b1e: 42b0 cmp r0, r6 + 8002b20: d801 bhi.n 8002b26 + 8002b22: 2e00 cmp r6, #0 + 8002b24: d1d0 bne.n 8002ac8 + 8002b26: 6823 ldr r3, [r4, #0] + 8002b28: 681b ldr r3, [r3, #0] + 8002b2a: 402b ands r3, r5 + 8002b2c: d1cc bne.n 8002ac8 + 8002b2e: 6da2 ldr r2, [r4, #88] ; 0x58 + 8002b30: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8002b34: f042 0204 orr.w r2, r2, #4 + 8002b38: 65a2 str r2, [r4, #88] ; 0x58 + 8002b3a: 2003 movs r0, #3 + 8002b3c: e7bf b.n 8002abe + 8002b3e: 6da2 ldr r2, [r4, #88] ; 0x58 + 8002b40: f042 0220 orr.w r2, r2, #32 + 8002b44: 65a2 str r2, [r4, #88] ; 0x58 + 8002b46: 6de2 ldr r2, [r4, #92] ; 0x5c + 8002b48: f042 0201 orr.w r2, r2, #1 + 8002b4c: 65e2 str r2, [r4, #92] ; 0x5c + 8002b4e: e7dc b.n 8002b0a + 8002b50: 2000 movs r0, #0 + 8002b52: e7b4 b.n 8002abe -08002b40 : - 8002b40: 6803 ldr r3, [r0, #0] - 8002b42: 6c18 ldr r0, [r3, #64] ; 0x40 - 8002b44: 4770 bx lr +08002b54 : + 8002b54: 6803 ldr r3, [r0, #0] + 8002b56: 6c18 ldr r0, [r3, #64] ; 0x40 + 8002b58: 4770 bx lr ... -08002b48 : - 8002b48: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 8002b4a: 2300 movs r3, #0 - 8002b4c: 9301 str r3, [sp, #4] - 8002b4e: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 - 8002b52: 2b01 cmp r3, #1 - 8002b54: 4604 mov r4, r0 - 8002b56: f000 80c5 beq.w 8002ce4 - 8002b5a: 6805 ldr r5, [r0, #0] - 8002b5c: 6906 ldr r6, [r0, #16] - 8002b5e: 2301 movs r3, #1 - 8002b60: f880 3054 strb.w r3, [r0, #84] ; 0x54 - 8002b64: 4628 mov r0, r5 - 8002b66: f7ff fe8d bl 8002884 - 8002b6a: 2800 cmp r0, #0 - 8002b6c: f040 80b4 bne.w 8002cd8 - 8002b70: e9d1 2000 ldrd r2, r0, [r1] - 8002b74: 2802 cmp r0, #2 - 8002b76: f026 0304 bic.w r3, r6, #4 - 8002b7a: f000 8082 beq.w 8002c82 - 8002b7e: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 - 8002b82: f3c2 0e11 ubfx lr, r2, #0, #18 - 8002b86: d113 bne.n 8002bb0 - 8002b88: 6aab ldr r3, [r5, #40] ; 0x28 - 8002b8a: ea43 030e orr.w r3, r3, lr - 8002b8e: 62ab str r3, [r5, #40] ; 0x28 - 8002b90: 688b ldr r3, [r1, #8] - 8002b92: 6968 ldr r0, [r5, #20] - 8002b94: ea03 2302 and.w r3, r3, r2, lsl #8 - 8002b98: f023 437c bic.w r3, r3, #4227858432 ; 0xfc000000 - 8002b9c: f023 03ff bic.w r3, r3, #255 ; 0xff - 8002ba0: ea20 2102 bic.w r1, r0, r2, lsl #8 - 8002ba4: 430b orrs r3, r1 - 8002ba6: 2a00 cmp r2, #0 - 8002ba8: 616b str r3, [r5, #20] - 8002baa: db26 blt.n 8002bfa - 8002bac: 2000 movs r0, #0 - 8002bae: e055 b.n 8002c5c - 8002bb0: 6e23 ldr r3, [r4, #96] ; 0x60 - 8002bb2: f000 071f and.w r7, r0, #31 - 8002bb6: f04f 0c0f mov.w ip, #15 - 8002bba: fa0c fc07 lsl.w ip, ip, r7 - 8002bbe: ea6f 060c mvn.w r6, ip - 8002bc2: ea23 0c0c bic.w ip, r3, ip - 8002bc6: f1be 0f00 cmp.w lr, #0 - 8002bca: d111 bne.n 8002bf0 - 8002bcc: f3c2 6384 ubfx r3, r2, #26, #5 - 8002bd0: 40bb lsls r3, r7 - 8002bd2: ea43 030c orr.w r3, r3, ip - 8002bd6: 6623 str r3, [r4, #96] ; 0x60 - 8002bd8: 0880 lsrs r0, r0, #2 - 8002bda: 69e3 ldr r3, [r4, #28] - 8002bdc: 3001 adds r0, #1 - 8002bde: 4298 cmp r0, r3 - 8002be0: d8d6 bhi.n 8002b90 - 8002be2: 6aa8 ldr r0, [r5, #40] ; 0x28 - 8002be4: f3c2 6383 ubfx r3, r2, #26, #4 - 8002be8: 40bb lsls r3, r7 - 8002bea: 4006 ands r6, r0 - 8002bec: 4333 orrs r3, r6 - 8002bee: e7ce b.n 8002b8e - 8002bf0: fa92 f3a2 rbit r3, r2 - 8002bf4: fab3 f383 clz r3, r3 - 8002bf8: e7ea b.n 8002bd0 - 8002bfa: 493b ldr r1, [pc, #236] ; (8002ce8 ) - 8002bfc: 483b ldr r0, [pc, #236] ; (8002cec ) - 8002bfe: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 - 8002c02: 4282 cmp r2, r0 - 8002c04: f003 75e0 and.w r5, r3, #29360128 ; 0x1c00000 - 8002c08: d119 bne.n 8002c3e - 8002c0a: 021b lsls r3, r3, #8 - 8002c0c: d4ce bmi.n 8002bac - 8002c0e: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 - 8002c12: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 - 8002c16: 432b orrs r3, r5 - 8002c18: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 - 8002c1c: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 - 8002c20: 4b33 ldr r3, [pc, #204] ; (8002cf0 ) - 8002c22: 681a ldr r2, [r3, #0] - 8002c24: 4b33 ldr r3, [pc, #204] ; (8002cf4 ) - 8002c26: fbb2 f2f3 udiv r2, r2, r3 - 8002c2a: 230c movs r3, #12 - 8002c2c: fb02 3303 mla r3, r2, r3, r3 - 8002c30: 9301 str r3, [sp, #4] - 8002c32: 9b01 ldr r3, [sp, #4] - 8002c34: 2b00 cmp r3, #0 - 8002c36: d0b9 beq.n 8002bac - 8002c38: 9b01 ldr r3, [sp, #4] - 8002c3a: 3b01 subs r3, #1 - 8002c3c: e7f8 b.n 8002c30 - 8002c3e: 482e ldr r0, [pc, #184] ; (8002cf8 ) - 8002c40: 4282 cmp r2, r0 - 8002c42: d110 bne.n 8002c66 - 8002c44: f013 7080 ands.w r0, r3, #16777216 ; 0x1000000 - 8002c48: d1b0 bne.n 8002bac - 8002c4a: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 - 8002c4e: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 - 8002c52: 432b orrs r3, r5 - 8002c54: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 - 8002c58: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 - 8002c5c: 2300 movs r3, #0 - 8002c5e: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002c62: b003 add sp, #12 - 8002c64: bdf0 pop {r4, r5, r6, r7, pc} - 8002c66: 4825 ldr r0, [pc, #148] ; (8002cfc ) - 8002c68: 4282 cmp r2, r0 - 8002c6a: d19f bne.n 8002bac - 8002c6c: f413 0080 ands.w r0, r3, #4194304 ; 0x400000 - 8002c70: d19c bne.n 8002bac - 8002c72: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 - 8002c76: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 - 8002c7a: 432b orrs r3, r5 - 8002c7c: f443 0380 orr.w r3, r3, #4194304 ; 0x400000 - 8002c80: e7ea b.n 8002c58 - 8002c82: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 - 8002c86: bf01 itttt eq - 8002c88: 6aab ldreq r3, [r5, #40] ; 0x28 - 8002c8a: f3c2 0111 ubfxeq r1, r2, #0, #18 - 8002c8e: 438b biceq r3, r1 - 8002c90: 62ab streq r3, [r5, #40] ; 0x28 - 8002c92: 2a00 cmp r2, #0 - 8002c94: da8a bge.n 8002bac - 8002c96: 4815 ldr r0, [pc, #84] ; (8002cec ) - 8002c98: 4913 ldr r1, [pc, #76] ; (8002ce8 ) - 8002c9a: 4282 cmp r2, r0 - 8002c9c: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 - 8002ca0: d109 bne.n 8002cb6 - 8002ca2: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 - 8002ca6: f003 73a0 and.w r3, r3, #20971520 ; 0x1400000 - 8002caa: f022 72e0 bic.w r2, r2, #29360128 ; 0x1c00000 - 8002cae: 4313 orrs r3, r2 - 8002cb0: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 - 8002cb4: e77a b.n 8002bac - 8002cb6: 4810 ldr r0, [pc, #64] ; (8002cf8 ) - 8002cb8: 4282 cmp r2, r0 - 8002cba: d104 bne.n 8002cc6 - 8002cbc: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 - 8002cc0: f403 0340 and.w r3, r3, #12582912 ; 0xc00000 - 8002cc4: e7f1 b.n 8002caa - 8002cc6: 480d ldr r0, [pc, #52] ; (8002cfc ) - 8002cc8: 4282 cmp r2, r0 - 8002cca: f47f af6f bne.w 8002bac - 8002cce: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 - 8002cd2: f003 73c0 and.w r3, r3, #25165824 ; 0x1800000 - 8002cd6: e7e8 b.n 8002caa - 8002cd8: 6da2 ldr r2, [r4, #88] ; 0x58 - 8002cda: f042 0220 orr.w r2, r2, #32 - 8002cde: 65a2 str r2, [r4, #88] ; 0x58 - 8002ce0: 4618 mov r0, r3 - 8002ce2: e7bb b.n 8002c5c - 8002ce4: 2002 movs r0, #2 - 8002ce6: e7bc b.n 8002c62 - 8002ce8: 40012000 .word 0x40012000 - 8002cec: b0001000 .word 0xb0001000 - 8002cf0: 20000074 .word 0x20000074 - 8002cf4: 00030d40 .word 0x00030d40 - 8002cf8: b8004000 .word 0xb8004000 - 8002cfc: b4002000 .word 0xb4002000 +08002b5c : + 8002b5c: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 8002b5e: 2300 movs r3, #0 + 8002b60: 9301 str r3, [sp, #4] + 8002b62: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 + 8002b66: 2b01 cmp r3, #1 + 8002b68: 4604 mov r4, r0 + 8002b6a: f000 80c5 beq.w 8002cf8 + 8002b6e: 6805 ldr r5, [r0, #0] + 8002b70: 6906 ldr r6, [r0, #16] + 8002b72: 2301 movs r3, #1 + 8002b74: f880 3054 strb.w r3, [r0, #84] ; 0x54 + 8002b78: 4628 mov r0, r5 + 8002b7a: f7ff fe8d bl 8002898 + 8002b7e: 2800 cmp r0, #0 + 8002b80: f040 80b4 bne.w 8002cec + 8002b84: e9d1 2000 ldrd r2, r0, [r1] + 8002b88: 2802 cmp r0, #2 + 8002b8a: f026 0304 bic.w r3, r6, #4 + 8002b8e: f000 8082 beq.w 8002c96 + 8002b92: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 + 8002b96: f3c2 0e11 ubfx lr, r2, #0, #18 + 8002b9a: d113 bne.n 8002bc4 + 8002b9c: 6aab ldr r3, [r5, #40] ; 0x28 + 8002b9e: ea43 030e orr.w r3, r3, lr + 8002ba2: 62ab str r3, [r5, #40] ; 0x28 + 8002ba4: 688b ldr r3, [r1, #8] + 8002ba6: 6968 ldr r0, [r5, #20] + 8002ba8: ea03 2302 and.w r3, r3, r2, lsl #8 + 8002bac: f023 437c bic.w r3, r3, #4227858432 ; 0xfc000000 + 8002bb0: f023 03ff bic.w r3, r3, #255 ; 0xff + 8002bb4: ea20 2102 bic.w r1, r0, r2, lsl #8 + 8002bb8: 430b orrs r3, r1 + 8002bba: 2a00 cmp r2, #0 + 8002bbc: 616b str r3, [r5, #20] + 8002bbe: db26 blt.n 8002c0e + 8002bc0: 2000 movs r0, #0 + 8002bc2: e055 b.n 8002c70 + 8002bc4: 6e23 ldr r3, [r4, #96] ; 0x60 + 8002bc6: f000 071f and.w r7, r0, #31 + 8002bca: f04f 0c0f mov.w ip, #15 + 8002bce: fa0c fc07 lsl.w ip, ip, r7 + 8002bd2: ea6f 060c mvn.w r6, ip + 8002bd6: ea23 0c0c bic.w ip, r3, ip + 8002bda: f1be 0f00 cmp.w lr, #0 + 8002bde: d111 bne.n 8002c04 + 8002be0: f3c2 6384 ubfx r3, r2, #26, #5 + 8002be4: 40bb lsls r3, r7 + 8002be6: ea43 030c orr.w r3, r3, ip + 8002bea: 6623 str r3, [r4, #96] ; 0x60 + 8002bec: 0880 lsrs r0, r0, #2 + 8002bee: 69e3 ldr r3, [r4, #28] + 8002bf0: 3001 adds r0, #1 + 8002bf2: 4298 cmp r0, r3 + 8002bf4: d8d6 bhi.n 8002ba4 + 8002bf6: 6aa8 ldr r0, [r5, #40] ; 0x28 + 8002bf8: f3c2 6383 ubfx r3, r2, #26, #4 + 8002bfc: 40bb lsls r3, r7 + 8002bfe: 4006 ands r6, r0 + 8002c00: 4333 orrs r3, r6 + 8002c02: e7ce b.n 8002ba2 + 8002c04: fa92 f3a2 rbit r3, r2 + 8002c08: fab3 f383 clz r3, r3 + 8002c0c: e7ea b.n 8002be4 + 8002c0e: 493b ldr r1, [pc, #236] ; (8002cfc ) + 8002c10: 483b ldr r0, [pc, #236] ; (8002d00 ) + 8002c12: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 + 8002c16: 4282 cmp r2, r0 + 8002c18: f003 75e0 and.w r5, r3, #29360128 ; 0x1c00000 + 8002c1c: d119 bne.n 8002c52 + 8002c1e: 021b lsls r3, r3, #8 + 8002c20: d4ce bmi.n 8002bc0 + 8002c22: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 + 8002c26: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 + 8002c2a: 432b orrs r3, r5 + 8002c2c: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 + 8002c30: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 + 8002c34: 4b33 ldr r3, [pc, #204] ; (8002d04 ) + 8002c36: 681a ldr r2, [r3, #0] + 8002c38: 4b33 ldr r3, [pc, #204] ; (8002d08 ) + 8002c3a: fbb2 f2f3 udiv r2, r2, r3 + 8002c3e: 230c movs r3, #12 + 8002c40: fb02 3303 mla r3, r2, r3, r3 + 8002c44: 9301 str r3, [sp, #4] + 8002c46: 9b01 ldr r3, [sp, #4] + 8002c48: 2b00 cmp r3, #0 + 8002c4a: d0b9 beq.n 8002bc0 + 8002c4c: 9b01 ldr r3, [sp, #4] + 8002c4e: 3b01 subs r3, #1 + 8002c50: e7f8 b.n 8002c44 + 8002c52: 482e ldr r0, [pc, #184] ; (8002d0c ) + 8002c54: 4282 cmp r2, r0 + 8002c56: d110 bne.n 8002c7a + 8002c58: f013 7080 ands.w r0, r3, #16777216 ; 0x1000000 + 8002c5c: d1b0 bne.n 8002bc0 + 8002c5e: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 + 8002c62: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 + 8002c66: 432b orrs r3, r5 + 8002c68: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 + 8002c6c: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 + 8002c70: 2300 movs r3, #0 + 8002c72: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8002c76: b003 add sp, #12 + 8002c78: bdf0 pop {r4, r5, r6, r7, pc} + 8002c7a: 4825 ldr r0, [pc, #148] ; (8002d10 ) + 8002c7c: 4282 cmp r2, r0 + 8002c7e: d19f bne.n 8002bc0 + 8002c80: f413 0080 ands.w r0, r3, #4194304 ; 0x400000 + 8002c84: d19c bne.n 8002bc0 + 8002c86: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 + 8002c8a: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 + 8002c8e: 432b orrs r3, r5 + 8002c90: f443 0380 orr.w r3, r3, #4194304 ; 0x400000 + 8002c94: e7ea b.n 8002c6c + 8002c96: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 + 8002c9a: bf01 itttt eq + 8002c9c: 6aab ldreq r3, [r5, #40] ; 0x28 + 8002c9e: f3c2 0111 ubfxeq r1, r2, #0, #18 + 8002ca2: 438b biceq r3, r1 + 8002ca4: 62ab streq r3, [r5, #40] ; 0x28 + 8002ca6: 2a00 cmp r2, #0 + 8002ca8: da8a bge.n 8002bc0 + 8002caa: 4815 ldr r0, [pc, #84] ; (8002d00 ) + 8002cac: 4913 ldr r1, [pc, #76] ; (8002cfc ) + 8002cae: 4282 cmp r2, r0 + 8002cb0: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 + 8002cb4: d109 bne.n 8002cca + 8002cb6: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 + 8002cba: f003 73a0 and.w r3, r3, #20971520 ; 0x1400000 + 8002cbe: f022 72e0 bic.w r2, r2, #29360128 ; 0x1c00000 + 8002cc2: 4313 orrs r3, r2 + 8002cc4: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 + 8002cc8: e77a b.n 8002bc0 + 8002cca: 4810 ldr r0, [pc, #64] ; (8002d0c ) + 8002ccc: 4282 cmp r2, r0 + 8002cce: d104 bne.n 8002cda + 8002cd0: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 + 8002cd4: f403 0340 and.w r3, r3, #12582912 ; 0xc00000 + 8002cd8: e7f1 b.n 8002cbe + 8002cda: 480d ldr r0, [pc, #52] ; (8002d10 ) + 8002cdc: 4282 cmp r2, r0 + 8002cde: f47f af6f bne.w 8002bc0 + 8002ce2: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 + 8002ce6: f003 73c0 and.w r3, r3, #25165824 ; 0x1800000 + 8002cea: e7e8 b.n 8002cbe + 8002cec: 6da2 ldr r2, [r4, #88] ; 0x58 + 8002cee: f042 0220 orr.w r2, r2, #32 + 8002cf2: 65a2 str r2, [r4, #88] ; 0x58 + 8002cf4: 4618 mov r0, r3 + 8002cf6: e7bb b.n 8002c70 + 8002cf8: 2002 movs r0, #2 + 8002cfa: e7bc b.n 8002c76 + 8002cfc: 40012000 .word 0x40012000 + 8002d00: b0001000 .word 0xb0001000 + 8002d04: 20000074 .word 0x20000074 + 8002d08: 00030d40 .word 0x00030d40 + 8002d0c: b8004000 .word 0xb8004000 + 8002d10: b4002000 .word 0xb4002000 -08002d00 : - 8002d00: 6802 ldr r2, [r0, #0] - 8002d02: b538 push {r3, r4, r5, lr} - 8002d04: 4604 mov r4, r0 - 8002d06: 4610 mov r0, r2 - 8002d08: f7ff fdbc bl 8002884 - 8002d0c: b908 cbnz r0, 8002d12 - 8002d0e: 2000 movs r0, #0 - 8002d10: bd38 pop {r3, r4, r5, pc} - 8002d12: 6893 ldr r3, [r2, #8] - 8002d14: 0799 lsls r1, r3, #30 - 8002d16: d407 bmi.n 8002d28 - 8002d18: 6893 ldr r3, [r2, #8] - 8002d1a: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 - 8002d1e: f023 0317 bic.w r3, r3, #23 - 8002d22: f043 0310 orr.w r3, r3, #16 - 8002d26: 6093 str r3, [r2, #8] - 8002d28: f7fe fdca bl 80018c0 - 8002d2c: 4605 mov r5, r0 - 8002d2e: 6823 ldr r3, [r4, #0] - 8002d30: 689b ldr r3, [r3, #8] - 8002d32: 075b lsls r3, r3, #29 - 8002d34: d5eb bpl.n 8002d0e - 8002d36: f7fe fdc3 bl 80018c0 - 8002d3a: 1b40 subs r0, r0, r5 - 8002d3c: 2802 cmp r0, #2 - 8002d3e: d9f6 bls.n 8002d2e - 8002d40: 6823 ldr r3, [r4, #0] - 8002d42: 689b ldr r3, [r3, #8] - 8002d44: 075a lsls r2, r3, #29 - 8002d46: d5f2 bpl.n 8002d2e - 8002d48: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002d4a: f043 0310 orr.w r3, r3, #16 - 8002d4e: 65a3 str r3, [r4, #88] ; 0x58 - 8002d50: 6de3 ldr r3, [r4, #92] ; 0x5c - 8002d52: f043 0301 orr.w r3, r3, #1 - 8002d56: 65e3 str r3, [r4, #92] ; 0x5c - 8002d58: 2001 movs r0, #1 - 8002d5a: e7d9 b.n 8002d10 +08002d14 : + 8002d14: 6802 ldr r2, [r0, #0] + 8002d16: b538 push {r3, r4, r5, lr} + 8002d18: 4604 mov r4, r0 + 8002d1a: 4610 mov r0, r2 + 8002d1c: f7ff fdbc bl 8002898 + 8002d20: b908 cbnz r0, 8002d26 + 8002d22: 2000 movs r0, #0 + 8002d24: bd38 pop {r3, r4, r5, pc} + 8002d26: 6893 ldr r3, [r2, #8] + 8002d28: 0799 lsls r1, r3, #30 + 8002d2a: d407 bmi.n 8002d3c + 8002d2c: 6893 ldr r3, [r2, #8] + 8002d2e: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 + 8002d32: f023 0317 bic.w r3, r3, #23 + 8002d36: f043 0310 orr.w r3, r3, #16 + 8002d3a: 6093 str r3, [r2, #8] + 8002d3c: f7fe fdc0 bl 80018c0 + 8002d40: 4605 mov r5, r0 + 8002d42: 6823 ldr r3, [r4, #0] + 8002d44: 689b ldr r3, [r3, #8] + 8002d46: 075b lsls r3, r3, #29 + 8002d48: d5eb bpl.n 8002d22 + 8002d4a: f7fe fdb9 bl 80018c0 + 8002d4e: 1b40 subs r0, r0, r5 + 8002d50: 2802 cmp r0, #2 + 8002d52: d9f6 bls.n 8002d42 + 8002d54: 6823 ldr r3, [r4, #0] + 8002d56: 689b ldr r3, [r3, #8] + 8002d58: 075a lsls r2, r3, #29 + 8002d5a: d5f2 bpl.n 8002d42 + 8002d5c: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002d5e: f043 0310 orr.w r3, r3, #16 + 8002d62: 65a3 str r3, [r4, #88] ; 0x58 + 8002d64: 6de3 ldr r3, [r4, #92] ; 0x5c + 8002d66: f043 0301 orr.w r3, r3, #1 + 8002d6a: 65e3 str r3, [r4, #92] ; 0x5c + 8002d6c: 2001 movs r0, #1 + 8002d6e: e7d9 b.n 8002d24 -08002d5c : - 8002d5c: b573 push {r0, r1, r4, r5, r6, lr} - 8002d5e: 2300 movs r3, #0 - 8002d60: 6802 ldr r2, [r0, #0] - 8002d62: 9301 str r3, [sp, #4] - 8002d64: 6893 ldr r3, [r2, #8] - 8002d66: 07dd lsls r5, r3, #31 - 8002d68: 4604 mov r4, r0 - 8002d6a: d502 bpl.n 8002d72 - 8002d6c: 2000 movs r0, #0 - 8002d6e: b002 add sp, #8 - 8002d70: bd70 pop {r4, r5, r6, pc} - 8002d72: 6891 ldr r1, [r2, #8] - 8002d74: 4b21 ldr r3, [pc, #132] ; (8002dfc ) - 8002d76: 4219 tst r1, r3 - 8002d78: d009 beq.n 8002d8e - 8002d7a: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002d7c: f043 0310 orr.w r3, r3, #16 - 8002d80: 65a3 str r3, [r4, #88] ; 0x58 - 8002d82: 6de3 ldr r3, [r4, #92] ; 0x5c - 8002d84: f043 0301 orr.w r3, r3, #1 - 8002d88: 65e3 str r3, [r4, #92] ; 0x5c - 8002d8a: 2001 movs r0, #1 - 8002d8c: e7ef b.n 8002d6e - 8002d8e: 6893 ldr r3, [r2, #8] - 8002d90: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 - 8002d94: f023 0317 bic.w r3, r3, #23 +08002d70 : + 8002d70: b573 push {r0, r1, r4, r5, r6, lr} + 8002d72: 2300 movs r3, #0 + 8002d74: 6802 ldr r2, [r0, #0] + 8002d76: 9301 str r3, [sp, #4] + 8002d78: 6893 ldr r3, [r2, #8] + 8002d7a: 07dd lsls r5, r3, #31 + 8002d7c: 4604 mov r4, r0 + 8002d7e: d502 bpl.n 8002d86 + 8002d80: 2000 movs r0, #0 + 8002d82: b002 add sp, #8 + 8002d84: bd70 pop {r4, r5, r6, pc} + 8002d86: 6891 ldr r1, [r2, #8] + 8002d88: 4b21 ldr r3, [pc, #132] ; (8002e10 ) + 8002d8a: 4219 tst r1, r3 + 8002d8c: d009 beq.n 8002da2 + 8002d8e: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002d90: f043 0310 orr.w r3, r3, #16 + 8002d94: 65a3 str r3, [r4, #88] ; 0x58 + 8002d96: 6de3 ldr r3, [r4, #92] ; 0x5c 8002d98: f043 0301 orr.w r3, r3, #1 - 8002d9c: 6093 str r3, [r2, #8] - 8002d9e: 4b18 ldr r3, [pc, #96] ; (8002e00 ) - 8002da0: f8d3 3708 ldr.w r3, [r3, #1800] ; 0x708 - 8002da4: 0218 lsls r0, r3, #8 - 8002da6: d41c bmi.n 8002de2 - 8002da8: 7e63 ldrb r3, [r4, #25] - 8002daa: 2b01 cmp r3, #1 - 8002dac: d0de beq.n 8002d6c - 8002dae: f7fe fd87 bl 80018c0 - 8002db2: 4e14 ldr r6, [pc, #80] ; (8002e04 ) - 8002db4: 4605 mov r5, r0 - 8002db6: 6822 ldr r2, [r4, #0] - 8002db8: 6813 ldr r3, [r2, #0] - 8002dba: 07db lsls r3, r3, #31 - 8002dbc: d4d6 bmi.n 8002d6c - 8002dbe: 6893 ldr r3, [r2, #8] - 8002dc0: 07d9 lsls r1, r3, #31 - 8002dc2: bf5f itttt pl - 8002dc4: 6893 ldrpl r3, [r2, #8] - 8002dc6: 4033 andpl r3, r6 - 8002dc8: f043 0301 orrpl.w r3, r3, #1 - 8002dcc: 6093 strpl r3, [r2, #8] - 8002dce: f7fe fd77 bl 80018c0 - 8002dd2: 1b40 subs r0, r0, r5 - 8002dd4: 2802 cmp r0, #2 - 8002dd6: d9ee bls.n 8002db6 - 8002dd8: 6823 ldr r3, [r4, #0] - 8002dda: 681b ldr r3, [r3, #0] - 8002ddc: 07da lsls r2, r3, #31 - 8002dde: d4ea bmi.n 8002db6 - 8002de0: e7cb b.n 8002d7a - 8002de2: 4b09 ldr r3, [pc, #36] ; (8002e08 ) - 8002de4: 4a09 ldr r2, [pc, #36] ; (8002e0c ) - 8002de6: 681b ldr r3, [r3, #0] - 8002de8: fbb3 f3f2 udiv r3, r3, r2 - 8002dec: 3301 adds r3, #1 - 8002dee: 9301 str r3, [sp, #4] - 8002df0: 9b01 ldr r3, [sp, #4] - 8002df2: 2b00 cmp r3, #0 - 8002df4: d0d8 beq.n 8002da8 - 8002df6: 9b01 ldr r3, [sp, #4] - 8002df8: 3b01 subs r3, #1 - 8002dfa: e7f8 b.n 8002dee - 8002dfc: 80000017 .word 0x80000017 - 8002e00: 40012000 .word 0x40012000 - 8002e04: 7fffffe8 .word 0x7fffffe8 - 8002e08: 20000074 .word 0x20000074 - 8002e0c: 00030d40 .word 0x00030d40 + 8002d9c: 65e3 str r3, [r4, #92] ; 0x5c + 8002d9e: 2001 movs r0, #1 + 8002da0: e7ef b.n 8002d82 + 8002da2: 6893 ldr r3, [r2, #8] + 8002da4: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 + 8002da8: f023 0317 bic.w r3, r3, #23 + 8002dac: f043 0301 orr.w r3, r3, #1 + 8002db0: 6093 str r3, [r2, #8] + 8002db2: 4b18 ldr r3, [pc, #96] ; (8002e14 ) + 8002db4: f8d3 3708 ldr.w r3, [r3, #1800] ; 0x708 + 8002db8: 0218 lsls r0, r3, #8 + 8002dba: d41c bmi.n 8002df6 + 8002dbc: 7e63 ldrb r3, [r4, #25] + 8002dbe: 2b01 cmp r3, #1 + 8002dc0: d0de beq.n 8002d80 + 8002dc2: f7fe fd7d bl 80018c0 + 8002dc6: 4e14 ldr r6, [pc, #80] ; (8002e18 ) + 8002dc8: 4605 mov r5, r0 + 8002dca: 6822 ldr r2, [r4, #0] + 8002dcc: 6813 ldr r3, [r2, #0] + 8002dce: 07db lsls r3, r3, #31 + 8002dd0: d4d6 bmi.n 8002d80 + 8002dd2: 6893 ldr r3, [r2, #8] + 8002dd4: 07d9 lsls r1, r3, #31 + 8002dd6: bf5f itttt pl + 8002dd8: 6893 ldrpl r3, [r2, #8] + 8002dda: 4033 andpl r3, r6 + 8002ddc: f043 0301 orrpl.w r3, r3, #1 + 8002de0: 6093 strpl r3, [r2, #8] + 8002de2: f7fe fd6d bl 80018c0 + 8002de6: 1b40 subs r0, r0, r5 + 8002de8: 2802 cmp r0, #2 + 8002dea: d9ee bls.n 8002dca + 8002dec: 6823 ldr r3, [r4, #0] + 8002dee: 681b ldr r3, [r3, #0] + 8002df0: 07da lsls r2, r3, #31 + 8002df2: d4ea bmi.n 8002dca + 8002df4: e7cb b.n 8002d8e + 8002df6: 4b09 ldr r3, [pc, #36] ; (8002e1c ) + 8002df8: 4a09 ldr r2, [pc, #36] ; (8002e20 ) + 8002dfa: 681b ldr r3, [r3, #0] + 8002dfc: fbb3 f3f2 udiv r3, r3, r2 + 8002e00: 3301 adds r3, #1 + 8002e02: 9301 str r3, [sp, #4] + 8002e04: 9b01 ldr r3, [sp, #4] + 8002e06: 2b00 cmp r3, #0 + 8002e08: d0d8 beq.n 8002dbc + 8002e0a: 9b01 ldr r3, [sp, #4] + 8002e0c: 3b01 subs r3, #1 + 8002e0e: e7f8 b.n 8002e02 + 8002e10: 80000017 .word 0x80000017 + 8002e14: 40012000 .word 0x40012000 + 8002e18: 7fffffe8 .word 0x7fffffe8 + 8002e1c: 20000074 .word 0x20000074 + 8002e20: 00030d40 .word 0x00030d40 -08002e10 : - 8002e10: b538 push {r3, r4, r5, lr} - 8002e12: 4604 mov r4, r0 - 8002e14: 6800 ldr r0, [r0, #0] - 8002e16: f7ff fd35 bl 8002884 - 8002e1a: 4605 mov r5, r0 - 8002e1c: bb20 cbnz r0, 8002e68 - 8002e1e: f894 3054 ldrb.w r3, [r4, #84] ; 0x54 - 8002e22: 2b01 cmp r3, #1 - 8002e24: d020 beq.n 8002e68 - 8002e26: 2301 movs r3, #1 - 8002e28: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002e2c: 4620 mov r0, r4 - 8002e2e: f7ff ff95 bl 8002d5c - 8002e32: b9b0 cbnz r0, 8002e62 - 8002e34: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002e36: 6822 ldr r2, [r4, #0] - 8002e38: f423 6370 bic.w r3, r3, #3840 ; 0xf00 - 8002e3c: f023 0301 bic.w r3, r3, #1 - 8002e40: f443 7380 orr.w r3, r3, #256 ; 0x100 - 8002e44: 65a3 str r3, [r4, #88] ; 0x58 - 8002e46: 231c movs r3, #28 - 8002e48: 65e0 str r0, [r4, #92] ; 0x5c - 8002e4a: 6013 str r3, [r2, #0] - 8002e4c: f884 0054 strb.w r0, [r4, #84] ; 0x54 - 8002e50: 6893 ldr r3, [r2, #8] - 8002e52: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 - 8002e56: f023 0317 bic.w r3, r3, #23 - 8002e5a: f043 0304 orr.w r3, r3, #4 - 8002e5e: 6093 str r3, [r2, #8] - 8002e60: bd38 pop {r3, r4, r5, pc} - 8002e62: f884 5054 strb.w r5, [r4, #84] ; 0x54 - 8002e66: e7fb b.n 8002e60 - 8002e68: 2002 movs r0, #2 - 8002e6a: e7f9 b.n 8002e60 +08002e24 : + 8002e24: b538 push {r3, r4, r5, lr} + 8002e26: 4604 mov r4, r0 + 8002e28: 6800 ldr r0, [r0, #0] + 8002e2a: f7ff fd35 bl 8002898 + 8002e2e: 4605 mov r5, r0 + 8002e30: bb20 cbnz r0, 8002e7c + 8002e32: f894 3054 ldrb.w r3, [r4, #84] ; 0x54 + 8002e36: 2b01 cmp r3, #1 + 8002e38: d020 beq.n 8002e7c + 8002e3a: 2301 movs r3, #1 + 8002e3c: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8002e40: 4620 mov r0, r4 + 8002e42: f7ff ff95 bl 8002d70 + 8002e46: b9b0 cbnz r0, 8002e76 + 8002e48: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002e4a: 6822 ldr r2, [r4, #0] + 8002e4c: f423 6370 bic.w r3, r3, #3840 ; 0xf00 + 8002e50: f023 0301 bic.w r3, r3, #1 + 8002e54: f443 7380 orr.w r3, r3, #256 ; 0x100 + 8002e58: 65a3 str r3, [r4, #88] ; 0x58 + 8002e5a: 231c movs r3, #28 + 8002e5c: 65e0 str r0, [r4, #92] ; 0x5c + 8002e5e: 6013 str r3, [r2, #0] + 8002e60: f884 0054 strb.w r0, [r4, #84] ; 0x54 + 8002e64: 6893 ldr r3, [r2, #8] + 8002e66: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 + 8002e6a: f023 0317 bic.w r3, r3, #23 + 8002e6e: f043 0304 orr.w r3, r3, #4 + 8002e72: 6093 str r3, [r2, #8] + 8002e74: bd38 pop {r3, r4, r5, pc} + 8002e76: f884 5054 strb.w r5, [r4, #84] ; 0x54 + 8002e7a: e7fb b.n 8002e74 + 8002e7c: 2002 movs r0, #2 + 8002e7e: e7f9 b.n 8002e74 -08002e6c : - 8002e6c: 6802 ldr r2, [r0, #0] - 8002e6e: b538 push {r3, r4, r5, lr} - 8002e70: 6893 ldr r3, [r2, #8] - 8002e72: 6891 ldr r1, [r2, #8] - 8002e74: 4604 mov r4, r0 - 8002e76: 07c8 lsls r0, r1, #31 - 8002e78: d401 bmi.n 8002e7e - 8002e7a: 2000 movs r0, #0 - 8002e7c: bd38 pop {r3, r4, r5, pc} - 8002e7e: 0799 lsls r1, r3, #30 - 8002e80: d4fb bmi.n 8002e7a - 8002e82: 6893 ldr r3, [r2, #8] - 8002e84: f003 0305 and.w r3, r3, #5 - 8002e88: 2b01 cmp r3, #1 - 8002e8a: d119 bne.n 8002ec0 - 8002e8c: 6893 ldr r3, [r2, #8] - 8002e8e: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 - 8002e92: f023 0317 bic.w r3, r3, #23 - 8002e96: f043 0302 orr.w r3, r3, #2 - 8002e9a: 6093 str r3, [r2, #8] - 8002e9c: 2303 movs r3, #3 - 8002e9e: 6013 str r3, [r2, #0] - 8002ea0: f7fe fd0e bl 80018c0 - 8002ea4: 4605 mov r5, r0 - 8002ea6: 6823 ldr r3, [r4, #0] - 8002ea8: 689b ldr r3, [r3, #8] - 8002eaa: 07db lsls r3, r3, #31 - 8002eac: d5e5 bpl.n 8002e7a - 8002eae: f7fe fd07 bl 80018c0 - 8002eb2: 1b40 subs r0, r0, r5 - 8002eb4: 2802 cmp r0, #2 - 8002eb6: d9f6 bls.n 8002ea6 - 8002eb8: 6823 ldr r3, [r4, #0] - 8002eba: 689b ldr r3, [r3, #8] - 8002ebc: 07da lsls r2, r3, #31 - 8002ebe: d5f2 bpl.n 8002ea6 - 8002ec0: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002ec2: f043 0310 orr.w r3, r3, #16 - 8002ec6: 65a3 str r3, [r4, #88] ; 0x58 - 8002ec8: 6de3 ldr r3, [r4, #92] ; 0x5c - 8002eca: f043 0301 orr.w r3, r3, #1 - 8002ece: 65e3 str r3, [r4, #92] ; 0x5c - 8002ed0: 2001 movs r0, #1 - 8002ed2: e7d3 b.n 8002e7c +08002e80 : + 8002e80: 6802 ldr r2, [r0, #0] + 8002e82: b538 push {r3, r4, r5, lr} + 8002e84: 6893 ldr r3, [r2, #8] + 8002e86: 6891 ldr r1, [r2, #8] + 8002e88: 4604 mov r4, r0 + 8002e8a: 07c8 lsls r0, r1, #31 + 8002e8c: d401 bmi.n 8002e92 + 8002e8e: 2000 movs r0, #0 + 8002e90: bd38 pop {r3, r4, r5, pc} + 8002e92: 0799 lsls r1, r3, #30 + 8002e94: d4fb bmi.n 8002e8e + 8002e96: 6893 ldr r3, [r2, #8] + 8002e98: f003 0305 and.w r3, r3, #5 + 8002e9c: 2b01 cmp r3, #1 + 8002e9e: d119 bne.n 8002ed4 + 8002ea0: 6893 ldr r3, [r2, #8] + 8002ea2: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 + 8002ea6: f023 0317 bic.w r3, r3, #23 + 8002eaa: f043 0302 orr.w r3, r3, #2 + 8002eae: 6093 str r3, [r2, #8] + 8002eb0: 2303 movs r3, #3 + 8002eb2: 6013 str r3, [r2, #0] + 8002eb4: f7fe fd04 bl 80018c0 + 8002eb8: 4605 mov r5, r0 + 8002eba: 6823 ldr r3, [r4, #0] + 8002ebc: 689b ldr r3, [r3, #8] + 8002ebe: 07db lsls r3, r3, #31 + 8002ec0: d5e5 bpl.n 8002e8e + 8002ec2: f7fe fcfd bl 80018c0 + 8002ec6: 1b40 subs r0, r0, r5 + 8002ec8: 2802 cmp r0, #2 + 8002eca: d9f6 bls.n 8002eba + 8002ecc: 6823 ldr r3, [r4, #0] + 8002ece: 689b ldr r3, [r3, #8] + 8002ed0: 07da lsls r2, r3, #31 + 8002ed2: d5f2 bpl.n 8002eba + 8002ed4: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002ed6: f043 0310 orr.w r3, r3, #16 + 8002eda: 65a3 str r3, [r4, #88] ; 0x58 + 8002edc: 6de3 ldr r3, [r4, #92] ; 0x5c + 8002ede: f043 0301 orr.w r3, r3, #1 + 8002ee2: 65e3 str r3, [r4, #92] ; 0x5c + 8002ee4: 2001 movs r0, #1 + 8002ee6: e7d3 b.n 8002e90 -08002ed4 : - 8002ed4: b570 push {r4, r5, r6, lr} - 8002ed6: 4604 mov r4, r0 - 8002ed8: 2800 cmp r0, #0 - 8002eda: d04b beq.n 8002f74 - 8002edc: 6d83 ldr r3, [r0, #88] ; 0x58 - 8002ede: f043 0302 orr.w r3, r3, #2 - 8002ee2: 6583 str r3, [r0, #88] ; 0x58 - 8002ee4: f7ff ff0c bl 8002d00 - 8002ee8: 4605 mov r5, r0 - 8002eea: b968 cbnz r0, 8002f08 - 8002eec: 4620 mov r0, r4 - 8002eee: f7ff ffbd bl 8002e6c - 8002ef2: 4605 mov r5, r0 - 8002ef4: b908 cbnz r0, 8002efa - 8002ef6: 2301 movs r3, #1 - 8002ef8: 65a3 str r3, [r4, #88] ; 0x58 - 8002efa: 6822 ldr r2, [r4, #0] - 8002efc: 6893 ldr r3, [r2, #8] - 8002efe: f023 4310 bic.w r3, r3, #2415919104 ; 0x90000000 - 8002f02: f023 0317 bic.w r3, r3, #23 - 8002f06: 6093 str r3, [r2, #8] - 8002f08: 6823 ldr r3, [r4, #0] - 8002f0a: 685a ldr r2, [r3, #4] - 8002f0c: f422 7267 bic.w r2, r2, #924 ; 0x39c - 8002f10: f022 0203 bic.w r2, r2, #3 - 8002f14: 605a str r2, [r3, #4] - 8002f16: f240 329f movw r2, #927 ; 0x39f - 8002f1a: 601a str r2, [r3, #0] - 8002f1c: 68d9 ldr r1, [r3, #12] - 8002f1e: 4a16 ldr r2, [pc, #88] ; (8002f78 ) - 8002f20: 400a ands r2, r1 - 8002f22: 60da str r2, [r3, #12] - 8002f24: 691a ldr r2, [r3, #16] - 8002f26: f022 4240 bic.w r2, r2, #3221225472 ; 0xc0000000 - 8002f2a: 611a str r2, [r3, #16] - 8002f2c: 695a ldr r2, [r3, #20] - 8002f2e: f022 0207 bic.w r2, r2, #7 - 8002f32: 615a str r2, [r3, #20] - 8002f34: 6a1a ldr r2, [r3, #32] - 8002f36: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 - 8002f3a: 621a str r2, [r3, #32] - 8002f3c: 6a5a ldr r2, [r3, #36] ; 0x24 - 8002f3e: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 - 8002f42: 625a str r2, [r3, #36] ; 0x24 - 8002f44: 6ada ldr r2, [r3, #44] ; 0x2c - 8002f46: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 - 8002f4a: 62da str r2, [r3, #44] ; 0x2c - 8002f4c: 6a9a ldr r2, [r3, #40] ; 0x28 - 8002f4e: 4a0b ldr r2, [pc, #44] ; (8002f7c ) - 8002f50: 2600 movs r6, #0 - 8002f52: 629e str r6, [r3, #40] ; 0x28 - 8002f54: f8d2 3708 ldr.w r3, [r2, #1800] ; 0x708 - 8002f58: f023 73fe bic.w r3, r3, #33292288 ; 0x1fc0000 - 8002f5c: f8c2 3708 str.w r3, [r2, #1800] ; 0x708 - 8002f60: 4620 mov r0, r4 - 8002f62: f7fd ffdf bl 8000f24 - 8002f66: 65e6 str r6, [r4, #92] ; 0x5c - 8002f68: 6626 str r6, [r4, #96] ; 0x60 - 8002f6a: 65a6 str r6, [r4, #88] ; 0x58 - 8002f6c: f884 6054 strb.w r6, [r4, #84] ; 0x54 - 8002f70: 4628 mov r0, r5 - 8002f72: bd70 pop {r4, r5, r6, pc} - 8002f74: 2501 movs r5, #1 - 8002f76: e7fb b.n 8002f70 - 8002f78: 833e0200 .word 0x833e0200 - 8002f7c: 40012000 .word 0x40012000 +08002ee8 : + 8002ee8: b570 push {r4, r5, r6, lr} + 8002eea: 4604 mov r4, r0 + 8002eec: 2800 cmp r0, #0 + 8002eee: d04b beq.n 8002f88 + 8002ef0: 6d83 ldr r3, [r0, #88] ; 0x58 + 8002ef2: f043 0302 orr.w r3, r3, #2 + 8002ef6: 6583 str r3, [r0, #88] ; 0x58 + 8002ef8: f7ff ff0c bl 8002d14 + 8002efc: 4605 mov r5, r0 + 8002efe: b968 cbnz r0, 8002f1c + 8002f00: 4620 mov r0, r4 + 8002f02: f7ff ffbd bl 8002e80 + 8002f06: 4605 mov r5, r0 + 8002f08: b908 cbnz r0, 8002f0e + 8002f0a: 2301 movs r3, #1 + 8002f0c: 65a3 str r3, [r4, #88] ; 0x58 + 8002f0e: 6822 ldr r2, [r4, #0] + 8002f10: 6893 ldr r3, [r2, #8] + 8002f12: f023 4310 bic.w r3, r3, #2415919104 ; 0x90000000 + 8002f16: f023 0317 bic.w r3, r3, #23 + 8002f1a: 6093 str r3, [r2, #8] + 8002f1c: 6823 ldr r3, [r4, #0] + 8002f1e: 685a ldr r2, [r3, #4] + 8002f20: f422 7267 bic.w r2, r2, #924 ; 0x39c + 8002f24: f022 0203 bic.w r2, r2, #3 + 8002f28: 605a str r2, [r3, #4] + 8002f2a: f240 329f movw r2, #927 ; 0x39f + 8002f2e: 601a str r2, [r3, #0] + 8002f30: 68d9 ldr r1, [r3, #12] + 8002f32: 4a16 ldr r2, [pc, #88] ; (8002f8c ) + 8002f34: 400a ands r2, r1 + 8002f36: 60da str r2, [r3, #12] + 8002f38: 691a ldr r2, [r3, #16] + 8002f3a: f022 4240 bic.w r2, r2, #3221225472 ; 0xc0000000 + 8002f3e: 611a str r2, [r3, #16] + 8002f40: 695a ldr r2, [r3, #20] + 8002f42: f022 0207 bic.w r2, r2, #7 + 8002f46: 615a str r2, [r3, #20] + 8002f48: 6a1a ldr r2, [r3, #32] + 8002f4a: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 + 8002f4e: 621a str r2, [r3, #32] + 8002f50: 6a5a ldr r2, [r3, #36] ; 0x24 + 8002f52: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 + 8002f56: 625a str r2, [r3, #36] ; 0x24 + 8002f58: 6ada ldr r2, [r3, #44] ; 0x2c + 8002f5a: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 + 8002f5e: 62da str r2, [r3, #44] ; 0x2c + 8002f60: 6a9a ldr r2, [r3, #40] ; 0x28 + 8002f62: 4a0b ldr r2, [pc, #44] ; (8002f90 ) + 8002f64: 2600 movs r6, #0 + 8002f66: 629e str r6, [r3, #40] ; 0x28 + 8002f68: f8d2 3708 ldr.w r3, [r2, #1800] ; 0x708 + 8002f6c: f023 73fe bic.w r3, r3, #33292288 ; 0x1fc0000 + 8002f70: f8c2 3708 str.w r3, [r2, #1800] ; 0x708 + 8002f74: 4620 mov r0, r4 + 8002f76: f7fd ffd5 bl 8000f24 + 8002f7a: 65e6 str r6, [r4, #92] ; 0x5c + 8002f7c: 6626 str r6, [r4, #96] ; 0x60 + 8002f7e: 65a6 str r6, [r4, #88] ; 0x58 + 8002f80: f884 6054 strb.w r6, [r4, #84] ; 0x54 + 8002f84: 4628 mov r0, r5 + 8002f86: bd70 pop {r4, r5, r6, pc} + 8002f88: 2501 movs r5, #1 + 8002f8a: e7fb b.n 8002f84 + 8002f8c: 833e0200 .word 0x833e0200 + 8002f90: 40012000 .word 0x40012000 -08002f80 : - 8002f80: b510 push {r4, lr} - 8002f82: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 - 8002f86: 2b01 cmp r3, #1 - 8002f88: 4604 mov r4, r0 - 8002f8a: d015 beq.n 8002fb8 - 8002f8c: 2301 movs r3, #1 - 8002f8e: f880 3054 strb.w r3, [r0, #84] ; 0x54 - 8002f92: f7ff feb5 bl 8002d00 - 8002f96: b958 cbnz r0, 8002fb0 - 8002f98: 4620 mov r0, r4 - 8002f9a: f7ff ff67 bl 8002e6c - 8002f9e: b938 cbnz r0, 8002fb0 - 8002fa0: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002fa2: f423 7380 bic.w r3, r3, #256 ; 0x100 - 8002fa6: f023 0301 bic.w r3, r3, #1 - 8002faa: f043 0301 orr.w r3, r3, #1 - 8002fae: 65a3 str r3, [r4, #88] ; 0x58 - 8002fb0: 2300 movs r3, #0 - 8002fb2: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002fb6: bd10 pop {r4, pc} - 8002fb8: 2002 movs r0, #2 - 8002fba: e7fc b.n 8002fb6 +08002f94 : + 8002f94: b510 push {r4, lr} + 8002f96: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 + 8002f9a: 2b01 cmp r3, #1 + 8002f9c: 4604 mov r4, r0 + 8002f9e: d015 beq.n 8002fcc + 8002fa0: 2301 movs r3, #1 + 8002fa2: f880 3054 strb.w r3, [r0, #84] ; 0x54 + 8002fa6: f7ff feb5 bl 8002d14 + 8002faa: b958 cbnz r0, 8002fc4 + 8002fac: 4620 mov r0, r4 + 8002fae: f7ff ff67 bl 8002e80 + 8002fb2: b938 cbnz r0, 8002fc4 + 8002fb4: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002fb6: f423 7380 bic.w r3, r3, #256 ; 0x100 + 8002fba: f023 0301 bic.w r3, r3, #1 + 8002fbe: f043 0301 orr.w r3, r3, #1 + 8002fc2: 65a3 str r3, [r4, #88] ; 0x58 + 8002fc4: 2300 movs r3, #0 + 8002fc6: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8002fca: bd10 pop {r4, pc} + 8002fcc: 2002 movs r0, #2 + 8002fce: e7fc b.n 8002fca -08002fbc : - 8002fbc: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 8002fbe: 2300 movs r3, #0 - 8002fc0: 9301 str r3, [sp, #4] - 8002fc2: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 - 8002fc6: 2b01 cmp r3, #1 - 8002fc8: 4604 mov r4, r0 - 8002fca: d07f beq.n 80030cc - 8002fcc: 2301 movs r3, #1 - 8002fce: f880 3054 strb.w r3, [r0, #84] ; 0x54 - 8002fd2: f7ff ff4b bl 8002e6c - 8002fd6: 6823 ldr r3, [r4, #0] - 8002fd8: 689a ldr r2, [r3, #8] - 8002fda: f012 0201 ands.w r2, r2, #1 - 8002fde: 4605 mov r5, r0 - 8002fe0: d007 beq.n 8002ff2 - 8002fe2: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002fe4: f043 0310 orr.w r3, r3, #16 - 8002fe8: 65a3 str r3, [r4, #88] ; 0x58 - 8002fea: 2300 movs r3, #0 - 8002fec: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002ff0: e02d b.n 800304e - 8002ff2: 6da1 ldr r1, [r4, #88] ; 0x58 - 8002ff4: 4f36 ldr r7, [pc, #216] ; (80030d0 ) - 8002ff6: f421 7181 bic.w r1, r1, #258 ; 0x102 - 8002ffa: f041 0102 orr.w r1, r1, #2 - 8002ffe: 65a1 str r1, [r4, #88] ; 0x58 - 8003000: 68de ldr r6, [r3, #12] - 8003002: 68d9 ldr r1, [r3, #12] - 8003004: f426 46ff bic.w r6, r6, #32640 ; 0x7f80 - 8003008: f026 067c bic.w r6, r6, #124 ; 0x7c - 800300c: f421 4100 bic.w r1, r1, #32768 ; 0x8000 - 8003010: 0436 lsls r6, r6, #16 - 8003012: f021 0103 bic.w r1, r1, #3 - 8003016: 0c36 lsrs r6, r6, #16 - 8003018: 60d9 str r1, [r3, #12] - 800301a: 2008 movs r0, #8 - 800301c: 6899 ldr r1, [r3, #8] - 800301e: 4039 ands r1, r7 - 8003020: f041 4100 orr.w r1, r1, #2147483648 ; 0x80000000 - 8003024: 6099 str r1, [r3, #8] - 8003026: 6899 ldr r1, [r3, #8] - 8003028: 2900 cmp r1, #0 - 800302a: da13 bge.n 8003054 - 800302c: 9901 ldr r1, [sp, #4] - 800302e: 3101 adds r1, #1 - 8003030: 9101 str r1, [sp, #4] - 8003032: 9901 ldr r1, [sp, #4] - 8003034: f5b1 3f2e cmp.w r1, #178176 ; 0x2b800 - 8003038: d3f5 bcc.n 8003026 - 800303a: 6da3 ldr r3, [r4, #88] ; 0x58 - 800303c: f023 0312 bic.w r3, r3, #18 - 8003040: f043 0310 orr.w r3, r3, #16 - 8003044: 65a3 str r3, [r4, #88] ; 0x58 - 8003046: 2300 movs r3, #0 - 8003048: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 800304c: 2501 movs r5, #1 - 800304e: 4628 mov r0, r5 - 8003050: b003 add sp, #12 - 8003052: bdf0 pop {r4, r5, r6, r7, pc} - 8003054: f8d3 10b4 ldr.w r1, [r3, #180] ; 0xb4 - 8003058: 3801 subs r0, #1 - 800305a: f001 017f and.w r1, r1, #127 ; 0x7f - 800305e: 440a add r2, r1 - 8003060: d1dc bne.n 800301c - 8003062: 6899 ldr r1, [r3, #8] - 8003064: 481a ldr r0, [pc, #104] ; (80030d0 ) - 8003066: 4001 ands r1, r0 - 8003068: f041 0101 orr.w r1, r1, #1 - 800306c: 6099 str r1, [r3, #8] - 800306e: f8d3 10b4 ldr.w r1, [r3, #180] ; 0xb4 - 8003072: f021 017f bic.w r1, r1, #127 ; 0x7f - 8003076: ea41 02d2 orr.w r2, r1, r2, lsr #3 - 800307a: f8c3 20b4 str.w r2, [r3, #180] ; 0xb4 - 800307e: 689a ldr r2, [r3, #8] - 8003080: 4002 ands r2, r0 - 8003082: f042 0202 orr.w r2, r2, #2 - 8003086: 609a str r2, [r3, #8] - 8003088: f7fe fc1a bl 80018c0 - 800308c: 4607 mov r7, r0 - 800308e: 6823 ldr r3, [r4, #0] - 8003090: 689a ldr r2, [r3, #8] - 8003092: 07d2 lsls r2, r2, #31 - 8003094: d408 bmi.n 80030a8 - 8003096: 68da ldr r2, [r3, #12] - 8003098: 4332 orrs r2, r6 - 800309a: 60da str r2, [r3, #12] - 800309c: 6da3 ldr r3, [r4, #88] ; 0x58 - 800309e: f023 0303 bic.w r3, r3, #3 - 80030a2: f043 0301 orr.w r3, r3, #1 - 80030a6: e79f b.n 8002fe8 - 80030a8: f7fe fc0a bl 80018c0 - 80030ac: 1bc0 subs r0, r0, r7 - 80030ae: 2802 cmp r0, #2 - 80030b0: d9ed bls.n 800308e - 80030b2: 6823 ldr r3, [r4, #0] - 80030b4: 689b ldr r3, [r3, #8] - 80030b6: 07d9 lsls r1, r3, #31 - 80030b8: d5e9 bpl.n 800308e - 80030ba: 6da3 ldr r3, [r4, #88] ; 0x58 - 80030bc: f043 0310 orr.w r3, r3, #16 - 80030c0: 65a3 str r3, [r4, #88] ; 0x58 - 80030c2: 6de3 ldr r3, [r4, #92] ; 0x5c - 80030c4: f043 0301 orr.w r3, r3, #1 - 80030c8: 65e3 str r3, [r4, #92] ; 0x5c - 80030ca: e7bf b.n 800304c - 80030cc: 2502 movs r5, #2 - 80030ce: e7be b.n 800304e - 80030d0: 7fffffe8 .word 0x7fffffe8 +08002fd0 : + 8002fd0: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 8002fd2: 2300 movs r3, #0 + 8002fd4: 9301 str r3, [sp, #4] + 8002fd6: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 + 8002fda: 2b01 cmp r3, #1 + 8002fdc: 4604 mov r4, r0 + 8002fde: d07f beq.n 80030e0 + 8002fe0: 2301 movs r3, #1 + 8002fe2: f880 3054 strb.w r3, [r0, #84] ; 0x54 + 8002fe6: f7ff ff4b bl 8002e80 + 8002fea: 6823 ldr r3, [r4, #0] + 8002fec: 689a ldr r2, [r3, #8] + 8002fee: f012 0201 ands.w r2, r2, #1 + 8002ff2: 4605 mov r5, r0 + 8002ff4: d007 beq.n 8003006 + 8002ff6: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002ff8: f043 0310 orr.w r3, r3, #16 + 8002ffc: 65a3 str r3, [r4, #88] ; 0x58 + 8002ffe: 2300 movs r3, #0 + 8003000: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8003004: e02d b.n 8003062 + 8003006: 6da1 ldr r1, [r4, #88] ; 0x58 + 8003008: 4f36 ldr r7, [pc, #216] ; (80030e4 ) + 800300a: f421 7181 bic.w r1, r1, #258 ; 0x102 + 800300e: f041 0102 orr.w r1, r1, #2 + 8003012: 65a1 str r1, [r4, #88] ; 0x58 + 8003014: 68de ldr r6, [r3, #12] + 8003016: 68d9 ldr r1, [r3, #12] + 8003018: f426 46ff bic.w r6, r6, #32640 ; 0x7f80 + 800301c: f026 067c bic.w r6, r6, #124 ; 0x7c + 8003020: f421 4100 bic.w r1, r1, #32768 ; 0x8000 + 8003024: 0436 lsls r6, r6, #16 + 8003026: f021 0103 bic.w r1, r1, #3 + 800302a: 0c36 lsrs r6, r6, #16 + 800302c: 60d9 str r1, [r3, #12] + 800302e: 2008 movs r0, #8 + 8003030: 6899 ldr r1, [r3, #8] + 8003032: 4039 ands r1, r7 + 8003034: f041 4100 orr.w r1, r1, #2147483648 ; 0x80000000 + 8003038: 6099 str r1, [r3, #8] + 800303a: 6899 ldr r1, [r3, #8] + 800303c: 2900 cmp r1, #0 + 800303e: da13 bge.n 8003068 + 8003040: 9901 ldr r1, [sp, #4] + 8003042: 3101 adds r1, #1 + 8003044: 9101 str r1, [sp, #4] + 8003046: 9901 ldr r1, [sp, #4] + 8003048: f5b1 3f2e cmp.w r1, #178176 ; 0x2b800 + 800304c: d3f5 bcc.n 800303a + 800304e: 6da3 ldr r3, [r4, #88] ; 0x58 + 8003050: f023 0312 bic.w r3, r3, #18 + 8003054: f043 0310 orr.w r3, r3, #16 + 8003058: 65a3 str r3, [r4, #88] ; 0x58 + 800305a: 2300 movs r3, #0 + 800305c: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8003060: 2501 movs r5, #1 + 8003062: 4628 mov r0, r5 + 8003064: b003 add sp, #12 + 8003066: bdf0 pop {r4, r5, r6, r7, pc} + 8003068: f8d3 10b4 ldr.w r1, [r3, #180] ; 0xb4 + 800306c: 3801 subs r0, #1 + 800306e: f001 017f and.w r1, r1, #127 ; 0x7f + 8003072: 440a add r2, r1 + 8003074: d1dc bne.n 8003030 + 8003076: 6899 ldr r1, [r3, #8] + 8003078: 481a ldr r0, [pc, #104] ; (80030e4 ) + 800307a: 4001 ands r1, r0 + 800307c: f041 0101 orr.w r1, r1, #1 + 8003080: 6099 str r1, [r3, #8] + 8003082: f8d3 10b4 ldr.w r1, [r3, #180] ; 0xb4 + 8003086: f021 017f bic.w r1, r1, #127 ; 0x7f + 800308a: ea41 02d2 orr.w r2, r1, r2, lsr #3 + 800308e: f8c3 20b4 str.w r2, [r3, #180] ; 0xb4 + 8003092: 689a ldr r2, [r3, #8] + 8003094: 4002 ands r2, r0 + 8003096: f042 0202 orr.w r2, r2, #2 + 800309a: 609a str r2, [r3, #8] + 800309c: f7fe fc10 bl 80018c0 + 80030a0: 4607 mov r7, r0 + 80030a2: 6823 ldr r3, [r4, #0] + 80030a4: 689a ldr r2, [r3, #8] + 80030a6: 07d2 lsls r2, r2, #31 + 80030a8: d408 bmi.n 80030bc + 80030aa: 68da ldr r2, [r3, #12] + 80030ac: 4332 orrs r2, r6 + 80030ae: 60da str r2, [r3, #12] + 80030b0: 6da3 ldr r3, [r4, #88] ; 0x58 + 80030b2: f023 0303 bic.w r3, r3, #3 + 80030b6: f043 0301 orr.w r3, r3, #1 + 80030ba: e79f b.n 8002ffc + 80030bc: f7fe fc00 bl 80018c0 + 80030c0: 1bc0 subs r0, r0, r7 + 80030c2: 2802 cmp r0, #2 + 80030c4: d9ed bls.n 80030a2 + 80030c6: 6823 ldr r3, [r4, #0] + 80030c8: 689b ldr r3, [r3, #8] + 80030ca: 07d9 lsls r1, r3, #31 + 80030cc: d5e9 bpl.n 80030a2 + 80030ce: 6da3 ldr r3, [r4, #88] ; 0x58 + 80030d0: f043 0310 orr.w r3, r3, #16 + 80030d4: 65a3 str r3, [r4, #88] ; 0x58 + 80030d6: 6de3 ldr r3, [r4, #92] ; 0x5c + 80030d8: f043 0301 orr.w r3, r3, #1 + 80030dc: 65e3 str r3, [r4, #92] ; 0x5c + 80030de: e7bf b.n 8003060 + 80030e0: 2502 movs r5, #2 + 80030e2: e7be b.n 8003062 + 80030e4: 7fffffe8 .word 0x7fffffe8 -080030d4 : - 80030d4: 4907 ldr r1, [pc, #28] ; (80030f4 ) - 80030d6: 68ca ldr r2, [r1, #12] - 80030d8: f422 62e0 bic.w r2, r2, #1792 ; 0x700 - 80030dc: 0203 lsls r3, r0, #8 - 80030de: 0412 lsls r2, r2, #16 - 80030e0: f403 63e0 and.w r3, r3, #1792 ; 0x700 - 80030e4: 0c12 lsrs r2, r2, #16 - 80030e6: 4313 orrs r3, r2 - 80030e8: f043 63bf orr.w r3, r3, #100139008 ; 0x5f80000 - 80030ec: f443 3300 orr.w r3, r3, #131072 ; 0x20000 - 80030f0: 60cb str r3, [r1, #12] - 80030f2: 4770 bx lr - 80030f4: e000ed00 .word 0xe000ed00 +080030e8 : + 80030e8: 4907 ldr r1, [pc, #28] ; (8003108 ) + 80030ea: 68ca ldr r2, [r1, #12] + 80030ec: f422 62e0 bic.w r2, r2, #1792 ; 0x700 + 80030f0: 0203 lsls r3, r0, #8 + 80030f2: 0412 lsls r2, r2, #16 + 80030f4: f403 63e0 and.w r3, r3, #1792 ; 0x700 + 80030f8: 0c12 lsrs r2, r2, #16 + 80030fa: 4313 orrs r3, r2 + 80030fc: f043 63bf orr.w r3, r3, #100139008 ; 0x5f80000 + 8003100: f443 3300 orr.w r3, r3, #131072 ; 0x20000 + 8003104: 60cb str r3, [r1, #12] + 8003106: 4770 bx lr + 8003108: e000ed00 .word 0xe000ed00 -080030f8 : - 80030f8: 4b16 ldr r3, [pc, #88] ; (8003154 ) - 80030fa: b530 push {r4, r5, lr} - 80030fc: 68dc ldr r4, [r3, #12] - 80030fe: f3c4 2402 ubfx r4, r4, #8, #3 - 8003102: f1c4 0307 rsb r3, r4, #7 - 8003106: 1d25 adds r5, r4, #4 - 8003108: 2b04 cmp r3, #4 - 800310a: bf28 it cs - 800310c: 2304 movcs r3, #4 - 800310e: 2d06 cmp r5, #6 - 8003110: f04f 35ff mov.w r5, #4294967295 - 8003114: bf8c ite hi - 8003116: 3c03 subhi r4, #3 - 8003118: 2400 movls r4, #0 - 800311a: fa05 f303 lsl.w r3, r5, r3 - 800311e: ea21 0303 bic.w r3, r1, r3 - 8003122: 40a5 lsls r5, r4 - 8003124: ea22 0205 bic.w r2, r2, r5 - 8003128: 40a3 lsls r3, r4 - 800312a: 2800 cmp r0, #0 - 800312c: ea43 0302 orr.w r3, r3, r2 - 8003130: bfac ite ge - 8003132: f100 4060 addge.w r0, r0, #3758096384 ; 0xe0000000 - 8003136: 4a08 ldrlt r2, [pc, #32] ; (8003158 ) - 8003138: ea4f 1303 mov.w r3, r3, lsl #4 - 800313c: bfb8 it lt - 800313e: f000 000f andlt.w r0, r0, #15 - 8003142: b2db uxtb r3, r3 - 8003144: bfaa itet ge - 8003146: f500 4061 addge.w r0, r0, #57600 ; 0xe100 - 800314a: 5413 strblt r3, [r2, r0] - 800314c: f880 3300 strbge.w r3, [r0, #768] ; 0x300 - 8003150: bd30 pop {r4, r5, pc} - 8003152: bf00 nop - 8003154: e000ed00 .word 0xe000ed00 - 8003158: e000ed14 .word 0xe000ed14 +0800310c : + 800310c: 4b16 ldr r3, [pc, #88] ; (8003168 ) + 800310e: b530 push {r4, r5, lr} + 8003110: 68dc ldr r4, [r3, #12] + 8003112: f3c4 2402 ubfx r4, r4, #8, #3 + 8003116: f1c4 0307 rsb r3, r4, #7 + 800311a: 1d25 adds r5, r4, #4 + 800311c: 2b04 cmp r3, #4 + 800311e: bf28 it cs + 8003120: 2304 movcs r3, #4 + 8003122: 2d06 cmp r5, #6 + 8003124: f04f 35ff mov.w r5, #4294967295 + 8003128: bf8c ite hi + 800312a: 3c03 subhi r4, #3 + 800312c: 2400 movls r4, #0 + 800312e: fa05 f303 lsl.w r3, r5, r3 + 8003132: ea21 0303 bic.w r3, r1, r3 + 8003136: 40a5 lsls r5, r4 + 8003138: ea22 0205 bic.w r2, r2, r5 + 800313c: 40a3 lsls r3, r4 + 800313e: 2800 cmp r0, #0 + 8003140: ea43 0302 orr.w r3, r3, r2 + 8003144: bfac ite ge + 8003146: f100 4060 addge.w r0, r0, #3758096384 ; 0xe0000000 + 800314a: 4a08 ldrlt r2, [pc, #32] ; (800316c ) + 800314c: ea4f 1303 mov.w r3, r3, lsl #4 + 8003150: bfb8 it lt + 8003152: f000 000f andlt.w r0, r0, #15 + 8003156: b2db uxtb r3, r3 + 8003158: bfaa itet ge + 800315a: f500 4061 addge.w r0, r0, #57600 ; 0xe100 + 800315e: 5413 strblt r3, [r2, r0] + 8003160: f880 3300 strbge.w r3, [r0, #768] ; 0x300 + 8003164: bd30 pop {r4, r5, pc} + 8003166: bf00 nop + 8003168: e000ed00 .word 0xe000ed00 + 800316c: e000ed14 .word 0xe000ed14 -0800315c : - 800315c: 2800 cmp r0, #0 - 800315e: db07 blt.n 8003170 - 8003160: 4a04 ldr r2, [pc, #16] ; (8003174 ) - 8003162: 0941 lsrs r1, r0, #5 - 8003164: 2301 movs r3, #1 - 8003166: f000 001f and.w r0, r0, #31 - 800316a: 4083 lsls r3, r0 - 800316c: f842 3021 str.w r3, [r2, r1, lsl #2] - 8003170: 4770 bx lr - 8003172: bf00 nop - 8003174: e000e100 .word 0xe000e100 +08003170 : + 8003170: 2800 cmp r0, #0 + 8003172: db07 blt.n 8003184 + 8003174: 4a04 ldr r2, [pc, #16] ; (8003188 ) + 8003176: 0941 lsrs r1, r0, #5 + 8003178: 2301 movs r3, #1 + 800317a: f000 001f and.w r0, r0, #31 + 800317e: 4083 lsls r3, r0 + 8003180: f842 3021 str.w r3, [r2, r1, lsl #2] + 8003184: 4770 bx lr + 8003186: bf00 nop + 8003188: e000e100 .word 0xe000e100 -08003178 : - 8003178: 2800 cmp r0, #0 - 800317a: db0c blt.n 8003196 - 800317c: 0943 lsrs r3, r0, #5 - 800317e: 4906 ldr r1, [pc, #24] ; (8003198 ) - 8003180: f000 001f and.w r0, r0, #31 - 8003184: 3320 adds r3, #32 - 8003186: 2201 movs r2, #1 - 8003188: 4082 lsls r2, r0 - 800318a: f841 2023 str.w r2, [r1, r3, lsl #2] - 800318e: f3bf 8f4f dsb sy - 8003192: f3bf 8f6f isb sy - 8003196: 4770 bx lr - 8003198: e000e100 .word 0xe000e100 +0800318c : + 800318c: 2800 cmp r0, #0 + 800318e: db0c blt.n 80031aa + 8003190: 0943 lsrs r3, r0, #5 + 8003192: 4906 ldr r1, [pc, #24] ; (80031ac ) + 8003194: f000 001f and.w r0, r0, #31 + 8003198: 3320 adds r3, #32 + 800319a: 2201 movs r2, #1 + 800319c: 4082 lsls r2, r0 + 800319e: f841 2023 str.w r2, [r1, r3, lsl #2] + 80031a2: f3bf 8f4f dsb sy + 80031a6: f3bf 8f6f isb sy + 80031aa: 4770 bx lr + 80031ac: e000e100 .word 0xe000e100 -0800319c : - 800319c: b570 push {r4, r5, r6, lr} - 800319e: e9d0 4513 ldrd r4, r5, [r0, #76] ; 0x4c - 80031a2: 6065 str r5, [r4, #4] - 80031a4: 6d44 ldr r4, [r0, #84] ; 0x54 - 80031a6: b114 cbz r4, 80031ae - 80031a8: e9d0 4516 ldrd r4, r5, [r0, #88] ; 0x58 - 80031ac: 6065 str r5, [r4, #4] - 80031ae: e9d0 5410 ldrd r5, r4, [r0, #64] ; 0x40 - 80031b2: f004 061c and.w r6, r4, #28 - 80031b6: 2401 movs r4, #1 - 80031b8: 40b4 lsls r4, r6 - 80031ba: 606c str r4, [r5, #4] - 80031bc: 6804 ldr r4, [r0, #0] - 80031be: 6063 str r3, [r4, #4] - 80031c0: 6883 ldr r3, [r0, #8] - 80031c2: 2b10 cmp r3, #16 - 80031c4: bf0b itete eq - 80031c6: 60a2 streq r2, [r4, #8] - 80031c8: 60a1 strne r1, [r4, #8] - 80031ca: 60e1 streq r1, [r4, #12] - 80031cc: 60e2 strne r2, [r4, #12] - 80031ce: bd70 pop {r4, r5, r6, pc} +080031b0 : + 80031b0: b570 push {r4, r5, r6, lr} + 80031b2: e9d0 4513 ldrd r4, r5, [r0, #76] ; 0x4c + 80031b6: 6065 str r5, [r4, #4] + 80031b8: 6d44 ldr r4, [r0, #84] ; 0x54 + 80031ba: b114 cbz r4, 80031c2 + 80031bc: e9d0 4516 ldrd r4, r5, [r0, #88] ; 0x58 + 80031c0: 6065 str r5, [r4, #4] + 80031c2: e9d0 5410 ldrd r5, r4, [r0, #64] ; 0x40 + 80031c6: f004 061c and.w r6, r4, #28 + 80031ca: 2401 movs r4, #1 + 80031cc: 40b4 lsls r4, r6 + 80031ce: 606c str r4, [r5, #4] + 80031d0: 6804 ldr r4, [r0, #0] + 80031d2: 6063 str r3, [r4, #4] + 80031d4: 6883 ldr r3, [r0, #8] + 80031d6: 2b10 cmp r3, #16 + 80031d8: bf0b itete eq + 80031da: 60a2 streq r2, [r4, #8] + 80031dc: 60a1 strne r1, [r4, #8] + 80031de: 60e1 streq r1, [r4, #12] + 80031e0: 60e2 strne r2, [r4, #12] + 80031e2: bd70 pop {r4, r5, r6, pc} -080031d0 : - 80031d0: 6802 ldr r2, [r0, #0] - 80031d2: 6c41 ldr r1, [r0, #68] ; 0x44 - 80031d4: b2d3 uxtb r3, r2 - 80031d6: b510 push {r4, lr} - 80031d8: 3b08 subs r3, #8 - 80031da: 2414 movs r4, #20 - 80031dc: fbb3 f3f4 udiv r3, r3, r4 - 80031e0: 4c0b ldr r4, [pc, #44] ; (8003210 ) - 80031e2: 42a2 cmp r2, r4 - 80031e4: bf88 it hi - 80031e6: 4a0b ldrhi r2, [pc, #44] ; (8003214 ) - 80031e8: f021 0103 bic.w r1, r1, #3 - 80031ec: bf99 ittee ls - 80031ee: f101 4280 addls.w r2, r1, #1073741824 ; 0x40000000 - 80031f2: f502 3202 addls.w r2, r2, #133120 ; 0x20800 - 80031f6: 1852 addhi r2, r2, r1 - 80031f8: 3307 addhi r3, #7 - 80031fa: 6482 str r2, [r0, #72] ; 0x48 - 80031fc: 4a06 ldr r2, [pc, #24] ; (8003218 ) - 80031fe: 64c2 str r2, [r0, #76] ; 0x4c - 8003200: f003 031f and.w r3, r3, #31 - 8003204: 2201 movs r2, #1 - 8003206: fa02 f303 lsl.w r3, r2, r3 - 800320a: 6503 str r3, [r0, #80] ; 0x50 - 800320c: bd10 pop {r4, pc} - 800320e: bf00 nop - 8003210: 40020407 .word 0x40020407 - 8003214: 4002081c .word 0x4002081c - 8003218: 40020880 .word 0x40020880 +080031e4 : + 80031e4: 6802 ldr r2, [r0, #0] + 80031e6: 6c41 ldr r1, [r0, #68] ; 0x44 + 80031e8: b2d3 uxtb r3, r2 + 80031ea: b510 push {r4, lr} + 80031ec: 3b08 subs r3, #8 + 80031ee: 2414 movs r4, #20 + 80031f0: fbb3 f3f4 udiv r3, r3, r4 + 80031f4: 4c0b ldr r4, [pc, #44] ; (8003224 ) + 80031f6: 42a2 cmp r2, r4 + 80031f8: bf88 it hi + 80031fa: 4a0b ldrhi r2, [pc, #44] ; (8003228 ) + 80031fc: f021 0103 bic.w r1, r1, #3 + 8003200: bf99 ittee ls + 8003202: f101 4280 addls.w r2, r1, #1073741824 ; 0x40000000 + 8003206: f502 3202 addls.w r2, r2, #133120 ; 0x20800 + 800320a: 1852 addhi r2, r2, r1 + 800320c: 3307 addhi r3, #7 + 800320e: 6482 str r2, [r0, #72] ; 0x48 + 8003210: 4a06 ldr r2, [pc, #24] ; (800322c ) + 8003212: 64c2 str r2, [r0, #76] ; 0x4c + 8003214: f003 031f and.w r3, r3, #31 + 8003218: 2201 movs r2, #1 + 800321a: fa02 f303 lsl.w r3, r2, r3 + 800321e: 6503 str r3, [r0, #80] ; 0x50 + 8003220: bd10 pop {r4, pc} + 8003222: bf00 nop + 8003224: 40020407 .word 0x40020407 + 8003228: 4002081c .word 0x4002081c + 800322c: 40020880 .word 0x40020880 -0800321c : - 800321c: b538 push {r3, r4, r5, lr} - 800321e: 2800 cmp r0, #0 - 8003220: d05e beq.n 80032e0 - 8003222: 6802 ldr r2, [r0, #0] - 8003224: 4b2f ldr r3, [pc, #188] ; (80032e4 ) - 8003226: 429a cmp r2, r3 - 8003228: f04f 0114 mov.w r1, #20 - 800322c: d84c bhi.n 80032c8 - 800322e: 4b2e ldr r3, [pc, #184] ; (80032e8 ) - 8003230: 4413 add r3, r2 - 8003232: fbb3 f3f1 udiv r3, r3, r1 - 8003236: 492d ldr r1, [pc, #180] ; (80032ec ) - 8003238: 009b lsls r3, r3, #2 - 800323a: e9c0 1310 strd r1, r3, [r0, #64] ; 0x40 - 800323e: 2302 movs r3, #2 - 8003240: f880 3025 strb.w r3, [r0, #37] ; 0x25 - 8003244: 6813 ldr r3, [r2, #0] - 8003246: 6905 ldr r5, [r0, #16] - 8003248: f423 43ff bic.w r3, r3, #32640 ; 0x7f80 - 800324c: f023 0370 bic.w r3, r3, #112 ; 0x70 - 8003250: 6013 str r3, [r2, #0] - 8003252: e9d0 4302 ldrd r4, r3, [r0, #8] - 8003256: 4323 orrs r3, r4 - 8003258: 432b orrs r3, r5 - 800325a: 6945 ldr r5, [r0, #20] - 800325c: 6811 ldr r1, [r2, #0] - 800325e: 432b orrs r3, r5 - 8003260: 6985 ldr r5, [r0, #24] - 8003262: 432b orrs r3, r5 - 8003264: 69c5 ldr r5, [r0, #28] - 8003266: 432b orrs r3, r5 - 8003268: 6a05 ldr r5, [r0, #32] - 800326a: 432b orrs r3, r5 - 800326c: 430b orrs r3, r1 - 800326e: 6013 str r3, [r2, #0] - 8003270: f7ff ffae bl 80031d0 - 8003274: f5b4 4f80 cmp.w r4, #16384 ; 0x4000 - 8003278: bf04 itt eq - 800327a: 2300 moveq r3, #0 - 800327c: 6043 streq r3, [r0, #4] - 800327e: 6842 ldr r2, [r0, #4] - 8003280: 6c81 ldr r1, [r0, #72] ; 0x48 - 8003282: f002 037f and.w r3, r2, #127 ; 0x7f - 8003286: 600b str r3, [r1, #0] - 8003288: e9d0 1413 ldrd r1, r4, [r0, #76] ; 0x4c - 800328c: 3a01 subs r2, #1 - 800328e: 2a03 cmp r2, #3 - 8003290: 604c str r4, [r1, #4] - 8003292: d820 bhi.n 80032d6 - 8003294: 4a16 ldr r2, [pc, #88] ; (80032f0 ) - 8003296: 4917 ldr r1, [pc, #92] ; (80032f4 ) - 8003298: 6581 str r1, [r0, #88] ; 0x58 - 800329a: 441a add r2, r3 - 800329c: 3b01 subs r3, #1 - 800329e: 0092 lsls r2, r2, #2 - 80032a0: 2101 movs r1, #1 - 80032a2: f003 0303 and.w r3, r3, #3 - 80032a6: fa01 f303 lsl.w r3, r1, r3 - 80032aa: 2100 movs r1, #0 - 80032ac: 6542 str r2, [r0, #84] ; 0x54 - 80032ae: 65c3 str r3, [r0, #92] ; 0x5c - 80032b0: 6011 str r1, [r2, #0] - 80032b2: 4a11 ldr r2, [pc, #68] ; (80032f8 ) - 80032b4: 6453 str r3, [r2, #68] ; 0x44 - 80032b6: 2300 movs r3, #0 - 80032b8: 2201 movs r2, #1 - 80032ba: 63c3 str r3, [r0, #60] ; 0x3c - 80032bc: f880 3024 strb.w r3, [r0, #36] ; 0x24 - 80032c0: f880 2025 strb.w r2, [r0, #37] ; 0x25 - 80032c4: 4618 mov r0, r3 - 80032c6: bd38 pop {r3, r4, r5, pc} - 80032c8: 4b0c ldr r3, [pc, #48] ; (80032fc ) - 80032ca: 4413 add r3, r2 - 80032cc: fbb3 f3f1 udiv r3, r3, r1 - 80032d0: 490b ldr r1, [pc, #44] ; (8003300 ) - 80032d2: 009b lsls r3, r3, #2 - 80032d4: e7b1 b.n 800323a - 80032d6: 2300 movs r3, #0 - 80032d8: e9c0 3315 strd r3, r3, [r0, #84] ; 0x54 - 80032dc: 65c3 str r3, [r0, #92] ; 0x5c - 80032de: e7ea b.n 80032b6 - 80032e0: 2001 movs r0, #1 - 80032e2: e7f0 b.n 80032c6 - 80032e4: 40020407 .word 0x40020407 - 80032e8: bffdfff8 .word 0xbffdfff8 - 80032ec: 40020000 .word 0x40020000 - 80032f0: 1000823f .word 0x1000823f - 80032f4: 40020940 .word 0x40020940 - 80032f8: 40020900 .word 0x40020900 - 80032fc: bffdfbf8 .word 0xbffdfbf8 - 8003300: 40020400 .word 0x40020400 +08003230 : + 8003230: b538 push {r3, r4, r5, lr} + 8003232: 2800 cmp r0, #0 + 8003234: d05e beq.n 80032f4 + 8003236: 6802 ldr r2, [r0, #0] + 8003238: 4b2f ldr r3, [pc, #188] ; (80032f8 ) + 800323a: 429a cmp r2, r3 + 800323c: f04f 0114 mov.w r1, #20 + 8003240: d84c bhi.n 80032dc + 8003242: 4b2e ldr r3, [pc, #184] ; (80032fc ) + 8003244: 4413 add r3, r2 + 8003246: fbb3 f3f1 udiv r3, r3, r1 + 800324a: 492d ldr r1, [pc, #180] ; (8003300 ) + 800324c: 009b lsls r3, r3, #2 + 800324e: e9c0 1310 strd r1, r3, [r0, #64] ; 0x40 + 8003252: 2302 movs r3, #2 + 8003254: f880 3025 strb.w r3, [r0, #37] ; 0x25 + 8003258: 6813 ldr r3, [r2, #0] + 800325a: 6905 ldr r5, [r0, #16] + 800325c: f423 43ff bic.w r3, r3, #32640 ; 0x7f80 + 8003260: f023 0370 bic.w r3, r3, #112 ; 0x70 + 8003264: 6013 str r3, [r2, #0] + 8003266: e9d0 4302 ldrd r4, r3, [r0, #8] + 800326a: 4323 orrs r3, r4 + 800326c: 432b orrs r3, r5 + 800326e: 6945 ldr r5, [r0, #20] + 8003270: 6811 ldr r1, [r2, #0] + 8003272: 432b orrs r3, r5 + 8003274: 6985 ldr r5, [r0, #24] + 8003276: 432b orrs r3, r5 + 8003278: 69c5 ldr r5, [r0, #28] + 800327a: 432b orrs r3, r5 + 800327c: 6a05 ldr r5, [r0, #32] + 800327e: 432b orrs r3, r5 + 8003280: 430b orrs r3, r1 + 8003282: 6013 str r3, [r2, #0] + 8003284: f7ff ffae bl 80031e4 + 8003288: f5b4 4f80 cmp.w r4, #16384 ; 0x4000 + 800328c: bf04 itt eq + 800328e: 2300 moveq r3, #0 + 8003290: 6043 streq r3, [r0, #4] + 8003292: 6842 ldr r2, [r0, #4] + 8003294: 6c81 ldr r1, [r0, #72] ; 0x48 + 8003296: f002 037f and.w r3, r2, #127 ; 0x7f + 800329a: 600b str r3, [r1, #0] + 800329c: e9d0 1413 ldrd r1, r4, [r0, #76] ; 0x4c + 80032a0: 3a01 subs r2, #1 + 80032a2: 2a03 cmp r2, #3 + 80032a4: 604c str r4, [r1, #4] + 80032a6: d820 bhi.n 80032ea + 80032a8: 4a16 ldr r2, [pc, #88] ; (8003304 ) + 80032aa: 4917 ldr r1, [pc, #92] ; (8003308 ) + 80032ac: 6581 str r1, [r0, #88] ; 0x58 + 80032ae: 441a add r2, r3 + 80032b0: 3b01 subs r3, #1 + 80032b2: 0092 lsls r2, r2, #2 + 80032b4: 2101 movs r1, #1 + 80032b6: f003 0303 and.w r3, r3, #3 + 80032ba: fa01 f303 lsl.w r3, r1, r3 + 80032be: 2100 movs r1, #0 + 80032c0: 6542 str r2, [r0, #84] ; 0x54 + 80032c2: 65c3 str r3, [r0, #92] ; 0x5c + 80032c4: 6011 str r1, [r2, #0] + 80032c6: 4a11 ldr r2, [pc, #68] ; (800330c ) + 80032c8: 6453 str r3, [r2, #68] ; 0x44 + 80032ca: 2300 movs r3, #0 + 80032cc: 2201 movs r2, #1 + 80032ce: 63c3 str r3, [r0, #60] ; 0x3c + 80032d0: f880 3024 strb.w r3, [r0, #36] ; 0x24 + 80032d4: f880 2025 strb.w r2, [r0, #37] ; 0x25 + 80032d8: 4618 mov r0, r3 + 80032da: bd38 pop {r3, r4, r5, pc} + 80032dc: 4b0c ldr r3, [pc, #48] ; (8003310 ) + 80032de: 4413 add r3, r2 + 80032e0: fbb3 f3f1 udiv r3, r3, r1 + 80032e4: 490b ldr r1, [pc, #44] ; (8003314 ) + 80032e6: 009b lsls r3, r3, #2 + 80032e8: e7b1 b.n 800324e + 80032ea: 2300 movs r3, #0 + 80032ec: e9c0 3315 strd r3, r3, [r0, #84] ; 0x54 + 80032f0: 65c3 str r3, [r0, #92] ; 0x5c + 80032f2: e7ea b.n 80032ca + 80032f4: 2001 movs r0, #1 + 80032f6: e7f0 b.n 80032da + 80032f8: 40020407 .word 0x40020407 + 80032fc: bffdfff8 .word 0xbffdfff8 + 8003300: 40020000 .word 0x40020000 + 8003304: 1000823f .word 0x1000823f + 8003308: 40020940 .word 0x40020940 + 800330c: 40020900 .word 0x40020900 + 8003310: bffdfbf8 .word 0xbffdfbf8 + 8003314: 40020400 .word 0x40020400 -08003304 : - 8003304: b538 push {r3, r4, r5, lr} - 8003306: 2800 cmp r0, #0 - 8003308: d041 beq.n 800338e - 800330a: 6802 ldr r2, [r0, #0] - 800330c: 6813 ldr r3, [r2, #0] - 800330e: f023 0301 bic.w r3, r3, #1 - 8003312: 6013 str r3, [r2, #0] - 8003314: 4b1f ldr r3, [pc, #124] ; (8003394 ) - 8003316: 429a cmp r2, r3 - 8003318: f04f 0114 mov.w r1, #20 - 800331c: d830 bhi.n 8003380 - 800331e: 4b1e ldr r3, [pc, #120] ; (8003398 ) - 8003320: 4413 add r3, r2 - 8003322: fbb3 f3f1 udiv r3, r3, r1 - 8003326: 491d ldr r1, [pc, #116] ; (800339c ) - 8003328: 009b lsls r3, r3, #2 - 800332a: e9c0 1310 strd r1, r3, [r0, #64] ; 0x40 - 800332e: 2401 movs r4, #1 - 8003330: f003 031c and.w r3, r3, #28 - 8003334: fa04 f303 lsl.w r3, r4, r3 - 8003338: 2500 movs r5, #0 - 800333a: 6015 str r5, [r2, #0] - 800333c: 604b str r3, [r1, #4] - 800333e: f7ff ff47 bl 80031d0 - 8003342: 6c83 ldr r3, [r0, #72] ; 0x48 - 8003344: 6841 ldr r1, [r0, #4] - 8003346: 601d str r5, [r3, #0] - 8003348: e9d0 3213 ldrd r3, r2, [r0, #76] ; 0x4c - 800334c: 605a str r2, [r3, #4] - 800334e: 1e4a subs r2, r1, #1 - 8003350: 2a03 cmp r2, #3 - 8003352: d806 bhi.n 8003362 - 8003354: 4b12 ldr r3, [pc, #72] ; (80033a0 ) - 8003356: 440b add r3, r1 - 8003358: 009b lsls r3, r3, #2 - 800335a: 4094 lsls r4, r2 - 800335c: 601d str r5, [r3, #0] - 800335e: 4b11 ldr r3, [pc, #68] ; (80033a4 ) - 8003360: 645c str r4, [r3, #68] ; 0x44 - 8003362: 2300 movs r3, #0 - 8003364: 63c3 str r3, [r0, #60] ; 0x3c - 8003366: e9c0 3315 strd r3, r3, [r0, #84] ; 0x54 - 800336a: e9c0 330b strd r3, r3, [r0, #44] ; 0x2c - 800336e: e9c0 330d strd r3, r3, [r0, #52] ; 0x34 - 8003372: 65c3 str r3, [r0, #92] ; 0x5c - 8003374: f880 3025 strb.w r3, [r0, #37] ; 0x25 - 8003378: f880 3024 strb.w r3, [r0, #36] ; 0x24 - 800337c: 4618 mov r0, r3 - 800337e: bd38 pop {r3, r4, r5, pc} - 8003380: 4b09 ldr r3, [pc, #36] ; (80033a8 ) - 8003382: 4413 add r3, r2 - 8003384: fbb3 f3f1 udiv r3, r3, r1 - 8003388: 4908 ldr r1, [pc, #32] ; (80033ac ) - 800338a: 009b lsls r3, r3, #2 - 800338c: e7cd b.n 800332a - 800338e: 2001 movs r0, #1 - 8003390: e7f5 b.n 800337e - 8003392: bf00 nop - 8003394: 40020407 .word 0x40020407 - 8003398: bffdfff8 .word 0xbffdfff8 - 800339c: 40020000 .word 0x40020000 - 80033a0: 1000823f .word 0x1000823f - 80033a4: 40020900 .word 0x40020900 - 80033a8: bffdfbf8 .word 0xbffdfbf8 - 80033ac: 40020400 .word 0x40020400 +08003318 : + 8003318: b538 push {r3, r4, r5, lr} + 800331a: 2800 cmp r0, #0 + 800331c: d041 beq.n 80033a2 + 800331e: 6802 ldr r2, [r0, #0] + 8003320: 6813 ldr r3, [r2, #0] + 8003322: f023 0301 bic.w r3, r3, #1 + 8003326: 6013 str r3, [r2, #0] + 8003328: 4b1f ldr r3, [pc, #124] ; (80033a8 ) + 800332a: 429a cmp r2, r3 + 800332c: f04f 0114 mov.w r1, #20 + 8003330: d830 bhi.n 8003394 + 8003332: 4b1e ldr r3, [pc, #120] ; (80033ac ) + 8003334: 4413 add r3, r2 + 8003336: fbb3 f3f1 udiv r3, r3, r1 + 800333a: 491d ldr r1, [pc, #116] ; (80033b0 ) + 800333c: 009b lsls r3, r3, #2 + 800333e: e9c0 1310 strd r1, r3, [r0, #64] ; 0x40 + 8003342: 2401 movs r4, #1 + 8003344: f003 031c and.w r3, r3, #28 + 8003348: fa04 f303 lsl.w r3, r4, r3 + 800334c: 2500 movs r5, #0 + 800334e: 6015 str r5, [r2, #0] + 8003350: 604b str r3, [r1, #4] + 8003352: f7ff ff47 bl 80031e4 + 8003356: 6c83 ldr r3, [r0, #72] ; 0x48 + 8003358: 6841 ldr r1, [r0, #4] + 800335a: 601d str r5, [r3, #0] + 800335c: e9d0 3213 ldrd r3, r2, [r0, #76] ; 0x4c + 8003360: 605a str r2, [r3, #4] + 8003362: 1e4a subs r2, r1, #1 + 8003364: 2a03 cmp r2, #3 + 8003366: d806 bhi.n 8003376 + 8003368: 4b12 ldr r3, [pc, #72] ; (80033b4 ) + 800336a: 440b add r3, r1 + 800336c: 009b lsls r3, r3, #2 + 800336e: 4094 lsls r4, r2 + 8003370: 601d str r5, [r3, #0] + 8003372: 4b11 ldr r3, [pc, #68] ; (80033b8 ) + 8003374: 645c str r4, [r3, #68] ; 0x44 + 8003376: 2300 movs r3, #0 + 8003378: 63c3 str r3, [r0, #60] ; 0x3c + 800337a: e9c0 3315 strd r3, r3, [r0, #84] ; 0x54 + 800337e: e9c0 330b strd r3, r3, [r0, #44] ; 0x2c + 8003382: e9c0 330d strd r3, r3, [r0, #52] ; 0x34 + 8003386: 65c3 str r3, [r0, #92] ; 0x5c + 8003388: f880 3025 strb.w r3, [r0, #37] ; 0x25 + 800338c: f880 3024 strb.w r3, [r0, #36] ; 0x24 + 8003390: 4618 mov r0, r3 + 8003392: bd38 pop {r3, r4, r5, pc} + 8003394: 4b09 ldr r3, [pc, #36] ; (80033bc ) + 8003396: 4413 add r3, r2 + 8003398: fbb3 f3f1 udiv r3, r3, r1 + 800339c: 4908 ldr r1, [pc, #32] ; (80033c0 ) + 800339e: 009b lsls r3, r3, #2 + 80033a0: e7cd b.n 800333e + 80033a2: 2001 movs r0, #1 + 80033a4: e7f5 b.n 8003392 + 80033a6: bf00 nop + 80033a8: 40020407 .word 0x40020407 + 80033ac: bffdfff8 .word 0xbffdfff8 + 80033b0: 40020000 .word 0x40020000 + 80033b4: 1000823f .word 0x1000823f + 80033b8: 40020900 .word 0x40020900 + 80033bc: bffdfbf8 .word 0xbffdfbf8 + 80033c0: 40020400 .word 0x40020400 -080033b0 : - 80033b0: b570 push {r4, r5, r6, lr} - 80033b2: f890 5024 ldrb.w r5, [r0, #36] ; 0x24 - 80033b6: 2d01 cmp r5, #1 - 80033b8: 4604 mov r4, r0 - 80033ba: d03b beq.n 8003434 - 80033bc: f890 6025 ldrb.w r6, [r0, #37] ; 0x25 - 80033c0: 2501 movs r5, #1 - 80033c2: 42ae cmp r6, r5 - 80033c4: f880 5024 strb.w r5, [r0, #36] ; 0x24 - 80033c8: f04f 0600 mov.w r6, #0 - 80033cc: d12c bne.n 8003428 - 80033ce: 2502 movs r5, #2 - 80033d0: f880 5025 strb.w r5, [r0, #37] ; 0x25 - 80033d4: 6805 ldr r5, [r0, #0] - 80033d6: 63c6 str r6, [r0, #60] ; 0x3c - 80033d8: 682e ldr r6, [r5, #0] - 80033da: f026 0601 bic.w r6, r6, #1 - 80033de: 602e str r6, [r5, #0] - 80033e0: f7ff fedc bl 800319c - 80033e4: 6b03 ldr r3, [r0, #48] ; 0x30 - 80033e6: b1bb cbz r3, 8003418 - 80033e8: 682b ldr r3, [r5, #0] - 80033ea: f043 030e orr.w r3, r3, #14 - 80033ee: 602b str r3, [r5, #0] - 80033f0: 6ca3 ldr r3, [r4, #72] ; 0x48 - 80033f2: 681a ldr r2, [r3, #0] - 80033f4: 03d2 lsls r2, r2, #15 - 80033f6: bf42 ittt mi - 80033f8: 681a ldrmi r2, [r3, #0] - 80033fa: f442 7280 orrmi.w r2, r2, #256 ; 0x100 - 80033fe: 601a strmi r2, [r3, #0] - 8003400: 6d63 ldr r3, [r4, #84] ; 0x54 - 8003402: b11b cbz r3, 800340c - 8003404: 681a ldr r2, [r3, #0] - 8003406: f442 7280 orr.w r2, r2, #256 ; 0x100 - 800340a: 601a str r2, [r3, #0] - 800340c: 682b ldr r3, [r5, #0] - 800340e: f043 0301 orr.w r3, r3, #1 - 8003412: 602b str r3, [r5, #0] - 8003414: 2000 movs r0, #0 - 8003416: bd70 pop {r4, r5, r6, pc} - 8003418: 682b ldr r3, [r5, #0] - 800341a: f023 0304 bic.w r3, r3, #4 - 800341e: 602b str r3, [r5, #0] +080033c4 : + 80033c4: b570 push {r4, r5, r6, lr} + 80033c6: f890 5024 ldrb.w r5, [r0, #36] ; 0x24 + 80033ca: 2d01 cmp r5, #1 + 80033cc: 4604 mov r4, r0 + 80033ce: d03b beq.n 8003448 + 80033d0: f890 6025 ldrb.w r6, [r0, #37] ; 0x25 + 80033d4: 2501 movs r5, #1 + 80033d6: 42ae cmp r6, r5 + 80033d8: f880 5024 strb.w r5, [r0, #36] ; 0x24 + 80033dc: f04f 0600 mov.w r6, #0 + 80033e0: d12c bne.n 800343c + 80033e2: 2502 movs r5, #2 + 80033e4: f880 5025 strb.w r5, [r0, #37] ; 0x25 + 80033e8: 6805 ldr r5, [r0, #0] + 80033ea: 63c6 str r6, [r0, #60] ; 0x3c + 80033ec: 682e ldr r6, [r5, #0] + 80033ee: f026 0601 bic.w r6, r6, #1 + 80033f2: 602e str r6, [r5, #0] + 80033f4: f7ff fedc bl 80031b0 + 80033f8: 6b03 ldr r3, [r0, #48] ; 0x30 + 80033fa: b1bb cbz r3, 800342c + 80033fc: 682b ldr r3, [r5, #0] + 80033fe: f043 030e orr.w r3, r3, #14 + 8003402: 602b str r3, [r5, #0] + 8003404: 6ca3 ldr r3, [r4, #72] ; 0x48 + 8003406: 681a ldr r2, [r3, #0] + 8003408: 03d2 lsls r2, r2, #15 + 800340a: bf42 ittt mi + 800340c: 681a ldrmi r2, [r3, #0] + 800340e: f442 7280 orrmi.w r2, r2, #256 ; 0x100 + 8003412: 601a strmi r2, [r3, #0] + 8003414: 6d63 ldr r3, [r4, #84] ; 0x54 + 8003416: b11b cbz r3, 8003420 + 8003418: 681a ldr r2, [r3, #0] + 800341a: f442 7280 orr.w r2, r2, #256 ; 0x100 + 800341e: 601a str r2, [r3, #0] 8003420: 682b ldr r3, [r5, #0] - 8003422: f043 030a orr.w r3, r3, #10 - 8003426: e7e2 b.n 80033ee - 8003428: 2380 movs r3, #128 ; 0x80 - 800342a: 63c3 str r3, [r0, #60] ; 0x3c - 800342c: f880 6024 strb.w r6, [r0, #36] ; 0x24 - 8003430: 4628 mov r0, r5 - 8003432: e7f0 b.n 8003416 - 8003434: 2002 movs r0, #2 - 8003436: e7ee b.n 8003416 + 8003422: f043 0301 orr.w r3, r3, #1 + 8003426: 602b str r3, [r5, #0] + 8003428: 2000 movs r0, #0 + 800342a: bd70 pop {r4, r5, r6, pc} + 800342c: 682b ldr r3, [r5, #0] + 800342e: f023 0304 bic.w r3, r3, #4 + 8003432: 602b str r3, [r5, #0] + 8003434: 682b ldr r3, [r5, #0] + 8003436: f043 030a orr.w r3, r3, #10 + 800343a: e7e2 b.n 8003402 + 800343c: 2380 movs r3, #128 ; 0x80 + 800343e: 63c3 str r3, [r0, #60] ; 0x3c + 8003440: f880 6024 strb.w r6, [r0, #36] ; 0x24 + 8003444: 4628 mov r0, r5 + 8003446: e7f0 b.n 800342a + 8003448: 2002 movs r0, #2 + 800344a: e7ee b.n 800342a -08003438 : - 8003438: 4603 mov r3, r0 - 800343a: b140 cbz r0, 800344e - 800343c: f890 2025 ldrb.w r2, [r0, #37] ; 0x25 - 8003440: 2a02 cmp r2, #2 - 8003442: d006 beq.n 8003452 - 8003444: 2204 movs r2, #4 - 8003446: 63c2 str r2, [r0, #60] ; 0x3c - 8003448: 2200 movs r2, #0 - 800344a: f880 2024 strb.w r2, [r0, #36] ; 0x24 - 800344e: 2001 movs r0, #1 - 8003450: 4770 bx lr - 8003452: 6802 ldr r2, [r0, #0] - 8003454: 6c80 ldr r0, [r0, #72] ; 0x48 - 8003456: 6811 ldr r1, [r2, #0] - 8003458: f021 010e bic.w r1, r1, #14 - 800345c: 6011 str r1, [r2, #0] - 800345e: 6801 ldr r1, [r0, #0] - 8003460: f421 7180 bic.w r1, r1, #256 ; 0x100 - 8003464: 6001 str r1, [r0, #0] - 8003466: 6811 ldr r1, [r2, #0] - 8003468: f021 0101 bic.w r1, r1, #1 - 800346c: 6011 str r1, [r2, #0] - 800346e: e9d3 0210 ldrd r0, r2, [r3, #64] ; 0x40 - 8003472: f002 011c and.w r1, r2, #28 - 8003476: 2201 movs r2, #1 - 8003478: 408a lsls r2, r1 - 800347a: 6042 str r2, [r0, #4] - 800347c: e9d3 2113 ldrd r2, r1, [r3, #76] ; 0x4c - 8003480: 6051 str r1, [r2, #4] - 8003482: 6d5a ldr r2, [r3, #84] ; 0x54 - 8003484: b132 cbz r2, 8003494 - 8003486: 6811 ldr r1, [r2, #0] - 8003488: f421 7180 bic.w r1, r1, #256 ; 0x100 - 800348c: 6011 str r1, [r2, #0] - 800348e: e9d3 2116 ldrd r2, r1, [r3, #88] ; 0x58 - 8003492: 6051 str r1, [r2, #4] - 8003494: 2201 movs r2, #1 - 8003496: 2000 movs r0, #0 - 8003498: f883 2025 strb.w r2, [r3, #37] ; 0x25 - 800349c: f883 0024 strb.w r0, [r3, #36] ; 0x24 - 80034a0: 4770 bx lr +0800344c : + 800344c: 4603 mov r3, r0 + 800344e: b140 cbz r0, 8003462 + 8003450: f890 2025 ldrb.w r2, [r0, #37] ; 0x25 + 8003454: 2a02 cmp r2, #2 + 8003456: d006 beq.n 8003466 + 8003458: 2204 movs r2, #4 + 800345a: 63c2 str r2, [r0, #60] ; 0x3c + 800345c: 2200 movs r2, #0 + 800345e: f880 2024 strb.w r2, [r0, #36] ; 0x24 + 8003462: 2001 movs r0, #1 + 8003464: 4770 bx lr + 8003466: 6802 ldr r2, [r0, #0] + 8003468: 6c80 ldr r0, [r0, #72] ; 0x48 + 800346a: 6811 ldr r1, [r2, #0] + 800346c: f021 010e bic.w r1, r1, #14 + 8003470: 6011 str r1, [r2, #0] + 8003472: 6801 ldr r1, [r0, #0] + 8003474: f421 7180 bic.w r1, r1, #256 ; 0x100 + 8003478: 6001 str r1, [r0, #0] + 800347a: 6811 ldr r1, [r2, #0] + 800347c: f021 0101 bic.w r1, r1, #1 + 8003480: 6011 str r1, [r2, #0] + 8003482: e9d3 0210 ldrd r0, r2, [r3, #64] ; 0x40 + 8003486: f002 011c and.w r1, r2, #28 + 800348a: 2201 movs r2, #1 + 800348c: 408a lsls r2, r1 + 800348e: 6042 str r2, [r0, #4] + 8003490: e9d3 2113 ldrd r2, r1, [r3, #76] ; 0x4c + 8003494: 6051 str r1, [r2, #4] + 8003496: 6d5a ldr r2, [r3, #84] ; 0x54 + 8003498: b132 cbz r2, 80034a8 + 800349a: 6811 ldr r1, [r2, #0] + 800349c: f421 7180 bic.w r1, r1, #256 ; 0x100 + 80034a0: 6011 str r1, [r2, #0] + 80034a2: e9d3 2116 ldrd r2, r1, [r3, #88] ; 0x58 + 80034a6: 6051 str r1, [r2, #4] + 80034a8: 2201 movs r2, #1 + 80034aa: 2000 movs r0, #0 + 80034ac: f883 2025 strb.w r2, [r3, #37] ; 0x25 + 80034b0: f883 0024 strb.w r0, [r3, #36] ; 0x24 + 80034b4: 4770 bx lr -080034a2 : - 80034a2: b510 push {r4, lr} - 80034a4: f890 3025 ldrb.w r3, [r0, #37] ; 0x25 - 80034a8: 2b02 cmp r3, #2 - 80034aa: d003 beq.n 80034b4 - 80034ac: 2304 movs r3, #4 - 80034ae: 63c3 str r3, [r0, #60] ; 0x3c - 80034b0: 2001 movs r0, #1 - 80034b2: bd10 pop {r4, pc} - 80034b4: 6803 ldr r3, [r0, #0] - 80034b6: 681a ldr r2, [r3, #0] - 80034b8: f022 020e bic.w r2, r2, #14 - 80034bc: 601a str r2, [r3, #0] - 80034be: 681a ldr r2, [r3, #0] - 80034c0: f022 0201 bic.w r2, r2, #1 - 80034c4: 601a str r2, [r3, #0] - 80034c6: 6c82 ldr r2, [r0, #72] ; 0x48 - 80034c8: 6813 ldr r3, [r2, #0] - 80034ca: f423 7380 bic.w r3, r3, #256 ; 0x100 - 80034ce: 6013 str r3, [r2, #0] - 80034d0: e9d0 1310 ldrd r1, r3, [r0, #64] ; 0x40 - 80034d4: f003 021c and.w r2, r3, #28 - 80034d8: 2301 movs r3, #1 - 80034da: 4093 lsls r3, r2 - 80034dc: 604b str r3, [r1, #4] - 80034de: e9d0 3213 ldrd r3, r2, [r0, #76] ; 0x4c - 80034e2: 605a str r2, [r3, #4] - 80034e4: 6d43 ldr r3, [r0, #84] ; 0x54 - 80034e6: b133 cbz r3, 80034f6 - 80034e8: 681a ldr r2, [r3, #0] - 80034ea: f422 7280 bic.w r2, r2, #256 ; 0x100 - 80034ee: 601a str r2, [r3, #0] - 80034f0: e9d0 3216 ldrd r3, r2, [r0, #88] ; 0x58 - 80034f4: 605a str r2, [r3, #4] - 80034f6: 2301 movs r3, #1 - 80034f8: f880 3025 strb.w r3, [r0, #37] ; 0x25 - 80034fc: 6b83 ldr r3, [r0, #56] ; 0x38 - 80034fe: 2400 movs r4, #0 - 8003500: f880 4024 strb.w r4, [r0, #36] ; 0x24 - 8003504: b113 cbz r3, 800350c - 8003506: 4798 blx r3 - 8003508: 4620 mov r0, r4 - 800350a: e7d2 b.n 80034b2 - 800350c: 4618 mov r0, r3 - 800350e: e7d0 b.n 80034b2 +080034b6 : + 80034b6: b510 push {r4, lr} + 80034b8: f890 3025 ldrb.w r3, [r0, #37] ; 0x25 + 80034bc: 2b02 cmp r3, #2 + 80034be: d003 beq.n 80034c8 + 80034c0: 2304 movs r3, #4 + 80034c2: 63c3 str r3, [r0, #60] ; 0x3c + 80034c4: 2001 movs r0, #1 + 80034c6: bd10 pop {r4, pc} + 80034c8: 6803 ldr r3, [r0, #0] + 80034ca: 681a ldr r2, [r3, #0] + 80034cc: f022 020e bic.w r2, r2, #14 + 80034d0: 601a str r2, [r3, #0] + 80034d2: 681a ldr r2, [r3, #0] + 80034d4: f022 0201 bic.w r2, r2, #1 + 80034d8: 601a str r2, [r3, #0] + 80034da: 6c82 ldr r2, [r0, #72] ; 0x48 + 80034dc: 6813 ldr r3, [r2, #0] + 80034de: f423 7380 bic.w r3, r3, #256 ; 0x100 + 80034e2: 6013 str r3, [r2, #0] + 80034e4: e9d0 1310 ldrd r1, r3, [r0, #64] ; 0x40 + 80034e8: f003 021c and.w r2, r3, #28 + 80034ec: 2301 movs r3, #1 + 80034ee: 4093 lsls r3, r2 + 80034f0: 604b str r3, [r1, #4] + 80034f2: e9d0 3213 ldrd r3, r2, [r0, #76] ; 0x4c + 80034f6: 605a str r2, [r3, #4] + 80034f8: 6d43 ldr r3, [r0, #84] ; 0x54 + 80034fa: b133 cbz r3, 800350a + 80034fc: 681a ldr r2, [r3, #0] + 80034fe: f422 7280 bic.w r2, r2, #256 ; 0x100 + 8003502: 601a str r2, [r3, #0] + 8003504: e9d0 3216 ldrd r3, r2, [r0, #88] ; 0x58 + 8003508: 605a str r2, [r3, #4] + 800350a: 2301 movs r3, #1 + 800350c: f880 3025 strb.w r3, [r0, #37] ; 0x25 + 8003510: 6b83 ldr r3, [r0, #56] ; 0x38 + 8003512: 2400 movs r4, #0 + 8003514: f880 4024 strb.w r4, [r0, #36] ; 0x24 + 8003518: b113 cbz r3, 8003520 + 800351a: 4798 blx r3 + 800351c: 4620 mov r0, r4 + 800351e: e7d2 b.n 80034c6 + 8003520: 4618 mov r0, r3 + 8003522: e7d0 b.n 80034c6 -08003510 : - 8003510: b470 push {r4, r5, r6} - 8003512: 6c42 ldr r2, [r0, #68] ; 0x44 - 8003514: 6c04 ldr r4, [r0, #64] ; 0x40 - 8003516: 6803 ldr r3, [r0, #0] - 8003518: 6826 ldr r6, [r4, #0] - 800351a: 681d ldr r5, [r3, #0] - 800351c: f002 021c and.w r2, r2, #28 - 8003520: 2104 movs r1, #4 - 8003522: 4091 lsls r1, r2 - 8003524: 4231 tst r1, r6 - 8003526: d00f beq.n 8003548 - 8003528: f015 0f04 tst.w r5, #4 - 800352c: d00c beq.n 8003548 - 800352e: 681a ldr r2, [r3, #0] - 8003530: 0692 lsls r2, r2, #26 - 8003532: bf5e ittt pl - 8003534: 681a ldrpl r2, [r3, #0] - 8003536: f022 0204 bicpl.w r2, r2, #4 - 800353a: 601a strpl r2, [r3, #0] - 800353c: 6b03 ldr r3, [r0, #48] ; 0x30 - 800353e: 6061 str r1, [r4, #4] - 8003540: 2b00 cmp r3, #0 - 8003542: d033 beq.n 80035ac - 8003544: bc70 pop {r4, r5, r6} - 8003546: 4718 bx r3 - 8003548: 2102 movs r1, #2 - 800354a: 4091 lsls r1, r2 - 800354c: 4231 tst r1, r6 - 800354e: d017 beq.n 8003580 - 8003550: f015 0f02 tst.w r5, #2 - 8003554: d014 beq.n 8003580 - 8003556: 681a ldr r2, [r3, #0] - 8003558: 0694 lsls r4, r2, #26 - 800355a: d406 bmi.n 800356a - 800355c: 681a ldr r2, [r3, #0] - 800355e: f022 020a bic.w r2, r2, #10 - 8003562: 601a str r2, [r3, #0] - 8003564: 2201 movs r2, #1 - 8003566: f880 2025 strb.w r2, [r0, #37] ; 0x25 - 800356a: 4a11 ldr r2, [pc, #68] ; (80035b0 ) - 800356c: 4293 cmp r3, r2 - 800356e: bf8c ite hi - 8003570: 4b10 ldrhi r3, [pc, #64] ; (80035b4 ) - 8003572: 4b11 ldrls r3, [pc, #68] ; (80035b8 ) - 8003574: 6059 str r1, [r3, #4] - 8003576: 2300 movs r3, #0 - 8003578: f880 3024 strb.w r3, [r0, #36] ; 0x24 - 800357c: 6ac3 ldr r3, [r0, #44] ; 0x2c - 800357e: e7df b.n 8003540 - 8003580: 2108 movs r1, #8 - 8003582: 4091 lsls r1, r2 - 8003584: 4231 tst r1, r6 - 8003586: d011 beq.n 80035ac - 8003588: 0729 lsls r1, r5, #28 - 800358a: d50f bpl.n 80035ac - 800358c: 6819 ldr r1, [r3, #0] - 800358e: f021 010e bic.w r1, r1, #14 - 8003592: 6019 str r1, [r3, #0] - 8003594: 2301 movs r3, #1 - 8003596: fa03 f202 lsl.w r2, r3, r2 - 800359a: 6062 str r2, [r4, #4] - 800359c: 63c3 str r3, [r0, #60] ; 0x3c - 800359e: f880 3025 strb.w r3, [r0, #37] ; 0x25 - 80035a2: 2300 movs r3, #0 - 80035a4: f880 3024 strb.w r3, [r0, #36] ; 0x24 - 80035a8: 6b43 ldr r3, [r0, #52] ; 0x34 - 80035aa: e7c9 b.n 8003540 - 80035ac: bc70 pop {r4, r5, r6} - 80035ae: 4770 bx lr - 80035b0: 40020080 .word 0x40020080 - 80035b4: 40020400 .word 0x40020400 - 80035b8: 40020000 .word 0x40020000 +08003524 : + 8003524: b470 push {r4, r5, r6} + 8003526: 6c42 ldr r2, [r0, #68] ; 0x44 + 8003528: 6c04 ldr r4, [r0, #64] ; 0x40 + 800352a: 6803 ldr r3, [r0, #0] + 800352c: 6826 ldr r6, [r4, #0] + 800352e: 681d ldr r5, [r3, #0] + 8003530: f002 021c and.w r2, r2, #28 + 8003534: 2104 movs r1, #4 + 8003536: 4091 lsls r1, r2 + 8003538: 4231 tst r1, r6 + 800353a: d00f beq.n 800355c + 800353c: f015 0f04 tst.w r5, #4 + 8003540: d00c beq.n 800355c + 8003542: 681a ldr r2, [r3, #0] + 8003544: 0692 lsls r2, r2, #26 + 8003546: bf5e ittt pl + 8003548: 681a ldrpl r2, [r3, #0] + 800354a: f022 0204 bicpl.w r2, r2, #4 + 800354e: 601a strpl r2, [r3, #0] + 8003550: 6b03 ldr r3, [r0, #48] ; 0x30 + 8003552: 6061 str r1, [r4, #4] + 8003554: 2b00 cmp r3, #0 + 8003556: d033 beq.n 80035c0 + 8003558: bc70 pop {r4, r5, r6} + 800355a: 4718 bx r3 + 800355c: 2102 movs r1, #2 + 800355e: 4091 lsls r1, r2 + 8003560: 4231 tst r1, r6 + 8003562: d017 beq.n 8003594 + 8003564: f015 0f02 tst.w r5, #2 + 8003568: d014 beq.n 8003594 + 800356a: 681a ldr r2, [r3, #0] + 800356c: 0694 lsls r4, r2, #26 + 800356e: d406 bmi.n 800357e + 8003570: 681a ldr r2, [r3, #0] + 8003572: f022 020a bic.w r2, r2, #10 + 8003576: 601a str r2, [r3, #0] + 8003578: 2201 movs r2, #1 + 800357a: f880 2025 strb.w r2, [r0, #37] ; 0x25 + 800357e: 4a11 ldr r2, [pc, #68] ; (80035c4 ) + 8003580: 4293 cmp r3, r2 + 8003582: bf8c ite hi + 8003584: 4b10 ldrhi r3, [pc, #64] ; (80035c8 ) + 8003586: 4b11 ldrls r3, [pc, #68] ; (80035cc ) + 8003588: 6059 str r1, [r3, #4] + 800358a: 2300 movs r3, #0 + 800358c: f880 3024 strb.w r3, [r0, #36] ; 0x24 + 8003590: 6ac3 ldr r3, [r0, #44] ; 0x2c + 8003592: e7df b.n 8003554 + 8003594: 2108 movs r1, #8 + 8003596: 4091 lsls r1, r2 + 8003598: 4231 tst r1, r6 + 800359a: d011 beq.n 80035c0 + 800359c: 0729 lsls r1, r5, #28 + 800359e: d50f bpl.n 80035c0 + 80035a0: 6819 ldr r1, [r3, #0] + 80035a2: f021 010e bic.w r1, r1, #14 + 80035a6: 6019 str r1, [r3, #0] + 80035a8: 2301 movs r3, #1 + 80035aa: fa03 f202 lsl.w r2, r3, r2 + 80035ae: 6062 str r2, [r4, #4] + 80035b0: 63c3 str r3, [r0, #60] ; 0x3c + 80035b2: f880 3025 strb.w r3, [r0, #37] ; 0x25 + 80035b6: 2300 movs r3, #0 + 80035b8: f880 3024 strb.w r3, [r0, #36] ; 0x24 + 80035bc: 6b43 ldr r3, [r0, #52] ; 0x34 + 80035be: e7c9 b.n 8003554 + 80035c0: bc70 pop {r4, r5, r6} + 80035c2: 4770 bx lr + 80035c4: 40020080 .word 0x40020080 + 80035c8: 40020400 .word 0x40020400 + 80035cc: 40020000 .word 0x40020000 -080035bc : - 80035bc: 4a0a ldr r2, [pc, #40] ; (80035e8 ) - 80035be: 6953 ldr r3, [r2, #20] - 80035c0: f443 2380 orr.w r3, r3, #262144 ; 0x40000 - 80035c4: b530 push {r4, r5, lr} - 80035c6: 6153 str r3, [r2, #20] - 80035c8: f3ef 8410 mrs r4, PRIMASK - 80035cc: b672 cpsid i - 80035ce: 2300 movs r3, #0 - 80035d0: 58cd ldr r5, [r1, r3] - 80035d2: 50c5 str r5, [r0, r3] - 80035d4: 3304 adds r3, #4 - 80035d6: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 80035da: d1f9 bne.n 80035d0 - 80035dc: 6913 ldr r3, [r2, #16] - 80035de: 03db lsls r3, r3, #15 - 80035e0: d4fc bmi.n 80035dc - 80035e2: f384 8810 msr PRIMASK, r4 - 80035e6: bd30 pop {r4, r5, pc} - 80035e8: 58004000 .word 0x58004000 +080035d0 : + 80035d0: 4a0a ldr r2, [pc, #40] ; (80035fc ) + 80035d2: 6953 ldr r3, [r2, #20] + 80035d4: f443 2380 orr.w r3, r3, #262144 ; 0x40000 + 80035d8: b530 push {r4, r5, lr} + 80035da: 6153 str r3, [r2, #20] + 80035dc: f3ef 8410 mrs r4, PRIMASK + 80035e0: b672 cpsid i + 80035e2: 2300 movs r3, #0 + 80035e4: 58cd ldr r5, [r1, r3] + 80035e6: 50c5 str r5, [r0, r3] + 80035e8: 3304 adds r3, #4 + 80035ea: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 80035ee: d1f9 bne.n 80035e4 + 80035f0: 6913 ldr r3, [r2, #16] + 80035f2: 03db lsls r3, r3, #15 + 80035f4: d4fc bmi.n 80035f0 + 80035f6: f384 8810 msr PRIMASK, r4 + 80035fa: bd30 pop {r4, r5, pc} + 80035fc: 58004000 .word 0x58004000 -080035ec : - 80035ec: 4b06 ldr r3, [pc, #24] ; (8003608 ) - 80035ee: 695a ldr r2, [r3, #20] - 80035f0: 2a00 cmp r2, #0 - 80035f2: bfbf itttt lt - 80035f4: 4a05 ldrlt r2, [pc, #20] ; (800360c ) - 80035f6: 609a strlt r2, [r3, #8] - 80035f8: f102 3288 addlt.w r2, r2, #2290649224 ; 0x88888888 - 80035fc: 609a strlt r2, [r3, #8] - 80035fe: bfba itte lt - 8003600: 6958 ldrlt r0, [r3, #20] - 8003602: 0fc0 lsrlt r0, r0, #31 - 8003604: 2000 movge r0, #0 - 8003606: 4770 bx lr - 8003608: 58004000 .word 0x58004000 - 800360c: 45670123 .word 0x45670123 +08003600 : + 8003600: 4b06 ldr r3, [pc, #24] ; (800361c ) + 8003602: 695a ldr r2, [r3, #20] + 8003604: 2a00 cmp r2, #0 + 8003606: bfbf itttt lt + 8003608: 4a05 ldrlt r2, [pc, #20] ; (8003620 ) + 800360a: 609a strlt r2, [r3, #8] + 800360c: f102 3288 addlt.w r2, r2, #2290649224 ; 0x88888888 + 8003610: 609a strlt r2, [r3, #8] + 8003612: bfba itte lt + 8003614: 6958 ldrlt r0, [r3, #20] + 8003616: 0fc0 lsrlt r0, r0, #31 + 8003618: 2000 movge r0, #0 + 800361a: 4770 bx lr + 800361c: 58004000 .word 0x58004000 + 8003620: 45670123 .word 0x45670123 -08003610 : - 8003610: 4b04 ldr r3, [pc, #16] ; (8003624 ) - 8003612: 695a ldr r2, [r3, #20] - 8003614: f042 4200 orr.w r2, r2, #2147483648 ; 0x80000000 - 8003618: 615a str r2, [r3, #20] - 800361a: 6958 ldr r0, [r3, #20] - 800361c: 43c0 mvns r0, r0 - 800361e: 0fc0 lsrs r0, r0, #31 - 8003620: 4770 bx lr - 8003622: bf00 nop - 8003624: 58004000 .word 0x58004000 +08003624 : + 8003624: 4b04 ldr r3, [pc, #16] ; (8003638 ) + 8003626: 695a ldr r2, [r3, #20] + 8003628: f042 4200 orr.w r2, r2, #2147483648 ; 0x80000000 + 800362c: 615a str r2, [r3, #20] + 800362e: 6958 ldr r0, [r3, #20] + 8003630: 43c0 mvns r0, r0 + 8003632: 0fc0 lsrs r0, r0, #31 + 8003634: 4770 bx lr + 8003636: bf00 nop + 8003638: 58004000 .word 0x58004000 -08003628 : - 8003628: b570 push {r4, r5, r6, lr} - 800362a: 4605 mov r5, r0 - 800362c: f7fe f948 bl 80018c0 - 8003630: 4e12 ldr r6, [pc, #72] ; (800367c ) - 8003632: 4604 mov r4, r0 - 8003634: 6933 ldr r3, [r6, #16] - 8003636: 03d9 lsls r1, r3, #15 - 8003638: d413 bmi.n 8003662 - 800363a: 6933 ldr r3, [r6, #16] - 800363c: 07da lsls r2, r3, #31 - 800363e: bf44 itt mi - 8003640: 2201 movmi r2, #1 - 8003642: 6132 strmi r2, [r6, #16] - 8003644: f24c 32fa movw r2, #50170 ; 0xc3fa - 8003648: 4013 ands r3, r2 - 800364a: d111 bne.n 8003670 - 800364c: 4e0b ldr r6, [pc, #44] ; (800367c ) - 800364e: 6930 ldr r0, [r6, #16] - 8003650: f410 2080 ands.w r0, r0, #262144 ; 0x40000 - 8003654: d00b beq.n 800366e - 8003656: f7fe f933 bl 80018c0 - 800365a: 1b00 subs r0, r0, r4 - 800365c: 42a8 cmp r0, r5 - 800365e: d3f6 bcc.n 800364e - 8003660: e004 b.n 800366c - 8003662: f7fe f92d bl 80018c0 - 8003666: 1b00 subs r0, r0, r4 - 8003668: 42a8 cmp r0, r5 - 800366a: d3e3 bcc.n 8003634 - 800366c: 2003 movs r0, #3 - 800366e: bd70 pop {r4, r5, r6, pc} - 8003670: 4a02 ldr r2, [pc, #8] ; (800367c ) - 8003672: 6113 str r3, [r2, #16] - 8003674: 4a02 ldr r2, [pc, #8] ; (8003680 ) - 8003676: 2001 movs r0, #1 - 8003678: 6053 str r3, [r2, #4] - 800367a: e7f8 b.n 800366e - 800367c: 58004000 .word 0x58004000 - 8003680: 20000450 .word 0x20000450 +0800363c : + 800363c: b570 push {r4, r5, r6, lr} + 800363e: 4605 mov r5, r0 + 8003640: f7fe f93e bl 80018c0 + 8003644: 4e12 ldr r6, [pc, #72] ; (8003690 ) + 8003646: 4604 mov r4, r0 + 8003648: 6933 ldr r3, [r6, #16] + 800364a: 03d9 lsls r1, r3, #15 + 800364c: d413 bmi.n 8003676 + 800364e: 6933 ldr r3, [r6, #16] + 8003650: 07da lsls r2, r3, #31 + 8003652: bf44 itt mi + 8003654: 2201 movmi r2, #1 + 8003656: 6132 strmi r2, [r6, #16] + 8003658: f24c 32fa movw r2, #50170 ; 0xc3fa + 800365c: 4013 ands r3, r2 + 800365e: d111 bne.n 8003684 + 8003660: 4e0b ldr r6, [pc, #44] ; (8003690 ) + 8003662: 6930 ldr r0, [r6, #16] + 8003664: f410 2080 ands.w r0, r0, #262144 ; 0x40000 + 8003668: d00b beq.n 8003682 + 800366a: f7fe f929 bl 80018c0 + 800366e: 1b00 subs r0, r0, r4 + 8003670: 42a8 cmp r0, r5 + 8003672: d3f6 bcc.n 8003662 + 8003674: e004 b.n 8003680 + 8003676: f7fe f923 bl 80018c0 + 800367a: 1b00 subs r0, r0, r4 + 800367c: 42a8 cmp r0, r5 + 800367e: d3e3 bcc.n 8003648 + 8003680: 2003 movs r0, #3 + 8003682: bd70 pop {r4, r5, r6, pc} + 8003684: 4a02 ldr r2, [pc, #8] ; (8003690 ) + 8003686: 6113 str r3, [r2, #16] + 8003688: 4a02 ldr r2, [pc, #8] ; (8003694 ) + 800368a: 2001 movs r0, #1 + 800368c: 6053 str r3, [r2, #4] + 800368e: e7f8 b.n 8003682 + 8003690: 58004000 .word 0x58004000 + 8003694: 20000450 .word 0x20000450 -08003684 : - 8003684: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8003688: 4d18 ldr r5, [pc, #96] ; (80036ec ) - 800368a: 4698 mov r8, r3 - 800368c: 782b ldrb r3, [r5, #0] - 800368e: 2b01 cmp r3, #1 - 8003690: 4606 mov r6, r0 - 8003692: 460c mov r4, r1 - 8003694: 4617 mov r7, r2 - 8003696: d026 beq.n 80036e6 - 8003698: 2301 movs r3, #1 - 800369a: 702b strb r3, [r5, #0] - 800369c: f44f 707a mov.w r0, #1000 ; 0x3e8 - 80036a0: 2300 movs r3, #0 - 80036a2: 606b str r3, [r5, #4] - 80036a4: f7ff ffc0 bl 8003628 - 80036a8: b9a0 cbnz r0, 80036d4 - 80036aa: 2e01 cmp r6, #1 - 80036ac: d116 bne.n 80036dc - 80036ae: 4a10 ldr r2, [pc, #64] ; (80036f0 ) - 80036b0: 6953 ldr r3, [r2, #20] - 80036b2: f043 0301 orr.w r3, r3, #1 - 80036b6: 6153 str r3, [r2, #20] - 80036b8: 6027 str r7, [r4, #0] - 80036ba: f3bf 8f6f isb sy - 80036be: f8c4 8004 str.w r8, [r4, #4] - 80036c2: f44f 707a mov.w r0, #1000 ; 0x3e8 - 80036c6: f7ff ffaf bl 8003628 - 80036ca: 4a09 ldr r2, [pc, #36] ; (80036f0 ) - 80036cc: 6953 ldr r3, [r2, #20] - 80036ce: ea23 0306 bic.w r3, r3, r6 - 80036d2: 6153 str r3, [r2, #20] - 80036d4: 2300 movs r3, #0 - 80036d6: 702b strb r3, [r5, #0] - 80036d8: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 80036dc: 4639 mov r1, r7 - 80036de: 4620 mov r0, r4 - 80036e0: f7ff ff6c bl 80035bc - 80036e4: e7ed b.n 80036c2 - 80036e6: 2002 movs r0, #2 - 80036e8: e7f6 b.n 80036d8 - 80036ea: bf00 nop - 80036ec: 20000450 .word 0x20000450 - 80036f0: 58004000 .word 0x58004000 +08003698 : + 8003698: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800369c: 4d18 ldr r5, [pc, #96] ; (8003700 ) + 800369e: 4698 mov r8, r3 + 80036a0: 782b ldrb r3, [r5, #0] + 80036a2: 2b01 cmp r3, #1 + 80036a4: 4606 mov r6, r0 + 80036a6: 460c mov r4, r1 + 80036a8: 4617 mov r7, r2 + 80036aa: d026 beq.n 80036fa + 80036ac: 2301 movs r3, #1 + 80036ae: 702b strb r3, [r5, #0] + 80036b0: f44f 707a mov.w r0, #1000 ; 0x3e8 + 80036b4: 2300 movs r3, #0 + 80036b6: 606b str r3, [r5, #4] + 80036b8: f7ff ffc0 bl 800363c + 80036bc: b9a0 cbnz r0, 80036e8 + 80036be: 2e01 cmp r6, #1 + 80036c0: d116 bne.n 80036f0 + 80036c2: 4a10 ldr r2, [pc, #64] ; (8003704 ) + 80036c4: 6953 ldr r3, [r2, #20] + 80036c6: f043 0301 orr.w r3, r3, #1 + 80036ca: 6153 str r3, [r2, #20] + 80036cc: 6027 str r7, [r4, #0] + 80036ce: f3bf 8f6f isb sy + 80036d2: f8c4 8004 str.w r8, [r4, #4] + 80036d6: f44f 707a mov.w r0, #1000 ; 0x3e8 + 80036da: f7ff ffaf bl 800363c + 80036de: 4a09 ldr r2, [pc, #36] ; (8003704 ) + 80036e0: 6953 ldr r3, [r2, #20] + 80036e2: ea23 0306 bic.w r3, r3, r6 + 80036e6: 6153 str r3, [r2, #20] + 80036e8: 2300 movs r3, #0 + 80036ea: 702b strb r3, [r5, #0] + 80036ec: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80036f0: 4639 mov r1, r7 + 80036f2: 4620 mov r0, r4 + 80036f4: f7ff ff6c bl 80035d0 + 80036f8: e7ed b.n 80036d6 + 80036fa: 2002 movs r0, #2 + 80036fc: e7f6 b.n 80036ec + 80036fe: bf00 nop + 8003700: 20000450 .word 0x20000450 + 8003704: 58004000 .word 0x58004000 -080036f4 : - 80036f4: 4a05 ldr r2, [pc, #20] ; (800370c ) - 80036f6: 6953 ldr r3, [r2, #20] - 80036f8: f423 737e bic.w r3, r3, #1016 ; 0x3f8 - 80036fc: ea43 00c0 orr.w r0, r3, r0, lsl #3 - 8003700: f440 3080 orr.w r0, r0, #65536 ; 0x10000 - 8003704: f040 0002 orr.w r0, r0, #2 - 8003708: 6150 str r0, [r2, #20] - 800370a: 4770 bx lr - 800370c: 58004000 .word 0x58004000 +08003708 : + 8003708: 4a05 ldr r2, [pc, #20] ; (8003720 ) + 800370a: 6953 ldr r3, [r2, #20] + 800370c: f423 737e bic.w r3, r3, #1016 ; 0x3f8 + 8003710: ea43 00c0 orr.w r0, r3, r0, lsl #3 + 8003714: f440 3080 orr.w r0, r0, #65536 ; 0x10000 + 8003718: f040 0002 orr.w r0, r0, #2 + 800371c: 6150 str r0, [r2, #20] + 800371e: 4770 bx lr + 8003720: 58004000 .word 0x58004000 -08003710 : - 8003710: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8003714: 4f23 ldr r7, [pc, #140] ; (80037a4 ) - 8003716: 783b ldrb r3, [r7, #0] - 8003718: 2b01 cmp r3, #1 - 800371a: 4605 mov r5, r0 - 800371c: 4688 mov r8, r1 - 800371e: d03f beq.n 80037a0 - 8003720: 2301 movs r3, #1 - 8003722: 703b strb r3, [r7, #0] - 8003724: f44f 707a mov.w r0, #1000 ; 0x3e8 - 8003728: 2300 movs r3, #0 - 800372a: 607b str r3, [r7, #4] - 800372c: f7ff ff7c bl 8003628 - 8003730: 4604 mov r4, r0 - 8003732: b988 cbnz r0, 8003758 - 8003734: 682b ldr r3, [r5, #0] - 8003736: 2b04 cmp r3, #4 - 8003738: d113 bne.n 8003762 - 800373a: 4a1b ldr r2, [pc, #108] ; (80037a8 ) - 800373c: 6953 ldr r3, [r2, #20] - 800373e: f443 3380 orr.w r3, r3, #65536 ; 0x10000 - 8003742: f043 0304 orr.w r3, r3, #4 - 8003746: 6153 str r3, [r2, #20] - 8003748: f44f 707a mov.w r0, #1000 ; 0x3e8 - 800374c: f7ff ff6c bl 8003628 - 8003750: 4604 mov r4, r0 - 8003752: 4b15 ldr r3, [pc, #84] ; (80037a8 ) - 8003754: 681a ldr r2, [r3, #0] - 8003756: 681b ldr r3, [r3, #0] - 8003758: 2300 movs r3, #0 - 800375a: 703b strb r3, [r7, #0] - 800375c: 4620 mov r0, r4 - 800375e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8003762: f04f 33ff mov.w r3, #4294967295 - 8003766: f8c8 3000 str.w r3, [r8] - 800376a: 686e ldr r6, [r5, #4] - 800376c: e9d5 3201 ldrd r3, r2, [r5, #4] - 8003770: 4413 add r3, r2 - 8003772: 42b3 cmp r3, r6 - 8003774: d90a bls.n 800378c - 8003776: 4630 mov r0, r6 - 8003778: f7ff ffbc bl 80036f4 - 800377c: f44f 707a mov.w r0, #1000 ; 0x3e8 - 8003780: f7ff ff52 bl 8003628 - 8003784: b150 cbz r0, 800379c - 8003786: f8c8 6000 str.w r6, [r8] - 800378a: 4604 mov r4, r0 - 800378c: 4a06 ldr r2, [pc, #24] ; (80037a8 ) - 800378e: 6953 ldr r3, [r2, #20] - 8003790: f423 737e bic.w r3, r3, #1016 ; 0x3f8 - 8003794: f023 0302 bic.w r3, r3, #2 - 8003798: 6153 str r3, [r2, #20] - 800379a: e7da b.n 8003752 - 800379c: 3601 adds r6, #1 - 800379e: e7e5 b.n 800376c - 80037a0: 2402 movs r4, #2 - 80037a2: e7db b.n 800375c - 80037a4: 20000450 .word 0x20000450 - 80037a8: 58004000 .word 0x58004000 +08003724 : + 8003724: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8003728: 4f23 ldr r7, [pc, #140] ; (80037b8 ) + 800372a: 783b ldrb r3, [r7, #0] + 800372c: 2b01 cmp r3, #1 + 800372e: 4605 mov r5, r0 + 8003730: 4688 mov r8, r1 + 8003732: d03f beq.n 80037b4 + 8003734: 2301 movs r3, #1 + 8003736: 703b strb r3, [r7, #0] + 8003738: f44f 707a mov.w r0, #1000 ; 0x3e8 + 800373c: 2300 movs r3, #0 + 800373e: 607b str r3, [r7, #4] + 8003740: f7ff ff7c bl 800363c + 8003744: 4604 mov r4, r0 + 8003746: b988 cbnz r0, 800376c + 8003748: 682b ldr r3, [r5, #0] + 800374a: 2b04 cmp r3, #4 + 800374c: d113 bne.n 8003776 + 800374e: 4a1b ldr r2, [pc, #108] ; (80037bc ) + 8003750: 6953 ldr r3, [r2, #20] + 8003752: f443 3380 orr.w r3, r3, #65536 ; 0x10000 + 8003756: f043 0304 orr.w r3, r3, #4 + 800375a: 6153 str r3, [r2, #20] + 800375c: f44f 707a mov.w r0, #1000 ; 0x3e8 + 8003760: f7ff ff6c bl 800363c + 8003764: 4604 mov r4, r0 + 8003766: 4b15 ldr r3, [pc, #84] ; (80037bc ) + 8003768: 681a ldr r2, [r3, #0] + 800376a: 681b ldr r3, [r3, #0] + 800376c: 2300 movs r3, #0 + 800376e: 703b strb r3, [r7, #0] + 8003770: 4620 mov r0, r4 + 8003772: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8003776: f04f 33ff mov.w r3, #4294967295 + 800377a: f8c8 3000 str.w r3, [r8] + 800377e: 686e ldr r6, [r5, #4] + 8003780: e9d5 3201 ldrd r3, r2, [r5, #4] + 8003784: 4413 add r3, r2 + 8003786: 42b3 cmp r3, r6 + 8003788: d90a bls.n 80037a0 + 800378a: 4630 mov r0, r6 + 800378c: f7ff ffbc bl 8003708 + 8003790: f44f 707a mov.w r0, #1000 ; 0x3e8 + 8003794: f7ff ff52 bl 800363c + 8003798: b150 cbz r0, 80037b0 + 800379a: f8c8 6000 str.w r6, [r8] + 800379e: 4604 mov r4, r0 + 80037a0: 4a06 ldr r2, [pc, #24] ; (80037bc ) + 80037a2: 6953 ldr r3, [r2, #20] + 80037a4: f423 737e bic.w r3, r3, #1016 ; 0x3f8 + 80037a8: f023 0302 bic.w r3, r3, #2 + 80037ac: 6153 str r3, [r2, #20] + 80037ae: e7da b.n 8003766 + 80037b0: 3601 adds r6, #1 + 80037b2: e7e5 b.n 8003780 + 80037b4: 2402 movs r4, #2 + 80037b6: e7db b.n 8003770 + 80037b8: 20000450 .word 0x20000450 + 80037bc: 58004000 .word 0x58004000 -080037ac : - 80037ac: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80037b0: 4c52 ldr r4, [pc, #328] ; (80038fc ) - 80037b2: 2300 movs r3, #0 - 80037b4: f04f 090f mov.w r9, #15 - 80037b8: 680a ldr r2, [r1, #0] - 80037ba: fa32 f503 lsrs.w r5, r2, r3 - 80037be: d101 bne.n 80037c4 - 80037c0: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80037c4: 2501 movs r5, #1 - 80037c6: fa05 f803 lsl.w r8, r5, r3 - 80037ca: ea18 0202 ands.w r2, r8, r2 - 80037ce: f000 808e beq.w 80038ee - 80037d2: 684e ldr r6, [r1, #4] - 80037d4: 2703 movs r7, #3 - 80037d6: f006 0503 and.w r5, r6, #3 - 80037da: ea4f 0e43 mov.w lr, r3, lsl #1 - 80037de: fa07 fc0e lsl.w ip, r7, lr - 80037e2: 1e6f subs r7, r5, #1 - 80037e4: 2f01 cmp r7, #1 - 80037e6: ea6f 0c0c mvn.w ip, ip - 80037ea: d832 bhi.n 8003852 - 80037ec: 6887 ldr r7, [r0, #8] - 80037ee: ea07 0a0c and.w sl, r7, ip - 80037f2: 68cf ldr r7, [r1, #12] - 80037f4: fa07 f70e lsl.w r7, r7, lr - 80037f8: ea47 070a orr.w r7, r7, sl - 80037fc: 6087 str r7, [r0, #8] - 80037fe: 6847 ldr r7, [r0, #4] - 8003800: ea27 0808 bic.w r8, r7, r8 - 8003804: f3c6 1700 ubfx r7, r6, #4, #1 - 8003808: 409f lsls r7, r3 - 800380a: ea47 0708 orr.w r7, r7, r8 - 800380e: 6047 str r7, [r0, #4] - 8003810: 68c7 ldr r7, [r0, #12] - 8003812: ea07 080c and.w r8, r7, ip - 8003816: 688f ldr r7, [r1, #8] - 8003818: fa07 f70e lsl.w r7, r7, lr - 800381c: ea47 0708 orr.w r7, r7, r8 - 8003820: 2d02 cmp r5, #2 - 8003822: 60c7 str r7, [r0, #12] - 8003824: d117 bne.n 8003856 - 8003826: ea4f 08d3 mov.w r8, r3, lsr #3 - 800382a: eb00 0888 add.w r8, r0, r8, lsl #2 - 800382e: f003 0a07 and.w sl, r3, #7 - 8003832: f8d8 7020 ldr.w r7, [r8, #32] - 8003836: ea4f 0a8a mov.w sl, sl, lsl #2 - 800383a: fa09 fb0a lsl.w fp, r9, sl - 800383e: ea27 0b0b bic.w fp, r7, fp - 8003842: 690f ldr r7, [r1, #16] - 8003844: fa07 f70a lsl.w r7, r7, sl - 8003848: ea47 070b orr.w r7, r7, fp - 800384c: f8c8 7020 str.w r7, [r8, #32] - 8003850: e001 b.n 8003856 - 8003852: 2d03 cmp r5, #3 - 8003854: d1dc bne.n 8003810 - 8003856: 6807 ldr r7, [r0, #0] - 8003858: fa05 f50e lsl.w r5, r5, lr - 800385c: ea07 070c and.w r7, r7, ip - 8003860: 433d orrs r5, r7 - 8003862: f416 3f40 tst.w r6, #196608 ; 0x30000 - 8003866: 6005 str r5, [r0, #0] - 8003868: d041 beq.n 80038ee - 800386a: f023 0703 bic.w r7, r3, #3 - 800386e: f107 4780 add.w r7, r7, #1073741824 ; 0x40000000 - 8003872: f507 3780 add.w r7, r7, #65536 ; 0x10000 - 8003876: f003 0c03 and.w ip, r3, #3 - 800387a: 68bd ldr r5, [r7, #8] - 800387c: ea4f 0c8c mov.w ip, ip, lsl #2 - 8003880: f04f 0e07 mov.w lr, #7 - 8003884: fa0e fe0c lsl.w lr, lr, ip - 8003888: f1b0 4f90 cmp.w r0, #1207959552 ; 0x48000000 - 800388c: ea25 0e0e bic.w lr, r5, lr - 8003890: d02f beq.n 80038f2 - 8003892: 4d1b ldr r5, [pc, #108] ; (8003900 ) - 8003894: 42a8 cmp r0, r5 - 8003896: d02e beq.n 80038f6 - 8003898: f505 6580 add.w r5, r5, #1024 ; 0x400 - 800389c: 42a8 cmp r0, r5 - 800389e: bf0c ite eq - 80038a0: 2502 moveq r5, #2 - 80038a2: 2507 movne r5, #7 - 80038a4: fa05 f50c lsl.w r5, r5, ip - 80038a8: ea45 050e orr.w r5, r5, lr - 80038ac: 60bd str r5, [r7, #8] - 80038ae: 6825 ldr r5, [r4, #0] - 80038b0: 43d7 mvns r7, r2 - 80038b2: f416 1f80 tst.w r6, #1048576 ; 0x100000 - 80038b6: bf0c ite eq - 80038b8: 403d andeq r5, r7 - 80038ba: 4315 orrne r5, r2 - 80038bc: 6025 str r5, [r4, #0] - 80038be: 6865 ldr r5, [r4, #4] - 80038c0: f416 1f00 tst.w r6, #2097152 ; 0x200000 - 80038c4: bf0c ite eq - 80038c6: 403d andeq r5, r7 - 80038c8: 4315 orrne r5, r2 - 80038ca: 6065 str r5, [r4, #4] - 80038cc: f8d4 5080 ldr.w r5, [r4, #128] ; 0x80 - 80038d0: f416 3f80 tst.w r6, #65536 ; 0x10000 - 80038d4: bf0c ite eq - 80038d6: 403d andeq r5, r7 - 80038d8: 4315 orrne r5, r2 - 80038da: f8c4 5080 str.w r5, [r4, #128] ; 0x80 - 80038de: f8d4 5084 ldr.w r5, [r4, #132] ; 0x84 - 80038e2: 03b6 lsls r6, r6, #14 - 80038e4: bf54 ite pl - 80038e6: 403d andpl r5, r7 - 80038e8: 4315 orrmi r5, r2 - 80038ea: f8c4 5084 str.w r5, [r4, #132] ; 0x84 - 80038ee: 3301 adds r3, #1 - 80038f0: e762 b.n 80037b8 - 80038f2: 2500 movs r5, #0 - 80038f4: e7d6 b.n 80038a4 - 80038f6: 2501 movs r5, #1 - 80038f8: e7d4 b.n 80038a4 - 80038fa: bf00 nop - 80038fc: 58000800 .word 0x58000800 - 8003900: 48000400 .word 0x48000400 +080037c0 : + 80037c0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80037c4: 4c52 ldr r4, [pc, #328] ; (8003910 ) + 80037c6: 2300 movs r3, #0 + 80037c8: f04f 090f mov.w r9, #15 + 80037cc: 680a ldr r2, [r1, #0] + 80037ce: fa32 f503 lsrs.w r5, r2, r3 + 80037d2: d101 bne.n 80037d8 + 80037d4: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80037d8: 2501 movs r5, #1 + 80037da: fa05 f803 lsl.w r8, r5, r3 + 80037de: ea18 0202 ands.w r2, r8, r2 + 80037e2: f000 808e beq.w 8003902 + 80037e6: 684e ldr r6, [r1, #4] + 80037e8: 2703 movs r7, #3 + 80037ea: f006 0503 and.w r5, r6, #3 + 80037ee: ea4f 0e43 mov.w lr, r3, lsl #1 + 80037f2: fa07 fc0e lsl.w ip, r7, lr + 80037f6: 1e6f subs r7, r5, #1 + 80037f8: 2f01 cmp r7, #1 + 80037fa: ea6f 0c0c mvn.w ip, ip + 80037fe: d832 bhi.n 8003866 + 8003800: 6887 ldr r7, [r0, #8] + 8003802: ea07 0a0c and.w sl, r7, ip + 8003806: 68cf ldr r7, [r1, #12] + 8003808: fa07 f70e lsl.w r7, r7, lr + 800380c: ea47 070a orr.w r7, r7, sl + 8003810: 6087 str r7, [r0, #8] + 8003812: 6847 ldr r7, [r0, #4] + 8003814: ea27 0808 bic.w r8, r7, r8 + 8003818: f3c6 1700 ubfx r7, r6, #4, #1 + 800381c: 409f lsls r7, r3 + 800381e: ea47 0708 orr.w r7, r7, r8 + 8003822: 6047 str r7, [r0, #4] + 8003824: 68c7 ldr r7, [r0, #12] + 8003826: ea07 080c and.w r8, r7, ip + 800382a: 688f ldr r7, [r1, #8] + 800382c: fa07 f70e lsl.w r7, r7, lr + 8003830: ea47 0708 orr.w r7, r7, r8 + 8003834: 2d02 cmp r5, #2 + 8003836: 60c7 str r7, [r0, #12] + 8003838: d117 bne.n 800386a + 800383a: ea4f 08d3 mov.w r8, r3, lsr #3 + 800383e: eb00 0888 add.w r8, r0, r8, lsl #2 + 8003842: f003 0a07 and.w sl, r3, #7 + 8003846: f8d8 7020 ldr.w r7, [r8, #32] + 800384a: ea4f 0a8a mov.w sl, sl, lsl #2 + 800384e: fa09 fb0a lsl.w fp, r9, sl + 8003852: ea27 0b0b bic.w fp, r7, fp + 8003856: 690f ldr r7, [r1, #16] + 8003858: fa07 f70a lsl.w r7, r7, sl + 800385c: ea47 070b orr.w r7, r7, fp + 8003860: f8c8 7020 str.w r7, [r8, #32] + 8003864: e001 b.n 800386a + 8003866: 2d03 cmp r5, #3 + 8003868: d1dc bne.n 8003824 + 800386a: 6807 ldr r7, [r0, #0] + 800386c: fa05 f50e lsl.w r5, r5, lr + 8003870: ea07 070c and.w r7, r7, ip + 8003874: 433d orrs r5, r7 + 8003876: f416 3f40 tst.w r6, #196608 ; 0x30000 + 800387a: 6005 str r5, [r0, #0] + 800387c: d041 beq.n 8003902 + 800387e: f023 0703 bic.w r7, r3, #3 + 8003882: f107 4780 add.w r7, r7, #1073741824 ; 0x40000000 + 8003886: f507 3780 add.w r7, r7, #65536 ; 0x10000 + 800388a: f003 0c03 and.w ip, r3, #3 + 800388e: 68bd ldr r5, [r7, #8] + 8003890: ea4f 0c8c mov.w ip, ip, lsl #2 + 8003894: f04f 0e07 mov.w lr, #7 + 8003898: fa0e fe0c lsl.w lr, lr, ip + 800389c: f1b0 4f90 cmp.w r0, #1207959552 ; 0x48000000 + 80038a0: ea25 0e0e bic.w lr, r5, lr + 80038a4: d02f beq.n 8003906 + 80038a6: 4d1b ldr r5, [pc, #108] ; (8003914 ) + 80038a8: 42a8 cmp r0, r5 + 80038aa: d02e beq.n 800390a + 80038ac: f505 6580 add.w r5, r5, #1024 ; 0x400 + 80038b0: 42a8 cmp r0, r5 + 80038b2: bf0c ite eq + 80038b4: 2502 moveq r5, #2 + 80038b6: 2507 movne r5, #7 + 80038b8: fa05 f50c lsl.w r5, r5, ip + 80038bc: ea45 050e orr.w r5, r5, lr + 80038c0: 60bd str r5, [r7, #8] + 80038c2: 6825 ldr r5, [r4, #0] + 80038c4: 43d7 mvns r7, r2 + 80038c6: f416 1f80 tst.w r6, #1048576 ; 0x100000 + 80038ca: bf0c ite eq + 80038cc: 403d andeq r5, r7 + 80038ce: 4315 orrne r5, r2 + 80038d0: 6025 str r5, [r4, #0] + 80038d2: 6865 ldr r5, [r4, #4] + 80038d4: f416 1f00 tst.w r6, #2097152 ; 0x200000 + 80038d8: bf0c ite eq + 80038da: 403d andeq r5, r7 + 80038dc: 4315 orrne r5, r2 + 80038de: 6065 str r5, [r4, #4] + 80038e0: f8d4 5080 ldr.w r5, [r4, #128] ; 0x80 + 80038e4: f416 3f80 tst.w r6, #65536 ; 0x10000 + 80038e8: bf0c ite eq + 80038ea: 403d andeq r5, r7 + 80038ec: 4315 orrne r5, r2 + 80038ee: f8c4 5080 str.w r5, [r4, #128] ; 0x80 + 80038f2: f8d4 5084 ldr.w r5, [r4, #132] ; 0x84 + 80038f6: 03b6 lsls r6, r6, #14 + 80038f8: bf54 ite pl + 80038fa: 403d andpl r5, r7 + 80038fc: 4315 orrmi r5, r2 + 80038fe: f8c4 5084 str.w r5, [r4, #132] ; 0x84 + 8003902: 3301 adds r3, #1 + 8003904: e762 b.n 80037cc + 8003906: 2500 movs r5, #0 + 8003908: e7d6 b.n 80038b8 + 800390a: 2501 movs r5, #1 + 800390c: e7d4 b.n 80038b8 + 800390e: bf00 nop + 8003910: 58000800 .word 0x58000800 + 8003914: 48000400 .word 0x48000400 -08003904 : - 8003904: 4a37 ldr r2, [pc, #220] ; (80039e4 ) - 8003906: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800390a: 2300 movs r3, #0 - 800390c: f04f 0a01 mov.w sl, #1 - 8003910: f04f 0b07 mov.w fp, #7 - 8003914: f04f 090f mov.w r9, #15 - 8003918: fa31 f403 lsrs.w r4, r1, r3 - 800391c: d101 bne.n 8003922 - 800391e: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8003922: fa0a fc03 lsl.w ip, sl, r3 - 8003926: ea1c 0601 ands.w r6, ip, r1 - 800392a: d054 beq.n 80039d6 - 800392c: f023 0403 bic.w r4, r3, #3 - 8003930: f104 4480 add.w r4, r4, #1073741824 ; 0x40000000 - 8003934: f504 3480 add.w r4, r4, #65536 ; 0x10000 - 8003938: f003 0703 and.w r7, r3, #3 - 800393c: 68a5 ldr r5, [r4, #8] - 800393e: 00bf lsls r7, r7, #2 - 8003940: fa0b f807 lsl.w r8, fp, r7 - 8003944: f1b0 4f90 cmp.w r0, #1207959552 ; 0x48000000 - 8003948: ea08 0e05 and.w lr, r8, r5 - 800394c: d045 beq.n 80039da - 800394e: 4d26 ldr r5, [pc, #152] ; (80039e8 ) - 8003950: 42a8 cmp r0, r5 - 8003952: d044 beq.n 80039de - 8003954: f505 6580 add.w r5, r5, #1024 ; 0x400 - 8003958: 42a8 cmp r0, r5 - 800395a: bf0c ite eq - 800395c: 2502 moveq r5, #2 - 800395e: 2507 movne r5, #7 - 8003960: 40bd lsls r5, r7 - 8003962: 4575 cmp r5, lr - 8003964: d117 bne.n 8003996 - 8003966: f8d2 5080 ldr.w r5, [r2, #128] ; 0x80 - 800396a: ea25 0506 bic.w r5, r5, r6 - 800396e: f8c2 5080 str.w r5, [r2, #128] ; 0x80 - 8003972: f8d2 5084 ldr.w r5, [r2, #132] ; 0x84 - 8003976: ea25 0506 bic.w r5, r5, r6 - 800397a: f8c2 5084 str.w r5, [r2, #132] ; 0x84 - 800397e: 6815 ldr r5, [r2, #0] - 8003980: ea25 0506 bic.w r5, r5, r6 - 8003984: 6015 str r5, [r2, #0] - 8003986: 6855 ldr r5, [r2, #4] - 8003988: ea25 0506 bic.w r5, r5, r6 - 800398c: 6055 str r5, [r2, #4] - 800398e: 68a5 ldr r5, [r4, #8] - 8003990: ea25 0508 bic.w r5, r5, r8 - 8003994: 60a5 str r5, [r4, #8] - 8003996: 6805 ldr r5, [r0, #0] - 8003998: 2603 movs r6, #3 - 800399a: 005c lsls r4, r3, #1 - 800399c: fa06 f404 lsl.w r4, r6, r4 - 80039a0: fa23 f606 lsr.w r6, r3, r6 - 80039a4: 4325 orrs r5, r4 - 80039a6: eb00 0686 add.w r6, r0, r6, lsl #2 - 80039aa: 6005 str r5, [r0, #0] - 80039ac: f003 0507 and.w r5, r3, #7 - 80039b0: 6a37 ldr r7, [r6, #32] - 80039b2: 00ad lsls r5, r5, #2 - 80039b4: fa09 f505 lsl.w r5, r9, r5 - 80039b8: ea27 0705 bic.w r7, r7, r5 - 80039bc: 6237 str r7, [r6, #32] - 80039be: 6885 ldr r5, [r0, #8] - 80039c0: ea25 0504 bic.w r5, r5, r4 - 80039c4: 6085 str r5, [r0, #8] - 80039c6: 6845 ldr r5, [r0, #4] - 80039c8: ea25 050c bic.w r5, r5, ip - 80039cc: 6045 str r5, [r0, #4] - 80039ce: 68c5 ldr r5, [r0, #12] - 80039d0: ea25 0404 bic.w r4, r5, r4 - 80039d4: 60c4 str r4, [r0, #12] - 80039d6: 3301 adds r3, #1 - 80039d8: e79e b.n 8003918 - 80039da: 2500 movs r5, #0 - 80039dc: e7c0 b.n 8003960 - 80039de: 2501 movs r5, #1 - 80039e0: e7be b.n 8003960 - 80039e2: bf00 nop - 80039e4: 58000800 .word 0x58000800 - 80039e8: 48000400 .word 0x48000400 +08003918 : + 8003918: 4a37 ldr r2, [pc, #220] ; (80039f8 ) + 800391a: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800391e: 2300 movs r3, #0 + 8003920: f04f 0a01 mov.w sl, #1 + 8003924: f04f 0b07 mov.w fp, #7 + 8003928: f04f 090f mov.w r9, #15 + 800392c: fa31 f403 lsrs.w r4, r1, r3 + 8003930: d101 bne.n 8003936 + 8003932: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8003936: fa0a fc03 lsl.w ip, sl, r3 + 800393a: ea1c 0601 ands.w r6, ip, r1 + 800393e: d054 beq.n 80039ea + 8003940: f023 0403 bic.w r4, r3, #3 + 8003944: f104 4480 add.w r4, r4, #1073741824 ; 0x40000000 + 8003948: f504 3480 add.w r4, r4, #65536 ; 0x10000 + 800394c: f003 0703 and.w r7, r3, #3 + 8003950: 68a5 ldr r5, [r4, #8] + 8003952: 00bf lsls r7, r7, #2 + 8003954: fa0b f807 lsl.w r8, fp, r7 + 8003958: f1b0 4f90 cmp.w r0, #1207959552 ; 0x48000000 + 800395c: ea08 0e05 and.w lr, r8, r5 + 8003960: d045 beq.n 80039ee + 8003962: 4d26 ldr r5, [pc, #152] ; (80039fc ) + 8003964: 42a8 cmp r0, r5 + 8003966: d044 beq.n 80039f2 + 8003968: f505 6580 add.w r5, r5, #1024 ; 0x400 + 800396c: 42a8 cmp r0, r5 + 800396e: bf0c ite eq + 8003970: 2502 moveq r5, #2 + 8003972: 2507 movne r5, #7 + 8003974: 40bd lsls r5, r7 + 8003976: 4575 cmp r5, lr + 8003978: d117 bne.n 80039aa + 800397a: f8d2 5080 ldr.w r5, [r2, #128] ; 0x80 + 800397e: ea25 0506 bic.w r5, r5, r6 + 8003982: f8c2 5080 str.w r5, [r2, #128] ; 0x80 + 8003986: f8d2 5084 ldr.w r5, [r2, #132] ; 0x84 + 800398a: ea25 0506 bic.w r5, r5, r6 + 800398e: f8c2 5084 str.w r5, [r2, #132] ; 0x84 + 8003992: 6815 ldr r5, [r2, #0] + 8003994: ea25 0506 bic.w r5, r5, r6 + 8003998: 6015 str r5, [r2, #0] + 800399a: 6855 ldr r5, [r2, #4] + 800399c: ea25 0506 bic.w r5, r5, r6 + 80039a0: 6055 str r5, [r2, #4] + 80039a2: 68a5 ldr r5, [r4, #8] + 80039a4: ea25 0508 bic.w r5, r5, r8 + 80039a8: 60a5 str r5, [r4, #8] + 80039aa: 6805 ldr r5, [r0, #0] + 80039ac: 2603 movs r6, #3 + 80039ae: 005c lsls r4, r3, #1 + 80039b0: fa06 f404 lsl.w r4, r6, r4 + 80039b4: fa23 f606 lsr.w r6, r3, r6 + 80039b8: 4325 orrs r5, r4 + 80039ba: eb00 0686 add.w r6, r0, r6, lsl #2 + 80039be: 6005 str r5, [r0, #0] + 80039c0: f003 0507 and.w r5, r3, #7 + 80039c4: 6a37 ldr r7, [r6, #32] + 80039c6: 00ad lsls r5, r5, #2 + 80039c8: fa09 f505 lsl.w r5, r9, r5 + 80039cc: ea27 0705 bic.w r7, r7, r5 + 80039d0: 6237 str r7, [r6, #32] + 80039d2: 6885 ldr r5, [r0, #8] + 80039d4: ea25 0504 bic.w r5, r5, r4 + 80039d8: 6085 str r5, [r0, #8] + 80039da: 6845 ldr r5, [r0, #4] + 80039dc: ea25 050c bic.w r5, r5, ip + 80039e0: 6045 str r5, [r0, #4] + 80039e2: 68c5 ldr r5, [r0, #12] + 80039e4: ea25 0404 bic.w r4, r5, r4 + 80039e8: 60c4 str r4, [r0, #12] + 80039ea: 3301 adds r3, #1 + 80039ec: e79e b.n 800392c + 80039ee: 2500 movs r5, #0 + 80039f0: e7c0 b.n 8003974 + 80039f2: 2501 movs r5, #1 + 80039f4: e7be b.n 8003974 + 80039f6: bf00 nop + 80039f8: 58000800 .word 0x58000800 + 80039fc: 48000400 .word 0x48000400 -080039ec : - 80039ec: b10a cbz r2, 80039f2 - 80039ee: 6181 str r1, [r0, #24] - 80039f0: 4770 bx lr - 80039f2: 6281 str r1, [r0, #40] ; 0x28 - 80039f4: 4770 bx lr +08003a00 : + 8003a00: b10a cbz r2, 8003a06 + 8003a02: 6181 str r1, [r0, #24] + 8003a04: 4770 bx lr + 8003a06: 6281 str r1, [r0, #40] ; 0x28 + 8003a08: 4770 bx lr -080039f6 : - 80039f6: 6943 ldr r3, [r0, #20] - 80039f8: ea01 0203 and.w r2, r1, r3 - 80039fc: ea21 0103 bic.w r1, r1, r3 - 8003a00: ea41 4102 orr.w r1, r1, r2, lsl #16 - 8003a04: 6181 str r1, [r0, #24] - 8003a06: 4770 bx lr +08003a0a : + 8003a0a: 6943 ldr r3, [r0, #20] + 8003a0c: ea01 0203 and.w r2, r1, r3 + 8003a10: ea21 0103 bic.w r1, r1, r3 + 8003a14: ea41 4102 orr.w r1, r1, r2, lsl #16 + 8003a18: 6181 str r1, [r0, #24] + 8003a1a: 4770 bx lr -08003a08 : - 8003a08: 4a04 ldr r2, [pc, #16] ; (8003a1c ) - 8003a0a: 68d1 ldr r1, [r2, #12] - 8003a0c: 4201 tst r1, r0 - 8003a0e: b508 push {r3, lr} - 8003a10: d002 beq.n 8003a18 - 8003a12: 60d0 str r0, [r2, #12] - 8003a14: f7fe fe36 bl 8002684 - 8003a18: bd08 pop {r3, pc} - 8003a1a: bf00 nop - 8003a1c: 58000800 .word 0x58000800 +08003a1c : + 8003a1c: 4a04 ldr r2, [pc, #16] ; (8003a30 ) + 8003a1e: 68d1 ldr r1, [r2, #12] + 8003a20: 4201 tst r1, r0 + 8003a22: b508 push {r3, lr} + 8003a24: d002 beq.n 8003a2c + 8003a26: 60d0 str r0, [r2, #12] + 8003a28: f7fe fe36 bl 8002698 + 8003a2c: bd08 pop {r3, pc} + 8003a2e: bf00 nop + 8003a30: 58000800 .word 0x58000800 -08003a20 : - 8003a20: 4a02 ldr r2, [pc, #8] ; (8003a2c ) - 8003a22: 6813 ldr r3, [r2, #0] - 8003a24: f443 7380 orr.w r3, r3, #256 ; 0x100 - 8003a28: 6013 str r3, [r2, #0] - 8003a2a: 4770 bx lr - 8003a2c: 58000400 .word 0x58000400 +08003a34 : + 8003a34: 4a02 ldr r2, [pc, #8] ; (8003a40 ) + 8003a36: 6813 ldr r3, [r2, #0] + 8003a38: f443 7380 orr.w r3, r3, #256 ; 0x100 + 8003a3c: 6013 str r3, [r2, #0] + 8003a3e: 4770 bx lr + 8003a40: 58000400 .word 0x58000400 -08003a30 : - 8003a30: 4b0d ldr r3, [pc, #52] ; (8003a68 ) - 8003a32: b510 push {r4, lr} - 8003a34: 695b ldr r3, [r3, #20] - 8003a36: 460c mov r4, r1 - 8003a38: b928 cbnz r0, 8003a46 - 8003a3a: 059a lsls r2, r3, #22 - 8003a3c: d507 bpl.n 8003a4e - 8003a3e: f000 f839 bl 8003ab4 - 8003a42: b120 cbz r0, 8003a4e - 8003a44: bd10 pop {r4, pc} - 8003a46: 059b lsls r3, r3, #22 - 8003a48: d401 bmi.n 8003a4e - 8003a4a: f000 f82b bl 8003aa4 - 8003a4e: 4a07 ldr r2, [pc, #28] ; (8003a6c ) - 8003a50: 6913 ldr r3, [r2, #16] - 8003a52: 2c01 cmp r4, #1 - 8003a54: f023 0304 bic.w r3, r3, #4 - 8003a58: 6113 str r3, [r2, #16] - 8003a5a: d101 bne.n 8003a60 - 8003a5c: bf30 wfi - 8003a5e: e7f1 b.n 8003a44 - 8003a60: bf40 sev - 8003a62: bf20 wfe - 8003a64: bf20 wfe - 8003a66: e7ed b.n 8003a44 - 8003a68: 58000400 .word 0x58000400 - 8003a6c: e000ed00 .word 0xe000ed00 +08003a44 : + 8003a44: 4b0d ldr r3, [pc, #52] ; (8003a7c ) + 8003a46: b510 push {r4, lr} + 8003a48: 695b ldr r3, [r3, #20] + 8003a4a: 460c mov r4, r1 + 8003a4c: b928 cbnz r0, 8003a5a + 8003a4e: 059a lsls r2, r3, #22 + 8003a50: d507 bpl.n 8003a62 + 8003a52: f000 f839 bl 8003ac8 + 8003a56: b120 cbz r0, 8003a62 + 8003a58: bd10 pop {r4, pc} + 8003a5a: 059b lsls r3, r3, #22 + 8003a5c: d401 bmi.n 8003a62 + 8003a5e: f000 f82b bl 8003ab8 + 8003a62: 4a07 ldr r2, [pc, #28] ; (8003a80 ) + 8003a64: 6913 ldr r3, [r2, #16] + 8003a66: 2c01 cmp r4, #1 + 8003a68: f023 0304 bic.w r3, r3, #4 + 8003a6c: 6113 str r3, [r2, #16] + 8003a6e: d101 bne.n 8003a74 + 8003a70: bf30 wfi + 8003a72: e7f1 b.n 8003a58 + 8003a74: bf40 sev + 8003a76: bf20 wfe + 8003a78: bf20 wfe + 8003a7a: e7ed b.n 8003a58 + 8003a7c: 58000400 .word 0x58000400 + 8003a80: e000ed00 .word 0xe000ed00 -08003a70 : - 8003a70: 4a06 ldr r2, [pc, #24] ; (8003a8c ) - 8003a72: 6813 ldr r3, [r2, #0] - 8003a74: f023 0307 bic.w r3, r3, #7 - 8003a78: f043 0303 orr.w r3, r3, #3 - 8003a7c: 6013 str r3, [r2, #0] - 8003a7e: 4a04 ldr r2, [pc, #16] ; (8003a90 ) - 8003a80: 6913 ldr r3, [r2, #16] - 8003a82: f043 0304 orr.w r3, r3, #4 - 8003a86: 6113 str r3, [r2, #16] - 8003a88: bf30 wfi - 8003a8a: 4770 bx lr - 8003a8c: 58000400 .word 0x58000400 - 8003a90: e000ed00 .word 0xe000ed00 - -08003a94 : - 8003a94: 4b02 ldr r3, [pc, #8] ; (8003aa0 ) - 8003a96: 6818 ldr r0, [r3, #0] - 8003a98: f400 60c0 and.w r0, r0, #1536 ; 0x600 - 8003a9c: 4770 bx lr - 8003a9e: bf00 nop +08003a84 : + 8003a84: 4a06 ldr r2, [pc, #24] ; (8003aa0 ) + 8003a86: 6813 ldr r3, [r2, #0] + 8003a88: f023 0307 bic.w r3, r3, #7 + 8003a8c: f043 0303 orr.w r3, r3, #3 + 8003a90: 6013 str r3, [r2, #0] + 8003a92: 4a04 ldr r2, [pc, #16] ; (8003aa4 ) + 8003a94: 6913 ldr r3, [r2, #16] + 8003a96: f043 0304 orr.w r3, r3, #4 + 8003a9a: 6113 str r3, [r2, #16] + 8003a9c: bf30 wfi + 8003a9e: 4770 bx lr 8003aa0: 58000400 .word 0x58000400 + 8003aa4: e000ed00 .word 0xe000ed00 -08003aa4 : - 8003aa4: 4a02 ldr r2, [pc, #8] ; (8003ab0 ) - 8003aa6: 6813 ldr r3, [r2, #0] - 8003aa8: f443 4380 orr.w r3, r3, #16384 ; 0x4000 - 8003aac: 6013 str r3, [r2, #0] - 8003aae: 4770 bx lr - 8003ab0: 58000400 .word 0x58000400 +08003aa8 : + 8003aa8: 4b02 ldr r3, [pc, #8] ; (8003ab4 ) + 8003aaa: 6818 ldr r0, [r3, #0] + 8003aac: f400 60c0 and.w r0, r0, #1536 ; 0x600 + 8003ab0: 4770 bx lr + 8003ab2: bf00 nop + 8003ab4: 58000400 .word 0x58000400 -08003ab4 : - 8003ab4: 4a0c ldr r2, [pc, #48] ; (8003ae8 ) - 8003ab6: 6813 ldr r3, [r2, #0] - 8003ab8: f423 4380 bic.w r3, r3, #16384 ; 0x4000 - 8003abc: 6013 str r3, [r2, #0] - 8003abe: 4b0b ldr r3, [pc, #44] ; (8003aec ) - 8003ac0: 681b ldr r3, [r3, #0] - 8003ac2: 2132 movs r1, #50 ; 0x32 - 8003ac4: 434b muls r3, r1 - 8003ac6: 490a ldr r1, [pc, #40] ; (8003af0 ) - 8003ac8: fbb3 f3f1 udiv r3, r3, r1 - 8003acc: 6951 ldr r1, [r2, #20] - 8003ace: 0589 lsls r1, r1, #22 - 8003ad0: d500 bpl.n 8003ad4 - 8003ad2: b933 cbnz r3, 8003ae2 - 8003ad4: 6953 ldr r3, [r2, #20] - 8003ad6: f413 7f00 tst.w r3, #512 ; 0x200 - 8003ada: bf14 ite ne - 8003adc: 2003 movne r0, #3 - 8003ade: 2000 moveq r0, #0 - 8003ae0: 4770 bx lr - 8003ae2: 3b01 subs r3, #1 - 8003ae4: e7f2 b.n 8003acc - 8003ae6: bf00 nop - 8003ae8: 58000400 .word 0x58000400 - 8003aec: 20000074 .word 0x20000074 - 8003af0: 000f4240 .word 0x000f4240 +08003ab8 : + 8003ab8: 4a02 ldr r2, [pc, #8] ; (8003ac4 ) + 8003aba: 6813 ldr r3, [r2, #0] + 8003abc: f443 4380 orr.w r3, r3, #16384 ; 0x4000 + 8003ac0: 6013 str r3, [r2, #0] + 8003ac2: 4770 bx lr + 8003ac4: 58000400 .word 0x58000400 -08003af4 : - 8003af4: 4a0b ldr r2, [pc, #44] ; (8003b24 ) - 8003af6: 6813 ldr r3, [r2, #0] - 8003af8: f023 0307 bic.w r3, r3, #7 - 8003afc: f043 0302 orr.w r3, r3, #2 - 8003b00: 6013 str r3, [r2, #0] - 8003b02: 4b09 ldr r3, [pc, #36] ; (8003b28 ) - 8003b04: 691a ldr r2, [r3, #16] - 8003b06: 2801 cmp r0, #1 - 8003b08: f042 0204 orr.w r2, r2, #4 - 8003b0c: 611a str r2, [r3, #16] - 8003b0e: d105 bne.n 8003b1c - 8003b10: bf30 wfi - 8003b12: 691a ldr r2, [r3, #16] - 8003b14: f022 0204 bic.w r2, r2, #4 - 8003b18: 611a str r2, [r3, #16] - 8003b1a: 4770 bx lr - 8003b1c: bf40 sev - 8003b1e: bf20 wfe - 8003b20: bf20 wfe - 8003b22: e7f6 b.n 8003b12 - 8003b24: 58000400 .word 0x58000400 - 8003b28: e000ed00 .word 0xe000ed00 +08003ac8 : + 8003ac8: 4a0c ldr r2, [pc, #48] ; (8003afc ) + 8003aca: 6813 ldr r3, [r2, #0] + 8003acc: f423 4380 bic.w r3, r3, #16384 ; 0x4000 + 8003ad0: 6013 str r3, [r2, #0] + 8003ad2: 4b0b ldr r3, [pc, #44] ; (8003b00 ) + 8003ad4: 681b ldr r3, [r3, #0] + 8003ad6: 2132 movs r1, #50 ; 0x32 + 8003ad8: 434b muls r3, r1 + 8003ada: 490a ldr r1, [pc, #40] ; (8003b04 ) + 8003adc: fbb3 f3f1 udiv r3, r3, r1 + 8003ae0: 6951 ldr r1, [r2, #20] + 8003ae2: 0589 lsls r1, r1, #22 + 8003ae4: d500 bpl.n 8003ae8 + 8003ae6: b933 cbnz r3, 8003af6 + 8003ae8: 6953 ldr r3, [r2, #20] + 8003aea: f413 7f00 tst.w r3, #512 ; 0x200 + 8003aee: bf14 ite ne + 8003af0: 2003 movne r0, #3 + 8003af2: 2000 moveq r0, #0 + 8003af4: 4770 bx lr + 8003af6: 3b01 subs r3, #1 + 8003af8: e7f2 b.n 8003ae0 + 8003afa: bf00 nop + 8003afc: 58000400 .word 0x58000400 + 8003b00: 20000074 .word 0x20000074 + 8003b04: 000f4240 .word 0x000f4240 -08003b2c : - 8003b2c: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003b30: 6818 ldr r0, [r3, #0] - 8003b32: f3c0 4040 ubfx r0, r0, #17, #1 - 8003b36: 4770 bx lr +08003b08 : + 8003b08: 4a0b ldr r2, [pc, #44] ; (8003b38 ) + 8003b0a: 6813 ldr r3, [r2, #0] + 8003b0c: f023 0307 bic.w r3, r3, #7 + 8003b10: f043 0302 orr.w r3, r3, #2 + 8003b14: 6013 str r3, [r2, #0] + 8003b16: 4b09 ldr r3, [pc, #36] ; (8003b3c ) + 8003b18: 691a ldr r2, [r3, #16] + 8003b1a: 2801 cmp r0, #1 + 8003b1c: f042 0204 orr.w r2, r2, #4 + 8003b20: 611a str r2, [r3, #16] + 8003b22: d105 bne.n 8003b30 + 8003b24: bf30 wfi + 8003b26: 691a ldr r2, [r3, #16] + 8003b28: f022 0204 bic.w r2, r2, #4 + 8003b2c: 611a str r2, [r3, #16] + 8003b2e: 4770 bx lr + 8003b30: bf40 sev + 8003b32: bf20 wfe + 8003b34: bf20 wfe + 8003b36: e7f6 b.n 8003b26 + 8003b38: 58000400 .word 0x58000400 + 8003b3c: e000ed00 .word 0xe000ed00 -08003b38 : - 8003b38: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003b3c: 6818 ldr r0, [r3, #0] - 8003b3e: f3c0 0040 ubfx r0, r0, #1, #1 - 8003b42: 4770 bx lr +08003b40 : + 8003b40: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003b44: 6818 ldr r0, [r3, #0] + 8003b46: f3c0 4040 ubfx r0, r0, #17, #1 + 8003b4a: 4770 bx lr -08003b44 : - 8003b44: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003b48: 6853 ldr r3, [r2, #4] - 8003b4a: f423 437f bic.w r3, r3, #65280 ; 0xff00 - 8003b4e: ea43 2300 orr.w r3, r3, r0, lsl #8 - 8003b52: 6053 str r3, [r2, #4] - 8003b54: 4770 bx lr +08003b4c : + 8003b4c: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003b50: 6818 ldr r0, [r3, #0] + 8003b52: f3c0 0040 ubfx r0, r0, #1, #1 + 8003b56: 4770 bx lr -08003b56 : - 8003b56: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003b5a: 6818 ldr r0, [r3, #0] - 8003b5c: f3c0 6040 ubfx r0, r0, #25, #1 - 8003b60: 4770 bx lr +08003b58 : + 8003b58: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003b5c: 6853 ldr r3, [r2, #4] + 8003b5e: f423 437f bic.w r3, r3, #65280 ; 0xff00 + 8003b62: ea43 2300 orr.w r3, r3, r0, lsl #8 + 8003b66: 6053 str r3, [r2, #4] + 8003b68: 4770 bx lr + +08003b6a : + 8003b6a: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003b6e: 6818 ldr r0, [r3, #0] + 8003b70: f3c0 6040 ubfx r0, r0, #25, #1 + 8003b74: 4770 bx lr ... -08003b64 : - 8003b64: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 8003b66: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003b6a: 4a2c ldr r2, [pc, #176] ; (8003c1c ) - 8003b6c: f8d3 3108 ldr.w r3, [r3, #264] ; 0x108 - 8003b70: f3c0 1003 ubfx r0, r0, #4, #4 - 8003b74: f003 030f and.w r3, r3, #15 - 8003b78: f852 4020 ldr.w r4, [r2, r0, lsl #2] - 8003b7c: 4a28 ldr r2, [pc, #160] ; (8003c20 ) - 8003b7e: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8003b82: fbb4 f4f3 udiv r4, r4, r3 - 8003b86: f7ff ff85 bl 8003a94 - 8003b8a: 4b26 ldr r3, [pc, #152] ; (8003c24 ) - 8003b8c: 4605 mov r5, r0 - 8003b8e: e893 0007 ldmia.w r3, {r0, r1, r2} - 8003b92: f5b5 7f00 cmp.w r5, #512 ; 0x200 - 8003b96: ab04 add r3, sp, #16 - 8003b98: e903 0007 stmdb r3, {r0, r1, r2} - 8003b9c: d010 beq.n 8003bc0 - 8003b9e: 4b22 ldr r3, [pc, #136] ; (8003c28 ) - 8003ba0: 429c cmp r4, r3 - 8003ba2: d318 bcc.n 8003bd6 - 8003ba4: f503 03b7 add.w r3, r3, #5996544 ; 0x5b8000 - 8003ba8: f603 537f addw r3, r3, #3455 ; 0xd7f - 8003bac: 429c cmp r4, r3 - 8003bae: d929 bls.n 8003c04 - 8003bb0: f503 1374 add.w r3, r3, #3997696 ; 0x3d0000 - 8003bb4: f503 6310 add.w r3, r3, #2304 ; 0x900 - 8003bb8: 429c cmp r4, r3 - 8003bba: d825 bhi.n 8003c08 - 8003bbc: 2302 movs r3, #2 - 8003bbe: e00b b.n 8003bd8 - 8003bc0: 4b1a ldr r3, [pc, #104] ; (8003c2c ) - 8003bc2: 429c cmp r4, r3 - 8003bc4: d907 bls.n 8003bd6 - 8003bc6: 4b1a ldr r3, [pc, #104] ; (8003c30 ) - 8003bc8: 429c cmp r4, r3 - 8003bca: d91b bls.n 8003c04 - 8003bcc: f503 0337 add.w r3, r3, #11993088 ; 0xb70000 - 8003bd0: f503 53d8 add.w r3, r3, #6912 ; 0x1b00 - 8003bd4: e7f0 b.n 8003bb8 - 8003bd6: 2300 movs r3, #0 - 8003bd8: aa04 add r2, sp, #16 - 8003bda: eb02 0383 add.w r3, r2, r3, lsl #2 - 8003bde: f853 4c0c ldr.w r4, [r3, #-12] - 8003be2: 4d14 ldr r5, [pc, #80] ; (8003c34 ) - 8003be4: 682b ldr r3, [r5, #0] - 8003be6: f023 0307 bic.w r3, r3, #7 - 8003bea: 4323 orrs r3, r4 - 8003bec: 602b str r3, [r5, #0] - 8003bee: f7fd fe67 bl 80018c0 - 8003bf2: 4606 mov r6, r0 - 8003bf4: 682b ldr r3, [r5, #0] - 8003bf6: f003 0307 and.w r3, r3, #7 - 8003bfa: 429c cmp r4, r3 - 8003bfc: d106 bne.n 8003c0c - 8003bfe: 2000 movs r0, #0 - 8003c00: b004 add sp, #16 - 8003c02: bd70 pop {r4, r5, r6, pc} - 8003c04: 2301 movs r3, #1 - 8003c06: e7e7 b.n 8003bd8 - 8003c08: 2400 movs r4, #0 - 8003c0a: e7ea b.n 8003be2 - 8003c0c: f7fd fe58 bl 80018c0 - 8003c10: 1b80 subs r0, r0, r6 - 8003c12: 2802 cmp r0, #2 - 8003c14: d9ee bls.n 8003bf4 - 8003c16: 2003 movs r0, #3 - 8003c18: e7f2 b.n 8003c00 - 8003c1a: bf00 nop - 8003c1c: 0800f9dc .word 0x0800f9dc - 8003c20: 0800f97c .word 0x0800f97c - 8003c24: 0800f498 .word 0x0800f498 - 8003c28: 006acfc0 .word 0x006acfc0 - 8003c2c: 0121eabf .word 0x0121eabf - 8003c30: 0234933f .word 0x0234933f - 8003c34: 58004000 .word 0x58004000 +08003b78 : + 8003b78: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 8003b7a: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003b7e: 4a2c ldr r2, [pc, #176] ; (8003c30 ) + 8003b80: f8d3 3108 ldr.w r3, [r3, #264] ; 0x108 + 8003b84: f3c0 1003 ubfx r0, r0, #4, #4 + 8003b88: f003 030f and.w r3, r3, #15 + 8003b8c: f852 4020 ldr.w r4, [r2, r0, lsl #2] + 8003b90: 4a28 ldr r2, [pc, #160] ; (8003c34 ) + 8003b92: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8003b96: fbb4 f4f3 udiv r4, r4, r3 + 8003b9a: f7ff ff85 bl 8003aa8 + 8003b9e: 4b26 ldr r3, [pc, #152] ; (8003c38 ) + 8003ba0: 4605 mov r5, r0 + 8003ba2: e893 0007 ldmia.w r3, {r0, r1, r2} + 8003ba6: f5b5 7f00 cmp.w r5, #512 ; 0x200 + 8003baa: ab04 add r3, sp, #16 + 8003bac: e903 0007 stmdb r3, {r0, r1, r2} + 8003bb0: d010 beq.n 8003bd4 + 8003bb2: 4b22 ldr r3, [pc, #136] ; (8003c3c ) + 8003bb4: 429c cmp r4, r3 + 8003bb6: d318 bcc.n 8003bea + 8003bb8: f503 03b7 add.w r3, r3, #5996544 ; 0x5b8000 + 8003bbc: f603 537f addw r3, r3, #3455 ; 0xd7f + 8003bc0: 429c cmp r4, r3 + 8003bc2: d929 bls.n 8003c18 + 8003bc4: f503 1374 add.w r3, r3, #3997696 ; 0x3d0000 + 8003bc8: f503 6310 add.w r3, r3, #2304 ; 0x900 + 8003bcc: 429c cmp r4, r3 + 8003bce: d825 bhi.n 8003c1c + 8003bd0: 2302 movs r3, #2 + 8003bd2: e00b b.n 8003bec + 8003bd4: 4b1a ldr r3, [pc, #104] ; (8003c40 ) + 8003bd6: 429c cmp r4, r3 + 8003bd8: d907 bls.n 8003bea + 8003bda: 4b1a ldr r3, [pc, #104] ; (8003c44 ) + 8003bdc: 429c cmp r4, r3 + 8003bde: d91b bls.n 8003c18 + 8003be0: f503 0337 add.w r3, r3, #11993088 ; 0xb70000 + 8003be4: f503 53d8 add.w r3, r3, #6912 ; 0x1b00 + 8003be8: e7f0 b.n 8003bcc + 8003bea: 2300 movs r3, #0 + 8003bec: aa04 add r2, sp, #16 + 8003bee: eb02 0383 add.w r3, r2, r3, lsl #2 + 8003bf2: f853 4c0c ldr.w r4, [r3, #-12] + 8003bf6: 4d14 ldr r5, [pc, #80] ; (8003c48 ) + 8003bf8: 682b ldr r3, [r5, #0] + 8003bfa: f023 0307 bic.w r3, r3, #7 + 8003bfe: 4323 orrs r3, r4 + 8003c00: 602b str r3, [r5, #0] + 8003c02: f7fd fe5d bl 80018c0 + 8003c06: 4606 mov r6, r0 + 8003c08: 682b ldr r3, [r5, #0] + 8003c0a: f003 0307 and.w r3, r3, #7 + 8003c0e: 429c cmp r4, r3 + 8003c10: d106 bne.n 8003c20 + 8003c12: 2000 movs r0, #0 + 8003c14: b004 add sp, #16 + 8003c16: bd70 pop {r4, r5, r6, pc} + 8003c18: 2301 movs r3, #1 + 8003c1a: e7e7 b.n 8003bec + 8003c1c: 2400 movs r4, #0 + 8003c1e: e7ea b.n 8003bf6 + 8003c20: f7fd fe4e bl 80018c0 + 8003c24: 1b80 subs r0, r0, r6 + 8003c26: 2802 cmp r0, #2 + 8003c28: d9ee bls.n 8003c08 + 8003c2a: 2003 movs r0, #3 + 8003c2c: e7f2 b.n 8003c14 + 8003c2e: bf00 nop + 8003c30: 0800f9f4 .word 0x0800f9f4 + 8003c34: 0800f994 .word 0x0800f994 + 8003c38: 0800f4b0 .word 0x0800f4b0 + 8003c3c: 006acfc0 .word 0x006acfc0 + 8003c40: 0121eabf .word 0x0121eabf + 8003c44: 0234933f .word 0x0234933f + 8003c48: 58004000 .word 0x58004000 -08003c38 : - 8003c38: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003c3c: b510 push {r4, lr} - 8003c3e: 689a ldr r2, [r3, #8] - 8003c40: 68d9 ldr r1, [r3, #12] - 8003c42: f012 020c ands.w r2, r2, #12 - 8003c46: d005 beq.n 8003c54 - 8003c48: 2a0c cmp r2, #12 - 8003c4a: d14a bne.n 8003ce2 - 8003c4c: f001 0303 and.w r3, r1, #3 - 8003c50: 2b01 cmp r3, #1 - 8003c52: d150 bne.n 8003cf6 - 8003c54: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 8003c58: 482b ldr r0, [pc, #172] ; (8003d08 ) - 8003c5a: 680b ldr r3, [r1, #0] - 8003c5c: f013 0308 ands.w r3, r3, #8 - 8003c60: d006 beq.n 8003c70 - 8003c62: 680b ldr r3, [r1, #0] - 8003c64: f013 0308 ands.w r3, r3, #8 - 8003c68: d137 bne.n 8003cda - 8003c6a: f8d1 1094 ldr.w r1, [r1, #148] ; 0x94 - 8003c6e: e007 b.n 8003c80 - 8003c70: 680c ldr r4, [r1, #0] - 8003c72: 0724 lsls r4, r4, #28 - 8003c74: bf56 itet pl - 8003c76: f8d1 3094 ldrpl.w r3, [r1, #148] ; 0x94 - 8003c7a: 6809 ldrmi r1, [r1, #0] - 8003c7c: f3c3 2303 ubfxpl r3, r3, #8, #4 - 8003c80: f850 3023 ldr.w r3, [r0, r3, lsl #2] - 8003c84: 2a00 cmp r2, #0 - 8003c86: bf0c ite eq - 8003c88: 4618 moveq r0, r3 - 8003c8a: 2000 movne r0, #0 - 8003c8c: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 8003c90: 688a ldr r2, [r1, #8] - 8003c92: f002 020c and.w r2, r2, #12 - 8003c96: 2a0c cmp r2, #12 - 8003c98: d11e bne.n 8003cd8 - 8003c9a: 68ca ldr r2, [r1, #12] - 8003c9c: f002 0203 and.w r2, r2, #3 - 8003ca0: 2a02 cmp r2, #2 - 8003ca2: d02e beq.n 8003d02 - 8003ca4: 2a03 cmp r2, #3 - 8003ca6: d106 bne.n 8003cb6 - 8003ca8: 680b ldr r3, [r1, #0] - 8003caa: 4a18 ldr r2, [pc, #96] ; (8003d0c ) - 8003cac: f413 1f80 tst.w r3, #1048576 ; 0x100000 - 8003cb0: 4b17 ldr r3, [pc, #92] ; (8003d10 ) - 8003cb2: bf18 it ne - 8003cb4: 4613 movne r3, r2 - 8003cb6: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003cba: 68d0 ldr r0, [r2, #12] - 8003cbc: 68d1 ldr r1, [r2, #12] - 8003cbe: 68d2 ldr r2, [r2, #12] - 8003cc0: f3c0 2006 ubfx r0, r0, #8, #7 - 8003cc4: 4358 muls r0, r3 - 8003cc6: f3c1 1302 ubfx r3, r1, #4, #3 - 8003cca: 3301 adds r3, #1 - 8003ccc: fbb0 f0f3 udiv r0, r0, r3 - 8003cd0: 0f53 lsrs r3, r2, #29 - 8003cd2: 3301 adds r3, #1 - 8003cd4: fbb0 f0f3 udiv r0, r0, r3 - 8003cd8: bd10 pop {r4, pc} - 8003cda: 680b ldr r3, [r1, #0] - 8003cdc: f3c3 1303 ubfx r3, r3, #4, #4 - 8003ce0: e7ce b.n 8003c80 - 8003ce2: 2a04 cmp r2, #4 - 8003ce4: d00a beq.n 8003cfc - 8003ce6: 2a08 cmp r2, #8 - 8003ce8: d105 bne.n 8003cf6 - 8003cea: 681b ldr r3, [r3, #0] - 8003cec: f413 1380 ands.w r3, r3, #1048576 ; 0x100000 - 8003cf0: d104 bne.n 8003cfc - 8003cf2: 4807 ldr r0, [pc, #28] ; (8003d10 ) - 8003cf4: e7ca b.n 8003c8c - 8003cf6: 2300 movs r3, #0 - 8003cf8: 4618 mov r0, r3 - 8003cfa: e7c7 b.n 8003c8c - 8003cfc: 4803 ldr r0, [pc, #12] ; (8003d0c ) - 8003cfe: 2300 movs r3, #0 - 8003d00: e7c4 b.n 8003c8c - 8003d02: 4b02 ldr r3, [pc, #8] ; (8003d0c ) - 8003d04: e7d7 b.n 8003cb6 - 8003d06: bf00 nop - 8003d08: 0800f9dc .word 0x0800f9dc - 8003d0c: 00f42400 .word 0x00f42400 - 8003d10: 01e84800 .word 0x01e84800 +08003c4c : + 8003c4c: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003c50: b510 push {r4, lr} + 8003c52: 689a ldr r2, [r3, #8] + 8003c54: 68d9 ldr r1, [r3, #12] + 8003c56: f012 020c ands.w r2, r2, #12 + 8003c5a: d005 beq.n 8003c68 + 8003c5c: 2a0c cmp r2, #12 + 8003c5e: d14a bne.n 8003cf6 + 8003c60: f001 0303 and.w r3, r1, #3 + 8003c64: 2b01 cmp r3, #1 + 8003c66: d150 bne.n 8003d0a + 8003c68: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 8003c6c: 482b ldr r0, [pc, #172] ; (8003d1c ) + 8003c6e: 680b ldr r3, [r1, #0] + 8003c70: f013 0308 ands.w r3, r3, #8 + 8003c74: d006 beq.n 8003c84 + 8003c76: 680b ldr r3, [r1, #0] + 8003c78: f013 0308 ands.w r3, r3, #8 + 8003c7c: d137 bne.n 8003cee + 8003c7e: f8d1 1094 ldr.w r1, [r1, #148] ; 0x94 + 8003c82: e007 b.n 8003c94 + 8003c84: 680c ldr r4, [r1, #0] + 8003c86: 0724 lsls r4, r4, #28 + 8003c88: bf56 itet pl + 8003c8a: f8d1 3094 ldrpl.w r3, [r1, #148] ; 0x94 + 8003c8e: 6809 ldrmi r1, [r1, #0] + 8003c90: f3c3 2303 ubfxpl r3, r3, #8, #4 + 8003c94: f850 3023 ldr.w r3, [r0, r3, lsl #2] + 8003c98: 2a00 cmp r2, #0 + 8003c9a: bf0c ite eq + 8003c9c: 4618 moveq r0, r3 + 8003c9e: 2000 movne r0, #0 + 8003ca0: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 8003ca4: 688a ldr r2, [r1, #8] + 8003ca6: f002 020c and.w r2, r2, #12 + 8003caa: 2a0c cmp r2, #12 + 8003cac: d11e bne.n 8003cec + 8003cae: 68ca ldr r2, [r1, #12] + 8003cb0: f002 0203 and.w r2, r2, #3 + 8003cb4: 2a02 cmp r2, #2 + 8003cb6: d02e beq.n 8003d16 + 8003cb8: 2a03 cmp r2, #3 + 8003cba: d106 bne.n 8003cca + 8003cbc: 680b ldr r3, [r1, #0] + 8003cbe: 4a18 ldr r2, [pc, #96] ; (8003d20 ) + 8003cc0: f413 1f80 tst.w r3, #1048576 ; 0x100000 + 8003cc4: 4b17 ldr r3, [pc, #92] ; (8003d24 ) + 8003cc6: bf18 it ne + 8003cc8: 4613 movne r3, r2 + 8003cca: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003cce: 68d0 ldr r0, [r2, #12] + 8003cd0: 68d1 ldr r1, [r2, #12] + 8003cd2: 68d2 ldr r2, [r2, #12] + 8003cd4: f3c0 2006 ubfx r0, r0, #8, #7 + 8003cd8: 4358 muls r0, r3 + 8003cda: f3c1 1302 ubfx r3, r1, #4, #3 + 8003cde: 3301 adds r3, #1 + 8003ce0: fbb0 f0f3 udiv r0, r0, r3 + 8003ce4: 0f53 lsrs r3, r2, #29 + 8003ce6: 3301 adds r3, #1 + 8003ce8: fbb0 f0f3 udiv r0, r0, r3 + 8003cec: bd10 pop {r4, pc} + 8003cee: 680b ldr r3, [r1, #0] + 8003cf0: f3c3 1303 ubfx r3, r3, #4, #4 + 8003cf4: e7ce b.n 8003c94 + 8003cf6: 2a04 cmp r2, #4 + 8003cf8: d00a beq.n 8003d10 + 8003cfa: 2a08 cmp r2, #8 + 8003cfc: d105 bne.n 8003d0a + 8003cfe: 681b ldr r3, [r3, #0] + 8003d00: f413 1380 ands.w r3, r3, #1048576 ; 0x100000 + 8003d04: d104 bne.n 8003d10 + 8003d06: 4807 ldr r0, [pc, #28] ; (8003d24 ) + 8003d08: e7ca b.n 8003ca0 + 8003d0a: 2300 movs r3, #0 + 8003d0c: 4618 mov r0, r3 + 8003d0e: e7c7 b.n 8003ca0 + 8003d10: 4803 ldr r0, [pc, #12] ; (8003d20 ) + 8003d12: 2300 movs r3, #0 + 8003d14: e7c4 b.n 8003ca0 + 8003d16: 4b02 ldr r3, [pc, #8] ; (8003d20 ) + 8003d18: e7d7 b.n 8003cca + 8003d1a: bf00 nop + 8003d1c: 0800f9f4 .word 0x0800f9f4 + 8003d20: 00f42400 .word 0x00f42400 + 8003d24: 01e84800 .word 0x01e84800 -08003d14 : - 8003d14: b508 push {r3, lr} - 8003d16: f7ff ff8f bl 8003c38 - 8003d1a: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003d1e: 4a04 ldr r2, [pc, #16] ; (8003d30 ) - 8003d20: 689b ldr r3, [r3, #8] - 8003d22: f3c3 1303 ubfx r3, r3, #4, #4 - 8003d26: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8003d2a: fbb0 f0f3 udiv r0, r0, r3 - 8003d2e: bd08 pop {r3, pc} - 8003d30: 0800f97c .word 0x0800f97c +08003d28 : + 8003d28: b508 push {r3, lr} + 8003d2a: f7ff ff8f bl 8003c4c + 8003d2e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003d32: 4a04 ldr r2, [pc, #16] ; (8003d44 ) + 8003d34: 689b ldr r3, [r3, #8] + 8003d36: f3c3 1303 ubfx r3, r3, #4, #4 + 8003d3a: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8003d3e: fbb0 f0f3 udiv r0, r0, r3 + 8003d42: bd08 pop {r3, pc} + 8003d44: 0800f994 .word 0x0800f994 -08003d34 : - 8003d34: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8003d38: 4604 mov r4, r0 - 8003d3a: 2800 cmp r0, #0 - 8003d3c: d053 beq.n 8003de6 - 8003d3e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003d42: 689d ldr r5, [r3, #8] - 8003d44: 68de ldr r6, [r3, #12] - 8003d46: 6803 ldr r3, [r0, #0] - 8003d48: 069b lsls r3, r3, #26 - 8003d4a: f005 050c and.w r5, r5, #12 - 8003d4e: f006 0603 and.w r6, r6, #3 - 8003d52: d568 bpl.n 8003e26 - 8003d54: 6a02 ldr r2, [r0, #32] - 8003d56: b11d cbz r5, 8003d60 - 8003d58: 2d0c cmp r5, #12 - 8003d5a: d146 bne.n 8003dea - 8003d5c: 2e01 cmp r6, #1 - 8003d5e: d144 bne.n 8003dea - 8003d60: 2a00 cmp r2, #0 - 8003d62: d040 beq.n 8003de6 - 8003d64: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003d68: 6aa1 ldr r1, [r4, #40] ; 0x28 - 8003d6a: 681a ldr r2, [r3, #0] - 8003d6c: 0717 lsls r7, r2, #28 - 8003d6e: bf56 itet pl - 8003d70: f8d3 3094 ldrpl.w r3, [r3, #148] ; 0x94 - 8003d74: 681b ldrmi r3, [r3, #0] - 8003d76: 091b lsrpl r3, r3, #4 - 8003d78: f003 03f0 and.w r3, r3, #240 ; 0xf0 - 8003d7c: 4299 cmp r1, r3 - 8003d7e: d91f bls.n 8003dc0 - 8003d80: 4608 mov r0, r1 - 8003d82: f7ff feef bl 8003b64 - 8003d86: 2800 cmp r0, #0 - 8003d88: d12d bne.n 8003de6 - 8003d8a: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003d8e: 6813 ldr r3, [r2, #0] - 8003d90: f043 0308 orr.w r3, r3, #8 - 8003d94: 6013 str r3, [r2, #0] - 8003d96: 6813 ldr r3, [r2, #0] - 8003d98: 6aa1 ldr r1, [r4, #40] ; 0x28 - 8003d9a: f023 03f0 bic.w r3, r3, #240 ; 0xf0 - 8003d9e: 430b orrs r3, r1 - 8003da0: 6013 str r3, [r2, #0] - 8003da2: 6a60 ldr r0, [r4, #36] ; 0x24 - 8003da4: f7ff fece bl 8003b44 - 8003da8: f7ff ffb4 bl 8003d14 - 8003dac: 4bab ldr r3, [pc, #684] ; (800405c ) - 8003dae: 6018 str r0, [r3, #0] - 8003db0: 4bab ldr r3, [pc, #684] ; (8004060 ) - 8003db2: 6818 ldr r0, [r3, #0] - 8003db4: f7fd fd82 bl 80018bc - 8003db8: 2800 cmp r0, #0 - 8003dba: d034 beq.n 8003e26 - 8003dbc: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8003dc0: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003dc4: 6813 ldr r3, [r2, #0] - 8003dc6: f043 0308 orr.w r3, r3, #8 - 8003dca: 6013 str r3, [r2, #0] - 8003dcc: 6813 ldr r3, [r2, #0] - 8003dce: f023 03f0 bic.w r3, r3, #240 ; 0xf0 - 8003dd2: 430b orrs r3, r1 - 8003dd4: 6013 str r3, [r2, #0] - 8003dd6: 6a60 ldr r0, [r4, #36] ; 0x24 - 8003dd8: f7ff feb4 bl 8003b44 - 8003ddc: 4608 mov r0, r1 - 8003dde: f7ff fec1 bl 8003b64 - 8003de2: 2800 cmp r0, #0 - 8003de4: d0e0 beq.n 8003da8 - 8003de6: 2001 movs r0, #1 - 8003de8: e7e8 b.n 8003dbc - 8003dea: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003dee: 2a00 cmp r2, #0 - 8003df0: d054 beq.n 8003e9c - 8003df2: 681a ldr r2, [r3, #0] - 8003df4: f042 0201 orr.w r2, r2, #1 - 8003df8: 601a str r2, [r3, #0] - 8003dfa: f7fd fd61 bl 80018c0 - 8003dfe: 4607 mov r7, r0 - 8003e00: f7ff fe9a bl 8003b38 - 8003e04: 2800 cmp r0, #0 - 8003e06: d042 beq.n 8003e8e - 8003e08: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003e0c: 6813 ldr r3, [r2, #0] - 8003e0e: f043 0308 orr.w r3, r3, #8 - 8003e12: 6013 str r3, [r2, #0] - 8003e14: 6813 ldr r3, [r2, #0] - 8003e16: 6aa1 ldr r1, [r4, #40] ; 0x28 - 8003e18: f023 03f0 bic.w r3, r3, #240 ; 0xf0 - 8003e1c: 430b orrs r3, r1 - 8003e1e: 6013 str r3, [r2, #0] - 8003e20: 6a60 ldr r0, [r4, #36] ; 0x24 - 8003e22: f7ff fe8f bl 8003b44 - 8003e26: 6823 ldr r3, [r4, #0] - 8003e28: 07d8 lsls r0, r3, #31 - 8003e2a: d448 bmi.n 8003ebe - 8003e2c: 6823 ldr r3, [r4, #0] - 8003e2e: 0799 lsls r1, r3, #30 - 8003e30: f100 808c bmi.w 8003f4c - 8003e34: 6823 ldr r3, [r4, #0] - 8003e36: 071e lsls r6, r3, #28 - 8003e38: f140 80fa bpl.w 8004030 - 8003e3c: 69a3 ldr r3, [r4, #24] - 8003e3e: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 8003e42: 2b00 cmp r3, #0 - 8003e44: f000 80e1 beq.w 800400a - 8003e48: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 - 8003e4c: 69e1 ldr r1, [r4, #28] - 8003e4e: f003 0210 and.w r2, r3, #16 - 8003e52: 4291 cmp r1, r2 - 8003e54: f000 80c4 beq.w 8003fe0 - 8003e58: f003 0203 and.w r2, r3, #3 - 8003e5c: 2a02 cmp r2, #2 - 8003e5e: d0c2 beq.n 8003de6 - 8003e60: 07d8 lsls r0, r3, #31 - 8003e62: f140 80b3 bpl.w 8003fcc - 8003e66: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 - 8003e6a: f023 0301 bic.w r3, r3, #1 - 8003e6e: f8c6 3094 str.w r3, [r6, #148] ; 0x94 - 8003e72: f7fd fd25 bl 80018c0 - 8003e76: 4607 mov r7, r0 - 8003e78: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 - 8003e7c: 0799 lsls r1, r3, #30 - 8003e7e: f140 80a5 bpl.w 8003fcc - 8003e82: f7fd fd1d bl 80018c0 - 8003e86: 1bc3 subs r3, r0, r7 - 8003e88: 2b11 cmp r3, #17 - 8003e8a: d9f5 bls.n 8003e78 - 8003e8c: e004 b.n 8003e98 - 8003e8e: f7fd fd17 bl 80018c0 - 8003e92: 1bc0 subs r0, r0, r7 - 8003e94: 2802 cmp r0, #2 - 8003e96: d9b3 bls.n 8003e00 - 8003e98: 2003 movs r0, #3 - 8003e9a: e78f b.n 8003dbc - 8003e9c: 681a ldr r2, [r3, #0] - 8003e9e: f022 0201 bic.w r2, r2, #1 - 8003ea2: 601a str r2, [r3, #0] - 8003ea4: f7fd fd0c bl 80018c0 - 8003ea8: 4607 mov r7, r0 - 8003eaa: f7ff fe45 bl 8003b38 - 8003eae: 2800 cmp r0, #0 - 8003eb0: d0b9 beq.n 8003e26 - 8003eb2: f7fd fd05 bl 80018c0 - 8003eb6: 1bc0 subs r0, r0, r7 - 8003eb8: 2802 cmp r0, #2 - 8003eba: d9f6 bls.n 8003eaa - 8003ebc: e7ec b.n 8003e98 - 8003ebe: 2d08 cmp r5, #8 - 8003ec0: d003 beq.n 8003eca - 8003ec2: 2d0c cmp r5, #12 - 8003ec4: d105 bne.n 8003ed2 - 8003ec6: 2e03 cmp r6, #3 - 8003ec8: d103 bne.n 8003ed2 - 8003eca: 6863 ldr r3, [r4, #4] - 8003ecc: 2b00 cmp r3, #0 - 8003ece: d1ad bne.n 8003e2c - 8003ed0: e789 b.n 8003de6 - 8003ed2: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003ed6: 68a1 ldr r1, [r4, #8] - 8003ed8: 681a ldr r2, [r3, #0] - 8003eda: f422 1280 bic.w r2, r2, #1048576 ; 0x100000 - 8003ede: 430a orrs r2, r1 - 8003ee0: 601a str r2, [r3, #0] - 8003ee2: 6862 ldr r2, [r4, #4] - 8003ee4: f5b2 3f80 cmp.w r2, #65536 ; 0x10000 - 8003ee8: d110 bne.n 8003f0c - 8003eea: 681a ldr r2, [r3, #0] - 8003eec: f442 3280 orr.w r2, r2, #65536 ; 0x10000 - 8003ef0: 601a str r2, [r3, #0] - 8003ef2: f7fd fce5 bl 80018c0 - 8003ef6: 4607 mov r7, r0 - 8003ef8: f7ff fe18 bl 8003b2c - 8003efc: 2800 cmp r0, #0 - 8003efe: d195 bne.n 8003e2c - 8003f00: f7fd fcde bl 80018c0 - 8003f04: 1bc0 subs r0, r0, r7 - 8003f06: 2864 cmp r0, #100 ; 0x64 - 8003f08: d9f6 bls.n 8003ef8 - 8003f0a: e7c5 b.n 8003e98 - 8003f0c: f5b2 1f04 cmp.w r2, #2162688 ; 0x210000 - 8003f10: d104 bne.n 8003f1c - 8003f12: 681a ldr r2, [r3, #0] - 8003f14: f442 1200 orr.w r2, r2, #2097152 ; 0x200000 - 8003f18: 601a str r2, [r3, #0] - 8003f1a: e7e6 b.n 8003eea - 8003f1c: 6819 ldr r1, [r3, #0] - 8003f1e: f421 3180 bic.w r1, r1, #65536 ; 0x10000 - 8003f22: 6019 str r1, [r3, #0] - 8003f24: 6819 ldr r1, [r3, #0] - 8003f26: f421 1100 bic.w r1, r1, #2097152 ; 0x200000 - 8003f2a: 6019 str r1, [r3, #0] - 8003f2c: 2a00 cmp r2, #0 - 8003f2e: d1e0 bne.n 8003ef2 - 8003f30: f7fd fcc6 bl 80018c0 - 8003f34: 4607 mov r7, r0 - 8003f36: f7ff fdf9 bl 8003b2c - 8003f3a: 2800 cmp r0, #0 - 8003f3c: f43f af76 beq.w 8003e2c - 8003f40: f7fd fcbe bl 80018c0 - 8003f44: 1bc0 subs r0, r0, r7 - 8003f46: 2864 cmp r0, #100 ; 0x64 - 8003f48: d9f5 bls.n 8003f36 - 8003f4a: e7a5 b.n 8003e98 - 8003f4c: 2d04 cmp r5, #4 - 8003f4e: 6923 ldr r3, [r4, #16] - 8003f50: d003 beq.n 8003f5a - 8003f52: 2d0c cmp r5, #12 - 8003f54: d10e bne.n 8003f74 - 8003f56: 2e02 cmp r6, #2 - 8003f58: d10c bne.n 8003f74 - 8003f5a: 2b00 cmp r3, #0 - 8003f5c: f43f af43 beq.w 8003de6 - 8003f60: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003f64: 6961 ldr r1, [r4, #20] - 8003f66: 6853 ldr r3, [r2, #4] - 8003f68: f023 43fe bic.w r3, r3, #2130706432 ; 0x7f000000 - 8003f6c: ea43 6301 orr.w r3, r3, r1, lsl #24 - 8003f70: 6053 str r3, [r2, #4] - 8003f72: e75f b.n 8003e34 - 8003f74: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 8003f78: b1bb cbz r3, 8003faa - 8003f7a: 6833 ldr r3, [r6, #0] - 8003f7c: f443 7380 orr.w r3, r3, #256 ; 0x100 - 8003f80: 6033 str r3, [r6, #0] - 8003f82: f7fd fc9d bl 80018c0 - 8003f86: 4607 mov r7, r0 - 8003f88: 6833 ldr r3, [r6, #0] - 8003f8a: 055a lsls r2, r3, #21 - 8003f8c: d507 bpl.n 8003f9e - 8003f8e: 6873 ldr r3, [r6, #4] - 8003f90: 6962 ldr r2, [r4, #20] - 8003f92: f023 43fe bic.w r3, r3, #2130706432 ; 0x7f000000 - 8003f96: ea43 6302 orr.w r3, r3, r2, lsl #24 - 8003f9a: 6073 str r3, [r6, #4] - 8003f9c: e74a b.n 8003e34 - 8003f9e: f7fd fc8f bl 80018c0 - 8003fa2: 1bc3 subs r3, r0, r7 - 8003fa4: 2b02 cmp r3, #2 - 8003fa6: d9ef bls.n 8003f88 - 8003fa8: e776 b.n 8003e98 - 8003faa: 6833 ldr r3, [r6, #0] - 8003fac: f423 7380 bic.w r3, r3, #256 ; 0x100 - 8003fb0: 6033 str r3, [r6, #0] +08003d48 : + 8003d48: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8003d4c: 4604 mov r4, r0 + 8003d4e: 2800 cmp r0, #0 + 8003d50: d053 beq.n 8003dfa + 8003d52: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003d56: 689d ldr r5, [r3, #8] + 8003d58: 68de ldr r6, [r3, #12] + 8003d5a: 6803 ldr r3, [r0, #0] + 8003d5c: 069b lsls r3, r3, #26 + 8003d5e: f005 050c and.w r5, r5, #12 + 8003d62: f006 0603 and.w r6, r6, #3 + 8003d66: d568 bpl.n 8003e3a + 8003d68: 6a02 ldr r2, [r0, #32] + 8003d6a: b11d cbz r5, 8003d74 + 8003d6c: 2d0c cmp r5, #12 + 8003d6e: d146 bne.n 8003dfe + 8003d70: 2e01 cmp r6, #1 + 8003d72: d144 bne.n 8003dfe + 8003d74: 2a00 cmp r2, #0 + 8003d76: d040 beq.n 8003dfa + 8003d78: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003d7c: 6aa1 ldr r1, [r4, #40] ; 0x28 + 8003d7e: 681a ldr r2, [r3, #0] + 8003d80: 0717 lsls r7, r2, #28 + 8003d82: bf56 itet pl + 8003d84: f8d3 3094 ldrpl.w r3, [r3, #148] ; 0x94 + 8003d88: 681b ldrmi r3, [r3, #0] + 8003d8a: 091b lsrpl r3, r3, #4 + 8003d8c: f003 03f0 and.w r3, r3, #240 ; 0xf0 + 8003d90: 4299 cmp r1, r3 + 8003d92: d91f bls.n 8003dd4 + 8003d94: 4608 mov r0, r1 + 8003d96: f7ff feef bl 8003b78 + 8003d9a: 2800 cmp r0, #0 + 8003d9c: d12d bne.n 8003dfa + 8003d9e: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003da2: 6813 ldr r3, [r2, #0] + 8003da4: f043 0308 orr.w r3, r3, #8 + 8003da8: 6013 str r3, [r2, #0] + 8003daa: 6813 ldr r3, [r2, #0] + 8003dac: 6aa1 ldr r1, [r4, #40] ; 0x28 + 8003dae: f023 03f0 bic.w r3, r3, #240 ; 0xf0 + 8003db2: 430b orrs r3, r1 + 8003db4: 6013 str r3, [r2, #0] + 8003db6: 6a60 ldr r0, [r4, #36] ; 0x24 + 8003db8: f7ff fece bl 8003b58 + 8003dbc: f7ff ffb4 bl 8003d28 + 8003dc0: 4bab ldr r3, [pc, #684] ; (8004070 ) + 8003dc2: 6018 str r0, [r3, #0] + 8003dc4: 4bab ldr r3, [pc, #684] ; (8004074 ) + 8003dc6: 6818 ldr r0, [r3, #0] + 8003dc8: f7fd fd78 bl 80018bc + 8003dcc: 2800 cmp r0, #0 + 8003dce: d034 beq.n 8003e3a + 8003dd0: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8003dd4: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003dd8: 6813 ldr r3, [r2, #0] + 8003dda: f043 0308 orr.w r3, r3, #8 + 8003dde: 6013 str r3, [r2, #0] + 8003de0: 6813 ldr r3, [r2, #0] + 8003de2: f023 03f0 bic.w r3, r3, #240 ; 0xf0 + 8003de6: 430b orrs r3, r1 + 8003de8: 6013 str r3, [r2, #0] + 8003dea: 6a60 ldr r0, [r4, #36] ; 0x24 + 8003dec: f7ff feb4 bl 8003b58 + 8003df0: 4608 mov r0, r1 + 8003df2: f7ff fec1 bl 8003b78 + 8003df6: 2800 cmp r0, #0 + 8003df8: d0e0 beq.n 8003dbc + 8003dfa: 2001 movs r0, #1 + 8003dfc: e7e8 b.n 8003dd0 + 8003dfe: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003e02: 2a00 cmp r2, #0 + 8003e04: d054 beq.n 8003eb0 + 8003e06: 681a ldr r2, [r3, #0] + 8003e08: f042 0201 orr.w r2, r2, #1 + 8003e0c: 601a str r2, [r3, #0] + 8003e0e: f7fd fd57 bl 80018c0 + 8003e12: 4607 mov r7, r0 + 8003e14: f7ff fe9a bl 8003b4c + 8003e18: 2800 cmp r0, #0 + 8003e1a: d042 beq.n 8003ea2 + 8003e1c: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003e20: 6813 ldr r3, [r2, #0] + 8003e22: f043 0308 orr.w r3, r3, #8 + 8003e26: 6013 str r3, [r2, #0] + 8003e28: 6813 ldr r3, [r2, #0] + 8003e2a: 6aa1 ldr r1, [r4, #40] ; 0x28 + 8003e2c: f023 03f0 bic.w r3, r3, #240 ; 0xf0 + 8003e30: 430b orrs r3, r1 + 8003e32: 6013 str r3, [r2, #0] + 8003e34: 6a60 ldr r0, [r4, #36] ; 0x24 + 8003e36: f7ff fe8f bl 8003b58 + 8003e3a: 6823 ldr r3, [r4, #0] + 8003e3c: 07d8 lsls r0, r3, #31 + 8003e3e: d448 bmi.n 8003ed2 + 8003e40: 6823 ldr r3, [r4, #0] + 8003e42: 0799 lsls r1, r3, #30 + 8003e44: f100 808c bmi.w 8003f60 + 8003e48: 6823 ldr r3, [r4, #0] + 8003e4a: 071e lsls r6, r3, #28 + 8003e4c: f140 80fa bpl.w 8004044 + 8003e50: 69a3 ldr r3, [r4, #24] + 8003e52: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8003e56: 2b00 cmp r3, #0 + 8003e58: f000 80e1 beq.w 800401e + 8003e5c: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 + 8003e60: 69e1 ldr r1, [r4, #28] + 8003e62: f003 0210 and.w r2, r3, #16 + 8003e66: 4291 cmp r1, r2 + 8003e68: f000 80c4 beq.w 8003ff4 + 8003e6c: f003 0203 and.w r2, r3, #3 + 8003e70: 2a02 cmp r2, #2 + 8003e72: d0c2 beq.n 8003dfa + 8003e74: 07d8 lsls r0, r3, #31 + 8003e76: f140 80b3 bpl.w 8003fe0 + 8003e7a: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 + 8003e7e: f023 0301 bic.w r3, r3, #1 + 8003e82: f8c6 3094 str.w r3, [r6, #148] ; 0x94 + 8003e86: f7fd fd1b bl 80018c0 + 8003e8a: 4607 mov r7, r0 + 8003e8c: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 + 8003e90: 0799 lsls r1, r3, #30 + 8003e92: f140 80a5 bpl.w 8003fe0 + 8003e96: f7fd fd13 bl 80018c0 + 8003e9a: 1bc3 subs r3, r0, r7 + 8003e9c: 2b11 cmp r3, #17 + 8003e9e: d9f5 bls.n 8003e8c + 8003ea0: e004 b.n 8003eac + 8003ea2: f7fd fd0d bl 80018c0 + 8003ea6: 1bc0 subs r0, r0, r7 + 8003ea8: 2802 cmp r0, #2 + 8003eaa: d9b3 bls.n 8003e14 + 8003eac: 2003 movs r0, #3 + 8003eae: e78f b.n 8003dd0 + 8003eb0: 681a ldr r2, [r3, #0] + 8003eb2: f022 0201 bic.w r2, r2, #1 + 8003eb6: 601a str r2, [r3, #0] + 8003eb8: f7fd fd02 bl 80018c0 + 8003ebc: 4607 mov r7, r0 + 8003ebe: f7ff fe45 bl 8003b4c + 8003ec2: 2800 cmp r0, #0 + 8003ec4: d0b9 beq.n 8003e3a + 8003ec6: f7fd fcfb bl 80018c0 + 8003eca: 1bc0 subs r0, r0, r7 + 8003ecc: 2802 cmp r0, #2 + 8003ece: d9f6 bls.n 8003ebe + 8003ed0: e7ec b.n 8003eac + 8003ed2: 2d08 cmp r5, #8 + 8003ed4: d003 beq.n 8003ede + 8003ed6: 2d0c cmp r5, #12 + 8003ed8: d105 bne.n 8003ee6 + 8003eda: 2e03 cmp r6, #3 + 8003edc: d103 bne.n 8003ee6 + 8003ede: 6863 ldr r3, [r4, #4] + 8003ee0: 2b00 cmp r3, #0 + 8003ee2: d1ad bne.n 8003e40 + 8003ee4: e789 b.n 8003dfa + 8003ee6: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003eea: 68a1 ldr r1, [r4, #8] + 8003eec: 681a ldr r2, [r3, #0] + 8003eee: f422 1280 bic.w r2, r2, #1048576 ; 0x100000 + 8003ef2: 430a orrs r2, r1 + 8003ef4: 601a str r2, [r3, #0] + 8003ef6: 6862 ldr r2, [r4, #4] + 8003ef8: f5b2 3f80 cmp.w r2, #65536 ; 0x10000 + 8003efc: d110 bne.n 8003f20 + 8003efe: 681a ldr r2, [r3, #0] + 8003f00: f442 3280 orr.w r2, r2, #65536 ; 0x10000 + 8003f04: 601a str r2, [r3, #0] + 8003f06: f7fd fcdb bl 80018c0 + 8003f0a: 4607 mov r7, r0 + 8003f0c: f7ff fe18 bl 8003b40 + 8003f10: 2800 cmp r0, #0 + 8003f12: d195 bne.n 8003e40 + 8003f14: f7fd fcd4 bl 80018c0 + 8003f18: 1bc0 subs r0, r0, r7 + 8003f1a: 2864 cmp r0, #100 ; 0x64 + 8003f1c: d9f6 bls.n 8003f0c + 8003f1e: e7c5 b.n 8003eac + 8003f20: f5b2 1f04 cmp.w r2, #2162688 ; 0x210000 + 8003f24: d104 bne.n 8003f30 + 8003f26: 681a ldr r2, [r3, #0] + 8003f28: f442 1200 orr.w r2, r2, #2097152 ; 0x200000 + 8003f2c: 601a str r2, [r3, #0] + 8003f2e: e7e6 b.n 8003efe + 8003f30: 6819 ldr r1, [r3, #0] + 8003f32: f421 3180 bic.w r1, r1, #65536 ; 0x10000 + 8003f36: 6019 str r1, [r3, #0] + 8003f38: 6819 ldr r1, [r3, #0] + 8003f3a: f421 1100 bic.w r1, r1, #2097152 ; 0x200000 + 8003f3e: 6019 str r1, [r3, #0] + 8003f40: 2a00 cmp r2, #0 + 8003f42: d1e0 bne.n 8003f06 + 8003f44: f7fd fcbc bl 80018c0 + 8003f48: 4607 mov r7, r0 + 8003f4a: f7ff fdf9 bl 8003b40 + 8003f4e: 2800 cmp r0, #0 + 8003f50: f43f af76 beq.w 8003e40 + 8003f54: f7fd fcb4 bl 80018c0 + 8003f58: 1bc0 subs r0, r0, r7 + 8003f5a: 2864 cmp r0, #100 ; 0x64 + 8003f5c: d9f5 bls.n 8003f4a + 8003f5e: e7a5 b.n 8003eac + 8003f60: 2d04 cmp r5, #4 + 8003f62: 6923 ldr r3, [r4, #16] + 8003f64: d003 beq.n 8003f6e + 8003f66: 2d0c cmp r5, #12 + 8003f68: d10e bne.n 8003f88 + 8003f6a: 2e02 cmp r6, #2 + 8003f6c: d10c bne.n 8003f88 + 8003f6e: 2b00 cmp r3, #0 + 8003f70: f43f af43 beq.w 8003dfa + 8003f74: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003f78: 6961 ldr r1, [r4, #20] + 8003f7a: 6853 ldr r3, [r2, #4] + 8003f7c: f023 43fe bic.w r3, r3, #2130706432 ; 0x7f000000 + 8003f80: ea43 6301 orr.w r3, r3, r1, lsl #24 + 8003f84: 6053 str r3, [r2, #4] + 8003f86: e75f b.n 8003e48 + 8003f88: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8003f8c: b1bb cbz r3, 8003fbe + 8003f8e: 6833 ldr r3, [r6, #0] + 8003f90: f443 7380 orr.w r3, r3, #256 ; 0x100 + 8003f94: 6033 str r3, [r6, #0] + 8003f96: f7fd fc93 bl 80018c0 + 8003f9a: 4607 mov r7, r0 + 8003f9c: 6833 ldr r3, [r6, #0] + 8003f9e: 055a lsls r2, r3, #21 + 8003fa0: d507 bpl.n 8003fb2 + 8003fa2: 6873 ldr r3, [r6, #4] + 8003fa4: 6962 ldr r2, [r4, #20] + 8003fa6: f023 43fe bic.w r3, r3, #2130706432 ; 0x7f000000 + 8003faa: ea43 6302 orr.w r3, r3, r2, lsl #24 + 8003fae: 6073 str r3, [r6, #4] + 8003fb0: e74a b.n 8003e48 8003fb2: f7fd fc85 bl 80018c0 - 8003fb6: 4607 mov r7, r0 - 8003fb8: 6833 ldr r3, [r6, #0] - 8003fba: 055b lsls r3, r3, #21 - 8003fbc: f57f af3a bpl.w 8003e34 - 8003fc0: f7fd fc7e bl 80018c0 - 8003fc4: 1bc3 subs r3, r0, r7 - 8003fc6: 2b02 cmp r3, #2 - 8003fc8: d9f6 bls.n 8003fb8 - 8003fca: e765 b.n 8003e98 - 8003fcc: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003fd0: 69e1 ldr r1, [r4, #28] - 8003fd2: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 - 8003fd6: f023 0310 bic.w r3, r3, #16 - 8003fda: 430b orrs r3, r1 - 8003fdc: f8c2 3094 str.w r3, [r2, #148] ; 0x94 - 8003fe0: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 - 8003fe4: f8d7 3094 ldr.w r3, [r7, #148] ; 0x94 - 8003fe8: f043 0301 orr.w r3, r3, #1 - 8003fec: f8c7 3094 str.w r3, [r7, #148] ; 0x94 - 8003ff0: f7fd fc66 bl 80018c0 - 8003ff4: 4606 mov r6, r0 - 8003ff6: f8d7 3094 ldr.w r3, [r7, #148] ; 0x94 - 8003ffa: 079a lsls r2, r3, #30 - 8003ffc: d418 bmi.n 8004030 - 8003ffe: f7fd fc5f bl 80018c0 - 8004002: 1b83 subs r3, r0, r6 - 8004004: 2b11 cmp r3, #17 - 8004006: d9f6 bls.n 8003ff6 - 8004008: e746 b.n 8003e98 - 800400a: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 - 800400e: f023 0301 bic.w r3, r3, #1 - 8004012: f8c6 3094 str.w r3, [r6, #148] ; 0x94 - 8004016: f7fd fc53 bl 80018c0 - 800401a: 4607 mov r7, r0 - 800401c: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 - 8004020: 079b lsls r3, r3, #30 - 8004022: d505 bpl.n 8004030 - 8004024: f7fd fc4c bl 80018c0 - 8004028: 1bc3 subs r3, r0, r7 - 800402a: 2b11 cmp r3, #17 - 800402c: d9f6 bls.n 800401c - 800402e: e733 b.n 8003e98 - 8004030: 6823 ldr r3, [r4, #0] - 8004032: 0758 lsls r0, r3, #29 - 8004034: d554 bpl.n 80040e0 - 8004036: 4f0b ldr r7, [pc, #44] ; (8004064 ) - 8004038: 683b ldr r3, [r7, #0] - 800403a: 05d9 lsls r1, r3, #23 - 800403c: d414 bmi.n 8004068 - 800403e: f7ff fcef bl 8003a20 - 8004042: f7fd fc3d bl 80018c0 - 8004046: 4606 mov r6, r0 - 8004048: 683b ldr r3, [r7, #0] - 800404a: 05da lsls r2, r3, #23 - 800404c: d40c bmi.n 8004068 - 800404e: f7fd fc37 bl 80018c0 - 8004052: 1b83 subs r3, r0, r6 - 8004054: 2b02 cmp r3, #2 - 8004056: d9f7 bls.n 8004048 - 8004058: e71e b.n 8003e98 - 800405a: bf00 nop - 800405c: 20000074 .word 0x20000074 - 8004060: 20000078 .word 0x20000078 - 8004064: 58000400 .word 0x58000400 - 8004068: 68e3 ldr r3, [r4, #12] - 800406a: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 800406e: 2b00 cmp r3, #0 - 8004070: d058 beq.n 8004124 - 8004072: f023 0380 bic.w r3, r3, #128 ; 0x80 - 8004076: 2b05 cmp r3, #5 - 8004078: bf02 ittt eq - 800407a: f8d6 3090 ldreq.w r3, [r6, #144] ; 0x90 - 800407e: f043 0304 orreq.w r3, r3, #4 - 8004082: f8c6 3090 streq.w r3, [r6, #144] ; 0x90 - 8004086: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 800408a: f7fd fc19 bl 80018c0 - 800408e: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 8004092: f043 0301 orr.w r3, r3, #1 - 8004096: 4607 mov r7, r0 - 8004098: f8c6 3090 str.w r3, [r6, #144] ; 0x90 - 800409c: f241 3888 movw r8, #5000 ; 0x1388 - 80040a0: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 80040a4: 079b lsls r3, r3, #30 - 80040a6: d405 bmi.n 80040b4 - 80040a8: f7fd fc0a bl 80018c0 - 80040ac: 1bc3 subs r3, r0, r7 - 80040ae: 4543 cmp r3, r8 - 80040b0: d9f6 bls.n 80040a0 - 80040b2: e6f1 b.n 8003e98 - 80040b4: 68e3 ldr r3, [r4, #12] - 80040b6: f023 0304 bic.w r3, r3, #4 - 80040ba: 2b81 cmp r3, #129 ; 0x81 - 80040bc: d11b bne.n 80040f6 - 80040be: f7fd fbff bl 80018c0 - 80040c2: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 80040c6: f043 0380 orr.w r3, r3, #128 ; 0x80 - 80040ca: f8c6 3090 str.w r3, [r6, #144] ; 0x90 - 80040ce: 4607 mov r7, r0 - 80040d0: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 80040d4: f241 3888 movw r8, #5000 ; 0x1388 - 80040d8: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 80040dc: 0518 lsls r0, r3, #20 - 80040de: d504 bpl.n 80040ea - 80040e0: 6ae0 ldr r0, [r4, #44] ; 0x2c - 80040e2: 2800 cmp r0, #0 - 80040e4: d14a bne.n 800417c - 80040e6: 2000 movs r0, #0 - 80040e8: e668 b.n 8003dbc - 80040ea: f7fd fbe9 bl 80018c0 - 80040ee: 1bc0 subs r0, r0, r7 - 80040f0: 4540 cmp r0, r8 - 80040f2: d9f1 bls.n 80040d8 - 80040f4: e6d0 b.n 8003e98 - 80040f6: f7fd fbe3 bl 80018c0 - 80040fa: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 80040fe: f023 0380 bic.w r3, r3, #128 ; 0x80 - 8004102: f8c6 3090 str.w r3, [r6, #144] ; 0x90 - 8004106: 4607 mov r7, r0 - 8004108: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 800410c: f241 3888 movw r8, #5000 ; 0x1388 - 8004110: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 8004114: 0519 lsls r1, r3, #20 - 8004116: d5e3 bpl.n 80040e0 - 8004118: f7fd fbd2 bl 80018c0 - 800411c: 1bc0 subs r0, r0, r7 - 800411e: 4540 cmp r0, r8 - 8004120: d9f6 bls.n 8004110 - 8004122: e6b9 b.n 8003e98 - 8004124: f7fd fbcc bl 80018c0 - 8004128: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 800412c: f023 0380 bic.w r3, r3, #128 ; 0x80 - 8004130: 4607 mov r7, r0 - 8004132: f8c6 3090 str.w r3, [r6, #144] ; 0x90 - 8004136: f241 3888 movw r8, #5000 ; 0x1388 - 800413a: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 800413e: 051a lsls r2, r3, #20 - 8004140: d416 bmi.n 8004170 - 8004142: f7fd fbbd bl 80018c0 - 8004146: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 800414a: f023 0301 bic.w r3, r3, #1 - 800414e: f8c6 3090 str.w r3, [r6, #144] ; 0x90 - 8004152: 4607 mov r7, r0 - 8004154: f04f 48b0 mov.w r8, #1476395008 ; 0x58000000 - 8004158: f241 3688 movw r6, #5000 ; 0x1388 - 800415c: f8d8 3090 ldr.w r3, [r8, #144] ; 0x90 - 8004160: 079b lsls r3, r3, #30 - 8004162: d5bd bpl.n 80040e0 - 8004164: f7fd fbac bl 80018c0 - 8004168: 1bc3 subs r3, r0, r7 - 800416a: 42b3 cmp r3, r6 - 800416c: d9f6 bls.n 800415c - 800416e: e693 b.n 8003e98 - 8004170: f7fd fba6 bl 80018c0 - 8004174: 1bc0 subs r0, r0, r7 - 8004176: 4540 cmp r0, r8 - 8004178: d9df bls.n 800413a - 800417a: e68d b.n 8003e98 - 800417c: 2d0c cmp r5, #12 - 800417e: d04e beq.n 800421e - 8004180: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8004184: 2802 cmp r0, #2 - 8004186: 681a ldr r2, [r3, #0] - 8004188: f022 7280 bic.w r2, r2, #16777216 ; 0x1000000 - 800418c: 601a str r2, [r3, #0] - 800418e: d133 bne.n 80041f8 - 8004190: f7fd fb96 bl 80018c0 - 8004194: 4605 mov r5, r0 - 8004196: f7ff fcde bl 8003b56 - 800419a: bb38 cbnz r0, 80041ec - 800419c: e9d4 310c ldrd r3, r1, [r4, #48] ; 0x30 - 80041a0: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 80041a4: 430b orrs r3, r1 - 80041a6: 68d0 ldr r0, [r2, #12] - 80041a8: 492d ldr r1, [pc, #180] ; (8004260 ) - 80041aa: 4001 ands r1, r0 - 80041ac: 430b orrs r3, r1 - 80041ae: 6be1 ldr r1, [r4, #60] ; 0x3c - 80041b0: 430b orrs r3, r1 - 80041b2: 6c21 ldr r1, [r4, #64] ; 0x40 - 80041b4: 430b orrs r3, r1 - 80041b6: 6c61 ldr r1, [r4, #68] ; 0x44 + 8003fb6: 1bc3 subs r3, r0, r7 + 8003fb8: 2b02 cmp r3, #2 + 8003fba: d9ef bls.n 8003f9c + 8003fbc: e776 b.n 8003eac + 8003fbe: 6833 ldr r3, [r6, #0] + 8003fc0: f423 7380 bic.w r3, r3, #256 ; 0x100 + 8003fc4: 6033 str r3, [r6, #0] + 8003fc6: f7fd fc7b bl 80018c0 + 8003fca: 4607 mov r7, r0 + 8003fcc: 6833 ldr r3, [r6, #0] + 8003fce: 055b lsls r3, r3, #21 + 8003fd0: f57f af3a bpl.w 8003e48 + 8003fd4: f7fd fc74 bl 80018c0 + 8003fd8: 1bc3 subs r3, r0, r7 + 8003fda: 2b02 cmp r3, #2 + 8003fdc: d9f6 bls.n 8003fcc + 8003fde: e765 b.n 8003eac + 8003fe0: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003fe4: 69e1 ldr r1, [r4, #28] + 8003fe6: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 + 8003fea: f023 0310 bic.w r3, r3, #16 + 8003fee: 430b orrs r3, r1 + 8003ff0: f8c2 3094 str.w r3, [r2, #148] ; 0x94 + 8003ff4: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 + 8003ff8: f8d7 3094 ldr.w r3, [r7, #148] ; 0x94 + 8003ffc: f043 0301 orr.w r3, r3, #1 + 8004000: f8c7 3094 str.w r3, [r7, #148] ; 0x94 + 8004004: f7fd fc5c bl 80018c0 + 8004008: 4606 mov r6, r0 + 800400a: f8d7 3094 ldr.w r3, [r7, #148] ; 0x94 + 800400e: 079a lsls r2, r3, #30 + 8004010: d418 bmi.n 8004044 + 8004012: f7fd fc55 bl 80018c0 + 8004016: 1b83 subs r3, r0, r6 + 8004018: 2b11 cmp r3, #17 + 800401a: d9f6 bls.n 800400a + 800401c: e746 b.n 8003eac + 800401e: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 + 8004022: f023 0301 bic.w r3, r3, #1 + 8004026: f8c6 3094 str.w r3, [r6, #148] ; 0x94 + 800402a: f7fd fc49 bl 80018c0 + 800402e: 4607 mov r7, r0 + 8004030: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 + 8004034: 079b lsls r3, r3, #30 + 8004036: d505 bpl.n 8004044 + 8004038: f7fd fc42 bl 80018c0 + 800403c: 1bc3 subs r3, r0, r7 + 800403e: 2b11 cmp r3, #17 + 8004040: d9f6 bls.n 8004030 + 8004042: e733 b.n 8003eac + 8004044: 6823 ldr r3, [r4, #0] + 8004046: 0758 lsls r0, r3, #29 + 8004048: d554 bpl.n 80040f4 + 800404a: 4f0b ldr r7, [pc, #44] ; (8004078 ) + 800404c: 683b ldr r3, [r7, #0] + 800404e: 05d9 lsls r1, r3, #23 + 8004050: d414 bmi.n 800407c + 8004052: f7ff fcef bl 8003a34 + 8004056: f7fd fc33 bl 80018c0 + 800405a: 4606 mov r6, r0 + 800405c: 683b ldr r3, [r7, #0] + 800405e: 05da lsls r2, r3, #23 + 8004060: d40c bmi.n 800407c + 8004062: f7fd fc2d bl 80018c0 + 8004066: 1b83 subs r3, r0, r6 + 8004068: 2b02 cmp r3, #2 + 800406a: d9f7 bls.n 800405c + 800406c: e71e b.n 8003eac + 800406e: bf00 nop + 8004070: 20000074 .word 0x20000074 + 8004074: 20000078 .word 0x20000078 + 8004078: 58000400 .word 0x58000400 + 800407c: 68e3 ldr r3, [r4, #12] + 800407e: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8004082: 2b00 cmp r3, #0 + 8004084: d058 beq.n 8004138 + 8004086: f023 0380 bic.w r3, r3, #128 ; 0x80 + 800408a: 2b05 cmp r3, #5 + 800408c: bf02 ittt eq + 800408e: f8d6 3090 ldreq.w r3, [r6, #144] ; 0x90 + 8004092: f043 0304 orreq.w r3, r3, #4 + 8004096: f8c6 3090 streq.w r3, [r6, #144] ; 0x90 + 800409a: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 800409e: f7fd fc0f bl 80018c0 + 80040a2: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 80040a6: f043 0301 orr.w r3, r3, #1 + 80040aa: 4607 mov r7, r0 + 80040ac: f8c6 3090 str.w r3, [r6, #144] ; 0x90 + 80040b0: f241 3888 movw r8, #5000 ; 0x1388 + 80040b4: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 80040b8: 079b lsls r3, r3, #30 + 80040ba: d405 bmi.n 80040c8 + 80040bc: f7fd fc00 bl 80018c0 + 80040c0: 1bc3 subs r3, r0, r7 + 80040c2: 4543 cmp r3, r8 + 80040c4: d9f6 bls.n 80040b4 + 80040c6: e6f1 b.n 8003eac + 80040c8: 68e3 ldr r3, [r4, #12] + 80040ca: f023 0304 bic.w r3, r3, #4 + 80040ce: 2b81 cmp r3, #129 ; 0x81 + 80040d0: d11b bne.n 800410a + 80040d2: f7fd fbf5 bl 80018c0 + 80040d6: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 80040da: f043 0380 orr.w r3, r3, #128 ; 0x80 + 80040de: f8c6 3090 str.w r3, [r6, #144] ; 0x90 + 80040e2: 4607 mov r7, r0 + 80040e4: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 80040e8: f241 3888 movw r8, #5000 ; 0x1388 + 80040ec: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 80040f0: 0518 lsls r0, r3, #20 + 80040f2: d504 bpl.n 80040fe + 80040f4: 6ae0 ldr r0, [r4, #44] ; 0x2c + 80040f6: 2800 cmp r0, #0 + 80040f8: d14a bne.n 8004190 + 80040fa: 2000 movs r0, #0 + 80040fc: e668 b.n 8003dd0 + 80040fe: f7fd fbdf bl 80018c0 + 8004102: 1bc0 subs r0, r0, r7 + 8004104: 4540 cmp r0, r8 + 8004106: d9f1 bls.n 80040ec + 8004108: e6d0 b.n 8003eac + 800410a: f7fd fbd9 bl 80018c0 + 800410e: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8004112: f023 0380 bic.w r3, r3, #128 ; 0x80 + 8004116: f8c6 3090 str.w r3, [r6, #144] ; 0x90 + 800411a: 4607 mov r7, r0 + 800411c: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8004120: f241 3888 movw r8, #5000 ; 0x1388 + 8004124: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8004128: 0519 lsls r1, r3, #20 + 800412a: d5e3 bpl.n 80040f4 + 800412c: f7fd fbc8 bl 80018c0 + 8004130: 1bc0 subs r0, r0, r7 + 8004132: 4540 cmp r0, r8 + 8004134: d9f6 bls.n 8004124 + 8004136: e6b9 b.n 8003eac + 8004138: f7fd fbc2 bl 80018c0 + 800413c: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8004140: f023 0380 bic.w r3, r3, #128 ; 0x80 + 8004144: 4607 mov r7, r0 + 8004146: f8c6 3090 str.w r3, [r6, #144] ; 0x90 + 800414a: f241 3888 movw r8, #5000 ; 0x1388 + 800414e: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8004152: 051a lsls r2, r3, #20 + 8004154: d416 bmi.n 8004184 + 8004156: f7fd fbb3 bl 80018c0 + 800415a: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 800415e: f023 0301 bic.w r3, r3, #1 + 8004162: f8c6 3090 str.w r3, [r6, #144] ; 0x90 + 8004166: 4607 mov r7, r0 + 8004168: f04f 48b0 mov.w r8, #1476395008 ; 0x58000000 + 800416c: f241 3688 movw r6, #5000 ; 0x1388 + 8004170: f8d8 3090 ldr.w r3, [r8, #144] ; 0x90 + 8004174: 079b lsls r3, r3, #30 + 8004176: d5bd bpl.n 80040f4 + 8004178: f7fd fba2 bl 80018c0 + 800417c: 1bc3 subs r3, r0, r7 + 800417e: 42b3 cmp r3, r6 + 8004180: d9f6 bls.n 8004170 + 8004182: e693 b.n 8003eac + 8004184: f7fd fb9c bl 80018c0 + 8004188: 1bc0 subs r0, r0, r7 + 800418a: 4540 cmp r0, r8 + 800418c: d9df bls.n 800414e + 800418e: e68d b.n 8003eac + 8004190: 2d0c cmp r5, #12 + 8004192: d04e beq.n 8004232 + 8004194: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8004198: 2802 cmp r0, #2 + 800419a: 681a ldr r2, [r3, #0] + 800419c: f022 7280 bic.w r2, r2, #16777216 ; 0x1000000 + 80041a0: 601a str r2, [r3, #0] + 80041a2: d133 bne.n 800420c + 80041a4: f7fd fb8c bl 80018c0 + 80041a8: 4605 mov r5, r0 + 80041aa: f7ff fcde bl 8003b6a + 80041ae: bb38 cbnz r0, 8004200 + 80041b0: e9d4 310c ldrd r3, r1, [r4, #48] ; 0x30 + 80041b4: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 80041b8: 430b orrs r3, r1 - 80041ba: 6ba1 ldr r1, [r4, #56] ; 0x38 - 80041bc: ea43 2301 orr.w r3, r3, r1, lsl #8 - 80041c0: 60d3 str r3, [r2, #12] - 80041c2: 6813 ldr r3, [r2, #0] - 80041c4: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 - 80041c8: 6013 str r3, [r2, #0] - 80041ca: 68d3 ldr r3, [r2, #12] - 80041cc: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 - 80041d0: 60d3 str r3, [r2, #12] - 80041d2: f7fd fb75 bl 80018c0 - 80041d6: 4604 mov r4, r0 - 80041d8: f7ff fcbd bl 8003b56 - 80041dc: 2800 cmp r0, #0 - 80041de: d182 bne.n 80040e6 - 80041e0: f7fd fb6e bl 80018c0 - 80041e4: 1b00 subs r0, r0, r4 - 80041e6: 280a cmp r0, #10 - 80041e8: d9f6 bls.n 80041d8 - 80041ea: e655 b.n 8003e98 - 80041ec: f7fd fb68 bl 80018c0 - 80041f0: 1b40 subs r0, r0, r5 - 80041f2: 280a cmp r0, #10 - 80041f4: d9cf bls.n 8004196 - 80041f6: e64f b.n 8003e98 - 80041f8: f7fd fb62 bl 80018c0 - 80041fc: 4604 mov r4, r0 - 80041fe: f7ff fcaa bl 8003b56 - 8004202: b930 cbnz r0, 8004212 - 8004204: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8004208: 4b16 ldr r3, [pc, #88] ; (8004264 ) - 800420a: 68d1 ldr r1, [r2, #12] - 800420c: 400b ands r3, r1 - 800420e: 60d3 str r3, [r2, #12] - 8004210: e5d4 b.n 8003dbc - 8004212: f7fd fb55 bl 80018c0 - 8004216: 1b00 subs r0, r0, r4 - 8004218: 280a cmp r0, #10 - 800421a: d9f0 bls.n 80041fe - 800421c: e63c b.n 8003e98 - 800421e: 2801 cmp r0, #1 - 8004220: f43f adcc beq.w 8003dbc - 8004224: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8004228: 6b22 ldr r2, [r4, #48] ; 0x30 - 800422a: 68db ldr r3, [r3, #12] - 800422c: f003 0103 and.w r1, r3, #3 - 8004230: 4291 cmp r1, r2 - 8004232: f47f add8 bne.w 8003de6 - 8004236: 6b61 ldr r1, [r4, #52] ; 0x34 - 8004238: f003 0270 and.w r2, r3, #112 ; 0x70 - 800423c: 428a cmp r2, r1 - 800423e: f47f add2 bne.w 8003de6 - 8004242: 6ba1 ldr r1, [r4, #56] ; 0x38 - 8004244: f403 42fe and.w r2, r3, #32512 ; 0x7f00 - 8004248: ebb2 2f01 cmp.w r2, r1, lsl #8 - 800424c: f47f adcb bne.w 8003de6 - 8004250: 6c62 ldr r2, [r4, #68] ; 0x44 - 8004252: f003 4360 and.w r3, r3, #3758096384 ; 0xe0000000 - 8004256: 4293 cmp r3, r2 - 8004258: f43f af45 beq.w 80040e6 - 800425c: e5c3 b.n 8003de6 - 800425e: bf00 nop - 8004260: 11c1808c .word 0x11c1808c - 8004264: eefefffc .word 0xeefefffc + 80041ba: 68d0 ldr r0, [r2, #12] + 80041bc: 492d ldr r1, [pc, #180] ; (8004274 ) + 80041be: 4001 ands r1, r0 + 80041c0: 430b orrs r3, r1 + 80041c2: 6be1 ldr r1, [r4, #60] ; 0x3c + 80041c4: 430b orrs r3, r1 + 80041c6: 6c21 ldr r1, [r4, #64] ; 0x40 + 80041c8: 430b orrs r3, r1 + 80041ca: 6c61 ldr r1, [r4, #68] ; 0x44 + 80041cc: 430b orrs r3, r1 + 80041ce: 6ba1 ldr r1, [r4, #56] ; 0x38 + 80041d0: ea43 2301 orr.w r3, r3, r1, lsl #8 + 80041d4: 60d3 str r3, [r2, #12] + 80041d6: 6813 ldr r3, [r2, #0] + 80041d8: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 + 80041dc: 6013 str r3, [r2, #0] + 80041de: 68d3 ldr r3, [r2, #12] + 80041e0: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 + 80041e4: 60d3 str r3, [r2, #12] + 80041e6: f7fd fb6b bl 80018c0 + 80041ea: 4604 mov r4, r0 + 80041ec: f7ff fcbd bl 8003b6a + 80041f0: 2800 cmp r0, #0 + 80041f2: d182 bne.n 80040fa + 80041f4: f7fd fb64 bl 80018c0 + 80041f8: 1b00 subs r0, r0, r4 + 80041fa: 280a cmp r0, #10 + 80041fc: d9f6 bls.n 80041ec + 80041fe: e655 b.n 8003eac + 8004200: f7fd fb5e bl 80018c0 + 8004204: 1b40 subs r0, r0, r5 + 8004206: 280a cmp r0, #10 + 8004208: d9cf bls.n 80041aa + 800420a: e64f b.n 8003eac + 800420c: f7fd fb58 bl 80018c0 + 8004210: 4604 mov r4, r0 + 8004212: f7ff fcaa bl 8003b6a + 8004216: b930 cbnz r0, 8004226 + 8004218: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 800421c: 4b16 ldr r3, [pc, #88] ; (8004278 ) + 800421e: 68d1 ldr r1, [r2, #12] + 8004220: 400b ands r3, r1 + 8004222: 60d3 str r3, [r2, #12] + 8004224: e5d4 b.n 8003dd0 + 8004226: f7fd fb4b bl 80018c0 + 800422a: 1b00 subs r0, r0, r4 + 800422c: 280a cmp r0, #10 + 800422e: d9f0 bls.n 8004212 + 8004230: e63c b.n 8003eac + 8004232: 2801 cmp r0, #1 + 8004234: f43f adcc beq.w 8003dd0 + 8004238: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 800423c: 6b22 ldr r2, [r4, #48] ; 0x30 + 800423e: 68db ldr r3, [r3, #12] + 8004240: f003 0103 and.w r1, r3, #3 + 8004244: 4291 cmp r1, r2 + 8004246: f47f add8 bne.w 8003dfa + 800424a: 6b61 ldr r1, [r4, #52] ; 0x34 + 800424c: f003 0270 and.w r2, r3, #112 ; 0x70 + 8004250: 428a cmp r2, r1 + 8004252: f47f add2 bne.w 8003dfa + 8004256: 6ba1 ldr r1, [r4, #56] ; 0x38 + 8004258: f403 42fe and.w r2, r3, #32512 ; 0x7f00 + 800425c: ebb2 2f01 cmp.w r2, r1, lsl #8 + 8004260: f47f adcb bne.w 8003dfa + 8004264: 6c62 ldr r2, [r4, #68] ; 0x44 + 8004266: f003 4360 and.w r3, r3, #3758096384 ; 0xe0000000 + 800426a: 4293 cmp r3, r2 + 800426c: f43f af45 beq.w 80040fa + 8004270: e5c3 b.n 8003dfa + 8004272: bf00 nop + 8004274: 11c1808c .word 0x11c1808c + 8004278: eefefffc .word 0xeefefffc -08004268 : - 8004268: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800426c: 460d mov r5, r1 - 800426e: 4604 mov r4, r0 - 8004270: b910 cbnz r0, 8004278 - 8004272: 2001 movs r0, #1 - 8004274: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8004278: 4e68 ldr r6, [pc, #416] ; (800441c ) - 800427a: 6833 ldr r3, [r6, #0] - 800427c: f003 0307 and.w r3, r3, #7 - 8004280: 428b cmp r3, r1 - 8004282: d316 bcc.n 80042b2 - 8004284: 6823 ldr r3, [r4, #0] - 8004286: 079a lsls r2, r3, #30 - 8004288: d527 bpl.n 80042da - 800428a: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 - 800428e: 68a2 ldr r2, [r4, #8] - 8004290: 68bb ldr r3, [r7, #8] - 8004292: f023 03f0 bic.w r3, r3, #240 ; 0xf0 - 8004296: 4313 orrs r3, r2 - 8004298: 60bb str r3, [r7, #8] - 800429a: f7fd fb11 bl 80018c0 - 800429e: 4606 mov r6, r0 - 80042a0: 68bb ldr r3, [r7, #8] - 80042a2: 03db lsls r3, r3, #15 - 80042a4: d419 bmi.n 80042da - 80042a6: f7fd fb0b bl 80018c0 - 80042aa: 1b83 subs r3, r0, r6 - 80042ac: 2b02 cmp r3, #2 - 80042ae: d9f7 bls.n 80042a0 - 80042b0: e011 b.n 80042d6 - 80042b2: 6833 ldr r3, [r6, #0] - 80042b4: f023 0307 bic.w r3, r3, #7 - 80042b8: 430b orrs r3, r1 - 80042ba: 6033 str r3, [r6, #0] - 80042bc: f7fd fb00 bl 80018c0 - 80042c0: 4607 mov r7, r0 - 80042c2: 6833 ldr r3, [r6, #0] - 80042c4: f003 0307 and.w r3, r3, #7 - 80042c8: 42ab cmp r3, r5 - 80042ca: d0db beq.n 8004284 - 80042cc: f7fd faf8 bl 80018c0 - 80042d0: 1bc0 subs r0, r0, r7 - 80042d2: 2802 cmp r0, #2 - 80042d4: d9f5 bls.n 80042c2 - 80042d6: 2003 movs r0, #3 - 80042d8: e7cc b.n 8004274 - 80042da: 6823 ldr r3, [r4, #0] - 80042dc: 0658 lsls r0, r3, #25 - 80042de: d517 bpl.n 8004310 - 80042e0: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 - 80042e4: 6962 ldr r2, [r4, #20] - 80042e6: f8d7 3108 ldr.w r3, [r7, #264] ; 0x108 - 80042ea: f023 030f bic.w r3, r3, #15 - 80042ee: ea43 1312 orr.w r3, r3, r2, lsr #4 - 80042f2: f8c7 3108 str.w r3, [r7, #264] ; 0x108 - 80042f6: f7fd fae3 bl 80018c0 - 80042fa: 4606 mov r6, r0 - 80042fc: f8d7 3108 ldr.w r3, [r7, #264] ; 0x108 - 8004300: 03d9 lsls r1, r3, #15 - 8004302: d405 bmi.n 8004310 - 8004304: f7fd fadc bl 80018c0 - 8004308: 1b83 subs r3, r0, r6 - 800430a: 2b02 cmp r3, #2 - 800430c: d9f6 bls.n 80042fc - 800430e: e7e2 b.n 80042d6 - 8004310: 6823 ldr r3, [r4, #0] - 8004312: 075a lsls r2, r3, #29 - 8004314: d513 bpl.n 800433e - 8004316: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 - 800431a: 68e2 ldr r2, [r4, #12] - 800431c: 68bb ldr r3, [r7, #8] - 800431e: f423 63e0 bic.w r3, r3, #1792 ; 0x700 - 8004322: 4313 orrs r3, r2 - 8004324: 60bb str r3, [r7, #8] - 8004326: f7fd facb bl 80018c0 - 800432a: 4606 mov r6, r0 - 800432c: 68bb ldr r3, [r7, #8] - 800432e: 039b lsls r3, r3, #14 - 8004330: d405 bmi.n 800433e - 8004332: f7fd fac5 bl 80018c0 - 8004336: 1b83 subs r3, r0, r6 - 8004338: 2b02 cmp r3, #2 - 800433a: d9f7 bls.n 800432c - 800433c: e7cb b.n 80042d6 - 800433e: 6823 ldr r3, [r4, #0] - 8004340: 0718 lsls r0, r3, #28 - 8004342: d514 bpl.n 800436e - 8004344: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 - 8004348: 6922 ldr r2, [r4, #16] - 800434a: 68bb ldr r3, [r7, #8] - 800434c: f423 5360 bic.w r3, r3, #14336 ; 0x3800 - 8004350: ea43 03c2 orr.w r3, r3, r2, lsl #3 - 8004354: 60bb str r3, [r7, #8] - 8004356: f7fd fab3 bl 80018c0 - 800435a: 4606 mov r6, r0 - 800435c: 68bb ldr r3, [r7, #8] - 800435e: 0359 lsls r1, r3, #13 - 8004360: d405 bmi.n 800436e - 8004362: f7fd faad bl 80018c0 - 8004366: 1b83 subs r3, r0, r6 - 8004368: 2b02 cmp r3, #2 - 800436a: d9f7 bls.n 800435c - 800436c: e7b3 b.n 80042d6 - 800436e: 6823 ldr r3, [r4, #0] - 8004370: 07da lsls r2, r3, #31 - 8004372: d40f bmi.n 8004394 - 8004374: 4c29 ldr r4, [pc, #164] ; (800441c ) - 8004376: 6823 ldr r3, [r4, #0] - 8004378: f003 0307 and.w r3, r3, #7 - 800437c: 42ab cmp r3, r5 - 800437e: d839 bhi.n 80043f4 - 8004380: f7ff fcc8 bl 8003d14 - 8004384: 4b26 ldr r3, [pc, #152] ; (8004420 ) - 8004386: 6018 str r0, [r3, #0] - 8004388: 4b26 ldr r3, [pc, #152] ; (8004424 ) - 800438a: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 800438e: 6818 ldr r0, [r3, #0] - 8004390: f7fd ba94 b.w 80018bc - 8004394: 6862 ldr r2, [r4, #4] - 8004396: 2a02 cmp r2, #2 - 8004398: d11d bne.n 80043d6 - 800439a: f7ff fbc7 bl 8003b2c - 800439e: 2800 cmp r0, #0 - 80043a0: f43f af67 beq.w 8004272 - 80043a4: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 80043a8: f241 3888 movw r8, #5000 ; 0x1388 - 80043ac: 68b3 ldr r3, [r6, #8] - 80043ae: f023 0303 bic.w r3, r3, #3 - 80043b2: 4313 orrs r3, r2 - 80043b4: 60b3 str r3, [r6, #8] - 80043b6: f7fd fa83 bl 80018c0 - 80043ba: 4607 mov r7, r0 - 80043bc: 68b3 ldr r3, [r6, #8] - 80043be: 6862 ldr r2, [r4, #4] - 80043c0: f003 030c and.w r3, r3, #12 - 80043c4: ebb3 0f82 cmp.w r3, r2, lsl #2 - 80043c8: d0d4 beq.n 8004374 +0800427c : + 800427c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8004280: 460d mov r5, r1 + 8004282: 4604 mov r4, r0 + 8004284: b910 cbnz r0, 800428c + 8004286: 2001 movs r0, #1 + 8004288: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800428c: 4e68 ldr r6, [pc, #416] ; (8004430 ) + 800428e: 6833 ldr r3, [r6, #0] + 8004290: f003 0307 and.w r3, r3, #7 + 8004294: 428b cmp r3, r1 + 8004296: d316 bcc.n 80042c6 + 8004298: 6823 ldr r3, [r4, #0] + 800429a: 079a lsls r2, r3, #30 + 800429c: d527 bpl.n 80042ee + 800429e: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 + 80042a2: 68a2 ldr r2, [r4, #8] + 80042a4: 68bb ldr r3, [r7, #8] + 80042a6: f023 03f0 bic.w r3, r3, #240 ; 0xf0 + 80042aa: 4313 orrs r3, r2 + 80042ac: 60bb str r3, [r7, #8] + 80042ae: f7fd fb07 bl 80018c0 + 80042b2: 4606 mov r6, r0 + 80042b4: 68bb ldr r3, [r7, #8] + 80042b6: 03db lsls r3, r3, #15 + 80042b8: d419 bmi.n 80042ee + 80042ba: f7fd fb01 bl 80018c0 + 80042be: 1b83 subs r3, r0, r6 + 80042c0: 2b02 cmp r3, #2 + 80042c2: d9f7 bls.n 80042b4 + 80042c4: e011 b.n 80042ea + 80042c6: 6833 ldr r3, [r6, #0] + 80042c8: f023 0307 bic.w r3, r3, #7 + 80042cc: 430b orrs r3, r1 + 80042ce: 6033 str r3, [r6, #0] + 80042d0: f7fd faf6 bl 80018c0 + 80042d4: 4607 mov r7, r0 + 80042d6: 6833 ldr r3, [r6, #0] + 80042d8: f003 0307 and.w r3, r3, #7 + 80042dc: 42ab cmp r3, r5 + 80042de: d0db beq.n 8004298 + 80042e0: f7fd faee bl 80018c0 + 80042e4: 1bc0 subs r0, r0, r7 + 80042e6: 2802 cmp r0, #2 + 80042e8: d9f5 bls.n 80042d6 + 80042ea: 2003 movs r0, #3 + 80042ec: e7cc b.n 8004288 + 80042ee: 6823 ldr r3, [r4, #0] + 80042f0: 0658 lsls r0, r3, #25 + 80042f2: d517 bpl.n 8004324 + 80042f4: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 + 80042f8: 6962 ldr r2, [r4, #20] + 80042fa: f8d7 3108 ldr.w r3, [r7, #264] ; 0x108 + 80042fe: f023 030f bic.w r3, r3, #15 + 8004302: ea43 1312 orr.w r3, r3, r2, lsr #4 + 8004306: f8c7 3108 str.w r3, [r7, #264] ; 0x108 + 800430a: f7fd fad9 bl 80018c0 + 800430e: 4606 mov r6, r0 + 8004310: f8d7 3108 ldr.w r3, [r7, #264] ; 0x108 + 8004314: 03d9 lsls r1, r3, #15 + 8004316: d405 bmi.n 8004324 + 8004318: f7fd fad2 bl 80018c0 + 800431c: 1b83 subs r3, r0, r6 + 800431e: 2b02 cmp r3, #2 + 8004320: d9f6 bls.n 8004310 + 8004322: e7e2 b.n 80042ea + 8004324: 6823 ldr r3, [r4, #0] + 8004326: 075a lsls r2, r3, #29 + 8004328: d513 bpl.n 8004352 + 800432a: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 + 800432e: 68e2 ldr r2, [r4, #12] + 8004330: 68bb ldr r3, [r7, #8] + 8004332: f423 63e0 bic.w r3, r3, #1792 ; 0x700 + 8004336: 4313 orrs r3, r2 + 8004338: 60bb str r3, [r7, #8] + 800433a: f7fd fac1 bl 80018c0 + 800433e: 4606 mov r6, r0 + 8004340: 68bb ldr r3, [r7, #8] + 8004342: 039b lsls r3, r3, #14 + 8004344: d405 bmi.n 8004352 + 8004346: f7fd fabb bl 80018c0 + 800434a: 1b83 subs r3, r0, r6 + 800434c: 2b02 cmp r3, #2 + 800434e: d9f7 bls.n 8004340 + 8004350: e7cb b.n 80042ea + 8004352: 6823 ldr r3, [r4, #0] + 8004354: 0718 lsls r0, r3, #28 + 8004356: d514 bpl.n 8004382 + 8004358: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 + 800435c: 6922 ldr r2, [r4, #16] + 800435e: 68bb ldr r3, [r7, #8] + 8004360: f423 5360 bic.w r3, r3, #14336 ; 0x3800 + 8004364: ea43 03c2 orr.w r3, r3, r2, lsl #3 + 8004368: 60bb str r3, [r7, #8] + 800436a: f7fd faa9 bl 80018c0 + 800436e: 4606 mov r6, r0 + 8004370: 68bb ldr r3, [r7, #8] + 8004372: 0359 lsls r1, r3, #13 + 8004374: d405 bmi.n 8004382 + 8004376: f7fd faa3 bl 80018c0 + 800437a: 1b83 subs r3, r0, r6 + 800437c: 2b02 cmp r3, #2 + 800437e: d9f7 bls.n 8004370 + 8004380: e7b3 b.n 80042ea + 8004382: 6823 ldr r3, [r4, #0] + 8004384: 07da lsls r2, r3, #31 + 8004386: d40f bmi.n 80043a8 + 8004388: 4c29 ldr r4, [pc, #164] ; (8004430 ) + 800438a: 6823 ldr r3, [r4, #0] + 800438c: f003 0307 and.w r3, r3, #7 + 8004390: 42ab cmp r3, r5 + 8004392: d839 bhi.n 8004408 + 8004394: f7ff fcc8 bl 8003d28 + 8004398: 4b26 ldr r3, [pc, #152] ; (8004434 ) + 800439a: 6018 str r0, [r3, #0] + 800439c: 4b26 ldr r3, [pc, #152] ; (8004438 ) + 800439e: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 80043a2: 6818 ldr r0, [r3, #0] + 80043a4: f7fd ba8a b.w 80018bc + 80043a8: 6862 ldr r2, [r4, #4] + 80043aa: 2a02 cmp r2, #2 + 80043ac: d11d bne.n 80043ea + 80043ae: f7ff fbc7 bl 8003b40 + 80043b2: 2800 cmp r0, #0 + 80043b4: f43f af67 beq.w 8004286 + 80043b8: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 80043bc: f241 3888 movw r8, #5000 ; 0x1388 + 80043c0: 68b3 ldr r3, [r6, #8] + 80043c2: f023 0303 bic.w r3, r3, #3 + 80043c6: 4313 orrs r3, r2 + 80043c8: 60b3 str r3, [r6, #8] 80043ca: f7fd fa79 bl 80018c0 - 80043ce: 1bc0 subs r0, r0, r7 - 80043d0: 4540 cmp r0, r8 - 80043d2: d9f3 bls.n 80043bc - 80043d4: e77f b.n 80042d6 - 80043d6: 2a03 cmp r2, #3 - 80043d8: d102 bne.n 80043e0 - 80043da: f7ff fbbc bl 8003b56 - 80043de: e7de b.n 800439e - 80043e0: b912 cbnz r2, 80043e8 - 80043e2: f7ff fba9 bl 8003b38 - 80043e6: e7da b.n 800439e - 80043e8: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 80043ec: 681b ldr r3, [r3, #0] - 80043ee: 055b lsls r3, r3, #21 - 80043f0: d4d8 bmi.n 80043a4 - 80043f2: e73e b.n 8004272 - 80043f4: 6823 ldr r3, [r4, #0] - 80043f6: f023 0307 bic.w r3, r3, #7 - 80043fa: 432b orrs r3, r5 - 80043fc: 6023 str r3, [r4, #0] - 80043fe: f7fd fa5f bl 80018c0 - 8004402: 4606 mov r6, r0 - 8004404: 6823 ldr r3, [r4, #0] - 8004406: f003 0307 and.w r3, r3, #7 - 800440a: 42ab cmp r3, r5 - 800440c: d0b8 beq.n 8004380 - 800440e: f7fd fa57 bl 80018c0 - 8004412: 1b80 subs r0, r0, r6 - 8004414: 2802 cmp r0, #2 - 8004416: d9f5 bls.n 8004404 - 8004418: e75d b.n 80042d6 - 800441a: bf00 nop - 800441c: 58004000 .word 0x58004000 - 8004420: 20000074 .word 0x20000074 - 8004424: 20000078 .word 0x20000078 + 80043ce: 4607 mov r7, r0 + 80043d0: 68b3 ldr r3, [r6, #8] + 80043d2: 6862 ldr r2, [r4, #4] + 80043d4: f003 030c and.w r3, r3, #12 + 80043d8: ebb3 0f82 cmp.w r3, r2, lsl #2 + 80043dc: d0d4 beq.n 8004388 + 80043de: f7fd fa6f bl 80018c0 + 80043e2: 1bc0 subs r0, r0, r7 + 80043e4: 4540 cmp r0, r8 + 80043e6: d9f3 bls.n 80043d0 + 80043e8: e77f b.n 80042ea + 80043ea: 2a03 cmp r2, #3 + 80043ec: d102 bne.n 80043f4 + 80043ee: f7ff fbbc bl 8003b6a + 80043f2: e7de b.n 80043b2 + 80043f4: b912 cbnz r2, 80043fc + 80043f6: f7ff fba9 bl 8003b4c + 80043fa: e7da b.n 80043b2 + 80043fc: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8004400: 681b ldr r3, [r3, #0] + 8004402: 055b lsls r3, r3, #21 + 8004404: d4d8 bmi.n 80043b8 + 8004406: e73e b.n 8004286 + 8004408: 6823 ldr r3, [r4, #0] + 800440a: f023 0307 bic.w r3, r3, #7 + 800440e: 432b orrs r3, r5 + 8004410: 6023 str r3, [r4, #0] + 8004412: f7fd fa55 bl 80018c0 + 8004416: 4606 mov r6, r0 + 8004418: 6823 ldr r3, [r4, #0] + 800441a: f003 0307 and.w r3, r3, #7 + 800441e: 42ab cmp r3, r5 + 8004420: d0b8 beq.n 8004394 + 8004422: f7fd fa4d bl 80018c0 + 8004426: 1b80 subs r0, r0, r6 + 8004428: 2802 cmp r0, #2 + 800442a: d9f5 bls.n 8004418 + 800442c: e75d b.n 80042ea + 800442e: bf00 nop + 8004430: 58004000 .word 0x58004000 + 8004434: 20000074 .word 0x20000074 + 8004438: 20000078 .word 0x20000078 -08004428 : - 8004428: b508 push {r3, lr} - 800442a: f7ff fc73 bl 8003d14 - 800442e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8004432: 4a04 ldr r2, [pc, #16] ; (8004444 ) - 8004434: 689b ldr r3, [r3, #8] - 8004436: f3c3 2302 ubfx r3, r3, #8, #3 - 800443a: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 800443e: 40d8 lsrs r0, r3 - 8004440: bd08 pop {r3, pc} - 8004442: bf00 nop - 8004444: 0800f9bc .word 0x0800f9bc +0800443c : + 800443c: b508 push {r3, lr} + 800443e: f7ff fc73 bl 8003d28 + 8004442: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8004446: 4a04 ldr r2, [pc, #16] ; (8004458 ) + 8004448: 689b ldr r3, [r3, #8] + 800444a: f3c3 2302 ubfx r3, r3, #8, #3 + 800444e: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8004452: 40d8 lsrs r0, r3 + 8004454: bd08 pop {r3, pc} + 8004456: bf00 nop + 8004458: 0800f9d4 .word 0x0800f9d4 -08004448 : - 8004448: b508 push {r3, lr} - 800444a: f7ff fc63 bl 8003d14 - 800444e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8004452: 4a04 ldr r2, [pc, #16] ; (8004464 ) - 8004454: 689b ldr r3, [r3, #8] - 8004456: f3c3 23c2 ubfx r3, r3, #11, #3 - 800445a: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 800445e: 40d8 lsrs r0, r3 - 8004460: bd08 pop {r3, pc} - 8004462: bf00 nop - 8004464: 0800f9bc .word 0x0800f9bc +0800445c : + 800445c: b508 push {r3, lr} + 800445e: f7ff fc63 bl 8003d28 + 8004462: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8004466: 4a04 ldr r2, [pc, #16] ; (8004478 ) + 8004468: 689b ldr r3, [r3, #8] + 800446a: f3c3 23c2 ubfx r3, r3, #11, #3 + 800446e: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8004472: 40d8 lsrs r0, r3 + 8004474: bd08 pop {r3, pc} + 8004476: bf00 nop + 8004478: 0800f9d4 .word 0x0800f9d4 -08004468 : - 8004468: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 800446c: f8d3 0090 ldr.w r0, [r3, #144] ; 0x90 - 8004470: f3c0 0040 ubfx r0, r0, #1, #1 - 8004474: 4770 bx lr +0800447c : + 800447c: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8004480: f8d3 0090 ldr.w r0, [r3, #144] ; 0x90 + 8004484: f3c0 0040 ubfx r0, r0, #1, #1 + 8004488: 4770 bx lr -08004476 : - 8004476: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 800447a: 0902 lsrs r2, r0, #4 - 800447c: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 - 8004480: f402 227f and.w r2, r2, #1044480 ; 0xff000 - 8004484: 0100 lsls r0, r0, #4 - 8004486: ea23 0302 bic.w r3, r3, r2 - 800448a: f400 207f and.w r0, r0, #1044480 ; 0xff000 - 800448e: 4303 orrs r3, r0 - 8004490: f8c1 3088 str.w r3, [r1, #136] ; 0x88 - 8004494: 4770 bx lr +0800448a : + 800448a: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 800448e: 0902 lsrs r2, r0, #4 + 8004490: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 + 8004494: f402 227f and.w r2, r2, #1044480 ; 0xff000 + 8004498: 0100 lsls r0, r0, #4 + 800449a: ea23 0302 bic.w r3, r3, r2 + 800449e: f400 207f and.w r0, r0, #1044480 ; 0xff000 + 80044a2: 4303 orrs r3, r0 + 80044a4: f8c1 3088 str.w r3, [r1, #136] ; 0x88 + 80044a8: 4770 bx lr -08004496 : - 8004496: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 800449a: 0c02 lsrs r2, r0, #16 - 800449c: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 - 80044a0: 0412 lsls r2, r2, #16 - 80044a2: ea23 0302 bic.w r3, r3, r2 - 80044a6: ea43 4000 orr.w r0, r3, r0, lsl #16 - 80044aa: f8c1 0088 str.w r0, [r1, #136] ; 0x88 - 80044ae: 4770 bx lr +080044aa : + 80044aa: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 80044ae: 0c02 lsrs r2, r0, #16 + 80044b0: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 + 80044b4: 0412 lsls r2, r2, #16 + 80044b6: ea23 0302 bic.w r3, r3, r2 + 80044ba: ea43 4000 orr.w r0, r3, r0, lsl #16 + 80044be: f8c1 0088 str.w r0, [r1, #136] ; 0x88 + 80044c2: 4770 bx lr -080044b0 : - 80044b0: b570 push {r4, r5, r6, lr} - 80044b2: 6806 ldr r6, [r0, #0] - 80044b4: f416 3680 ands.w r6, r6, #65536 ; 0x10000 - 80044b8: 4604 mov r4, r0 - 80044ba: d038 beq.n 800452e - 80044bc: f7ff fab0 bl 8003a20 - 80044c0: f7fd f9fe bl 80018c0 - 80044c4: 4e61 ldr r6, [pc, #388] ; (800464c ) - 80044c6: 4605 mov r5, r0 - 80044c8: 6833 ldr r3, [r6, #0] - 80044ca: 05db lsls r3, r3, #23 - 80044cc: d529 bpl.n 8004522 - 80044ce: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 80044d2: 6b61 ldr r1, [r4, #52] ; 0x34 - 80044d4: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 - 80044d8: f402 7240 and.w r2, r2, #768 ; 0x300 - 80044dc: 4291 cmp r1, r2 - 80044de: d014 beq.n 800450a - 80044e0: f8d3 1090 ldr.w r1, [r3, #144] ; 0x90 - 80044e4: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 - 80044e8: f442 3280 orr.w r2, r2, #65536 ; 0x10000 - 80044ec: f8c3 2090 str.w r2, [r3, #144] ; 0x90 - 80044f0: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 - 80044f4: f421 7040 bic.w r0, r1, #768 ; 0x300 - 80044f8: f422 3280 bic.w r2, r2, #65536 ; 0x10000 - 80044fc: 078d lsls r5, r1, #30 - 80044fe: f8c3 2090 str.w r2, [r3, #144] ; 0x90 - 8004502: f8c3 0090 str.w r0, [r3, #144] ; 0x90 - 8004506: f100 8090 bmi.w 800462a - 800450a: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 800450e: 6b61 ldr r1, [r4, #52] ; 0x34 - 8004510: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 - 8004514: f423 7340 bic.w r3, r3, #768 ; 0x300 - 8004518: 430b orrs r3, r1 - 800451a: f8c2 3090 str.w r3, [r2, #144] ; 0x90 - 800451e: 2600 movs r6, #0 - 8004520: e005 b.n 800452e - 8004522: f7fd f9cd bl 80018c0 - 8004526: 1b40 subs r0, r0, r5 - 8004528: 2802 cmp r0, #2 - 800452a: d9cd bls.n 80044c8 - 800452c: 2603 movs r6, #3 - 800452e: 6825 ldr r5, [r4, #0] - 8004530: 07e8 lsls r0, r5, #31 - 8004532: d50a bpl.n 800454a - 8004534: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 8004538: 6862 ldr r2, [r4, #4] - 800453a: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 - 800453e: ea23 4312 bic.w r3, r3, r2, lsr #16 - 8004542: b292 uxth r2, r2 - 8004544: 4313 orrs r3, r2 - 8004546: f8c1 3088 str.w r3, [r1, #136] ; 0x88 - 800454a: 07a9 lsls r1, r5, #30 - 800454c: d50a bpl.n 8004564 - 800454e: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 8004552: 68a2 ldr r2, [r4, #8] - 8004554: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 - 8004558: ea23 4312 bic.w r3, r3, r2, lsr #16 - 800455c: b292 uxth r2, r2 - 800455e: 4313 orrs r3, r2 - 8004560: f8c1 3088 str.w r3, [r1, #136] ; 0x88 - 8004564: 06aa lsls r2, r5, #26 - 8004566: d509 bpl.n 800457c - 8004568: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 800456c: 6921 ldr r1, [r4, #16] - 800456e: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 - 8004572: f423 6340 bic.w r3, r3, #3072 ; 0xc00 - 8004576: 430b orrs r3, r1 - 8004578: f8c2 3088 str.w r3, [r2, #136] ; 0x88 - 800457c: 05ab lsls r3, r5, #22 - 800457e: d502 bpl.n 8004586 - 8004580: 6a20 ldr r0, [r4, #32] - 8004582: f7ff ff88 bl 8004496 - 8004586: 0568 lsls r0, r5, #21 - 8004588: d502 bpl.n 8004590 - 800458a: 6a60 ldr r0, [r4, #36] ; 0x24 - 800458c: f7ff ff83 bl 8004496 - 8004590: 0529 lsls r1, r5, #20 - 8004592: d502 bpl.n 800459a - 8004594: 6aa0 ldr r0, [r4, #40] ; 0x28 - 8004596: f7ff ff7e bl 8004496 - 800459a: 066a lsls r2, r5, #25 - 800459c: d502 bpl.n 80045a4 - 800459e: 6960 ldr r0, [r4, #20] - 80045a0: f7ff ff69 bl 8004476 - 80045a4: 062b lsls r3, r5, #24 - 80045a6: d502 bpl.n 80045ae - 80045a8: 69a0 ldr r0, [r4, #24] - 80045aa: f7ff ff64 bl 8004476 - 80045ae: 05e8 lsls r0, r5, #23 - 80045b0: d502 bpl.n 80045b8 - 80045b2: 69e0 ldr r0, [r4, #28] - 80045b4: f7ff ff5f bl 8004476 - 80045b8: 06e9 lsls r1, r5, #27 - 80045ba: d510 bpl.n 80045de - 80045bc: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 80045c0: 68e1 ldr r1, [r4, #12] - 80045c2: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 - 80045c6: f423 7340 bic.w r3, r3, #768 ; 0x300 - 80045ca: 430b orrs r3, r1 - 80045cc: f8c2 3088 str.w r3, [r2, #136] ; 0x88 - 80045d0: f5b1 7f80 cmp.w r1, #256 ; 0x100 - 80045d4: bf02 ittt eq - 80045d6: 68d3 ldreq r3, [r2, #12] - 80045d8: f043 7380 orreq.w r3, r3, #16777216 ; 0x1000000 - 80045dc: 60d3 streq r3, [r2, #12] - 80045de: 042a lsls r2, r5, #16 - 80045e0: d50e bpl.n 8004600 - 80045e2: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 80045e6: 6b21 ldr r1, [r4, #48] ; 0x30 - 80045e8: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 - 80045ec: f023 4340 bic.w r3, r3, #3221225472 ; 0xc0000000 - 80045f0: 430b orrs r3, r1 - 80045f2: f8c2 3088 str.w r3, [r2, #136] ; 0x88 - 80045f6: b919 cbnz r1, 8004600 - 80045f8: 68d3 ldr r3, [r2, #12] - 80045fa: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 - 80045fe: 60d3 str r3, [r2, #12] - 8004600: 046b lsls r3, r5, #17 - 8004602: d510 bpl.n 8004626 - 8004604: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8004608: 6ae1 ldr r1, [r4, #44] ; 0x2c - 800460a: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 - 800460e: f023 5340 bic.w r3, r3, #805306368 ; 0x30000000 - 8004612: 430b orrs r3, r1 - 8004614: f1b1 5f00 cmp.w r1, #536870912 ; 0x20000000 - 8004618: f8c2 3088 str.w r3, [r2, #136] ; 0x88 - 800461c: d103 bne.n 8004626 - 800461e: 68d3 ldr r3, [r2, #12] - 8004620: f443 3380 orr.w r3, r3, #65536 ; 0x10000 - 8004624: 60d3 str r3, [r2, #12] - 8004626: 4630 mov r0, r6 - 8004628: bd70 pop {r4, r5, r6, pc} - 800462a: f7fd f949 bl 80018c0 - 800462e: f241 3688 movw r6, #5000 ; 0x1388 - 8004632: 4605 mov r5, r0 - 8004634: f7ff ff18 bl 8004468 - 8004638: 2801 cmp r0, #1 - 800463a: f43f af66 beq.w 800450a +080044c4 : + 80044c4: b570 push {r4, r5, r6, lr} + 80044c6: 6806 ldr r6, [r0, #0] + 80044c8: f416 3680 ands.w r6, r6, #65536 ; 0x10000 + 80044cc: 4604 mov r4, r0 + 80044ce: d038 beq.n 8004542 + 80044d0: f7ff fab0 bl 8003a34 + 80044d4: f7fd f9f4 bl 80018c0 + 80044d8: 4e61 ldr r6, [pc, #388] ; (8004660 ) + 80044da: 4605 mov r5, r0 + 80044dc: 6833 ldr r3, [r6, #0] + 80044de: 05db lsls r3, r3, #23 + 80044e0: d529 bpl.n 8004536 + 80044e2: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80044e6: 6b61 ldr r1, [r4, #52] ; 0x34 + 80044e8: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 + 80044ec: f402 7240 and.w r2, r2, #768 ; 0x300 + 80044f0: 4291 cmp r1, r2 + 80044f2: d014 beq.n 800451e + 80044f4: f8d3 1090 ldr.w r1, [r3, #144] ; 0x90 + 80044f8: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 + 80044fc: f442 3280 orr.w r2, r2, #65536 ; 0x10000 + 8004500: f8c3 2090 str.w r2, [r3, #144] ; 0x90 + 8004504: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 + 8004508: f421 7040 bic.w r0, r1, #768 ; 0x300 + 800450c: f422 3280 bic.w r2, r2, #65536 ; 0x10000 + 8004510: 078d lsls r5, r1, #30 + 8004512: f8c3 2090 str.w r2, [r3, #144] ; 0x90 + 8004516: f8c3 0090 str.w r0, [r3, #144] ; 0x90 + 800451a: f100 8090 bmi.w 800463e + 800451e: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8004522: 6b61 ldr r1, [r4, #52] ; 0x34 + 8004524: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 + 8004528: f423 7340 bic.w r3, r3, #768 ; 0x300 + 800452c: 430b orrs r3, r1 + 800452e: f8c2 3090 str.w r3, [r2, #144] ; 0x90 + 8004532: 2600 movs r6, #0 + 8004534: e005 b.n 8004542 + 8004536: f7fd f9c3 bl 80018c0 + 800453a: 1b40 subs r0, r0, r5 + 800453c: 2802 cmp r0, #2 + 800453e: d9cd bls.n 80044dc + 8004540: 2603 movs r6, #3 + 8004542: 6825 ldr r5, [r4, #0] + 8004544: 07e8 lsls r0, r5, #31 + 8004546: d50a bpl.n 800455e + 8004548: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 800454c: 6862 ldr r2, [r4, #4] + 800454e: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 + 8004552: ea23 4312 bic.w r3, r3, r2, lsr #16 + 8004556: b292 uxth r2, r2 + 8004558: 4313 orrs r3, r2 + 800455a: f8c1 3088 str.w r3, [r1, #136] ; 0x88 + 800455e: 07a9 lsls r1, r5, #30 + 8004560: d50a bpl.n 8004578 + 8004562: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 8004566: 68a2 ldr r2, [r4, #8] + 8004568: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 + 800456c: ea23 4312 bic.w r3, r3, r2, lsr #16 + 8004570: b292 uxth r2, r2 + 8004572: 4313 orrs r3, r2 + 8004574: f8c1 3088 str.w r3, [r1, #136] ; 0x88 + 8004578: 06aa lsls r2, r5, #26 + 800457a: d509 bpl.n 8004590 + 800457c: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8004580: 6921 ldr r1, [r4, #16] + 8004582: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 + 8004586: f423 6340 bic.w r3, r3, #3072 ; 0xc00 + 800458a: 430b orrs r3, r1 + 800458c: f8c2 3088 str.w r3, [r2, #136] ; 0x88 + 8004590: 05ab lsls r3, r5, #22 + 8004592: d502 bpl.n 800459a + 8004594: 6a20 ldr r0, [r4, #32] + 8004596: f7ff ff88 bl 80044aa + 800459a: 0568 lsls r0, r5, #21 + 800459c: d502 bpl.n 80045a4 + 800459e: 6a60 ldr r0, [r4, #36] ; 0x24 + 80045a0: f7ff ff83 bl 80044aa + 80045a4: 0529 lsls r1, r5, #20 + 80045a6: d502 bpl.n 80045ae + 80045a8: 6aa0 ldr r0, [r4, #40] ; 0x28 + 80045aa: f7ff ff7e bl 80044aa + 80045ae: 066a lsls r2, r5, #25 + 80045b0: d502 bpl.n 80045b8 + 80045b2: 6960 ldr r0, [r4, #20] + 80045b4: f7ff ff69 bl 800448a + 80045b8: 062b lsls r3, r5, #24 + 80045ba: d502 bpl.n 80045c2 + 80045bc: 69a0 ldr r0, [r4, #24] + 80045be: f7ff ff64 bl 800448a + 80045c2: 05e8 lsls r0, r5, #23 + 80045c4: d502 bpl.n 80045cc + 80045c6: 69e0 ldr r0, [r4, #28] + 80045c8: f7ff ff5f bl 800448a + 80045cc: 06e9 lsls r1, r5, #27 + 80045ce: d510 bpl.n 80045f2 + 80045d0: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 80045d4: 68e1 ldr r1, [r4, #12] + 80045d6: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 + 80045da: f423 7340 bic.w r3, r3, #768 ; 0x300 + 80045de: 430b orrs r3, r1 + 80045e0: f8c2 3088 str.w r3, [r2, #136] ; 0x88 + 80045e4: f5b1 7f80 cmp.w r1, #256 ; 0x100 + 80045e8: bf02 ittt eq + 80045ea: 68d3 ldreq r3, [r2, #12] + 80045ec: f043 7380 orreq.w r3, r3, #16777216 ; 0x1000000 + 80045f0: 60d3 streq r3, [r2, #12] + 80045f2: 042a lsls r2, r5, #16 + 80045f4: d50e bpl.n 8004614 + 80045f6: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 80045fa: 6b21 ldr r1, [r4, #48] ; 0x30 + 80045fc: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 + 8004600: f023 4340 bic.w r3, r3, #3221225472 ; 0xc0000000 + 8004604: 430b orrs r3, r1 + 8004606: f8c2 3088 str.w r3, [r2, #136] ; 0x88 + 800460a: b919 cbnz r1, 8004614 + 800460c: 68d3 ldr r3, [r2, #12] + 800460e: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 + 8004612: 60d3 str r3, [r2, #12] + 8004614: 046b lsls r3, r5, #17 + 8004616: d510 bpl.n 800463a + 8004618: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 800461c: 6ae1 ldr r1, [r4, #44] ; 0x2c + 800461e: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 + 8004622: f023 5340 bic.w r3, r3, #805306368 ; 0x30000000 + 8004626: 430b orrs r3, r1 + 8004628: f1b1 5f00 cmp.w r1, #536870912 ; 0x20000000 + 800462c: f8c2 3088 str.w r3, [r2, #136] ; 0x88 + 8004630: d103 bne.n 800463a + 8004632: 68d3 ldr r3, [r2, #12] + 8004634: f443 3380 orr.w r3, r3, #65536 ; 0x10000 + 8004638: 60d3 str r3, [r2, #12] + 800463a: 4630 mov r0, r6 + 800463c: bd70 pop {r4, r5, r6, pc} 800463e: f7fd f93f bl 80018c0 - 8004642: 1b40 subs r0, r0, r5 - 8004644: 42b0 cmp r0, r6 - 8004646: d9f5 bls.n 8004634 - 8004648: e770 b.n 800452c - 800464a: bf00 nop - 800464c: 58000400 .word 0x58000400 + 8004642: f241 3688 movw r6, #5000 ; 0x1388 + 8004646: 4605 mov r5, r0 + 8004648: f7ff ff18 bl 800447c + 800464c: 2801 cmp r0, #1 + 800464e: f43f af66 beq.w 800451e + 8004652: f7fd f935 bl 80018c0 + 8004656: 1b40 subs r0, r0, r5 + 8004658: 42b0 cmp r0, r6 + 800465a: d9f5 bls.n 8004648 + 800465c: e770 b.n 8004540 + 800465e: bf00 nop + 8004660: 58000400 .word 0x58000400 -08004650 : - 8004650: b530 push {r4, r5, lr} - 8004652: f890 302c ldrb.w r3, [r0, #44] ; 0x2c - 8004656: 2b01 cmp r3, #1 - 8004658: 4602 mov r2, r0 - 800465a: f04f 0002 mov.w r0, #2 - 800465e: d022 beq.n 80046a6 - 8004660: 4b17 ldr r3, [pc, #92] ; (80046c0 ) - 8004662: f882 002d strb.w r0, [r2, #45] ; 0x2d - 8004666: 24ca movs r4, #202 ; 0xca - 8004668: 2501 movs r5, #1 - 800466a: f882 502c strb.w r5, [r2, #44] ; 0x2c - 800466e: 625c str r4, [r3, #36] ; 0x24 - 8004670: 2453 movs r4, #83 ; 0x53 - 8004672: 625c str r4, [r3, #36] ; 0x24 - 8004674: f5b1 7f80 cmp.w r1, #256 ; 0x100 - 8004678: 6b14 ldr r4, [r2, #48] ; 0x30 - 800467a: 6999 ldr r1, [r3, #24] - 800467c: d114 bne.n 80046a8 - 800467e: f421 5188 bic.w r1, r1, #4352 ; 0x1100 - 8004682: 6199 str r1, [r3, #24] - 8004684: 6c59 ldr r1, [r3, #68] ; 0x44 - 8004686: f024 0401 bic.w r4, r4, #1 - 800468a: f021 4100 bic.w r1, r1, #2147483648 ; 0x80000000 - 800468e: 6459 str r1, [r3, #68] ; 0x44 - 8004690: 6314 str r4, [r2, #48] ; 0x30 - 8004692: 65dd str r5, [r3, #92] ; 0x5c - 8004694: 4b0a ldr r3, [pc, #40] ; (80046c0 ) - 8004696: 21ff movs r1, #255 ; 0xff - 8004698: 6259 str r1, [r3, #36] ; 0x24 - 800469a: 2000 movs r0, #0 - 800469c: 2301 movs r3, #1 - 800469e: f882 302d strb.w r3, [r2, #45] ; 0x2d - 80046a2: f882 002c strb.w r0, [r2, #44] ; 0x2c - 80046a6: bd30 pop {r4, r5, pc} - 80046a8: f421 5108 bic.w r1, r1, #8704 ; 0x2200 - 80046ac: 6199 str r1, [r3, #24] - 80046ae: 6cd9 ldr r1, [r3, #76] ; 0x4c - 80046b0: f024 0402 bic.w r4, r4, #2 - 80046b4: f021 4100 bic.w r1, r1, #2147483648 ; 0x80000000 - 80046b8: 64d9 str r1, [r3, #76] ; 0x4c - 80046ba: 6314 str r4, [r2, #48] ; 0x30 - 80046bc: 65d8 str r0, [r3, #92] ; 0x5c - 80046be: e7e9 b.n 8004694 - 80046c0: 40002800 .word 0x40002800 +08004664 : + 8004664: b530 push {r4, r5, lr} + 8004666: f890 302c ldrb.w r3, [r0, #44] ; 0x2c + 800466a: 2b01 cmp r3, #1 + 800466c: 4602 mov r2, r0 + 800466e: f04f 0002 mov.w r0, #2 + 8004672: d022 beq.n 80046ba + 8004674: 4b17 ldr r3, [pc, #92] ; (80046d4 ) + 8004676: f882 002d strb.w r0, [r2, #45] ; 0x2d + 800467a: 24ca movs r4, #202 ; 0xca + 800467c: 2501 movs r5, #1 + 800467e: f882 502c strb.w r5, [r2, #44] ; 0x2c + 8004682: 625c str r4, [r3, #36] ; 0x24 + 8004684: 2453 movs r4, #83 ; 0x53 + 8004686: 625c str r4, [r3, #36] ; 0x24 + 8004688: f5b1 7f80 cmp.w r1, #256 ; 0x100 + 800468c: 6b14 ldr r4, [r2, #48] ; 0x30 + 800468e: 6999 ldr r1, [r3, #24] + 8004690: d114 bne.n 80046bc + 8004692: f421 5188 bic.w r1, r1, #4352 ; 0x1100 + 8004696: 6199 str r1, [r3, #24] + 8004698: 6c59 ldr r1, [r3, #68] ; 0x44 + 800469a: f024 0401 bic.w r4, r4, #1 + 800469e: f021 4100 bic.w r1, r1, #2147483648 ; 0x80000000 + 80046a2: 6459 str r1, [r3, #68] ; 0x44 + 80046a4: 6314 str r4, [r2, #48] ; 0x30 + 80046a6: 65dd str r5, [r3, #92] ; 0x5c + 80046a8: 4b0a ldr r3, [pc, #40] ; (80046d4 ) + 80046aa: 21ff movs r1, #255 ; 0xff + 80046ac: 6259 str r1, [r3, #36] ; 0x24 + 80046ae: 2000 movs r0, #0 + 80046b0: 2301 movs r3, #1 + 80046b2: f882 302d strb.w r3, [r2, #45] ; 0x2d + 80046b6: f882 002c strb.w r0, [r2, #44] ; 0x2c + 80046ba: bd30 pop {r4, r5, pc} + 80046bc: f421 5108 bic.w r1, r1, #8704 ; 0x2200 + 80046c0: 6199 str r1, [r3, #24] + 80046c2: 6cd9 ldr r1, [r3, #76] ; 0x4c + 80046c4: f024 0402 bic.w r4, r4, #2 + 80046c8: f021 4100 bic.w r1, r1, #2147483648 ; 0x80000000 + 80046cc: 64d9 str r1, [r3, #76] ; 0x4c + 80046ce: 6314 str r4, [r2, #48] ; 0x30 + 80046d0: 65d8 str r0, [r3, #92] ; 0x5c + 80046d2: e7e9 b.n 80046a8 + 80046d4: 40002800 .word 0x40002800 -080046c4 : - 80046c4: b570 push {r4, r5, r6, lr} - 80046c6: 4e0b ldr r6, [pc, #44] ; (80046f4 ) - 80046c8: 6b03 ldr r3, [r0, #48] ; 0x30 - 80046ca: 6d75 ldr r5, [r6, #84] ; 0x54 - 80046cc: 401d ands r5, r3 - 80046ce: 07ea lsls r2, r5, #31 - 80046d0: 4604 mov r4, r0 - 80046d2: d503 bpl.n 80046dc - 80046d4: 2301 movs r3, #1 - 80046d6: 65f3 str r3, [r6, #92] ; 0x5c - 80046d8: f7fd fa45 bl 8001b66 - 80046dc: 07ab lsls r3, r5, #30 - 80046de: d504 bpl.n 80046ea - 80046e0: 2302 movs r3, #2 - 80046e2: 65f3 str r3, [r6, #92] ; 0x5c - 80046e4: 4620 mov r0, r4 - 80046e6: f000 f9cb bl 8004a80 - 80046ea: 2301 movs r3, #1 - 80046ec: f884 302d strb.w r3, [r4, #45] ; 0x2d - 80046f0: bd70 pop {r4, r5, r6, pc} - 80046f2: bf00 nop - 80046f4: 40002800 .word 0x40002800 +080046d8 : + 80046d8: b570 push {r4, r5, r6, lr} + 80046da: 4e0b ldr r6, [pc, #44] ; (8004708 ) + 80046dc: 6b03 ldr r3, [r0, #48] ; 0x30 + 80046de: 6d75 ldr r5, [r6, #84] ; 0x54 + 80046e0: 401d ands r5, r3 + 80046e2: 07ea lsls r2, r5, #31 + 80046e4: 4604 mov r4, r0 + 80046e6: d503 bpl.n 80046f0 + 80046e8: 2301 movs r3, #1 + 80046ea: 65f3 str r3, [r6, #92] ; 0x5c + 80046ec: f7fd fa3b bl 8001b66 + 80046f0: 07ab lsls r3, r5, #30 + 80046f2: d504 bpl.n 80046fe + 80046f4: 2302 movs r3, #2 + 80046f6: 65f3 str r3, [r6, #92] ; 0x5c + 80046f8: 4620 mov r0, r4 + 80046fa: f000 f9cb bl 8004a94 + 80046fe: 2301 movs r3, #1 + 8004700: f884 302d strb.w r3, [r4, #45] ; 0x2d + 8004704: bd70 pop {r4, r5, r6, pc} + 8004706: bf00 nop + 8004708: 40002800 .word 0x40002800 -080046f8 : - 80046f8: b538 push {r3, r4, r5, lr} - 80046fa: 4c0a ldr r4, [pc, #40] ; (8004724 ) - 80046fc: 68e3 ldr r3, [r4, #12] - 80046fe: f023 0320 bic.w r3, r3, #32 - 8004702: 60e3 str r3, [r4, #12] - 8004704: f7fd f8dc bl 80018c0 - 8004708: 4605 mov r5, r0 - 800470a: 68e3 ldr r3, [r4, #12] - 800470c: 069b lsls r3, r3, #26 - 800470e: d501 bpl.n 8004714 - 8004710: 2000 movs r0, #0 - 8004712: bd38 pop {r3, r4, r5, pc} - 8004714: f7fd f8d4 bl 80018c0 - 8004718: 1b40 subs r0, r0, r5 - 800471a: f5b0 7f7a cmp.w r0, #1000 ; 0x3e8 - 800471e: d9f4 bls.n 800470a - 8004720: 2003 movs r0, #3 - 8004722: e7f6 b.n 8004712 - 8004724: 40002800 .word 0x40002800 +0800470c : + 800470c: b538 push {r3, r4, r5, lr} + 800470e: 4c0a ldr r4, [pc, #40] ; (8004738 ) + 8004710: 68e3 ldr r3, [r4, #12] + 8004712: f023 0320 bic.w r3, r3, #32 + 8004716: 60e3 str r3, [r4, #12] + 8004718: f7fd f8d2 bl 80018c0 + 800471c: 4605 mov r5, r0 + 800471e: 68e3 ldr r3, [r4, #12] + 8004720: 069b lsls r3, r3, #26 + 8004722: d501 bpl.n 8004728 + 8004724: 2000 movs r0, #0 + 8004726: bd38 pop {r3, r4, r5, pc} + 8004728: f7fd f8ca bl 80018c0 + 800472c: 1b40 subs r0, r0, r5 + 800472e: f5b0 7f7a cmp.w r0, #1000 ; 0x3e8 + 8004732: d9f4 bls.n 800471e + 8004734: 2003 movs r0, #3 + 8004736: e7f6 b.n 8004726 + 8004738: 40002800 .word 0x40002800 -08004728 : - 8004728: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800472c: 4d11 ldr r5, [pc, #68] ; (8004774 ) - 800472e: 68ec ldr r4, [r5, #12] - 8004730: f014 0440 ands.w r4, r4, #64 ; 0x40 - 8004734: 4607 mov r7, r0 - 8004736: d11a bne.n 800476e - 8004738: 68eb ldr r3, [r5, #12] - 800473a: f043 0380 orr.w r3, r3, #128 ; 0x80 - 800473e: 60eb str r3, [r5, #12] - 8004740: f7fd f8be bl 80018c0 - 8004744: f04f 0803 mov.w r8, #3 - 8004748: 4606 mov r6, r0 - 800474a: 68eb ldr r3, [r5, #12] - 800474c: 065b lsls r3, r3, #25 - 800474e: d401 bmi.n 8004754 - 8004750: 2c03 cmp r4, #3 - 8004752: d102 bne.n 800475a - 8004754: 4620 mov r0, r4 - 8004756: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800475a: f7fd f8b1 bl 80018c0 - 800475e: 1b80 subs r0, r0, r6 - 8004760: f5b0 7f7a cmp.w r0, #1000 ; 0x3e8 - 8004764: bf84 itt hi - 8004766: f887 802d strbhi.w r8, [r7, #45] ; 0x2d - 800476a: 2403 movhi r4, #3 - 800476c: e7ed b.n 800474a - 800476e: 2400 movs r4, #0 - 8004770: e7f0 b.n 8004754 - 8004772: bf00 nop - 8004774: 40002800 .word 0x40002800 +0800473c : + 800473c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8004740: 4d11 ldr r5, [pc, #68] ; (8004788 ) + 8004742: 68ec ldr r4, [r5, #12] + 8004744: f014 0440 ands.w r4, r4, #64 ; 0x40 + 8004748: 4607 mov r7, r0 + 800474a: d11a bne.n 8004782 + 800474c: 68eb ldr r3, [r5, #12] + 800474e: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8004752: 60eb str r3, [r5, #12] + 8004754: f7fd f8b4 bl 80018c0 + 8004758: f04f 0803 mov.w r8, #3 + 800475c: 4606 mov r6, r0 + 800475e: 68eb ldr r3, [r5, #12] + 8004760: 065b lsls r3, r3, #25 + 8004762: d401 bmi.n 8004768 + 8004764: 2c03 cmp r4, #3 + 8004766: d102 bne.n 800476e + 8004768: 4620 mov r0, r4 + 800476a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800476e: f7fd f8a7 bl 80018c0 + 8004772: 1b80 subs r0, r0, r6 + 8004774: f5b0 7f7a cmp.w r0, #1000 ; 0x3e8 + 8004778: bf84 itt hi + 800477a: f887 802d strbhi.w r8, [r7, #45] ; 0x2d + 800477e: 2403 movhi r4, #3 + 8004780: e7ed b.n 800475e + 8004782: 2400 movs r4, #0 + 8004784: e7f0 b.n 8004768 + 8004786: bf00 nop + 8004788: 40002800 .word 0x40002800 -08004778 : - 8004778: b538 push {r3, r4, r5, lr} - 800477a: 4c0f ldr r4, [pc, #60] ; (80047b8 ) - 800477c: 68e3 ldr r3, [r4, #12] - 800477e: f023 0380 bic.w r3, r3, #128 ; 0x80 - 8004782: 60e3 str r3, [r4, #12] - 8004784: 69a3 ldr r3, [r4, #24] - 8004786: 069b lsls r3, r3, #26 - 8004788: 4605 mov r5, r0 - 800478a: d406 bmi.n 800479a - 800478c: f7ff ffb4 bl 80046f8 - 8004790: b110 cbz r0, 8004798 - 8004792: 2003 movs r0, #3 - 8004794: f885 002d strb.w r0, [r5, #45] ; 0x2d - 8004798: bd38 pop {r3, r4, r5, pc} - 800479a: 69a3 ldr r3, [r4, #24] - 800479c: f023 0320 bic.w r3, r3, #32 - 80047a0: 61a3 str r3, [r4, #24] - 80047a2: f7ff ffa9 bl 80046f8 - 80047a6: b110 cbz r0, 80047ae - 80047a8: 2003 movs r0, #3 - 80047aa: f885 002d strb.w r0, [r5, #45] ; 0x2d +0800478c : + 800478c: b538 push {r3, r4, r5, lr} + 800478e: 4c0f ldr r4, [pc, #60] ; (80047cc ) + 8004790: 68e3 ldr r3, [r4, #12] + 8004792: f023 0380 bic.w r3, r3, #128 ; 0x80 + 8004796: 60e3 str r3, [r4, #12] + 8004798: 69a3 ldr r3, [r4, #24] + 800479a: 069b lsls r3, r3, #26 + 800479c: 4605 mov r5, r0 + 800479e: d406 bmi.n 80047ae + 80047a0: f7ff ffb4 bl 800470c + 80047a4: b110 cbz r0, 80047ac + 80047a6: 2003 movs r0, #3 + 80047a8: f885 002d strb.w r0, [r5, #45] ; 0x2d + 80047ac: bd38 pop {r3, r4, r5, pc} 80047ae: 69a3 ldr r3, [r4, #24] - 80047b0: f043 0320 orr.w r3, r3, #32 + 80047b0: f023 0320 bic.w r3, r3, #32 80047b4: 61a3 str r3, [r4, #24] - 80047b6: e7ef b.n 8004798 - 80047b8: 40002800 .word 0x40002800 + 80047b6: f7ff ffa9 bl 800470c + 80047ba: b110 cbz r0, 80047c2 + 80047bc: 2003 movs r0, #3 + 80047be: f885 002d strb.w r0, [r5, #45] ; 0x2d + 80047c2: 69a3 ldr r3, [r4, #24] + 80047c4: f043 0320 orr.w r3, r3, #32 + 80047c8: 61a3 str r3, [r4, #24] + 80047ca: e7ef b.n 80047ac + 80047cc: 40002800 .word 0x40002800 -080047bc : - 80047bc: b538 push {r3, r4, r5, lr} - 80047be: 4604 mov r4, r0 - 80047c0: 2800 cmp r0, #0 - 80047c2: d04b beq.n 800485c - 80047c4: f890 302d ldrb.w r3, [r0, #45] ; 0x2d - 80047c8: f003 02ff and.w r2, r3, #255 ; 0xff - 80047cc: b91b cbnz r3, 80047d6 - 80047ce: f880 202c strb.w r2, [r0, #44] ; 0x2c - 80047d2: f7fc fee1 bl 8001598 - 80047d6: 2302 movs r3, #2 - 80047d8: 4d21 ldr r5, [pc, #132] ; (8004860 ) - 80047da: f884 302d strb.w r3, [r4, #45] ; 0x2d - 80047de: 68eb ldr r3, [r5, #12] - 80047e0: 06db lsls r3, r3, #27 - 80047e2: d432 bmi.n 800484a - 80047e4: 23ca movs r3, #202 ; 0xca - 80047e6: 626b str r3, [r5, #36] ; 0x24 - 80047e8: 2353 movs r3, #83 ; 0x53 - 80047ea: 626b str r3, [r5, #36] ; 0x24 - 80047ec: 4620 mov r0, r4 - 80047ee: f7ff ff9b bl 8004728 - 80047f2: bb78 cbnz r0, 8004854 - 80047f4: 69ab ldr r3, [r5, #24] - 80047f6: f023 638e bic.w r3, r3, #74448896 ; 0x4700000 - 80047fa: f023 0340 bic.w r3, r3, #64 ; 0x40 - 80047fe: 61ab str r3, [r5, #24] - 8004800: 6921 ldr r1, [r4, #16] - 8004802: 6863 ldr r3, [r4, #4] - 8004804: 69aa ldr r2, [r5, #24] - 8004806: 430b orrs r3, r1 - 8004808: 4313 orrs r3, r2 - 800480a: 69a2 ldr r2, [r4, #24] - 800480c: 4313 orrs r3, r2 - 800480e: 61ab str r3, [r5, #24] - 8004810: e9d4 2302 ldrd r2, r3, [r4, #8] - 8004814: ea43 4302 orr.w r3, r3, r2, lsl #16 - 8004818: 612b str r3, [r5, #16] - 800481a: e9d4 3109 ldrd r3, r1, [r4, #36] ; 0x24 - 800481e: 68ea ldr r2, [r5, #12] - 8004820: 430b orrs r3, r1 - 8004822: f422 52f8 bic.w r2, r2, #7936 ; 0x1f00 - 8004826: 4313 orrs r3, r2 - 8004828: 60eb str r3, [r5, #12] - 800482a: 4620 mov r0, r4 - 800482c: f7ff ffa4 bl 8004778 - 8004830: b980 cbnz r0, 8004854 - 8004832: e9d4 1307 ldrd r1, r3, [r4, #28] - 8004836: 69aa ldr r2, [r5, #24] - 8004838: 430b orrs r3, r1 - 800483a: f022 4260 bic.w r2, r2, #3758096384 ; 0xe0000000 - 800483e: 4313 orrs r3, r2 - 8004840: 6962 ldr r2, [r4, #20] - 8004842: 4313 orrs r3, r2 - 8004844: 61ab str r3, [r5, #24] - 8004846: 23ff movs r3, #255 ; 0xff - 8004848: 626b str r3, [r5, #36] ; 0x24 - 800484a: 2301 movs r3, #1 - 800484c: f884 302d strb.w r3, [r4, #45] ; 0x2d - 8004850: 2000 movs r0, #0 - 8004852: e002 b.n 800485a - 8004854: 4b02 ldr r3, [pc, #8] ; (8004860 ) - 8004856: 22ff movs r2, #255 ; 0xff - 8004858: 625a str r2, [r3, #36] ; 0x24 - 800485a: bd38 pop {r3, r4, r5, pc} - 800485c: 2001 movs r0, #1 - 800485e: e7fc b.n 800485a - 8004860: 40002800 .word 0x40002800 +080047d0 : + 80047d0: b538 push {r3, r4, r5, lr} + 80047d2: 4604 mov r4, r0 + 80047d4: 2800 cmp r0, #0 + 80047d6: d04b beq.n 8004870 + 80047d8: f890 302d ldrb.w r3, [r0, #45] ; 0x2d + 80047dc: f003 02ff and.w r2, r3, #255 ; 0xff + 80047e0: b91b cbnz r3, 80047ea + 80047e2: f880 202c strb.w r2, [r0, #44] ; 0x2c + 80047e6: f7fc fed7 bl 8001598 + 80047ea: 2302 movs r3, #2 + 80047ec: 4d21 ldr r5, [pc, #132] ; (8004874 ) + 80047ee: f884 302d strb.w r3, [r4, #45] ; 0x2d + 80047f2: 68eb ldr r3, [r5, #12] + 80047f4: 06db lsls r3, r3, #27 + 80047f6: d432 bmi.n 800485e + 80047f8: 23ca movs r3, #202 ; 0xca + 80047fa: 626b str r3, [r5, #36] ; 0x24 + 80047fc: 2353 movs r3, #83 ; 0x53 + 80047fe: 626b str r3, [r5, #36] ; 0x24 + 8004800: 4620 mov r0, r4 + 8004802: f7ff ff9b bl 800473c + 8004806: bb78 cbnz r0, 8004868 + 8004808: 69ab ldr r3, [r5, #24] + 800480a: f023 638e bic.w r3, r3, #74448896 ; 0x4700000 + 800480e: f023 0340 bic.w r3, r3, #64 ; 0x40 + 8004812: 61ab str r3, [r5, #24] + 8004814: 6921 ldr r1, [r4, #16] + 8004816: 6863 ldr r3, [r4, #4] + 8004818: 69aa ldr r2, [r5, #24] + 800481a: 430b orrs r3, r1 + 800481c: 4313 orrs r3, r2 + 800481e: 69a2 ldr r2, [r4, #24] + 8004820: 4313 orrs r3, r2 + 8004822: 61ab str r3, [r5, #24] + 8004824: e9d4 2302 ldrd r2, r3, [r4, #8] + 8004828: ea43 4302 orr.w r3, r3, r2, lsl #16 + 800482c: 612b str r3, [r5, #16] + 800482e: e9d4 3109 ldrd r3, r1, [r4, #36] ; 0x24 + 8004832: 68ea ldr r2, [r5, #12] + 8004834: 430b orrs r3, r1 + 8004836: f422 52f8 bic.w r2, r2, #7936 ; 0x1f00 + 800483a: 4313 orrs r3, r2 + 800483c: 60eb str r3, [r5, #12] + 800483e: 4620 mov r0, r4 + 8004840: f7ff ffa4 bl 800478c + 8004844: b980 cbnz r0, 8004868 + 8004846: e9d4 1307 ldrd r1, r3, [r4, #28] + 800484a: 69aa ldr r2, [r5, #24] + 800484c: 430b orrs r3, r1 + 800484e: f022 4260 bic.w r2, r2, #3758096384 ; 0xe0000000 + 8004852: 4313 orrs r3, r2 + 8004854: 6962 ldr r2, [r4, #20] + 8004856: 4313 orrs r3, r2 + 8004858: 61ab str r3, [r5, #24] + 800485a: 23ff movs r3, #255 ; 0xff + 800485c: 626b str r3, [r5, #36] ; 0x24 + 800485e: 2301 movs r3, #1 + 8004860: f884 302d strb.w r3, [r4, #45] ; 0x2d + 8004864: 2000 movs r0, #0 + 8004866: e002 b.n 800486e + 8004868: 4b02 ldr r3, [pc, #8] ; (8004874 ) + 800486a: 22ff movs r2, #255 ; 0xff + 800486c: 625a str r2, [r3, #36] ; 0x24 + 800486e: bd38 pop {r3, r4, r5, pc} + 8004870: 2001 movs r0, #1 + 8004872: e7fc b.n 800486e + 8004874: 40002800 .word 0x40002800 -08004864 : - 8004864: 2300 movs r3, #0 - 8004866: 2809 cmp r0, #9 - 8004868: d803 bhi.n 8004872 - 800486a: ea40 1003 orr.w r0, r0, r3, lsl #4 - 800486e: b2c0 uxtb r0, r0 - 8004870: 4770 bx lr - 8004872: 380a subs r0, #10 - 8004874: 3301 adds r3, #1 - 8004876: b2c0 uxtb r0, r0 - 8004878: e7f5 b.n 8004866 +08004878 : + 8004878: 2300 movs r3, #0 + 800487a: 2809 cmp r0, #9 + 800487c: d803 bhi.n 8004886 + 800487e: ea40 1003 orr.w r0, r0, r3, lsl #4 + 8004882: b2c0 uxtb r0, r0 + 8004884: 4770 bx lr + 8004886: 380a subs r0, #10 + 8004888: 3301 adds r3, #1 + 800488a: b2c0 uxtb r0, r0 + 800488c: e7f5 b.n 800487a ... -0800487c : - 800487c: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8004880: f890 302c ldrb.w r3, [r0, #44] ; 0x2c - 8004884: 2b01 cmp r3, #1 - 8004886: 4605 mov r5, r0 - 8004888: f04f 0002 mov.w r0, #2 - 800488c: d069 beq.n 8004962 - 800488e: 2301 movs r3, #1 - 8004890: f885 302c strb.w r3, [r5, #44] ; 0x2c - 8004894: 4b4e ldr r3, [pc, #312] ; (80049d0 ) - 8004896: f885 002d strb.w r0, [r5, #45] ; 0x2d - 800489a: 68de ldr r6, [r3, #12] - 800489c: f406 7640 and.w r6, r6, #768 ; 0x300 - 80048a0: f5b6 7f80 cmp.w r6, #256 ; 0x100 - 80048a4: d078 beq.n 8004998 - 80048a6: 694c ldr r4, [r1, #20] - 80048a8: 7808 ldrb r0, [r1, #0] - 80048aa: f891 9001 ldrb.w r9, [r1, #1] - 80048ae: f891 a002 ldrb.w sl, [r1, #2] - 80048b2: f891 7024 ldrb.w r7, [r1, #36] ; 0x24 - 80048b6: 2a00 cmp r2, #0 - 80048b8: d155 bne.n 8004966 - 80048ba: 699b ldr r3, [r3, #24] - 80048bc: f013 0340 ands.w r3, r3, #64 ; 0x40 - 80048c0: bf08 it eq - 80048c2: 70cb strbeq r3, [r1, #3] - 80048c4: f7ff ffce bl 8004864 - 80048c8: 4680 mov r8, r0 - 80048ca: 4648 mov r0, r9 - 80048cc: f7ff ffca bl 8004864 - 80048d0: 4602 mov r2, r0 - 80048d2: 4650 mov r0, sl - 80048d4: f7ff ffc6 bl 8004864 - 80048d8: 4681 mov r9, r0 - 80048da: 4638 mov r0, r7 - 80048dc: f7ff ffc2 bl 8004864 - 80048e0: 6a0b ldr r3, [r1, #32] - 80048e2: 78cf ldrb r7, [r1, #3] - 80048e4: 4323 orrs r3, r4 - 80048e6: ea43 5387 orr.w r3, r3, r7, lsl #22 - 80048ea: ea43 0309 orr.w r3, r3, r9 - 80048ee: ea43 4308 orr.w r3, r3, r8, lsl #16 - 80048f2: ea43 2302 orr.w r3, r3, r2, lsl #8 - 80048f6: ea43 6300 orr.w r3, r3, r0, lsl #24 - 80048fa: 4a35 ldr r2, [pc, #212] ; (80049d0 ) - 80048fc: 20ca movs r0, #202 ; 0xca - 80048fe: 6250 str r0, [r2, #36] ; 0x24 - 8004900: 2053 movs r0, #83 ; 0x53 - 8004902: 6250 str r0, [r2, #36] ; 0x24 - 8004904: 6a8c ldr r4, [r1, #40] ; 0x28 - 8004906: 6988 ldr r0, [r1, #24] - 8004908: f5b4 7f80 cmp.w r4, #256 ; 0x100 - 800490c: 6994 ldr r4, [r2, #24] - 800490e: d145 bne.n 800499c - 8004910: f424 5488 bic.w r4, r4, #4352 ; 0x1100 - 8004914: 6194 str r4, [r2, #24] - 8004916: 2401 movs r4, #1 - 8004918: 65d4 str r4, [r2, #92] ; 0x5c - 800491a: f5b6 7f80 cmp.w r6, #256 ; 0x100 - 800491e: bf09 itett eq - 8004920: 69cb ldreq r3, [r1, #28] - 8004922: 6413 strne r3, [r2, #64] ; 0x40 - 8004924: 4303 orreq r3, r0 - 8004926: 6453 streq r3, [r2, #68] ; 0x44 - 8004928: bf18 it ne - 800492a: 6450 strne r0, [r2, #68] ; 0x44 - 800492c: 4b28 ldr r3, [pc, #160] ; (80049d0 ) - 800492e: 684a ldr r2, [r1, #4] - 8004930: 671a str r2, [r3, #112] ; 0x70 - 8004932: 6b2a ldr r2, [r5, #48] ; 0x30 - 8004934: f042 0201 orr.w r2, r2, #1 - 8004938: 632a str r2, [r5, #48] ; 0x30 - 800493a: 699a ldr r2, [r3, #24] - 800493c: f442 5288 orr.w r2, r2, #4352 ; 0x1100 - 8004940: 619a str r2, [r3, #24] - 8004942: 4a24 ldr r2, [pc, #144] ; (80049d4 ) - 8004944: f8d2 3080 ldr.w r3, [r2, #128] ; 0x80 - 8004948: f443 3300 orr.w r3, r3, #131072 ; 0x20000 - 800494c: f8c2 3080 str.w r3, [r2, #128] ; 0x80 - 8004950: 4b1f ldr r3, [pc, #124] ; (80049d0 ) - 8004952: 22ff movs r2, #255 ; 0xff - 8004954: 625a str r2, [r3, #36] ; 0x24 - 8004956: 2000 movs r0, #0 - 8004958: 2301 movs r3, #1 - 800495a: f885 302d strb.w r3, [r5, #45] ; 0x2d - 800495e: f885 002c strb.w r0, [r5, #44] ; 0x2c - 8004962: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8004966: f1b4 3f80 cmp.w r4, #2155905152 ; 0x80808080 - 800496a: d007 beq.n 800497c - 800496c: f5b4 0f00 cmp.w r4, #8388608 ; 0x800000 - 8004970: d004 beq.n 800497c - 8004972: 699b ldr r3, [r3, #24] - 8004974: f013 0340 ands.w r3, r3, #64 ; 0x40 - 8004978: bf08 it eq - 800497a: 70cb strbeq r3, [r1, #3] - 800497c: 6a0b ldr r3, [r1, #32] - 800497e: 78ca ldrb r2, [r1, #3] - 8004980: 431c orrs r4, r3 - 8004982: ea44 040a orr.w r4, r4, sl - 8004986: ea44 4300 orr.w r3, r4, r0, lsl #16 - 800498a: ea43 2309 orr.w r3, r3, r9, lsl #8 - 800498e: ea43 5382 orr.w r3, r3, r2, lsl #22 - 8004992: ea43 6307 orr.w r3, r3, r7, lsl #24 - 8004996: e7b0 b.n 80048fa - 8004998: 2300 movs r3, #0 - 800499a: e7ae b.n 80048fa - 800499c: f424 5408 bic.w r4, r4, #8704 ; 0x2200 - 80049a0: 6194 str r4, [r2, #24] - 80049a2: 2402 movs r4, #2 - 80049a4: 65d4 str r4, [r2, #92] ; 0x5c - 80049a6: f5b6 7f80 cmp.w r6, #256 ; 0x100 - 80049aa: bf09 itett eq - 80049ac: 69cb ldreq r3, [r1, #28] - 80049ae: 6493 strne r3, [r2, #72] ; 0x48 - 80049b0: 4303 orreq r3, r0 - 80049b2: 64d3 streq r3, [r2, #76] ; 0x4c - 80049b4: bf18 it ne - 80049b6: 64d0 strne r0, [r2, #76] ; 0x4c - 80049b8: 4b05 ldr r3, [pc, #20] ; (80049d0 ) - 80049ba: 684a ldr r2, [r1, #4] - 80049bc: 675a str r2, [r3, #116] ; 0x74 - 80049be: 6b2a ldr r2, [r5, #48] ; 0x30 - 80049c0: f042 0202 orr.w r2, r2, #2 - 80049c4: 632a str r2, [r5, #48] ; 0x30 - 80049c6: 699a ldr r2, [r3, #24] - 80049c8: f442 5208 orr.w r2, r2, #8704 ; 0x2200 - 80049cc: e7b8 b.n 8004940 - 80049ce: bf00 nop - 80049d0: 40002800 .word 0x40002800 - 80049d4: 58000800 .word 0x58000800 +08004890 : + 8004890: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8004894: f890 302c ldrb.w r3, [r0, #44] ; 0x2c + 8004898: 2b01 cmp r3, #1 + 800489a: 4605 mov r5, r0 + 800489c: f04f 0002 mov.w r0, #2 + 80048a0: d069 beq.n 8004976 + 80048a2: 2301 movs r3, #1 + 80048a4: f885 302c strb.w r3, [r5, #44] ; 0x2c + 80048a8: 4b4e ldr r3, [pc, #312] ; (80049e4 ) + 80048aa: f885 002d strb.w r0, [r5, #45] ; 0x2d + 80048ae: 68de ldr r6, [r3, #12] + 80048b0: f406 7640 and.w r6, r6, #768 ; 0x300 + 80048b4: f5b6 7f80 cmp.w r6, #256 ; 0x100 + 80048b8: d078 beq.n 80049ac + 80048ba: 694c ldr r4, [r1, #20] + 80048bc: 7808 ldrb r0, [r1, #0] + 80048be: f891 9001 ldrb.w r9, [r1, #1] + 80048c2: f891 a002 ldrb.w sl, [r1, #2] + 80048c6: f891 7024 ldrb.w r7, [r1, #36] ; 0x24 + 80048ca: 2a00 cmp r2, #0 + 80048cc: d155 bne.n 800497a + 80048ce: 699b ldr r3, [r3, #24] + 80048d0: f013 0340 ands.w r3, r3, #64 ; 0x40 + 80048d4: bf08 it eq + 80048d6: 70cb strbeq r3, [r1, #3] + 80048d8: f7ff ffce bl 8004878 + 80048dc: 4680 mov r8, r0 + 80048de: 4648 mov r0, r9 + 80048e0: f7ff ffca bl 8004878 + 80048e4: 4602 mov r2, r0 + 80048e6: 4650 mov r0, sl + 80048e8: f7ff ffc6 bl 8004878 + 80048ec: 4681 mov r9, r0 + 80048ee: 4638 mov r0, r7 + 80048f0: f7ff ffc2 bl 8004878 + 80048f4: 6a0b ldr r3, [r1, #32] + 80048f6: 78cf ldrb r7, [r1, #3] + 80048f8: 4323 orrs r3, r4 + 80048fa: ea43 5387 orr.w r3, r3, r7, lsl #22 + 80048fe: ea43 0309 orr.w r3, r3, r9 + 8004902: ea43 4308 orr.w r3, r3, r8, lsl #16 + 8004906: ea43 2302 orr.w r3, r3, r2, lsl #8 + 800490a: ea43 6300 orr.w r3, r3, r0, lsl #24 + 800490e: 4a35 ldr r2, [pc, #212] ; (80049e4 ) + 8004910: 20ca movs r0, #202 ; 0xca + 8004912: 6250 str r0, [r2, #36] ; 0x24 + 8004914: 2053 movs r0, #83 ; 0x53 + 8004916: 6250 str r0, [r2, #36] ; 0x24 + 8004918: 6a8c ldr r4, [r1, #40] ; 0x28 + 800491a: 6988 ldr r0, [r1, #24] + 800491c: f5b4 7f80 cmp.w r4, #256 ; 0x100 + 8004920: 6994 ldr r4, [r2, #24] + 8004922: d145 bne.n 80049b0 + 8004924: f424 5488 bic.w r4, r4, #4352 ; 0x1100 + 8004928: 6194 str r4, [r2, #24] + 800492a: 2401 movs r4, #1 + 800492c: 65d4 str r4, [r2, #92] ; 0x5c + 800492e: f5b6 7f80 cmp.w r6, #256 ; 0x100 + 8004932: bf09 itett eq + 8004934: 69cb ldreq r3, [r1, #28] + 8004936: 6413 strne r3, [r2, #64] ; 0x40 + 8004938: 4303 orreq r3, r0 + 800493a: 6453 streq r3, [r2, #68] ; 0x44 + 800493c: bf18 it ne + 800493e: 6450 strne r0, [r2, #68] ; 0x44 + 8004940: 4b28 ldr r3, [pc, #160] ; (80049e4 ) + 8004942: 684a ldr r2, [r1, #4] + 8004944: 671a str r2, [r3, #112] ; 0x70 + 8004946: 6b2a ldr r2, [r5, #48] ; 0x30 + 8004948: f042 0201 orr.w r2, r2, #1 + 800494c: 632a str r2, [r5, #48] ; 0x30 + 800494e: 699a ldr r2, [r3, #24] + 8004950: f442 5288 orr.w r2, r2, #4352 ; 0x1100 + 8004954: 619a str r2, [r3, #24] + 8004956: 4a24 ldr r2, [pc, #144] ; (80049e8 ) + 8004958: f8d2 3080 ldr.w r3, [r2, #128] ; 0x80 + 800495c: f443 3300 orr.w r3, r3, #131072 ; 0x20000 + 8004960: f8c2 3080 str.w r3, [r2, #128] ; 0x80 + 8004964: 4b1f ldr r3, [pc, #124] ; (80049e4 ) + 8004966: 22ff movs r2, #255 ; 0xff + 8004968: 625a str r2, [r3, #36] ; 0x24 + 800496a: 2000 movs r0, #0 + 800496c: 2301 movs r3, #1 + 800496e: f885 302d strb.w r3, [r5, #45] ; 0x2d + 8004972: f885 002c strb.w r0, [r5, #44] ; 0x2c + 8004976: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800497a: f1b4 3f80 cmp.w r4, #2155905152 ; 0x80808080 + 800497e: d007 beq.n 8004990 + 8004980: f5b4 0f00 cmp.w r4, #8388608 ; 0x800000 + 8004984: d004 beq.n 8004990 + 8004986: 699b ldr r3, [r3, #24] + 8004988: f013 0340 ands.w r3, r3, #64 ; 0x40 + 800498c: bf08 it eq + 800498e: 70cb strbeq r3, [r1, #3] + 8004990: 6a0b ldr r3, [r1, #32] + 8004992: 78ca ldrb r2, [r1, #3] + 8004994: 431c orrs r4, r3 + 8004996: ea44 040a orr.w r4, r4, sl + 800499a: ea44 4300 orr.w r3, r4, r0, lsl #16 + 800499e: ea43 2309 orr.w r3, r3, r9, lsl #8 + 80049a2: ea43 5382 orr.w r3, r3, r2, lsl #22 + 80049a6: ea43 6307 orr.w r3, r3, r7, lsl #24 + 80049aa: e7b0 b.n 800490e + 80049ac: 2300 movs r3, #0 + 80049ae: e7ae b.n 800490e + 80049b0: f424 5408 bic.w r4, r4, #8704 ; 0x2200 + 80049b4: 6194 str r4, [r2, #24] + 80049b6: 2402 movs r4, #2 + 80049b8: 65d4 str r4, [r2, #92] ; 0x5c + 80049ba: f5b6 7f80 cmp.w r6, #256 ; 0x100 + 80049be: bf09 itett eq + 80049c0: 69cb ldreq r3, [r1, #28] + 80049c2: 6493 strne r3, [r2, #72] ; 0x48 + 80049c4: 4303 orreq r3, r0 + 80049c6: 64d3 streq r3, [r2, #76] ; 0x4c + 80049c8: bf18 it ne + 80049ca: 64d0 strne r0, [r2, #76] ; 0x4c + 80049cc: 4b05 ldr r3, [pc, #20] ; (80049e4 ) + 80049ce: 684a ldr r2, [r1, #4] + 80049d0: 675a str r2, [r3, #116] ; 0x74 + 80049d2: 6b2a ldr r2, [r5, #48] ; 0x30 + 80049d4: f042 0202 orr.w r2, r2, #2 + 80049d8: 632a str r2, [r5, #48] ; 0x30 + 80049da: 699a ldr r2, [r3, #24] + 80049dc: f442 5208 orr.w r2, r2, #8704 ; 0x2200 + 80049e0: e7b8 b.n 8004954 + 80049e2: bf00 nop + 80049e4: 40002800 .word 0x40002800 + 80049e8: 58000800 .word 0x58000800 -080049d8 : - 80049d8: f890 202c ldrb.w r2, [r0, #44] ; 0x2c - 80049dc: 2a01 cmp r2, #1 - 80049de: 4603 mov r3, r0 - 80049e0: f04f 0002 mov.w r0, #2 - 80049e4: d012 beq.n 8004a0c - 80049e6: 4a0a ldr r2, [pc, #40] ; (8004a10 ) - 80049e8: f883 002d strb.w r0, [r3, #45] ; 0x2d - 80049ec: 21ca movs r1, #202 ; 0xca - 80049ee: 6251 str r1, [r2, #36] ; 0x24 - 80049f0: 2153 movs r1, #83 ; 0x53 - 80049f2: 6251 str r1, [r2, #36] ; 0x24 - 80049f4: 6991 ldr r1, [r2, #24] - 80049f6: f041 0120 orr.w r1, r1, #32 - 80049fa: 6191 str r1, [r2, #24] - 80049fc: 21ff movs r1, #255 ; 0xff - 80049fe: 6251 str r1, [r2, #36] ; 0x24 - 8004a00: 2000 movs r0, #0 - 8004a02: 2201 movs r2, #1 - 8004a04: f883 202d strb.w r2, [r3, #45] ; 0x2d - 8004a08: f883 002c strb.w r0, [r3, #44] ; 0x2c - 8004a0c: 4770 bx lr - 8004a0e: bf00 nop - 8004a10: 40002800 .word 0x40002800 +080049ec : + 80049ec: f890 202c ldrb.w r2, [r0, #44] ; 0x2c + 80049f0: 2a01 cmp r2, #1 + 80049f2: 4603 mov r3, r0 + 80049f4: f04f 0002 mov.w r0, #2 + 80049f8: d012 beq.n 8004a20 + 80049fa: 4a0a ldr r2, [pc, #40] ; (8004a24 ) + 80049fc: f883 002d strb.w r0, [r3, #45] ; 0x2d + 8004a00: 21ca movs r1, #202 ; 0xca + 8004a02: 6251 str r1, [r2, #36] ; 0x24 + 8004a04: 2153 movs r1, #83 ; 0x53 + 8004a06: 6251 str r1, [r2, #36] ; 0x24 + 8004a08: 6991 ldr r1, [r2, #24] + 8004a0a: f041 0120 orr.w r1, r1, #32 + 8004a0e: 6191 str r1, [r2, #24] + 8004a10: 21ff movs r1, #255 ; 0xff + 8004a12: 6251 str r1, [r2, #36] ; 0x24 + 8004a14: 2000 movs r0, #0 + 8004a16: 2201 movs r2, #1 + 8004a18: f883 202d strb.w r2, [r3, #45] ; 0x2d + 8004a1c: f883 002c strb.w r0, [r3, #44] ; 0x2c + 8004a20: 4770 bx lr + 8004a22: bf00 nop + 8004a24: 40002800 .word 0x40002800 -08004a14 : - 8004a14: f890 202c ldrb.w r2, [r0, #44] ; 0x2c - 8004a18: 2a01 cmp r2, #1 - 8004a1a: 4603 mov r3, r0 - 8004a1c: f04f 0002 mov.w r0, #2 - 8004a20: d019 beq.n 8004a56 - 8004a22: 4a0d ldr r2, [pc, #52] ; (8004a58 ) - 8004a24: f883 002d strb.w r0, [r3, #45] ; 0x2d - 8004a28: 21ca movs r1, #202 ; 0xca - 8004a2a: 6251 str r1, [r2, #36] ; 0x24 - 8004a2c: 2153 movs r1, #83 ; 0x53 - 8004a2e: 6251 str r1, [r2, #36] ; 0x24 - 8004a30: 6991 ldr r1, [r2, #24] - 8004a32: 480a ldr r0, [pc, #40] ; (8004a5c ) - 8004a34: f041 0180 orr.w r1, r1, #128 ; 0x80 - 8004a38: 6191 str r1, [r2, #24] - 8004a3a: f8d0 1080 ldr.w r1, [r0, #128] ; 0x80 - 8004a3e: f441 2180 orr.w r1, r1, #262144 ; 0x40000 - 8004a42: f8c0 1080 str.w r1, [r0, #128] ; 0x80 - 8004a46: 21ff movs r1, #255 ; 0xff - 8004a48: 6251 str r1, [r2, #36] ; 0x24 - 8004a4a: 2000 movs r0, #0 - 8004a4c: 2201 movs r2, #1 - 8004a4e: f883 202d strb.w r2, [r3, #45] ; 0x2d - 8004a52: f883 002c strb.w r0, [r3, #44] ; 0x2c - 8004a56: 4770 bx lr - 8004a58: 40002800 .word 0x40002800 - 8004a5c: 58000800 .word 0x58000800 +08004a28 : + 8004a28: f890 202c ldrb.w r2, [r0, #44] ; 0x2c + 8004a2c: 2a01 cmp r2, #1 + 8004a2e: 4603 mov r3, r0 + 8004a30: f04f 0002 mov.w r0, #2 + 8004a34: d019 beq.n 8004a6a + 8004a36: 4a0d ldr r2, [pc, #52] ; (8004a6c ) + 8004a38: f883 002d strb.w r0, [r3, #45] ; 0x2d + 8004a3c: 21ca movs r1, #202 ; 0xca + 8004a3e: 6251 str r1, [r2, #36] ; 0x24 + 8004a40: 2153 movs r1, #83 ; 0x53 + 8004a42: 6251 str r1, [r2, #36] ; 0x24 + 8004a44: 6991 ldr r1, [r2, #24] + 8004a46: 480a ldr r0, [pc, #40] ; (8004a70 ) + 8004a48: f041 0180 orr.w r1, r1, #128 ; 0x80 + 8004a4c: 6191 str r1, [r2, #24] + 8004a4e: f8d0 1080 ldr.w r1, [r0, #128] ; 0x80 + 8004a52: f441 2180 orr.w r1, r1, #262144 ; 0x40000 + 8004a56: f8c0 1080 str.w r1, [r0, #128] ; 0x80 + 8004a5a: 21ff movs r1, #255 ; 0xff + 8004a5c: 6251 str r1, [r2, #36] ; 0x24 + 8004a5e: 2000 movs r0, #0 + 8004a60: 2201 movs r2, #1 + 8004a62: f883 202d strb.w r2, [r3, #45] ; 0x2d + 8004a66: f883 002c strb.w r0, [r3, #44] ; 0x2c + 8004a6a: 4770 bx lr + 8004a6c: 40002800 .word 0x40002800 + 8004a70: 58000800 .word 0x58000800 -08004a60 : - 8004a60: 4b06 ldr r3, [pc, #24] ; (8004a7c ) - 8004a62: 6d5a ldr r2, [r3, #84] ; 0x54 - 8004a64: 0652 lsls r2, r2, #25 - 8004a66: b510 push {r4, lr} - 8004a68: 4604 mov r4, r0 - 8004a6a: d503 bpl.n 8004a74 - 8004a6c: 2240 movs r2, #64 ; 0x40 - 8004a6e: 65da str r2, [r3, #92] ; 0x5c - 8004a70: f7fd f87c bl 8001b6c - 8004a74: 2301 movs r3, #1 - 8004a76: f884 302d strb.w r3, [r4, #45] ; 0x2d - 8004a7a: bd10 pop {r4, pc} - 8004a7c: 40002800 .word 0x40002800 +08004a74 : + 8004a74: 4b06 ldr r3, [pc, #24] ; (8004a90 ) + 8004a76: 6d5a ldr r2, [r3, #84] ; 0x54 + 8004a78: 0652 lsls r2, r2, #25 + 8004a7a: b510 push {r4, lr} + 8004a7c: 4604 mov r4, r0 + 8004a7e: d503 bpl.n 8004a88 + 8004a80: 2240 movs r2, #64 ; 0x40 + 8004a82: 65da str r2, [r3, #92] ; 0x5c + 8004a84: f7fd f872 bl 8001b6c + 8004a88: 2301 movs r3, #1 + 8004a8a: f884 302d strb.w r3, [r4, #45] ; 0x2d + 8004a8e: bd10 pop {r4, pc} + 8004a90: 40002800 .word 0x40002800 -08004a80 : - 8004a80: 4770 bx lr +08004a94 : + 8004a94: 4770 bx lr -08004a82 : - 8004a82: 0089 lsls r1, r1, #2 - 8004a84: f101 4180 add.w r1, r1, #1073741824 ; 0x40000000 - 8004a88: f501 4131 add.w r1, r1, #45312 ; 0xb100 - 8004a8c: 600a str r2, [r1, #0] - 8004a8e: 4770 bx lr +08004a96 : + 8004a96: 0089 lsls r1, r1, #2 + 8004a98: f101 4180 add.w r1, r1, #1073741824 ; 0x40000000 + 8004a9c: f501 4131 add.w r1, r1, #45312 ; 0xb100 + 8004aa0: 600a str r2, [r1, #0] + 8004aa2: 4770 bx lr -08004a90 : - 8004a90: 0089 lsls r1, r1, #2 - 8004a92: f101 4180 add.w r1, r1, #1073741824 ; 0x40000000 - 8004a96: f501 4131 add.w r1, r1, #45312 ; 0xb100 - 8004a9a: 6808 ldr r0, [r1, #0] - 8004a9c: 4770 bx lr +08004aa4 : + 8004aa4: 0089 lsls r1, r1, #2 + 8004aa6: f101 4180 add.w r1, r1, #1073741824 ; 0x40000000 + 8004aaa: f501 4131 add.w r1, r1, #45312 ; 0xb100 + 8004aae: 6808 ldr r0, [r1, #0] + 8004ab0: 4770 bx lr ... -08004aa0 : - 8004aa0: 4a03 ldr r2, [pc, #12] ; (8004ab0 ) - 8004aa2: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 - 8004aa6: f443 4300 orr.w r3, r3, #32768 ; 0x8000 - 8004aaa: f8c2 3090 str.w r3, [r2, #144] ; 0x90 - 8004aae: 4770 bx lr - 8004ab0: 58000400 .word 0x58000400 - -08004ab4 : - 8004ab4: 4a03 ldr r2, [pc, #12] ; (8004ac4 ) +08004ab4 : + 8004ab4: 4a03 ldr r2, [pc, #12] ; (8004ac4 ) 8004ab6: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 - 8004aba: f423 4300 bic.w r3, r3, #32768 ; 0x8000 + 8004aba: f443 4300 orr.w r3, r3, #32768 ; 0x8000 8004abe: f8c2 3090 str.w r3, [r2, #144] ; 0x90 8004ac2: 4770 bx lr 8004ac4: 58000400 .word 0x58000400 -08004ac8 : - 8004ac8: 4b07 ldr r3, [pc, #28] ; (8004ae8 ) - 8004aca: 681a ldr r2, [r3, #0] - 8004acc: f022 0240 bic.w r2, r2, #64 ; 0x40 - 8004ad0: 601a str r2, [r3, #0] - 8004ad2: f440 7041 orr.w r0, r0, #772 ; 0x304 - 8004ad6: f44f 52b8 mov.w r2, #5888 ; 0x1700 - 8004ada: 6018 str r0, [r3, #0] - 8004adc: 605a str r2, [r3, #4] +08004ac8 : + 8004ac8: 4a03 ldr r2, [pc, #12] ; (8004ad8 ) + 8004aca: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 + 8004ace: f423 4300 bic.w r3, r3, #32768 ; 0x8000 + 8004ad2: f8c2 3090 str.w r3, [r2, #144] ; 0x90 + 8004ad6: 4770 bx lr + 8004ad8: 58000400 .word 0x58000400 + +08004adc : + 8004adc: 4b07 ldr r3, [pc, #28] ; (8004afc ) 8004ade: 681a ldr r2, [r3, #0] - 8004ae0: f042 0240 orr.w r2, r2, #64 ; 0x40 + 8004ae0: f022 0240 bic.w r2, r2, #64 ; 0x40 8004ae4: 601a str r2, [r3, #0] - 8004ae6: 4770 bx lr - 8004ae8: 58010000 .word 0x58010000 + 8004ae6: f440 7041 orr.w r0, r0, #772 ; 0x304 + 8004aea: f44f 52b8 mov.w r2, #5888 ; 0x1700 + 8004aee: 6018 str r0, [r3, #0] + 8004af0: 605a str r2, [r3, #4] + 8004af2: 681a ldr r2, [r3, #0] + 8004af4: f042 0240 orr.w r2, r2, #64 ; 0x40 + 8004af8: 601a str r2, [r3, #0] + 8004afa: 4770 bx lr + 8004afc: 58010000 .word 0x58010000 -08004aec : - 8004aec: b537 push {r0, r1, r2, r4, r5, lr} - 8004aee: 4605 mov r5, r0 - 8004af0: 2800 cmp r0, #0 - 8004af2: d04e beq.n 8004b92 - 8004af4: 7983 ldrb r3, [r0, #6] - 8004af6: f003 04ff and.w r4, r3, #255 ; 0xff - 8004afa: b16b cbz r3, 8004b18 - 8004afc: 2c03 cmp r4, #3 - 8004afe: d00b beq.n 8004b18 - 8004b00: 4b25 ldr r3, [pc, #148] ; (8004b98 ) - 8004b02: f44f 6200 mov.w r2, #2048 ; 0x800 - 8004b06: 619a str r2, [r3, #24] - 8004b08: 6828 ldr r0, [r5, #0] - 8004b0a: f7ff ffdd bl 8004ac8 - 8004b0e: 2400 movs r4, #0 - 8004b10: 2301 movs r3, #1 - 8004b12: 712b strb r3, [r5, #4] - 8004b14: 60ac str r4, [r5, #8] - 8004b16: e02f b.n 8004b78 - 8004b18: 2300 movs r3, #0 - 8004b1a: 716b strb r3, [r5, #5] - 8004b1c: 4628 mov r0, r5 - 8004b1e: f7fc fde7 bl 80016f0 - 8004b22: 4a1e ldr r2, [pc, #120] ; (8004b9c ) - 8004b24: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 - 8004b28: f443 5380 orr.w r3, r3, #4096 ; 0x1000 - 8004b2c: f8c2 3090 str.w r3, [r2, #144] ; 0x90 - 8004b30: 2c00 cmp r4, #0 - 8004b32: d1e5 bne.n 8004b00 - 8004b34: 2302 movs r3, #2 - 8004b36: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8004b3a: 71ab strb r3, [r5, #6] - 8004b3c: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 - 8004b40: f423 4300 bic.w r3, r3, #32768 ; 0x8000 - 8004b44: f8c2 3094 str.w r3, [r2, #148] ; 0x94 - 8004b48: 4b15 ldr r3, [pc, #84] ; (8004ba0 ) - 8004b4a: 681b ldr r3, [r3, #0] - 8004b4c: 211c movs r1, #28 - 8004b4e: 434b muls r3, r1 - 8004b50: 0cdb lsrs r3, r3, #19 - 8004b52: 2164 movs r1, #100 ; 0x64 - 8004b54: 434b muls r3, r1 - 8004b56: 9301 str r3, [sp, #4] - 8004b58: 9b01 ldr r3, [sp, #4] - 8004b5a: b993 cbnz r3, 8004b82 - 8004b5c: 2401 movs r4, #1 - 8004b5e: 60ac str r4, [r5, #8] - 8004b60: f7ff ff9e bl 8004aa0 - 8004b64: 4b0c ldr r3, [pc, #48] ; (8004b98 ) - 8004b66: 689a ldr r2, [r3, #8] - 8004b68: f442 6200 orr.w r2, r2, #2048 ; 0x800 - 8004b6c: 609a str r2, [r3, #8] - 8004b6e: f44f 6200 mov.w r2, #2048 ; 0x800 - 8004b72: 619a str r2, [r3, #24] - 8004b74: 2c00 cmp r4, #0 - 8004b76: d0c7 beq.n 8004b08 - 8004b78: 2301 movs r3, #1 - 8004b7a: 71ab strb r3, [r5, #6] - 8004b7c: 4620 mov r0, r4 - 8004b7e: b003 add sp, #12 - 8004b80: bd30 pop {r4, r5, pc} - 8004b82: 9b01 ldr r3, [sp, #4] - 8004b84: 3b01 subs r3, #1 - 8004b86: 9301 str r3, [sp, #4] - 8004b88: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 - 8004b8c: 045b lsls r3, r3, #17 - 8004b8e: d4e3 bmi.n 8004b58 - 8004b90: e7e6 b.n 8004b60 - 8004b92: 2401 movs r4, #1 - 8004b94: e7f2 b.n 8004b7c - 8004b96: bf00 nop - 8004b98: 58000400 .word 0x58000400 - 8004b9c: 58000800 .word 0x58000800 - 8004ba0: 20000074 .word 0x20000074 +08004b00 : + 8004b00: b537 push {r0, r1, r2, r4, r5, lr} + 8004b02: 4605 mov r5, r0 + 8004b04: 2800 cmp r0, #0 + 8004b06: d04e beq.n 8004ba6 + 8004b08: 7983 ldrb r3, [r0, #6] + 8004b0a: f003 04ff and.w r4, r3, #255 ; 0xff + 8004b0e: b16b cbz r3, 8004b2c + 8004b10: 2c03 cmp r4, #3 + 8004b12: d00b beq.n 8004b2c + 8004b14: 4b25 ldr r3, [pc, #148] ; (8004bac ) + 8004b16: f44f 6200 mov.w r2, #2048 ; 0x800 + 8004b1a: 619a str r2, [r3, #24] + 8004b1c: 6828 ldr r0, [r5, #0] + 8004b1e: f7ff ffdd bl 8004adc + 8004b22: 2400 movs r4, #0 + 8004b24: 2301 movs r3, #1 + 8004b26: 712b strb r3, [r5, #4] + 8004b28: 60ac str r4, [r5, #8] + 8004b2a: e02f b.n 8004b8c + 8004b2c: 2300 movs r3, #0 + 8004b2e: 716b strb r3, [r5, #5] + 8004b30: 4628 mov r0, r5 + 8004b32: f7fc fddd bl 80016f0 + 8004b36: 4a1e ldr r2, [pc, #120] ; (8004bb0 ) + 8004b38: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 + 8004b3c: f443 5380 orr.w r3, r3, #4096 ; 0x1000 + 8004b40: f8c2 3090 str.w r3, [r2, #144] ; 0x90 + 8004b44: 2c00 cmp r4, #0 + 8004b46: d1e5 bne.n 8004b14 + 8004b48: 2302 movs r3, #2 + 8004b4a: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8004b4e: 71ab strb r3, [r5, #6] + 8004b50: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 + 8004b54: f423 4300 bic.w r3, r3, #32768 ; 0x8000 + 8004b58: f8c2 3094 str.w r3, [r2, #148] ; 0x94 + 8004b5c: 4b15 ldr r3, [pc, #84] ; (8004bb4 ) + 8004b5e: 681b ldr r3, [r3, #0] + 8004b60: 211c movs r1, #28 + 8004b62: 434b muls r3, r1 + 8004b64: 0cdb lsrs r3, r3, #19 + 8004b66: 2164 movs r1, #100 ; 0x64 + 8004b68: 434b muls r3, r1 + 8004b6a: 9301 str r3, [sp, #4] + 8004b6c: 9b01 ldr r3, [sp, #4] + 8004b6e: b993 cbnz r3, 8004b96 + 8004b70: 2401 movs r4, #1 + 8004b72: 60ac str r4, [r5, #8] + 8004b74: f7ff ff9e bl 8004ab4 + 8004b78: 4b0c ldr r3, [pc, #48] ; (8004bac ) + 8004b7a: 689a ldr r2, [r3, #8] + 8004b7c: f442 6200 orr.w r2, r2, #2048 ; 0x800 + 8004b80: 609a str r2, [r3, #8] + 8004b82: f44f 6200 mov.w r2, #2048 ; 0x800 + 8004b86: 619a str r2, [r3, #24] + 8004b88: 2c00 cmp r4, #0 + 8004b8a: d0c7 beq.n 8004b1c + 8004b8c: 2301 movs r3, #1 + 8004b8e: 71ab strb r3, [r5, #6] + 8004b90: 4620 mov r0, r4 + 8004b92: b003 add sp, #12 + 8004b94: bd30 pop {r4, r5, pc} + 8004b96: 9b01 ldr r3, [sp, #4] + 8004b98: 3b01 subs r3, #1 + 8004b9a: 9301 str r3, [sp, #4] + 8004b9c: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 + 8004ba0: 045b lsls r3, r3, #17 + 8004ba2: d4e3 bmi.n 8004b6c + 8004ba4: e7e6 b.n 8004b74 + 8004ba6: 2401 movs r4, #1 + 8004ba8: e7f2 b.n 8004b90 + 8004baa: bf00 nop + 8004bac: 58000400 .word 0x58000400 + 8004bb0: 58000800 .word 0x58000800 + 8004bb4: 20000074 .word 0x20000074 -08004ba4 : - 8004ba4: b537 push {r0, r1, r2, r4, r5, lr} - 8004ba6: 4d17 ldr r5, [pc, #92] ; (8004c04 ) - 8004ba8: 682b ldr r3, [r5, #0] - 8004baa: 4602 mov r2, r0 - 8004bac: 201c movs r0, #28 - 8004bae: 4343 muls r3, r0 - 8004bb0: 0cdb lsrs r3, r3, #19 - 8004bb2: 2064 movs r0, #100 ; 0x64 - 8004bb4: 4343 muls r3, r0 - 8004bb6: 4814 ldr r0, [pc, #80] ; (8004c08 ) - 8004bb8: 9301 str r3, [sp, #4] - 8004bba: 9b01 ldr r3, [sp, #4] - 8004bbc: b993 cbnz r3, 8004be4 - 8004bbe: 2001 movs r0, #1 - 8004bc0: 6090 str r0, [r2, #8] - 8004bc2: 4c11 ldr r4, [pc, #68] ; (8004c08 ) - 8004bc4: 7321 strb r1, [r4, #12] - 8004bc6: 682b ldr r3, [r5, #0] - 8004bc8: 211c movs r1, #28 - 8004bca: 434b muls r3, r1 - 8004bcc: 0cdb lsrs r3, r3, #19 - 8004bce: 2164 movs r1, #100 ; 0x64 - 8004bd0: 434b muls r3, r1 - 8004bd2: 9301 str r3, [sp, #4] - 8004bd4: 9b01 ldr r3, [sp, #4] - 8004bd6: b96b cbnz r3, 8004bf4 - 8004bd8: 2001 movs r0, #1 - 8004bda: 6090 str r0, [r2, #8] - 8004bdc: 4b0a ldr r3, [pc, #40] ; (8004c08 ) - 8004bde: 68db ldr r3, [r3, #12] - 8004be0: b003 add sp, #12 - 8004be2: bd30 pop {r4, r5, pc} - 8004be4: 9b01 ldr r3, [sp, #4] - 8004be6: 3b01 subs r3, #1 - 8004be8: 9301 str r3, [sp, #4] - 8004bea: 6883 ldr r3, [r0, #8] - 8004bec: 079c lsls r4, r3, #30 - 8004bee: d5e4 bpl.n 8004bba - 8004bf0: 2000 movs r0, #0 - 8004bf2: e7e6 b.n 8004bc2 - 8004bf4: 9b01 ldr r3, [sp, #4] - 8004bf6: 3b01 subs r3, #1 - 8004bf8: 9301 str r3, [sp, #4] - 8004bfa: 68a3 ldr r3, [r4, #8] - 8004bfc: 07db lsls r3, r3, #31 - 8004bfe: d5e9 bpl.n 8004bd4 - 8004c00: e7ec b.n 8004bdc - 8004c02: bf00 nop - 8004c04: 20000074 .word 0x20000074 - 8004c08: 58010000 .word 0x58010000 +08004bb8 : + 8004bb8: b537 push {r0, r1, r2, r4, r5, lr} + 8004bba: 4d17 ldr r5, [pc, #92] ; (8004c18 ) + 8004bbc: 682b ldr r3, [r5, #0] + 8004bbe: 4602 mov r2, r0 + 8004bc0: 201c movs r0, #28 + 8004bc2: 4343 muls r3, r0 + 8004bc4: 0cdb lsrs r3, r3, #19 + 8004bc6: 2064 movs r0, #100 ; 0x64 + 8004bc8: 4343 muls r3, r0 + 8004bca: 4814 ldr r0, [pc, #80] ; (8004c1c ) + 8004bcc: 9301 str r3, [sp, #4] + 8004bce: 9b01 ldr r3, [sp, #4] + 8004bd0: b993 cbnz r3, 8004bf8 + 8004bd2: 2001 movs r0, #1 + 8004bd4: 6090 str r0, [r2, #8] + 8004bd6: 4c11 ldr r4, [pc, #68] ; (8004c1c ) + 8004bd8: 7321 strb r1, [r4, #12] + 8004bda: 682b ldr r3, [r5, #0] + 8004bdc: 211c movs r1, #28 + 8004bde: 434b muls r3, r1 + 8004be0: 0cdb lsrs r3, r3, #19 + 8004be2: 2164 movs r1, #100 ; 0x64 + 8004be4: 434b muls r3, r1 + 8004be6: 9301 str r3, [sp, #4] + 8004be8: 9b01 ldr r3, [sp, #4] + 8004bea: b96b cbnz r3, 8004c08 + 8004bec: 2001 movs r0, #1 + 8004bee: 6090 str r0, [r2, #8] + 8004bf0: 4b0a ldr r3, [pc, #40] ; (8004c1c ) + 8004bf2: 68db ldr r3, [r3, #12] + 8004bf4: b003 add sp, #12 + 8004bf6: bd30 pop {r4, r5, pc} + 8004bf8: 9b01 ldr r3, [sp, #4] + 8004bfa: 3b01 subs r3, #1 + 8004bfc: 9301 str r3, [sp, #4] + 8004bfe: 6883 ldr r3, [r0, #8] + 8004c00: 079c lsls r4, r3, #30 + 8004c02: d5e4 bpl.n 8004bce + 8004c04: 2000 movs r0, #0 + 8004c06: e7e6 b.n 8004bd6 + 8004c08: 9b01 ldr r3, [sp, #4] + 8004c0a: 3b01 subs r3, #1 + 8004c0c: 9301 str r3, [sp, #4] + 8004c0e: 68a3 ldr r3, [r4, #8] + 8004c10: 07db lsls r3, r3, #31 + 8004c12: d5e9 bpl.n 8004be8 + 8004c14: e7ec b.n 8004bf0 + 8004c16: bf00 nop + 8004c18: 20000074 .word 0x20000074 + 8004c1c: 58010000 .word 0x58010000 -08004c0c : - 8004c0c: b537 push {r0, r1, r2, r4, r5, lr} - 8004c0e: 4d18 ldr r5, [pc, #96] ; (8004c70 ) - 8004c10: 682b ldr r3, [r5, #0] - 8004c12: 4602 mov r2, r0 - 8004c14: 201c movs r0, #28 - 8004c16: 4343 muls r3, r0 - 8004c18: 0cdb lsrs r3, r3, #19 - 8004c1a: 2064 movs r0, #100 ; 0x64 - 8004c1c: 4343 muls r3, r0 - 8004c1e: 4815 ldr r0, [pc, #84] ; (8004c74 ) - 8004c20: 9301 str r3, [sp, #4] - 8004c22: 9b01 ldr r3, [sp, #4] - 8004c24: b9a3 cbnz r3, 8004c50 - 8004c26: 2001 movs r0, #1 - 8004c28: 6090 str r0, [r2, #8] - 8004c2a: 4c12 ldr r4, [pc, #72] ; (8004c74 ) - 8004c2c: 23ff movs r3, #255 ; 0xff - 8004c2e: 7323 strb r3, [r4, #12] - 8004c30: 682b ldr r3, [r5, #0] - 8004c32: 251c movs r5, #28 - 8004c34: 436b muls r3, r5 - 8004c36: 0cdb lsrs r3, r3, #19 - 8004c38: 2564 movs r5, #100 ; 0x64 - 8004c3a: 436b muls r3, r5 - 8004c3c: 9301 str r3, [sp, #4] - 8004c3e: 9b01 ldr r3, [sp, #4] - 8004c40: b973 cbnz r3, 8004c60 - 8004c42: 2001 movs r0, #1 - 8004c44: 6090 str r0, [r2, #8] - 8004c46: 4b0b ldr r3, [pc, #44] ; (8004c74 ) - 8004c48: 68db ldr r3, [r3, #12] - 8004c4a: 700b strb r3, [r1, #0] - 8004c4c: b003 add sp, #12 - 8004c4e: bd30 pop {r4, r5, pc} - 8004c50: 9b01 ldr r3, [sp, #4] - 8004c52: 3b01 subs r3, #1 - 8004c54: 9301 str r3, [sp, #4] - 8004c56: 6883 ldr r3, [r0, #8] - 8004c58: 079c lsls r4, r3, #30 - 8004c5a: d5e2 bpl.n 8004c22 - 8004c5c: 2000 movs r0, #0 - 8004c5e: e7e4 b.n 8004c2a - 8004c60: 9b01 ldr r3, [sp, #4] - 8004c62: 3b01 subs r3, #1 - 8004c64: 9301 str r3, [sp, #4] - 8004c66: 68a3 ldr r3, [r4, #8] - 8004c68: 07db lsls r3, r3, #31 - 8004c6a: d5e8 bpl.n 8004c3e - 8004c6c: e7eb b.n 8004c46 - 8004c6e: bf00 nop - 8004c70: 20000074 .word 0x20000074 - 8004c74: 58010000 .word 0x58010000 +08004c20 : + 8004c20: b537 push {r0, r1, r2, r4, r5, lr} + 8004c22: 4d18 ldr r5, [pc, #96] ; (8004c84 ) + 8004c24: 682b ldr r3, [r5, #0] + 8004c26: 4602 mov r2, r0 + 8004c28: 201c movs r0, #28 + 8004c2a: 4343 muls r3, r0 + 8004c2c: 0cdb lsrs r3, r3, #19 + 8004c2e: 2064 movs r0, #100 ; 0x64 + 8004c30: 4343 muls r3, r0 + 8004c32: 4815 ldr r0, [pc, #84] ; (8004c88 ) + 8004c34: 9301 str r3, [sp, #4] + 8004c36: 9b01 ldr r3, [sp, #4] + 8004c38: b9a3 cbnz r3, 8004c64 + 8004c3a: 2001 movs r0, #1 + 8004c3c: 6090 str r0, [r2, #8] + 8004c3e: 4c12 ldr r4, [pc, #72] ; (8004c88 ) + 8004c40: 23ff movs r3, #255 ; 0xff + 8004c42: 7323 strb r3, [r4, #12] + 8004c44: 682b ldr r3, [r5, #0] + 8004c46: 251c movs r5, #28 + 8004c48: 436b muls r3, r5 + 8004c4a: 0cdb lsrs r3, r3, #19 + 8004c4c: 2564 movs r5, #100 ; 0x64 + 8004c4e: 436b muls r3, r5 + 8004c50: 9301 str r3, [sp, #4] + 8004c52: 9b01 ldr r3, [sp, #4] + 8004c54: b973 cbnz r3, 8004c74 + 8004c56: 2001 movs r0, #1 + 8004c58: 6090 str r0, [r2, #8] + 8004c5a: 4b0b ldr r3, [pc, #44] ; (8004c88 ) + 8004c5c: 68db ldr r3, [r3, #12] + 8004c5e: 700b strb r3, [r1, #0] + 8004c60: b003 add sp, #12 + 8004c62: bd30 pop {r4, r5, pc} + 8004c64: 9b01 ldr r3, [sp, #4] + 8004c66: 3b01 subs r3, #1 + 8004c68: 9301 str r3, [sp, #4] + 8004c6a: 6883 ldr r3, [r0, #8] + 8004c6c: 079c lsls r4, r3, #30 + 8004c6e: d5e2 bpl.n 8004c36 + 8004c70: 2000 movs r0, #0 + 8004c72: e7e4 b.n 8004c3e + 8004c74: 9b01 ldr r3, [sp, #4] + 8004c76: 3b01 subs r3, #1 + 8004c78: 9301 str r3, [sp, #4] + 8004c7a: 68a3 ldr r3, [r4, #8] + 8004c7c: 07db lsls r3, r3, #31 + 8004c7e: d5e8 bpl.n 8004c52 + 8004c80: e7eb b.n 8004c5a + 8004c82: bf00 nop + 8004c84: 20000074 .word 0x20000074 + 8004c88: 58010000 .word 0x58010000 -08004c78 : - 8004c78: 4b0f ldr r3, [pc, #60] ; (8004cb8 ) - 8004c7a: b513 push {r0, r1, r4, lr} - 8004c7c: 681b ldr r3, [r3, #0] - 8004c7e: 4c0f ldr r4, [pc, #60] ; (8004cbc ) - 8004c80: 2218 movs r2, #24 - 8004c82: 4353 muls r3, r2 - 8004c84: 0d1b lsrs r3, r3, #20 - 8004c86: 2264 movs r2, #100 ; 0x64 - 8004c88: 4353 muls r3, r2 - 8004c8a: 4601 mov r1, r0 - 8004c8c: 9301 str r3, [sp, #4] - 8004c8e: 6962 ldr r2, [r4, #20] - 8004c90: 9b01 ldr r3, [sp, #4] - 8004c92: f002 0204 and.w r2, r2, #4 - 8004c96: b923 cbnz r3, 8004ca2 - 8004c98: 2302 movs r3, #2 - 8004c9a: 608b str r3, [r1, #8] - 8004c9c: 2001 movs r0, #1 - 8004c9e: b002 add sp, #8 - 8004ca0: bd10 pop {r4, pc} - 8004ca2: 9b01 ldr r3, [sp, #4] - 8004ca4: 3b01 subs r3, #1 - 8004ca6: 9301 str r3, [sp, #4] - 8004ca8: 6960 ldr r0, [r4, #20] - 8004caa: f010 0002 ands.w r0, r0, #2 - 8004cae: d0f6 beq.n 8004c9e - 8004cb0: 2a00 cmp r2, #0 - 8004cb2: d1ec bne.n 8004c8e - 8004cb4: 4610 mov r0, r2 - 8004cb6: e7f2 b.n 8004c9e - 8004cb8: 20000074 .word 0x20000074 - 8004cbc: 58000400 .word 0x58000400 +08004c8c : + 8004c8c: 4b0f ldr r3, [pc, #60] ; (8004ccc ) + 8004c8e: b513 push {r0, r1, r4, lr} + 8004c90: 681b ldr r3, [r3, #0] + 8004c92: 4c0f ldr r4, [pc, #60] ; (8004cd0 ) + 8004c94: 2218 movs r2, #24 + 8004c96: 4353 muls r3, r2 + 8004c98: 0d1b lsrs r3, r3, #20 + 8004c9a: 2264 movs r2, #100 ; 0x64 + 8004c9c: 4353 muls r3, r2 + 8004c9e: 4601 mov r1, r0 + 8004ca0: 9301 str r3, [sp, #4] + 8004ca2: 6962 ldr r2, [r4, #20] + 8004ca4: 9b01 ldr r3, [sp, #4] + 8004ca6: f002 0204 and.w r2, r2, #4 + 8004caa: b923 cbnz r3, 8004cb6 + 8004cac: 2302 movs r3, #2 + 8004cae: 608b str r3, [r1, #8] + 8004cb0: 2001 movs r0, #1 + 8004cb2: b002 add sp, #8 + 8004cb4: bd10 pop {r4, pc} + 8004cb6: 9b01 ldr r3, [sp, #4] + 8004cb8: 3b01 subs r3, #1 + 8004cba: 9301 str r3, [sp, #4] + 8004cbc: 6960 ldr r0, [r4, #20] + 8004cbe: f010 0002 ands.w r0, r0, #2 + 8004cc2: d0f6 beq.n 8004cb2 + 8004cc4: 2a00 cmp r2, #0 + 8004cc6: d1ec bne.n 8004ca2 + 8004cc8: 4610 mov r0, r2 + 8004cca: e7f2 b.n 8004cb2 + 8004ccc: 20000074 .word 0x20000074 + 8004cd0: 58000400 .word 0x58000400 -08004cc0 : - 8004cc0: b507 push {r0, r1, r2, lr} - 8004cc2: 7903 ldrb r3, [r0, #4] - 8004cc4: 2b01 cmp r3, #1 - 8004cc6: d10f bne.n 8004ce8 - 8004cc8: 4b0a ldr r3, [pc, #40] ; (8004cf4 ) - 8004cca: 681b ldr r3, [r3, #0] - 8004ccc: 2218 movs r2, #24 - 8004cce: 4353 muls r3, r2 - 8004cd0: 0c1b lsrs r3, r3, #16 - 8004cd2: 9301 str r3, [sp, #4] - 8004cd4: f7ff feee bl 8004ab4 - 8004cd8: 9b01 ldr r3, [sp, #4] - 8004cda: 3b01 subs r3, #1 - 8004cdc: 9301 str r3, [sp, #4] - 8004cde: 9b01 ldr r3, [sp, #4] - 8004ce0: 2b00 cmp r3, #0 - 8004ce2: d1f9 bne.n 8004cd8 - 8004ce4: f7ff fedc bl 8004aa0 - 8004ce8: b003 add sp, #12 - 8004cea: f85d eb04 ldr.w lr, [sp], #4 - 8004cee: f7ff bfc3 b.w 8004c78 - 8004cf2: bf00 nop - 8004cf4: 20000074 .word 0x20000074 +08004cd4 : + 8004cd4: b507 push {r0, r1, r2, lr} + 8004cd6: 7903 ldrb r3, [r0, #4] + 8004cd8: 2b01 cmp r3, #1 + 8004cda: d10f bne.n 8004cfc + 8004cdc: 4b0a ldr r3, [pc, #40] ; (8004d08 ) + 8004cde: 681b ldr r3, [r3, #0] + 8004ce0: 2218 movs r2, #24 + 8004ce2: 4353 muls r3, r2 + 8004ce4: 0c1b lsrs r3, r3, #16 + 8004ce6: 9301 str r3, [sp, #4] + 8004ce8: f7ff feee bl 8004ac8 + 8004cec: 9b01 ldr r3, [sp, #4] + 8004cee: 3b01 subs r3, #1 + 8004cf0: 9301 str r3, [sp, #4] + 8004cf2: 9b01 ldr r3, [sp, #4] + 8004cf4: 2b00 cmp r3, #0 + 8004cf6: d1f9 bne.n 8004cec + 8004cf8: f7ff fedc bl 8004ab4 + 8004cfc: b003 add sp, #12 + 8004cfe: f85d eb04 ldr.w lr, [sp], #4 + 8004d02: f7ff bfc3 b.w 8004c8c + 8004d06: bf00 nop + 8004d08: 20000074 .word 0x20000074 -08004cf8 : - 8004cf8: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004cfa: 461e mov r6, r3 - 8004cfc: 7983 ldrb r3, [r0, #6] - 8004cfe: 2b01 cmp r3, #1 - 8004d00: 4615 mov r5, r2 - 8004d02: 4604 mov r4, r0 - 8004d04: 460f mov r7, r1 - 8004d06: b2da uxtb r2, r3 - 8004d08: d12d bne.n 8004d66 - 8004d0a: 7943 ldrb r3, [r0, #5] - 8004d0c: 2b01 cmp r3, #1 - 8004d0e: d02a beq.n 8004d66 - 8004d10: 2302 movs r3, #2 - 8004d12: 7142 strb r2, [r0, #5] - 8004d14: 7183 strb r3, [r0, #6] - 8004d16: f7ff ffd3 bl 8004cc0 - 8004d1a: 210d movs r1, #13 - 8004d1c: 4620 mov r0, r4 - 8004d1e: f7ff fec9 bl 8004ab4 - 8004d22: f7ff ff3f bl 8004ba4 - 8004d26: 0a39 lsrs r1, r7, #8 - 8004d28: 4620 mov r0, r4 - 8004d2a: f7ff ff3b bl 8004ba4 - 8004d2e: b2f9 uxtb r1, r7 +08004d0c : + 8004d0c: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004d0e: 461e mov r6, r3 + 8004d10: 7983 ldrb r3, [r0, #6] + 8004d12: 2b01 cmp r3, #1 + 8004d14: 4615 mov r5, r2 + 8004d16: 4604 mov r4, r0 + 8004d18: 460f mov r7, r1 + 8004d1a: b2da uxtb r2, r3 + 8004d1c: d12d bne.n 8004d7a + 8004d1e: 7943 ldrb r3, [r0, #5] + 8004d20: 2b01 cmp r3, #1 + 8004d22: d02a beq.n 8004d7a + 8004d24: 2302 movs r3, #2 + 8004d26: 7142 strb r2, [r0, #5] + 8004d28: 7183 strb r3, [r0, #6] + 8004d2a: f7ff ffd3 bl 8004cd4 + 8004d2e: 210d movs r1, #13 8004d30: 4620 mov r0, r4 - 8004d32: f7ff ff37 bl 8004ba4 - 8004d36: 442e add r6, r5 - 8004d38: 42b5 cmp r5, r6 - 8004d3a: d10e bne.n 8004d5a + 8004d32: f7ff fec9 bl 8004ac8 + 8004d36: f7ff ff3f bl 8004bb8 + 8004d3a: 0a39 lsrs r1, r7, #8 8004d3c: 4620 mov r0, r4 - 8004d3e: f7ff feaf bl 8004aa0 - 8004d42: f7ff ff99 bl 8004c78 - 8004d46: 68a0 ldr r0, [r4, #8] - 8004d48: 2301 movs r3, #1 - 8004d4a: 3800 subs r0, #0 - 8004d4c: 71a3 strb r3, [r4, #6] - 8004d4e: f04f 0300 mov.w r3, #0 - 8004d52: bf18 it ne - 8004d54: 2001 movne r0, #1 - 8004d56: 7163 strb r3, [r4, #5] - 8004d58: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8004d5a: f815 1b01 ldrb.w r1, [r5], #1 - 8004d5e: 4620 mov r0, r4 - 8004d60: f7ff ff20 bl 8004ba4 - 8004d64: e7e8 b.n 8004d38 - 8004d66: 2002 movs r0, #2 - 8004d68: e7f6 b.n 8004d58 + 8004d3e: f7ff ff3b bl 8004bb8 + 8004d42: b2f9 uxtb r1, r7 + 8004d44: 4620 mov r0, r4 + 8004d46: f7ff ff37 bl 8004bb8 + 8004d4a: 442e add r6, r5 + 8004d4c: 42b5 cmp r5, r6 + 8004d4e: d10e bne.n 8004d6e + 8004d50: 4620 mov r0, r4 + 8004d52: f7ff feaf bl 8004ab4 + 8004d56: f7ff ff99 bl 8004c8c + 8004d5a: 68a0 ldr r0, [r4, #8] + 8004d5c: 2301 movs r3, #1 + 8004d5e: 3800 subs r0, #0 + 8004d60: 71a3 strb r3, [r4, #6] + 8004d62: f04f 0300 mov.w r3, #0 + 8004d66: bf18 it ne + 8004d68: 2001 movne r0, #1 + 8004d6a: 7163 strb r3, [r4, #5] + 8004d6c: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004d6e: f815 1b01 ldrb.w r1, [r5], #1 + 8004d72: 4620 mov r0, r4 + 8004d74: f7ff ff20 bl 8004bb8 + 8004d78: e7e8 b.n 8004d4c + 8004d7a: 2002 movs r0, #2 + 8004d7c: e7f6 b.n 8004d6c -08004d6a : - 8004d6a: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004d6c: 461e mov r6, r3 - 8004d6e: 7983 ldrb r3, [r0, #6] - 8004d70: 2b01 cmp r3, #1 - 8004d72: 4615 mov r5, r2 - 8004d74: 4604 mov r4, r0 - 8004d76: 460f mov r7, r1 - 8004d78: b2da uxtb r2, r3 - 8004d7a: d12f bne.n 8004ddc - 8004d7c: 7943 ldrb r3, [r0, #5] - 8004d7e: 2b01 cmp r3, #1 - 8004d80: d02c beq.n 8004ddc - 8004d82: 7142 strb r2, [r0, #5] - 8004d84: f7ff ff9c bl 8004cc0 - 8004d88: 211d movs r1, #29 - 8004d8a: 4620 mov r0, r4 - 8004d8c: f7ff fe92 bl 8004ab4 - 8004d90: f7ff ff08 bl 8004ba4 - 8004d94: 0a39 lsrs r1, r7, #8 - 8004d96: 4620 mov r0, r4 - 8004d98: f7ff ff04 bl 8004ba4 - 8004d9c: b2f9 uxtb r1, r7 +08004d7e : + 8004d7e: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004d80: 461e mov r6, r3 + 8004d82: 7983 ldrb r3, [r0, #6] + 8004d84: 2b01 cmp r3, #1 + 8004d86: 4615 mov r5, r2 + 8004d88: 4604 mov r4, r0 + 8004d8a: 460f mov r7, r1 + 8004d8c: b2da uxtb r2, r3 + 8004d8e: d12f bne.n 8004df0 + 8004d90: 7943 ldrb r3, [r0, #5] + 8004d92: 2b01 cmp r3, #1 + 8004d94: d02c beq.n 8004df0 + 8004d96: 7142 strb r2, [r0, #5] + 8004d98: f7ff ff9c bl 8004cd4 + 8004d9c: 211d movs r1, #29 8004d9e: 4620 mov r0, r4 - 8004da0: f7ff ff00 bl 8004ba4 - 8004da4: 2100 movs r1, #0 - 8004da6: 4620 mov r0, r4 - 8004da8: f7ff fefc bl 8004ba4 - 8004dac: 442e add r6, r5 - 8004dae: 42b5 cmp r5, r6 - 8004db0: d10e bne.n 8004dd0 + 8004da0: f7ff fe92 bl 8004ac8 + 8004da4: f7ff ff08 bl 8004bb8 + 8004da8: 0a39 lsrs r1, r7, #8 + 8004daa: 4620 mov r0, r4 + 8004dac: f7ff ff04 bl 8004bb8 + 8004db0: b2f9 uxtb r1, r7 8004db2: 4620 mov r0, r4 - 8004db4: f7ff fe74 bl 8004aa0 - 8004db8: f7ff ff5e bl 8004c78 - 8004dbc: 68a0 ldr r0, [r4, #8] - 8004dbe: 2301 movs r3, #1 - 8004dc0: 3800 subs r0, #0 - 8004dc2: 71a3 strb r3, [r4, #6] - 8004dc4: f04f 0300 mov.w r3, #0 - 8004dc8: bf18 it ne - 8004dca: 2001 movne r0, #1 - 8004dcc: 7163 strb r3, [r4, #5] - 8004dce: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8004dd0: 4629 mov r1, r5 - 8004dd2: 4620 mov r0, r4 - 8004dd4: f7ff ff1a bl 8004c0c - 8004dd8: 3501 adds r5, #1 - 8004dda: e7e8 b.n 8004dae - 8004ddc: 2002 movs r0, #2 - 8004dde: e7f6 b.n 8004dce + 8004db4: f7ff ff00 bl 8004bb8 + 8004db8: 2100 movs r1, #0 + 8004dba: 4620 mov r0, r4 + 8004dbc: f7ff fefc bl 8004bb8 + 8004dc0: 442e add r6, r5 + 8004dc2: 42b5 cmp r5, r6 + 8004dc4: d10e bne.n 8004de4 + 8004dc6: 4620 mov r0, r4 + 8004dc8: f7ff fe74 bl 8004ab4 + 8004dcc: f7ff ff5e bl 8004c8c + 8004dd0: 68a0 ldr r0, [r4, #8] + 8004dd2: 2301 movs r3, #1 + 8004dd4: 3800 subs r0, #0 + 8004dd6: 71a3 strb r3, [r4, #6] + 8004dd8: f04f 0300 mov.w r3, #0 + 8004ddc: bf18 it ne + 8004dde: 2001 movne r0, #1 + 8004de0: 7163 strb r3, [r4, #5] + 8004de2: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004de4: 4629 mov r1, r5 + 8004de6: 4620 mov r0, r4 + 8004de8: f7ff ff1a bl 8004c20 + 8004dec: 3501 adds r5, #1 + 8004dee: e7e8 b.n 8004dc2 + 8004df0: 2002 movs r0, #2 + 8004df2: e7f6 b.n 8004de2 -08004de0 : - 8004de0: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004de2: 461f mov r7, r3 - 8004de4: 7983 ldrb r3, [r0, #6] - 8004de6: 2b01 cmp r3, #1 - 8004de8: 4615 mov r5, r2 - 8004dea: 4604 mov r4, r0 - 8004dec: 460e mov r6, r1 - 8004dee: b2da uxtb r2, r3 - 8004df0: d12c bne.n 8004e4c - 8004df2: 7943 ldrb r3, [r0, #5] - 8004df4: 2b01 cmp r3, #1 - 8004df6: d029 beq.n 8004e4c - 8004df8: 7142 strb r2, [r0, #5] - 8004dfa: f7ff ff61 bl 8004cc0 - 8004dfe: f006 03ef and.w r3, r6, #239 ; 0xef - 8004e02: f1a3 0284 sub.w r2, r3, #132 ; 0x84 - 8004e06: 4253 negs r3, r2 - 8004e08: 4153 adcs r3, r2 - 8004e0a: 7123 strb r3, [r4, #4] - 8004e0c: 4631 mov r1, r6 - 8004e0e: 4620 mov r0, r4 - 8004e10: f7ff fe50 bl 8004ab4 - 8004e14: f7ff fec6 bl 8004ba4 - 8004e18: 442f add r7, r5 - 8004e1a: 42af cmp r7, r5 - 8004e1c: d110 bne.n 8004e40 - 8004e1e: f7ff fe3f bl 8004aa0 - 8004e22: 2e84 cmp r6, #132 ; 0x84 - 8004e24: d002 beq.n 8004e2c - 8004e26: 4620 mov r0, r4 - 8004e28: f7ff ff26 bl 8004c78 - 8004e2c: 68a0 ldr r0, [r4, #8] - 8004e2e: 2301 movs r3, #1 - 8004e30: 3800 subs r0, #0 - 8004e32: 71a3 strb r3, [r4, #6] - 8004e34: f04f 0300 mov.w r3, #0 - 8004e38: bf18 it ne - 8004e3a: 2001 movne r0, #1 - 8004e3c: 7163 strb r3, [r4, #5] - 8004e3e: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8004e40: f815 1b01 ldrb.w r1, [r5], #1 - 8004e44: 4620 mov r0, r4 - 8004e46: f7ff fead bl 8004ba4 - 8004e4a: e7e6 b.n 8004e1a - 8004e4c: 2002 movs r0, #2 - 8004e4e: e7f6 b.n 8004e3e +08004df4 : + 8004df4: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004df6: 461f mov r7, r3 + 8004df8: 7983 ldrb r3, [r0, #6] + 8004dfa: 2b01 cmp r3, #1 + 8004dfc: 4615 mov r5, r2 + 8004dfe: 4604 mov r4, r0 + 8004e00: 460e mov r6, r1 + 8004e02: b2da uxtb r2, r3 + 8004e04: d12c bne.n 8004e60 + 8004e06: 7943 ldrb r3, [r0, #5] + 8004e08: 2b01 cmp r3, #1 + 8004e0a: d029 beq.n 8004e60 + 8004e0c: 7142 strb r2, [r0, #5] + 8004e0e: f7ff ff61 bl 8004cd4 + 8004e12: f006 03ef and.w r3, r6, #239 ; 0xef + 8004e16: f1a3 0284 sub.w r2, r3, #132 ; 0x84 + 8004e1a: 4253 negs r3, r2 + 8004e1c: 4153 adcs r3, r2 + 8004e1e: 7123 strb r3, [r4, #4] + 8004e20: 4631 mov r1, r6 + 8004e22: 4620 mov r0, r4 + 8004e24: f7ff fe50 bl 8004ac8 + 8004e28: f7ff fec6 bl 8004bb8 + 8004e2c: 442f add r7, r5 + 8004e2e: 42af cmp r7, r5 + 8004e30: d110 bne.n 8004e54 + 8004e32: f7ff fe3f bl 8004ab4 + 8004e36: 2e84 cmp r6, #132 ; 0x84 + 8004e38: d002 beq.n 8004e40 + 8004e3a: 4620 mov r0, r4 + 8004e3c: f7ff ff26 bl 8004c8c + 8004e40: 68a0 ldr r0, [r4, #8] + 8004e42: 2301 movs r3, #1 + 8004e44: 3800 subs r0, #0 + 8004e46: 71a3 strb r3, [r4, #6] + 8004e48: f04f 0300 mov.w r3, #0 + 8004e4c: bf18 it ne + 8004e4e: 2001 movne r0, #1 + 8004e50: 7163 strb r3, [r4, #5] + 8004e52: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004e54: f815 1b01 ldrb.w r1, [r5], #1 + 8004e58: 4620 mov r0, r4 + 8004e5a: f7ff fead bl 8004bb8 + 8004e5e: e7e6 b.n 8004e2e + 8004e60: 2002 movs r0, #2 + 8004e62: e7f6 b.n 8004e52 -08004e50 : - 8004e50: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004e52: 461e mov r6, r3 - 8004e54: 7983 ldrb r3, [r0, #6] - 8004e56: 2b01 cmp r3, #1 - 8004e58: 4615 mov r5, r2 - 8004e5a: 4604 mov r4, r0 - 8004e5c: 460f mov r7, r1 - 8004e5e: b2da uxtb r2, r3 - 8004e60: d127 bne.n 8004eb2 - 8004e62: 7943 ldrb r3, [r0, #5] - 8004e64: 2b01 cmp r3, #1 - 8004e66: d024 beq.n 8004eb2 - 8004e68: 7142 strb r2, [r0, #5] - 8004e6a: f7ff ff29 bl 8004cc0 - 8004e6e: 4639 mov r1, r7 - 8004e70: 4620 mov r0, r4 - 8004e72: f7ff fe1f bl 8004ab4 - 8004e76: f7ff fe95 bl 8004ba4 - 8004e7a: 2100 movs r1, #0 - 8004e7c: 4620 mov r0, r4 - 8004e7e: f7ff fe91 bl 8004ba4 - 8004e82: 442e add r6, r5 - 8004e84: 42b5 cmp r5, r6 - 8004e86: d10e bne.n 8004ea6 - 8004e88: 4620 mov r0, r4 - 8004e8a: f7ff fe09 bl 8004aa0 - 8004e8e: f7ff fef3 bl 8004c78 - 8004e92: 68a0 ldr r0, [r4, #8] - 8004e94: 2301 movs r3, #1 - 8004e96: 3800 subs r0, #0 - 8004e98: 71a3 strb r3, [r4, #6] - 8004e9a: f04f 0300 mov.w r3, #0 - 8004e9e: bf18 it ne - 8004ea0: 2001 movne r0, #1 - 8004ea2: 7163 strb r3, [r4, #5] - 8004ea4: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8004ea6: 4629 mov r1, r5 - 8004ea8: 4620 mov r0, r4 - 8004eaa: f7ff feaf bl 8004c0c - 8004eae: 3501 adds r5, #1 - 8004eb0: e7e8 b.n 8004e84 - 8004eb2: 2002 movs r0, #2 - 8004eb4: e7f6 b.n 8004ea4 +08004e64 : + 8004e64: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004e66: 461e mov r6, r3 + 8004e68: 7983 ldrb r3, [r0, #6] + 8004e6a: 2b01 cmp r3, #1 + 8004e6c: 4615 mov r5, r2 + 8004e6e: 4604 mov r4, r0 + 8004e70: 460f mov r7, r1 + 8004e72: b2da uxtb r2, r3 + 8004e74: d127 bne.n 8004ec6 + 8004e76: 7943 ldrb r3, [r0, #5] + 8004e78: 2b01 cmp r3, #1 + 8004e7a: d024 beq.n 8004ec6 + 8004e7c: 7142 strb r2, [r0, #5] + 8004e7e: f7ff ff29 bl 8004cd4 + 8004e82: 4639 mov r1, r7 + 8004e84: 4620 mov r0, r4 + 8004e86: f7ff fe1f bl 8004ac8 + 8004e8a: f7ff fe95 bl 8004bb8 + 8004e8e: 2100 movs r1, #0 + 8004e90: 4620 mov r0, r4 + 8004e92: f7ff fe91 bl 8004bb8 + 8004e96: 442e add r6, r5 + 8004e98: 42b5 cmp r5, r6 + 8004e9a: d10e bne.n 8004eba + 8004e9c: 4620 mov r0, r4 + 8004e9e: f7ff fe09 bl 8004ab4 + 8004ea2: f7ff fef3 bl 8004c8c + 8004ea6: 68a0 ldr r0, [r4, #8] + 8004ea8: 2301 movs r3, #1 + 8004eaa: 3800 subs r0, #0 + 8004eac: 71a3 strb r3, [r4, #6] + 8004eae: f04f 0300 mov.w r3, #0 + 8004eb2: bf18 it ne + 8004eb4: 2001 movne r0, #1 + 8004eb6: 7163 strb r3, [r4, #5] + 8004eb8: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004eba: 4629 mov r1, r5 + 8004ebc: 4620 mov r0, r4 + 8004ebe: f7ff feaf bl 8004c20 + 8004ec2: 3501 adds r5, #1 + 8004ec4: e7e8 b.n 8004e98 + 8004ec6: 2002 movs r0, #2 + 8004ec8: e7f6 b.n 8004eb8 -08004eb6 : - 8004eb6: b537 push {r0, r1, r2, r4, r5, lr} - 8004eb8: 2300 movs r3, #0 - 8004eba: f8ad 3004 strh.w r3, [sp, #4] - 8004ebe: aa01 add r2, sp, #4 - 8004ec0: 2302 movs r3, #2 - 8004ec2: 2112 movs r1, #18 - 8004ec4: 4605 mov r5, r0 - 8004ec6: f7ff ffc3 bl 8004e50 - 8004eca: f8bd 4004 ldrh.w r4, [sp, #4] - 8004ece: 2302 movs r3, #2 - 8004ed0: ba64 rev16 r4, r4 +08004eca : + 8004eca: b537 push {r0, r1, r2, r4, r5, lr} + 8004ecc: 2300 movs r3, #0 + 8004ece: f8ad 3004 strh.w r3, [sp, #4] 8004ed2: aa01 add r2, sp, #4 - 8004ed4: b2a4 uxth r4, r4 - 8004ed6: 4619 mov r1, r3 - 8004ed8: 4628 mov r0, r5 - 8004eda: f7ff ff81 bl 8004de0 - 8004ede: 07e2 lsls r2, r4, #31 - 8004ee0: d502 bpl.n 8004ee8 - 8004ee2: 4628 mov r0, r5 - 8004ee4: f009 fb88 bl 800e5f8 - 8004ee8: 07a3 lsls r3, r4, #30 - 8004eea: d502 bpl.n 8004ef2 + 8004ed4: 2302 movs r3, #2 + 8004ed6: 2112 movs r1, #18 + 8004ed8: 4605 mov r5, r0 + 8004eda: f7ff ffc3 bl 8004e64 + 8004ede: f8bd 4004 ldrh.w r4, [sp, #4] + 8004ee2: 2302 movs r3, #2 + 8004ee4: ba64 rev16 r4, r4 + 8004ee6: aa01 add r2, sp, #4 + 8004ee8: b2a4 uxth r4, r4 + 8004eea: 4619 mov r1, r3 8004eec: 4628 mov r0, r5 - 8004eee: f009 fb89 bl 800e604 - 8004ef2: 0760 lsls r0, r4, #29 - 8004ef4: d502 bpl.n 8004efc + 8004eee: f7ff ff81 bl 8004df4 + 8004ef2: 07e2 lsls r2, r4, #31 + 8004ef4: d502 bpl.n 8004efc 8004ef6: 4628 mov r0, r5 - 8004ef8: f009 fbae bl 800e658 - 8004efc: 0721 lsls r1, r4, #28 - 8004efe: d502 bpl.n 8004f06 + 8004ef8: f009 fb88 bl 800e60c + 8004efc: 07a3 lsls r3, r4, #30 + 8004efe: d502 bpl.n 8004f06 8004f00: 4628 mov r0, r5 - 8004f02: f009 fbaf bl 800e664 - 8004f06: 06e2 lsls r2, r4, #27 - 8004f08: d502 bpl.n 8004f10 + 8004f02: f009 fb89 bl 800e618 + 8004f06: 0760 lsls r0, r4, #29 + 8004f08: d502 bpl.n 8004f10 8004f0a: 4628 mov r0, r5 - 8004f0c: f009 fbb0 bl 800e670 - 8004f10: 06a3 lsls r3, r4, #26 - 8004f12: d502 bpl.n 8004f1a + 8004f0c: f009 fbae bl 800e66c + 8004f10: 0721 lsls r1, r4, #28 + 8004f12: d502 bpl.n 8004f1a 8004f14: 4628 mov r0, r5 - 8004f16: f009 fb99 bl 800e64c - 8004f1a: 0660 lsls r0, r4, #25 - 8004f1c: d502 bpl.n 8004f24 + 8004f16: f009 fbaf bl 800e678 + 8004f1a: 06e2 lsls r2, r4, #27 + 8004f1c: d502 bpl.n 8004f24 8004f1e: 4628 mov r0, r5 - 8004f20: f009 fb76 bl 800e610 - 8004f24: 0621 lsls r1, r4, #24 - 8004f26: d506 bpl.n 8004f36 - 8004f28: f414 7180 ands.w r1, r4, #256 ; 0x100 - 8004f2c: bf18 it ne - 8004f2e: 2101 movne r1, #1 - 8004f30: 4628 mov r0, r5 - 8004f32: f009 fb73 bl 800e61c - 8004f36: 05a2 lsls r2, r4, #22 - 8004f38: d502 bpl.n 8004f40 - 8004f3a: 4628 mov r0, r5 - 8004f3c: f009 fb7e bl 800e63c - 8004f40: 0463 lsls r3, r4, #17 - 8004f42: d502 bpl.n 8004f4a + 8004f20: f009 fbb0 bl 800e684 + 8004f24: 06a3 lsls r3, r4, #26 + 8004f26: d502 bpl.n 8004f2e + 8004f28: 4628 mov r0, r5 + 8004f2a: f009 fb99 bl 800e660 + 8004f2e: 0660 lsls r0, r4, #25 + 8004f30: d502 bpl.n 8004f38 + 8004f32: 4628 mov r0, r5 + 8004f34: f009 fb76 bl 800e624 + 8004f38: 0621 lsls r1, r4, #24 + 8004f3a: d506 bpl.n 8004f4a + 8004f3c: f414 7180 ands.w r1, r4, #256 ; 0x100 + 8004f40: bf18 it ne + 8004f42: 2101 movne r1, #1 8004f44: 4628 mov r0, r5 - 8004f46: f009 fb99 bl 800e67c - 8004f4a: b003 add sp, #12 - 8004f4c: bd30 pop {r4, r5, pc} + 8004f46: f009 fb73 bl 800e630 + 8004f4a: 05a2 lsls r2, r4, #22 + 8004f4c: d502 bpl.n 8004f54 + 8004f4e: 4628 mov r0, r5 + 8004f50: f009 fb7e bl 800e650 + 8004f54: 0463 lsls r3, r4, #17 + 8004f56: d502 bpl.n 8004f5e + 8004f58: 4628 mov r0, r5 + 8004f5a: f009 fb99 bl 800e690 + 8004f5e: b003 add sp, #12 + 8004f60: bd30 pop {r4, r5, pc} -08004f4e : - 8004f4e: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004f50: 461e mov r6, r3 - 8004f52: 7983 ldrb r3, [r0, #6] - 8004f54: 2b01 cmp r3, #1 - 8004f56: 4615 mov r5, r2 - 8004f58: 4604 mov r4, r0 - 8004f5a: 460f mov r7, r1 - 8004f5c: b2da uxtb r2, r3 - 8004f5e: d127 bne.n 8004fb0 - 8004f60: 7943 ldrb r3, [r0, #5] - 8004f62: 2b01 cmp r3, #1 - 8004f64: d024 beq.n 8004fb0 - 8004f66: 7142 strb r2, [r0, #5] - 8004f68: f7ff feaa bl 8004cc0 - 8004f6c: 210e movs r1, #14 - 8004f6e: 4620 mov r0, r4 - 8004f70: f7ff fda0 bl 8004ab4 - 8004f74: f7ff fe16 bl 8004ba4 - 8004f78: 4639 mov r1, r7 - 8004f7a: 4620 mov r0, r4 - 8004f7c: f7ff fe12 bl 8004ba4 - 8004f80: 442e add r6, r5 - 8004f82: 42b5 cmp r5, r6 - 8004f84: d10e bne.n 8004fa4 - 8004f86: 4620 mov r0, r4 - 8004f88: f7ff fd8a bl 8004aa0 - 8004f8c: f7ff fe74 bl 8004c78 - 8004f90: 68a0 ldr r0, [r4, #8] - 8004f92: 2301 movs r3, #1 - 8004f94: 3800 subs r0, #0 - 8004f96: 71a3 strb r3, [r4, #6] - 8004f98: f04f 0300 mov.w r3, #0 - 8004f9c: bf18 it ne - 8004f9e: 2001 movne r0, #1 - 8004fa0: 7163 strb r3, [r4, #5] - 8004fa2: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8004fa4: f815 1b01 ldrb.w r1, [r5], #1 - 8004fa8: 4620 mov r0, r4 - 8004faa: f7ff fdfb bl 8004ba4 - 8004fae: e7e8 b.n 8004f82 - 8004fb0: 2002 movs r0, #2 - 8004fb2: e7f6 b.n 8004fa2 +08004f62 : + 8004f62: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004f64: 461e mov r6, r3 + 8004f66: 7983 ldrb r3, [r0, #6] + 8004f68: 2b01 cmp r3, #1 + 8004f6a: 4615 mov r5, r2 + 8004f6c: 4604 mov r4, r0 + 8004f6e: 460f mov r7, r1 + 8004f70: b2da uxtb r2, r3 + 8004f72: d127 bne.n 8004fc4 + 8004f74: 7943 ldrb r3, [r0, #5] + 8004f76: 2b01 cmp r3, #1 + 8004f78: d024 beq.n 8004fc4 + 8004f7a: 7142 strb r2, [r0, #5] + 8004f7c: f7ff feaa bl 8004cd4 + 8004f80: 210e movs r1, #14 + 8004f82: 4620 mov r0, r4 + 8004f84: f7ff fda0 bl 8004ac8 + 8004f88: f7ff fe16 bl 8004bb8 + 8004f8c: 4639 mov r1, r7 + 8004f8e: 4620 mov r0, r4 + 8004f90: f7ff fe12 bl 8004bb8 + 8004f94: 442e add r6, r5 + 8004f96: 42b5 cmp r5, r6 + 8004f98: d10e bne.n 8004fb8 + 8004f9a: 4620 mov r0, r4 + 8004f9c: f7ff fd8a bl 8004ab4 + 8004fa0: f7ff fe74 bl 8004c8c + 8004fa4: 68a0 ldr r0, [r4, #8] + 8004fa6: 2301 movs r3, #1 + 8004fa8: 3800 subs r0, #0 + 8004faa: 71a3 strb r3, [r4, #6] + 8004fac: f04f 0300 mov.w r3, #0 + 8004fb0: bf18 it ne + 8004fb2: 2001 movne r0, #1 + 8004fb4: 7163 strb r3, [r4, #5] + 8004fb6: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004fb8: f815 1b01 ldrb.w r1, [r5], #1 + 8004fbc: 4620 mov r0, r4 + 8004fbe: f7ff fdfb bl 8004bb8 + 8004fc2: e7e8 b.n 8004f96 + 8004fc4: 2002 movs r0, #2 + 8004fc6: e7f6 b.n 8004fb6 -08004fb4 : - 8004fb4: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004fb6: 461e mov r6, r3 - 8004fb8: 7983 ldrb r3, [r0, #6] - 8004fba: 2b01 cmp r3, #1 - 8004fbc: 4615 mov r5, r2 - 8004fbe: 4604 mov r4, r0 - 8004fc0: 460f mov r7, r1 - 8004fc2: b2da uxtb r2, r3 - 8004fc4: d12b bne.n 800501e - 8004fc6: 7943 ldrb r3, [r0, #5] - 8004fc8: 2b01 cmp r3, #1 - 8004fca: d028 beq.n 800501e - 8004fcc: 7142 strb r2, [r0, #5] - 8004fce: f7ff fe77 bl 8004cc0 - 8004fd2: 211e movs r1, #30 - 8004fd4: 4620 mov r0, r4 - 8004fd6: f7ff fd6d bl 8004ab4 - 8004fda: f7ff fde3 bl 8004ba4 - 8004fde: 4639 mov r1, r7 - 8004fe0: 4620 mov r0, r4 - 8004fe2: f7ff fddf bl 8004ba4 - 8004fe6: 2100 movs r1, #0 +08004fc8 : + 8004fc8: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004fca: 461e mov r6, r3 + 8004fcc: 7983 ldrb r3, [r0, #6] + 8004fce: 2b01 cmp r3, #1 + 8004fd0: 4615 mov r5, r2 + 8004fd2: 4604 mov r4, r0 + 8004fd4: 460f mov r7, r1 + 8004fd6: b2da uxtb r2, r3 + 8004fd8: d12b bne.n 8005032 + 8004fda: 7943 ldrb r3, [r0, #5] + 8004fdc: 2b01 cmp r3, #1 + 8004fde: d028 beq.n 8005032 + 8004fe0: 7142 strb r2, [r0, #5] + 8004fe2: f7ff fe77 bl 8004cd4 + 8004fe6: 211e movs r1, #30 8004fe8: 4620 mov r0, r4 - 8004fea: f7ff fddb bl 8004ba4 - 8004fee: 442e add r6, r5 - 8004ff0: 42b5 cmp r5, r6 - 8004ff2: d10e bne.n 8005012 + 8004fea: f7ff fd6d bl 8004ac8 + 8004fee: f7ff fde3 bl 8004bb8 + 8004ff2: 4639 mov r1, r7 8004ff4: 4620 mov r0, r4 - 8004ff6: f7ff fd53 bl 8004aa0 - 8004ffa: f7ff fe3d bl 8004c78 - 8004ffe: 68a0 ldr r0, [r4, #8] - 8005000: 2301 movs r3, #1 - 8005002: 3800 subs r0, #0 - 8005004: 71a3 strb r3, [r4, #6] - 8005006: f04f 0300 mov.w r3, #0 - 800500a: bf18 it ne - 800500c: 2001 movne r0, #1 - 800500e: 7163 strb r3, [r4, #5] - 8005010: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8005012: 4629 mov r1, r5 - 8005014: 4620 mov r0, r4 - 8005016: f7ff fdf9 bl 8004c0c - 800501a: 3501 adds r5, #1 - 800501c: e7e8 b.n 8004ff0 - 800501e: 2002 movs r0, #2 - 8005020: e7f6 b.n 8005010 + 8004ff6: f7ff fddf bl 8004bb8 + 8004ffa: 2100 movs r1, #0 + 8004ffc: 4620 mov r0, r4 + 8004ffe: f7ff fddb bl 8004bb8 + 8005002: 442e add r6, r5 + 8005004: 42b5 cmp r5, r6 + 8005006: d10e bne.n 8005026 + 8005008: 4620 mov r0, r4 + 800500a: f7ff fd53 bl 8004ab4 + 800500e: f7ff fe3d bl 8004c8c + 8005012: 68a0 ldr r0, [r4, #8] + 8005014: 2301 movs r3, #1 + 8005016: 3800 subs r0, #0 + 8005018: 71a3 strb r3, [r4, #6] + 800501a: f04f 0300 mov.w r3, #0 + 800501e: bf18 it ne + 8005020: 2001 movne r0, #1 + 8005022: 7163 strb r3, [r4, #5] + 8005024: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8005026: 4629 mov r1, r5 + 8005028: 4620 mov r0, r4 + 800502a: f7ff fdf9 bl 8004c20 + 800502e: 3501 adds r5, #1 + 8005030: e7e8 b.n 8005004 + 8005032: 2002 movs r0, #2 + 8005034: e7f6 b.n 8005024 -08005022 : - 8005022: 6802 ldr r2, [r0, #0] - 8005024: e852 3f00 ldrex r3, [r2] - 8005028: f023 03c0 bic.w r3, r3, #192 ; 0xc0 - 800502c: e842 3100 strex r1, r3, [r2] - 8005030: 6802 ldr r2, [r0, #0] - 8005032: 2900 cmp r1, #0 - 8005034: d1f5 bne.n 8005022 - 8005036: f102 0308 add.w r3, r2, #8 - 800503a: e853 3f00 ldrex r3, [r3] - 800503e: f423 0300 bic.w r3, r3, #8388608 ; 0x800000 - 8005042: f102 0c08 add.w ip, r2, #8 - 8005046: e84c 3100 strex r1, r3, [ip] - 800504a: 2900 cmp r1, #0 - 800504c: d1f3 bne.n 8005036 - 800504e: 2320 movs r3, #32 - 8005050: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 8005054: 4770 bx lr +08005036 : + 8005036: 6802 ldr r2, [r0, #0] + 8005038: e852 3f00 ldrex r3, [r2] + 800503c: f023 03c0 bic.w r3, r3, #192 ; 0xc0 + 8005040: e842 3100 strex r1, r3, [r2] + 8005044: 6802 ldr r2, [r0, #0] + 8005046: 2900 cmp r1, #0 + 8005048: d1f5 bne.n 8005036 + 800504a: f102 0308 add.w r3, r2, #8 + 800504e: e853 3f00 ldrex r3, [r3] + 8005052: f423 0300 bic.w r3, r3, #8388608 ; 0x800000 + 8005056: f102 0c08 add.w ip, r2, #8 + 800505a: e84c 3100 strex r1, r3, [ip] + 800505e: 2900 cmp r1, #0 + 8005060: d1f3 bne.n 800504a + 8005062: 2320 movs r3, #32 + 8005064: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8005068: 4770 bx lr ... -08005058 : - 8005058: b510 push {r4, lr} - 800505a: 6802 ldr r2, [r0, #0] - 800505c: e852 3f00 ldrex r3, [r2] - 8005060: f423 7390 bic.w r3, r3, #288 ; 0x120 - 8005064: e842 3100 strex r1, r3, [r2] - 8005068: 6802 ldr r2, [r0, #0] - 800506a: 2900 cmp r1, #0 - 800506c: d1f5 bne.n 800505a - 800506e: 4c0f ldr r4, [pc, #60] ; (80050ac ) - 8005070: f102 0308 add.w r3, r2, #8 - 8005074: e853 3f00 ldrex r3, [r3] - 8005078: 4023 ands r3, r4 - 800507a: f102 0c08 add.w ip, r2, #8 - 800507e: e84c 3100 strex r1, r3, [ip] - 8005082: 2900 cmp r1, #0 - 8005084: d1f4 bne.n 8005070 - 8005086: 6ec3 ldr r3, [r0, #108] ; 0x6c - 8005088: 2b01 cmp r3, #1 - 800508a: d107 bne.n 800509c - 800508c: e852 3f00 ldrex r3, [r2] - 8005090: f023 0310 bic.w r3, r3, #16 - 8005094: e842 3100 strex r1, r3, [r2] - 8005098: 2900 cmp r1, #0 - 800509a: d1f7 bne.n 800508c - 800509c: 2320 movs r3, #32 - 800509e: f8c0 308c str.w r3, [r0, #140] ; 0x8c - 80050a2: 2300 movs r3, #0 - 80050a4: 66c3 str r3, [r0, #108] ; 0x6c - 80050a6: 6743 str r3, [r0, #116] ; 0x74 - 80050a8: bd10 pop {r4, pc} - 80050aa: bf00 nop - 80050ac: effffffe .word 0xeffffffe +0800506c : + 800506c: b510 push {r4, lr} + 800506e: 6802 ldr r2, [r0, #0] + 8005070: e852 3f00 ldrex r3, [r2] + 8005074: f423 7390 bic.w r3, r3, #288 ; 0x120 + 8005078: e842 3100 strex r1, r3, [r2] + 800507c: 6802 ldr r2, [r0, #0] + 800507e: 2900 cmp r1, #0 + 8005080: d1f5 bne.n 800506e + 8005082: 4c0f ldr r4, [pc, #60] ; (80050c0 ) + 8005084: f102 0308 add.w r3, r2, #8 + 8005088: e853 3f00 ldrex r3, [r3] + 800508c: 4023 ands r3, r4 + 800508e: f102 0c08 add.w ip, r2, #8 + 8005092: e84c 3100 strex r1, r3, [ip] + 8005096: 2900 cmp r1, #0 + 8005098: d1f4 bne.n 8005084 + 800509a: 6ec3 ldr r3, [r0, #108] ; 0x6c + 800509c: 2b01 cmp r3, #1 + 800509e: d107 bne.n 80050b0 + 80050a0: e852 3f00 ldrex r3, [r2] + 80050a4: f023 0310 bic.w r3, r3, #16 + 80050a8: e842 3100 strex r1, r3, [r2] + 80050ac: 2900 cmp r1, #0 + 80050ae: d1f7 bne.n 80050a0 + 80050b0: 2320 movs r3, #32 + 80050b2: f8c0 308c str.w r3, [r0, #140] ; 0x8c + 80050b6: 2300 movs r3, #0 + 80050b8: 66c3 str r3, [r0, #108] ; 0x6c + 80050ba: 6743 str r3, [r0, #116] ; 0x74 + 80050bc: bd10 pop {r4, pc} + 80050be: bf00 nop + 80050c0: effffffe .word 0xeffffffe -080050b0 : - 80050b0: b5f8 push {r3, r4, r5, r6, r7, lr} - 80050b2: 4604 mov r4, r0 - 80050b4: 4613 mov r3, r2 - 80050b6: f8d4 5088 ldr.w r5, [r4, #136] ; 0x88 - 80050ba: 2d20 cmp r5, #32 - 80050bc: d132 bne.n 8005124 - 80050be: b1f1 cbz r1, 80050fe - 80050c0: b1ea cbz r2, 80050fe - 80050c2: 6fe0 ldr r0, [r4, #124] ; 0x7c - 80050c4: f8a4 2056 strh.w r2, [r4, #86] ; 0x56 - 80050c8: f8a4 2054 strh.w r2, [r4, #84] ; 0x54 - 80050cc: 2600 movs r6, #0 - 80050ce: 2221 movs r2, #33 ; 0x21 - 80050d0: f8c4 6090 str.w r6, [r4, #144] ; 0x90 - 80050d4: 6521 str r1, [r4, #80] ; 0x50 - 80050d6: f8c4 2088 str.w r2, [r4, #136] ; 0x88 - 80050da: 6822 ldr r2, [r4, #0] - 80050dc: b188 cbz r0, 8005102 - 80050de: 4f12 ldr r7, [pc, #72] ; (8005128 ) - 80050e0: 62c7 str r7, [r0, #44] ; 0x2c - 80050e2: 4f12 ldr r7, [pc, #72] ; (800512c ) - 80050e4: 6307 str r7, [r0, #48] ; 0x30 - 80050e6: 4f12 ldr r7, [pc, #72] ; (8005130 ) - 80050e8: 3228 adds r2, #40 ; 0x28 - 80050ea: e9c0 760d strd r7, r6, [r0, #52] ; 0x34 - 80050ee: f7fe f95f bl 80033b0 - 80050f2: b130 cbz r0, 8005102 - 80050f4: 2310 movs r3, #16 - 80050f6: f8c4 3090 str.w r3, [r4, #144] ; 0x90 - 80050fa: f8c4 5088 str.w r5, [r4, #136] ; 0x88 - 80050fe: 2001 movs r0, #1 - 8005100: e00f b.n 8005122 - 8005102: 6823 ldr r3, [r4, #0] - 8005104: 2240 movs r2, #64 ; 0x40 - 8005106: 621a str r2, [r3, #32] - 8005108: 6822 ldr r2, [r4, #0] - 800510a: f102 0308 add.w r3, r2, #8 - 800510e: e853 3f00 ldrex r3, [r3] - 8005112: f043 0380 orr.w r3, r3, #128 ; 0x80 - 8005116: f102 0108 add.w r1, r2, #8 - 800511a: e841 3000 strex r0, r3, [r1] - 800511e: 2800 cmp r0, #0 - 8005120: d1f3 bne.n 800510a - 8005122: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8005124: 2002 movs r0, #2 - 8005126: e7fc b.n 8005122 - 8005128: 08005135 .word 0x08005135 - 800512c: 0800517d .word 0x0800517d - 8005130: 08005189 .word 0x08005189 +080050c4 : + 80050c4: b5f8 push {r3, r4, r5, r6, r7, lr} + 80050c6: 4604 mov r4, r0 + 80050c8: 4613 mov r3, r2 + 80050ca: f8d4 5088 ldr.w r5, [r4, #136] ; 0x88 + 80050ce: 2d20 cmp r5, #32 + 80050d0: d132 bne.n 8005138 + 80050d2: b1f1 cbz r1, 8005112 + 80050d4: b1ea cbz r2, 8005112 + 80050d6: 6fe0 ldr r0, [r4, #124] ; 0x7c + 80050d8: f8a4 2056 strh.w r2, [r4, #86] ; 0x56 + 80050dc: f8a4 2054 strh.w r2, [r4, #84] ; 0x54 + 80050e0: 2600 movs r6, #0 + 80050e2: 2221 movs r2, #33 ; 0x21 + 80050e4: f8c4 6090 str.w r6, [r4, #144] ; 0x90 + 80050e8: 6521 str r1, [r4, #80] ; 0x50 + 80050ea: f8c4 2088 str.w r2, [r4, #136] ; 0x88 + 80050ee: 6822 ldr r2, [r4, #0] + 80050f0: b188 cbz r0, 8005116 + 80050f2: 4f12 ldr r7, [pc, #72] ; (800513c ) + 80050f4: 62c7 str r7, [r0, #44] ; 0x2c + 80050f6: 4f12 ldr r7, [pc, #72] ; (8005140 ) + 80050f8: 6307 str r7, [r0, #48] ; 0x30 + 80050fa: 4f12 ldr r7, [pc, #72] ; (8005144 ) + 80050fc: 3228 adds r2, #40 ; 0x28 + 80050fe: e9c0 760d strd r7, r6, [r0, #52] ; 0x34 + 8005102: f7fe f95f bl 80033c4 + 8005106: b130 cbz r0, 8005116 + 8005108: 2310 movs r3, #16 + 800510a: f8c4 3090 str.w r3, [r4, #144] ; 0x90 + 800510e: f8c4 5088 str.w r5, [r4, #136] ; 0x88 + 8005112: 2001 movs r0, #1 + 8005114: e00f b.n 8005136 + 8005116: 6823 ldr r3, [r4, #0] + 8005118: 2240 movs r2, #64 ; 0x40 + 800511a: 621a str r2, [r3, #32] + 800511c: 6822 ldr r2, [r4, #0] + 800511e: f102 0308 add.w r3, r2, #8 + 8005122: e853 3f00 ldrex r3, [r3] + 8005126: f043 0380 orr.w r3, r3, #128 ; 0x80 + 800512a: f102 0108 add.w r1, r2, #8 + 800512e: e841 3000 strex r0, r3, [r1] + 8005132: 2800 cmp r0, #0 + 8005134: d1f3 bne.n 800511e + 8005136: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8005138: 2002 movs r0, #2 + 800513a: e7fc b.n 8005136 + 800513c: 08005149 .word 0x08005149 + 8005140: 08005191 .word 0x08005191 + 8005144: 0800519d .word 0x0800519d -08005134 : - 8005134: b508 push {r3, lr} - 8005136: 4603 mov r3, r0 - 8005138: 6a80 ldr r0, [r0, #40] ; 0x28 - 800513a: 681b ldr r3, [r3, #0] - 800513c: 681b ldr r3, [r3, #0] - 800513e: f013 0320 ands.w r3, r3, #32 - 8005142: d117 bne.n 8005174 - 8005144: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 - 8005148: 6802 ldr r2, [r0, #0] - 800514a: f102 0308 add.w r3, r2, #8 - 800514e: e853 3f00 ldrex r3, [r3] - 8005152: f023 0380 bic.w r3, r3, #128 ; 0x80 - 8005156: 3208 adds r2, #8 - 8005158: e842 3100 strex r1, r3, [r2] +08005148 : + 8005148: b508 push {r3, lr} + 800514a: 4603 mov r3, r0 + 800514c: 6a80 ldr r0, [r0, #40] ; 0x28 + 800514e: 681b ldr r3, [r3, #0] + 8005150: 681b ldr r3, [r3, #0] + 8005152: f013 0320 ands.w r3, r3, #32 + 8005156: d117 bne.n 8005188 + 8005158: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 800515c: 6802 ldr r2, [r0, #0] - 800515e: 2900 cmp r1, #0 - 8005160: d1f2 bne.n 8005148 - 8005162: e852 3f00 ldrex r3, [r2] - 8005166: f043 0340 orr.w r3, r3, #64 ; 0x40 - 800516a: e842 3100 strex r1, r3, [r2] - 800516e: 2900 cmp r1, #0 - 8005170: d1f7 bne.n 8005162 - 8005172: bd08 pop {r3, pc} - 8005174: f7fc fe30 bl 8001dd8 - 8005178: e7fb b.n 8005172 + 800515e: f102 0308 add.w r3, r2, #8 + 8005162: e853 3f00 ldrex r3, [r3] + 8005166: f023 0380 bic.w r3, r3, #128 ; 0x80 + 800516a: 3208 adds r2, #8 + 800516c: e842 3100 strex r1, r3, [r2] + 8005170: 6802 ldr r2, [r0, #0] + 8005172: 2900 cmp r1, #0 + 8005174: d1f2 bne.n 800515c + 8005176: e852 3f00 ldrex r3, [r2] + 800517a: f043 0340 orr.w r3, r3, #64 ; 0x40 + 800517e: e842 3100 strex r1, r3, [r2] + 8005182: 2900 cmp r1, #0 + 8005184: d1f7 bne.n 8005176 + 8005186: bd08 pop {r3, pc} + 8005188: f7fc fe30 bl 8001dec + 800518c: e7fb b.n 8005186 -0800517a : - 800517a: 4770 bx lr +0800518e : + 800518e: 4770 bx lr -0800517c : - 800517c: b508 push {r3, lr} - 800517e: 6a80 ldr r0, [r0, #40] ; 0x28 - 8005180: f7ff fffb bl 800517a - 8005184: bd08 pop {r3, pc} +08005190 : + 8005190: b508 push {r3, lr} + 8005192: 6a80 ldr r0, [r0, #40] ; 0x28 + 8005194: f7ff fffb bl 800518e + 8005198: bd08 pop {r3, pc} -08005186 : - 8005186: 4770 bx lr +0800519a : + 800519a: 4770 bx lr -08005188 : - 8005188: 6a80 ldr r0, [r0, #40] ; 0x28 - 800518a: b538 push {r3, r4, r5, lr} - 800518c: 6804 ldr r4, [r0, #0] - 800518e: f8d0 3088 ldr.w r3, [r0, #136] ; 0x88 - 8005192: f8d0 508c ldr.w r5, [r0, #140] ; 0x8c - 8005196: 68a2 ldr r2, [r4, #8] - 8005198: 0612 lsls r2, r2, #24 - 800519a: d506 bpl.n 80051aa - 800519c: 2b21 cmp r3, #33 ; 0x21 - 800519e: d104 bne.n 80051aa - 80051a0: 2300 movs r3, #0 - 80051a2: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 - 80051a6: f7ff ff3c bl 8005022 - 80051aa: 68a3 ldr r3, [r4, #8] - 80051ac: 065b lsls r3, r3, #25 - 80051ae: d506 bpl.n 80051be - 80051b0: 2d22 cmp r5, #34 ; 0x22 - 80051b2: d104 bne.n 80051be +0800519c : + 800519c: 6a80 ldr r0, [r0, #40] ; 0x28 + 800519e: b538 push {r3, r4, r5, lr} + 80051a0: 6804 ldr r4, [r0, #0] + 80051a2: f8d0 3088 ldr.w r3, [r0, #136] ; 0x88 + 80051a6: f8d0 508c ldr.w r5, [r0, #140] ; 0x8c + 80051aa: 68a2 ldr r2, [r4, #8] + 80051ac: 0612 lsls r2, r2, #24 + 80051ae: d506 bpl.n 80051be + 80051b0: 2b21 cmp r3, #33 ; 0x21 + 80051b2: d104 bne.n 80051be 80051b4: 2300 movs r3, #0 - 80051b6: f8a0 305e strh.w r3, [r0, #94] ; 0x5e - 80051ba: f7ff ff4d bl 8005058 - 80051be: f8d0 3090 ldr.w r3, [r0, #144] ; 0x90 - 80051c2: f043 0310 orr.w r3, r3, #16 - 80051c6: f8c0 3090 str.w r3, [r0, #144] ; 0x90 - 80051ca: f7ff ffdc bl 8005186 - 80051ce: bd38 pop {r3, r4, r5, pc} + 80051b6: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 + 80051ba: f7ff ff3c bl 8005036 + 80051be: 68a3 ldr r3, [r4, #8] + 80051c0: 065b lsls r3, r3, #25 + 80051c2: d506 bpl.n 80051d2 + 80051c4: 2d22 cmp r5, #34 ; 0x22 + 80051c6: d104 bne.n 80051d2 + 80051c8: 2300 movs r3, #0 + 80051ca: f8a0 305e strh.w r3, [r0, #94] ; 0x5e + 80051ce: f7ff ff4d bl 800506c + 80051d2: f8d0 3090 ldr.w r3, [r0, #144] ; 0x90 + 80051d6: f043 0310 orr.w r3, r3, #16 + 80051da: f8c0 3090 str.w r3, [r0, #144] ; 0x90 + 80051de: f7ff ffdc bl 800519a + 80051e2: bd38 pop {r3, r4, r5, pc} -080051d0 : - 80051d0: b508 push {r3, lr} - 80051d2: 6a80 ldr r0, [r0, #40] ; 0x28 - 80051d4: 2300 movs r3, #0 - 80051d6: f8a0 305e strh.w r3, [r0, #94] ; 0x5e - 80051da: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 - 80051de: f7ff ffd2 bl 8005186 - 80051e2: bd08 pop {r3, pc} +080051e4 : + 80051e4: b508 push {r3, lr} + 80051e6: 6a80 ldr r0, [r0, #40] ; 0x28 + 80051e8: 2300 movs r3, #0 + 80051ea: f8a0 305e strh.w r3, [r0, #94] ; 0x5e + 80051ee: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 + 80051f2: f7ff ffd2 bl 800519a + 80051f6: bd08 pop {r3, pc} -080051e4 : - 80051e4: 4770 bx lr +080051f8 : + 80051f8: 4770 bx lr ... -080051e8 : - 80051e8: 6803 ldr r3, [r0, #0] - 80051ea: 69d9 ldr r1, [r3, #28] - 80051ec: 681a ldr r2, [r3, #0] - 80051ee: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 80051f2: f640 060f movw r6, #2063 ; 0x80f - 80051f6: 4231 tst r1, r6 - 80051f8: 689d ldr r5, [r3, #8] - 80051fa: 4604 mov r4, r0 - 80051fc: d110 bne.n 8005220 - 80051fe: 068e lsls r6, r1, #26 - 8005200: f140 8097 bpl.w 8005332 - 8005204: f002 0620 and.w r6, r2, #32 - 8005208: f005 5780 and.w r7, r5, #268435456 ; 0x10000000 - 800520c: 433e orrs r6, r7 - 800520e: f000 8090 beq.w 8005332 - 8005212: 6f43 ldr r3, [r0, #116] ; 0x74 - 8005214: 2b00 cmp r3, #0 - 8005216: f000 8085 beq.w 8005324 - 800521a: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 800521e: 4718 bx r3 - 8005220: 4eab ldr r6, [pc, #684] ; (80054d0 ) - 8005222: 48ac ldr r0, [pc, #688] ; (80054d4 ) - 8005224: 402e ands r6, r5 - 8005226: 4010 ands r0, r2 - 8005228: 4330 orrs r0, r6 - 800522a: f000 8082 beq.w 8005332 - 800522e: 07cf lsls r7, r1, #31 - 8005230: d509 bpl.n 8005246 - 8005232: 05d0 lsls r0, r2, #23 - 8005234: d507 bpl.n 8005246 - 8005236: 2001 movs r0, #1 - 8005238: 6218 str r0, [r3, #32] - 800523a: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 - 800523e: f040 0001 orr.w r0, r0, #1 - 8005242: f8c4 0090 str.w r0, [r4, #144] ; 0x90 - 8005246: 078f lsls r7, r1, #30 - 8005248: d509 bpl.n 800525e - 800524a: 07e8 lsls r0, r5, #31 - 800524c: d507 bpl.n 800525e - 800524e: 2002 movs r0, #2 - 8005250: 6218 str r0, [r3, #32] - 8005252: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 - 8005256: f040 0004 orr.w r0, r0, #4 - 800525a: f8c4 0090 str.w r0, [r4, #144] ; 0x90 - 800525e: 074f lsls r7, r1, #29 - 8005260: d509 bpl.n 8005276 - 8005262: 07e8 lsls r0, r5, #31 - 8005264: d507 bpl.n 8005276 - 8005266: 2004 movs r0, #4 - 8005268: 6218 str r0, [r3, #32] - 800526a: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 - 800526e: f040 0002 orr.w r0, r0, #2 - 8005272: f8c4 0090 str.w r0, [r4, #144] ; 0x90 - 8005276: 070f lsls r7, r1, #28 - 8005278: d50b bpl.n 8005292 - 800527a: f002 0020 and.w r0, r2, #32 - 800527e: 4330 orrs r0, r6 - 8005280: d007 beq.n 8005292 - 8005282: 2008 movs r0, #8 - 8005284: 6218 str r0, [r3, #32] - 8005286: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 - 800528a: f040 0008 orr.w r0, r0, #8 - 800528e: f8c4 0090 str.w r0, [r4, #144] ; 0x90 - 8005292: 050e lsls r6, r1, #20 - 8005294: d50a bpl.n 80052ac - 8005296: 0150 lsls r0, r2, #5 - 8005298: d508 bpl.n 80052ac - 800529a: f44f 6000 mov.w r0, #2048 ; 0x800 - 800529e: 6218 str r0, [r3, #32] - 80052a0: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 80052a4: f043 0320 orr.w r3, r3, #32 - 80052a8: f8c4 3090 str.w r3, [r4, #144] ; 0x90 - 80052ac: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 80052b0: 2b00 cmp r3, #0 - 80052b2: d037 beq.n 8005324 - 80052b4: 068b lsls r3, r1, #26 - 80052b6: d509 bpl.n 80052cc - 80052b8: f002 0220 and.w r2, r2, #32 - 80052bc: f005 5580 and.w r5, r5, #268435456 ; 0x10000000 - 80052c0: 432a orrs r2, r5 - 80052c2: d003 beq.n 80052cc - 80052c4: 6f63 ldr r3, [r4, #116] ; 0x74 - 80052c6: b10b cbz r3, 80052cc - 80052c8: 4620 mov r0, r4 - 80052ca: 4798 blx r3 - 80052cc: 6826 ldr r6, [r4, #0] - 80052ce: f8d4 2090 ldr.w r2, [r4, #144] ; 0x90 - 80052d2: 68b3 ldr r3, [r6, #8] - 80052d4: f002 0228 and.w r2, r2, #40 ; 0x28 - 80052d8: f003 0340 and.w r3, r3, #64 ; 0x40 - 80052dc: ea53 0502 orrs.w r5, r3, r2 - 80052e0: 4620 mov r0, r4 - 80052e2: d021 beq.n 8005328 - 80052e4: f7ff feb8 bl 8005058 - 80052e8: 68b3 ldr r3, [r6, #8] - 80052ea: 065f lsls r7, r3, #25 - 80052ec: d517 bpl.n 800531e - 80052ee: 6822 ldr r2, [r4, #0] - 80052f0: f102 0308 add.w r3, r2, #8 - 80052f4: e853 3f00 ldrex r3, [r3] - 80052f8: f023 0340 bic.w r3, r3, #64 ; 0x40 - 80052fc: 3208 adds r2, #8 - 80052fe: e842 3100 strex r1, r3, [r2] - 8005302: 2900 cmp r1, #0 - 8005304: d1f3 bne.n 80052ee - 8005306: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 - 800530a: b140 cbz r0, 800531e - 800530c: 4b72 ldr r3, [pc, #456] ; (80054d8 ) - 800530e: 6383 str r3, [r0, #56] ; 0x38 - 8005310: f7fe f8c7 bl 80034a2 - 8005314: b130 cbz r0, 8005324 - 8005316: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 - 800531a: 6b83 ldr r3, [r0, #56] ; 0x38 - 800531c: e77d b.n 800521a - 800531e: 4620 mov r0, r4 - 8005320: f7ff ff31 bl 8005186 - 8005324: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8005328: f7ff ff2d bl 8005186 - 800532c: f8c4 5090 str.w r5, [r4, #144] ; 0x90 - 8005330: e7f8 b.n 8005324 - 8005332: 6ee0 ldr r0, [r4, #108] ; 0x6c - 8005334: 2801 cmp r0, #1 - 8005336: f040 8089 bne.w 800544c - 800533a: 06ce lsls r6, r1, #27 - 800533c: f140 8086 bpl.w 800544c - 8005340: 06d0 lsls r0, r2, #27 - 8005342: f140 8083 bpl.w 800544c - 8005346: 2210 movs r2, #16 - 8005348: 621a str r2, [r3, #32] - 800534a: 689a ldr r2, [r3, #8] - 800534c: 0651 lsls r1, r2, #25 - 800534e: d54b bpl.n 80053e8 - 8005350: f8d4 2080 ldr.w r2, [r4, #128] ; 0x80 - 8005354: 6811 ldr r1, [r2, #0] - 8005356: 684a ldr r2, [r1, #4] - 8005358: b292 uxth r2, r2 - 800535a: 2a00 cmp r2, #0 - 800535c: d0e2 beq.n 8005324 - 800535e: f8b4 005c ldrh.w r0, [r4, #92] ; 0x5c - 8005362: 4290 cmp r0, r2 - 8005364: d9de bls.n 8005324 - 8005366: f8a4 205e strh.w r2, [r4, #94] ; 0x5e - 800536a: 680a ldr r2, [r1, #0] - 800536c: 0692 lsls r2, r2, #26 - 800536e: d42f bmi.n 80053d0 - 8005370: e853 2f00 ldrex r2, [r3] - 8005374: f422 7280 bic.w r2, r2, #256 ; 0x100 - 8005378: e843 2100 strex r1, r2, [r3] - 800537c: 2900 cmp r1, #0 - 800537e: d1f7 bne.n 8005370 - 8005380: f103 0208 add.w r2, r3, #8 - 8005384: e852 2f00 ldrex r2, [r2] - 8005388: f022 0201 bic.w r2, r2, #1 - 800538c: f103 0008 add.w r0, r3, #8 - 8005390: e840 2100 strex r1, r2, [r0] - 8005394: 2900 cmp r1, #0 - 8005396: d1f3 bne.n 8005380 - 8005398: f103 0208 add.w r2, r3, #8 - 800539c: e852 2f00 ldrex r2, [r2] - 80053a0: f022 0240 bic.w r2, r2, #64 ; 0x40 - 80053a4: f103 0008 add.w r0, r3, #8 - 80053a8: e840 2100 strex r1, r2, [r0] - 80053ac: 2900 cmp r1, #0 - 80053ae: d1f3 bne.n 8005398 - 80053b0: 2220 movs r2, #32 - 80053b2: f8c4 208c str.w r2, [r4, #140] ; 0x8c - 80053b6: 66e1 str r1, [r4, #108] ; 0x6c - 80053b8: e853 2f00 ldrex r2, [r3] - 80053bc: f022 0210 bic.w r2, r2, #16 - 80053c0: e843 2100 strex r1, r2, [r3] - 80053c4: 2900 cmp r1, #0 - 80053c6: d1f7 bne.n 80053b8 - 80053c8: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 - 80053cc: f7fe f834 bl 8003438 - 80053d0: 2302 movs r3, #2 - 80053d2: 6723 str r3, [r4, #112] ; 0x70 - 80053d4: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 80053d8: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c - 80053dc: 1ac9 subs r1, r1, r3 - 80053de: b289 uxth r1, r1 - 80053e0: 4620 mov r0, r4 - 80053e2: f7ff feff bl 80051e4 - 80053e6: e79d b.n 8005324 - 80053e8: f8b4 205e ldrh.w r2, [r4, #94] ; 0x5e - 80053ec: f8b4 005e ldrh.w r0, [r4, #94] ; 0x5e - 80053f0: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c - 80053f4: b280 uxth r0, r0 - 80053f6: b292 uxth r2, r2 - 80053f8: 2800 cmp r0, #0 - 80053fa: d093 beq.n 8005324 - 80053fc: 1a89 subs r1, r1, r2 - 80053fe: b289 uxth r1, r1 - 8005400: 2900 cmp r1, #0 - 8005402: d08f beq.n 8005324 - 8005404: e853 2f00 ldrex r2, [r3] - 8005408: f422 7290 bic.w r2, r2, #288 ; 0x120 - 800540c: e843 2000 strex r0, r2, [r3] - 8005410: 2800 cmp r0, #0 - 8005412: d1f7 bne.n 8005404 - 8005414: 4d31 ldr r5, [pc, #196] ; (80054dc ) - 8005416: f103 0208 add.w r2, r3, #8 - 800541a: e852 2f00 ldrex r2, [r2] - 800541e: 402a ands r2, r5 - 8005420: f103 0608 add.w r6, r3, #8 - 8005424: e846 2000 strex r0, r2, [r6] - 8005428: 2800 cmp r0, #0 - 800542a: d1f4 bne.n 8005416 - 800542c: 2220 movs r2, #32 - 800542e: f8c4 208c str.w r2, [r4, #140] ; 0x8c - 8005432: 6760 str r0, [r4, #116] ; 0x74 - 8005434: 66e0 str r0, [r4, #108] ; 0x6c - 8005436: e853 2f00 ldrex r2, [r3] - 800543a: f022 0210 bic.w r2, r2, #16 - 800543e: e843 2000 strex r0, r2, [r3] - 8005442: 2800 cmp r0, #0 - 8005444: d1f7 bne.n 8005436 - 8005446: 2302 movs r3, #2 - 8005448: 6723 str r3, [r4, #112] ; 0x70 - 800544a: e7c9 b.n 80053e0 - 800544c: 02cf lsls r7, r1, #11 - 800544e: d509 bpl.n 8005464 - 8005450: 026e lsls r6, r5, #9 - 8005452: d507 bpl.n 8005464 - 8005454: f44f 1280 mov.w r2, #1048576 ; 0x100000 - 8005458: 4620 mov r0, r4 - 800545a: 621a str r2, [r3, #32] - 800545c: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8005460: f000 bda0 b.w 8005fa4 - 8005464: 0608 lsls r0, r1, #24 - 8005466: d50b bpl.n 8005480 - 8005468: f002 0080 and.w r0, r2, #128 ; 0x80 - 800546c: f405 0500 and.w r5, r5, #8388608 ; 0x800000 - 8005470: 4328 orrs r0, r5 - 8005472: d005 beq.n 8005480 - 8005474: 6fa3 ldr r3, [r4, #120] ; 0x78 - 8005476: 2b00 cmp r3, #0 - 8005478: f43f af54 beq.w 8005324 - 800547c: 4620 mov r0, r4 - 800547e: e6cc b.n 800521a - 8005480: 064f lsls r7, r1, #25 - 8005482: d511 bpl.n 80054a8 - 8005484: 0656 lsls r6, r2, #25 - 8005486: d50f bpl.n 80054a8 - 8005488: e853 2f00 ldrex r2, [r3] - 800548c: f022 0240 bic.w r2, r2, #64 ; 0x40 - 8005490: e843 2100 strex r1, r2, [r3] - 8005494: 2900 cmp r1, #0 - 8005496: d1f7 bne.n 8005488 - 8005498: 2320 movs r3, #32 - 800549a: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 800549e: 67a1 str r1, [r4, #120] ; 0x78 - 80054a0: 4620 mov r0, r4 - 80054a2: f7fc fc99 bl 8001dd8 - 80054a6: e73d b.n 8005324 - 80054a8: 020d lsls r5, r1, #8 - 80054aa: d506 bpl.n 80054ba - 80054ac: 0050 lsls r0, r2, #1 - 80054ae: d504 bpl.n 80054ba - 80054b0: 4620 mov r0, r4 - 80054b2: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 80054b6: f000 bd77 b.w 8005fa8 - 80054ba: 01cb lsls r3, r1, #7 - 80054bc: f57f af32 bpl.w 8005324 - 80054c0: 2a00 cmp r2, #0 - 80054c2: f6bf af2f bge.w 8005324 - 80054c6: 4620 mov r0, r4 - 80054c8: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 80054cc: f000 bd6b b.w 8005fa6 - 80054d0: 10000001 .word 0x10000001 - 80054d4: 04000120 .word 0x04000120 - 80054d8: 080051d1 .word 0x080051d1 - 80054dc: effffffe .word 0xeffffffe +080051fc : + 80051fc: 6803 ldr r3, [r0, #0] + 80051fe: 69d9 ldr r1, [r3, #28] + 8005200: 681a ldr r2, [r3, #0] + 8005202: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8005206: f640 060f movw r6, #2063 ; 0x80f + 800520a: 4231 tst r1, r6 + 800520c: 689d ldr r5, [r3, #8] + 800520e: 4604 mov r4, r0 + 8005210: d110 bne.n 8005234 + 8005212: 068e lsls r6, r1, #26 + 8005214: f140 8097 bpl.w 8005346 + 8005218: f002 0620 and.w r6, r2, #32 + 800521c: f005 5780 and.w r7, r5, #268435456 ; 0x10000000 + 8005220: 433e orrs r6, r7 + 8005222: f000 8090 beq.w 8005346 + 8005226: 6f43 ldr r3, [r0, #116] ; 0x74 + 8005228: 2b00 cmp r3, #0 + 800522a: f000 8085 beq.w 8005338 + 800522e: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8005232: 4718 bx r3 + 8005234: 4eab ldr r6, [pc, #684] ; (80054e4 ) + 8005236: 48ac ldr r0, [pc, #688] ; (80054e8 ) + 8005238: 402e ands r6, r5 + 800523a: 4010 ands r0, r2 + 800523c: 4330 orrs r0, r6 + 800523e: f000 8082 beq.w 8005346 + 8005242: 07cf lsls r7, r1, #31 + 8005244: d509 bpl.n 800525a + 8005246: 05d0 lsls r0, r2, #23 + 8005248: d507 bpl.n 800525a + 800524a: 2001 movs r0, #1 + 800524c: 6218 str r0, [r3, #32] + 800524e: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 + 8005252: f040 0001 orr.w r0, r0, #1 + 8005256: f8c4 0090 str.w r0, [r4, #144] ; 0x90 + 800525a: 078f lsls r7, r1, #30 + 800525c: d509 bpl.n 8005272 + 800525e: 07e8 lsls r0, r5, #31 + 8005260: d507 bpl.n 8005272 + 8005262: 2002 movs r0, #2 + 8005264: 6218 str r0, [r3, #32] + 8005266: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 + 800526a: f040 0004 orr.w r0, r0, #4 + 800526e: f8c4 0090 str.w r0, [r4, #144] ; 0x90 + 8005272: 074f lsls r7, r1, #29 + 8005274: d509 bpl.n 800528a + 8005276: 07e8 lsls r0, r5, #31 + 8005278: d507 bpl.n 800528a + 800527a: 2004 movs r0, #4 + 800527c: 6218 str r0, [r3, #32] + 800527e: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 + 8005282: f040 0002 orr.w r0, r0, #2 + 8005286: f8c4 0090 str.w r0, [r4, #144] ; 0x90 + 800528a: 070f lsls r7, r1, #28 + 800528c: d50b bpl.n 80052a6 + 800528e: f002 0020 and.w r0, r2, #32 + 8005292: 4330 orrs r0, r6 + 8005294: d007 beq.n 80052a6 + 8005296: 2008 movs r0, #8 + 8005298: 6218 str r0, [r3, #32] + 800529a: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 + 800529e: f040 0008 orr.w r0, r0, #8 + 80052a2: f8c4 0090 str.w r0, [r4, #144] ; 0x90 + 80052a6: 050e lsls r6, r1, #20 + 80052a8: d50a bpl.n 80052c0 + 80052aa: 0150 lsls r0, r2, #5 + 80052ac: d508 bpl.n 80052c0 + 80052ae: f44f 6000 mov.w r0, #2048 ; 0x800 + 80052b2: 6218 str r0, [r3, #32] + 80052b4: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 80052b8: f043 0320 orr.w r3, r3, #32 + 80052bc: f8c4 3090 str.w r3, [r4, #144] ; 0x90 + 80052c0: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 80052c4: 2b00 cmp r3, #0 + 80052c6: d037 beq.n 8005338 + 80052c8: 068b lsls r3, r1, #26 + 80052ca: d509 bpl.n 80052e0 + 80052cc: f002 0220 and.w r2, r2, #32 + 80052d0: f005 5580 and.w r5, r5, #268435456 ; 0x10000000 + 80052d4: 432a orrs r2, r5 + 80052d6: d003 beq.n 80052e0 + 80052d8: 6f63 ldr r3, [r4, #116] ; 0x74 + 80052da: b10b cbz r3, 80052e0 + 80052dc: 4620 mov r0, r4 + 80052de: 4798 blx r3 + 80052e0: 6826 ldr r6, [r4, #0] + 80052e2: f8d4 2090 ldr.w r2, [r4, #144] ; 0x90 + 80052e6: 68b3 ldr r3, [r6, #8] + 80052e8: f002 0228 and.w r2, r2, #40 ; 0x28 + 80052ec: f003 0340 and.w r3, r3, #64 ; 0x40 + 80052f0: ea53 0502 orrs.w r5, r3, r2 + 80052f4: 4620 mov r0, r4 + 80052f6: d021 beq.n 800533c + 80052f8: f7ff feb8 bl 800506c + 80052fc: 68b3 ldr r3, [r6, #8] + 80052fe: 065f lsls r7, r3, #25 + 8005300: d517 bpl.n 8005332 + 8005302: 6822 ldr r2, [r4, #0] + 8005304: f102 0308 add.w r3, r2, #8 + 8005308: e853 3f00 ldrex r3, [r3] + 800530c: f023 0340 bic.w r3, r3, #64 ; 0x40 + 8005310: 3208 adds r2, #8 + 8005312: e842 3100 strex r1, r3, [r2] + 8005316: 2900 cmp r1, #0 + 8005318: d1f3 bne.n 8005302 + 800531a: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 + 800531e: b140 cbz r0, 8005332 + 8005320: 4b72 ldr r3, [pc, #456] ; (80054ec ) + 8005322: 6383 str r3, [r0, #56] ; 0x38 + 8005324: f7fe f8c7 bl 80034b6 + 8005328: b130 cbz r0, 8005338 + 800532a: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 + 800532e: 6b83 ldr r3, [r0, #56] ; 0x38 + 8005330: e77d b.n 800522e + 8005332: 4620 mov r0, r4 + 8005334: f7ff ff31 bl 800519a + 8005338: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800533c: f7ff ff2d bl 800519a + 8005340: f8c4 5090 str.w r5, [r4, #144] ; 0x90 + 8005344: e7f8 b.n 8005338 + 8005346: 6ee0 ldr r0, [r4, #108] ; 0x6c + 8005348: 2801 cmp r0, #1 + 800534a: f040 8089 bne.w 8005460 + 800534e: 06ce lsls r6, r1, #27 + 8005350: f140 8086 bpl.w 8005460 + 8005354: 06d0 lsls r0, r2, #27 + 8005356: f140 8083 bpl.w 8005460 + 800535a: 2210 movs r2, #16 + 800535c: 621a str r2, [r3, #32] + 800535e: 689a ldr r2, [r3, #8] + 8005360: 0651 lsls r1, r2, #25 + 8005362: d54b bpl.n 80053fc + 8005364: f8d4 2080 ldr.w r2, [r4, #128] ; 0x80 + 8005368: 6811 ldr r1, [r2, #0] + 800536a: 684a ldr r2, [r1, #4] + 800536c: b292 uxth r2, r2 + 800536e: 2a00 cmp r2, #0 + 8005370: d0e2 beq.n 8005338 + 8005372: f8b4 005c ldrh.w r0, [r4, #92] ; 0x5c + 8005376: 4290 cmp r0, r2 + 8005378: d9de bls.n 8005338 + 800537a: f8a4 205e strh.w r2, [r4, #94] ; 0x5e + 800537e: 680a ldr r2, [r1, #0] + 8005380: 0692 lsls r2, r2, #26 + 8005382: d42f bmi.n 80053e4 + 8005384: e853 2f00 ldrex r2, [r3] + 8005388: f422 7280 bic.w r2, r2, #256 ; 0x100 + 800538c: e843 2100 strex r1, r2, [r3] + 8005390: 2900 cmp r1, #0 + 8005392: d1f7 bne.n 8005384 + 8005394: f103 0208 add.w r2, r3, #8 + 8005398: e852 2f00 ldrex r2, [r2] + 800539c: f022 0201 bic.w r2, r2, #1 + 80053a0: f103 0008 add.w r0, r3, #8 + 80053a4: e840 2100 strex r1, r2, [r0] + 80053a8: 2900 cmp r1, #0 + 80053aa: d1f3 bne.n 8005394 + 80053ac: f103 0208 add.w r2, r3, #8 + 80053b0: e852 2f00 ldrex r2, [r2] + 80053b4: f022 0240 bic.w r2, r2, #64 ; 0x40 + 80053b8: f103 0008 add.w r0, r3, #8 + 80053bc: e840 2100 strex r1, r2, [r0] + 80053c0: 2900 cmp r1, #0 + 80053c2: d1f3 bne.n 80053ac + 80053c4: 2220 movs r2, #32 + 80053c6: f8c4 208c str.w r2, [r4, #140] ; 0x8c + 80053ca: 66e1 str r1, [r4, #108] ; 0x6c + 80053cc: e853 2f00 ldrex r2, [r3] + 80053d0: f022 0210 bic.w r2, r2, #16 + 80053d4: e843 2100 strex r1, r2, [r3] + 80053d8: 2900 cmp r1, #0 + 80053da: d1f7 bne.n 80053cc + 80053dc: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 + 80053e0: f7fe f834 bl 800344c + 80053e4: 2302 movs r3, #2 + 80053e6: 6723 str r3, [r4, #112] ; 0x70 + 80053e8: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 80053ec: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c + 80053f0: 1ac9 subs r1, r1, r3 + 80053f2: b289 uxth r1, r1 + 80053f4: 4620 mov r0, r4 + 80053f6: f7ff feff bl 80051f8 + 80053fa: e79d b.n 8005338 + 80053fc: f8b4 205e ldrh.w r2, [r4, #94] ; 0x5e + 8005400: f8b4 005e ldrh.w r0, [r4, #94] ; 0x5e + 8005404: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c + 8005408: b280 uxth r0, r0 + 800540a: b292 uxth r2, r2 + 800540c: 2800 cmp r0, #0 + 800540e: d093 beq.n 8005338 + 8005410: 1a89 subs r1, r1, r2 + 8005412: b289 uxth r1, r1 + 8005414: 2900 cmp r1, #0 + 8005416: d08f beq.n 8005338 + 8005418: e853 2f00 ldrex r2, [r3] + 800541c: f422 7290 bic.w r2, r2, #288 ; 0x120 + 8005420: e843 2000 strex r0, r2, [r3] + 8005424: 2800 cmp r0, #0 + 8005426: d1f7 bne.n 8005418 + 8005428: 4d31 ldr r5, [pc, #196] ; (80054f0 ) + 800542a: f103 0208 add.w r2, r3, #8 + 800542e: e852 2f00 ldrex r2, [r2] + 8005432: 402a ands r2, r5 + 8005434: f103 0608 add.w r6, r3, #8 + 8005438: e846 2000 strex r0, r2, [r6] + 800543c: 2800 cmp r0, #0 + 800543e: d1f4 bne.n 800542a + 8005440: 2220 movs r2, #32 + 8005442: f8c4 208c str.w r2, [r4, #140] ; 0x8c + 8005446: 6760 str r0, [r4, #116] ; 0x74 + 8005448: 66e0 str r0, [r4, #108] ; 0x6c + 800544a: e853 2f00 ldrex r2, [r3] + 800544e: f022 0210 bic.w r2, r2, #16 + 8005452: e843 2000 strex r0, r2, [r3] + 8005456: 2800 cmp r0, #0 + 8005458: d1f7 bne.n 800544a + 800545a: 2302 movs r3, #2 + 800545c: 6723 str r3, [r4, #112] ; 0x70 + 800545e: e7c9 b.n 80053f4 + 8005460: 02cf lsls r7, r1, #11 + 8005462: d509 bpl.n 8005478 + 8005464: 026e lsls r6, r5, #9 + 8005466: d507 bpl.n 8005478 + 8005468: f44f 1280 mov.w r2, #1048576 ; 0x100000 + 800546c: 4620 mov r0, r4 + 800546e: 621a str r2, [r3, #32] + 8005470: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8005474: f000 bda0 b.w 8005fb8 + 8005478: 0608 lsls r0, r1, #24 + 800547a: d50b bpl.n 8005494 + 800547c: f002 0080 and.w r0, r2, #128 ; 0x80 + 8005480: f405 0500 and.w r5, r5, #8388608 ; 0x800000 + 8005484: 4328 orrs r0, r5 + 8005486: d005 beq.n 8005494 + 8005488: 6fa3 ldr r3, [r4, #120] ; 0x78 + 800548a: 2b00 cmp r3, #0 + 800548c: f43f af54 beq.w 8005338 + 8005490: 4620 mov r0, r4 + 8005492: e6cc b.n 800522e + 8005494: 064f lsls r7, r1, #25 + 8005496: d511 bpl.n 80054bc + 8005498: 0656 lsls r6, r2, #25 + 800549a: d50f bpl.n 80054bc + 800549c: e853 2f00 ldrex r2, [r3] + 80054a0: f022 0240 bic.w r2, r2, #64 ; 0x40 + 80054a4: e843 2100 strex r1, r2, [r3] + 80054a8: 2900 cmp r1, #0 + 80054aa: d1f7 bne.n 800549c + 80054ac: 2320 movs r3, #32 + 80054ae: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 80054b2: 67a1 str r1, [r4, #120] ; 0x78 + 80054b4: 4620 mov r0, r4 + 80054b6: f7fc fc99 bl 8001dec + 80054ba: e73d b.n 8005338 + 80054bc: 020d lsls r5, r1, #8 + 80054be: d506 bpl.n 80054ce + 80054c0: 0050 lsls r0, r2, #1 + 80054c2: d504 bpl.n 80054ce + 80054c4: 4620 mov r0, r4 + 80054c6: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 80054ca: f000 bd77 b.w 8005fbc + 80054ce: 01cb lsls r3, r1, #7 + 80054d0: f57f af32 bpl.w 8005338 + 80054d4: 2a00 cmp r2, #0 + 80054d6: f6bf af2f bge.w 8005338 + 80054da: 4620 mov r0, r4 + 80054dc: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 80054e0: f000 bd6b b.w 8005fba + 80054e4: 10000001 .word 0x10000001 + 80054e8: 04000120 .word 0x04000120 + 80054ec: 080051e5 .word 0x080051e5 + 80054f0: effffffe .word 0xeffffffe -080054e0 : - 80054e0: f8d0 208c ldr.w r2, [r0, #140] ; 0x8c - 80054e4: f8b0 1060 ldrh.w r1, [r0, #96] ; 0x60 - 80054e8: 2a22 cmp r2, #34 ; 0x22 - 80054ea: b508 push {r3, lr} - 80054ec: 6803 ldr r3, [r0, #0] - 80054ee: d155 bne.n 800559c - 80054f0: 6a5b ldr r3, [r3, #36] ; 0x24 - 80054f2: 6d82 ldr r2, [r0, #88] ; 0x58 - 80054f4: 400b ands r3, r1 - 80054f6: 7013 strb r3, [r2, #0] - 80054f8: 6d83 ldr r3, [r0, #88] ; 0x58 - 80054fa: 3301 adds r3, #1 - 80054fc: 6583 str r3, [r0, #88] ; 0x58 - 80054fe: f8b0 305e ldrh.w r3, [r0, #94] ; 0x5e - 8005502: 3b01 subs r3, #1 - 8005504: b29b uxth r3, r3 - 8005506: f8a0 305e strh.w r3, [r0, #94] ; 0x5e - 800550a: f8b0 305e ldrh.w r3, [r0, #94] ; 0x5e - 800550e: b29b uxth r3, r3 - 8005510: 2b00 cmp r3, #0 - 8005512: d142 bne.n 800559a - 8005514: 6802 ldr r2, [r0, #0] - 8005516: e852 3f00 ldrex r3, [r2] - 800551a: f423 7390 bic.w r3, r3, #288 ; 0x120 - 800551e: e842 3100 strex r1, r3, [r2] - 8005522: 6803 ldr r3, [r0, #0] - 8005524: 2900 cmp r1, #0 - 8005526: d1f5 bne.n 8005514 - 8005528: f103 0208 add.w r2, r3, #8 - 800552c: e852 2f00 ldrex r2, [r2] - 8005530: f022 0201 bic.w r2, r2, #1 - 8005534: f103 0c08 add.w ip, r3, #8 - 8005538: e84c 2100 strex r1, r2, [ip] - 800553c: 2900 cmp r1, #0 - 800553e: d1f3 bne.n 8005528 - 8005540: 2220 movs r2, #32 - 8005542: f8c0 208c str.w r2, [r0, #140] ; 0x8c - 8005546: 4a18 ldr r2, [pc, #96] ; (80055a8 ) - 8005548: 6741 str r1, [r0, #116] ; 0x74 - 800554a: 4293 cmp r3, r2 - 800554c: 6701 str r1, [r0, #112] ; 0x70 - 800554e: d105 bne.n 800555c - 8005550: 6ec2 ldr r2, [r0, #108] ; 0x6c - 8005552: 2a01 cmp r2, #1 - 8005554: d00e beq.n 8005574 - 8005556: f7fc fc4d bl 8001df4 - 800555a: e01e b.n 800559a - 800555c: 685a ldr r2, [r3, #4] - 800555e: 0211 lsls r1, r2, #8 - 8005560: d5f6 bpl.n 8005550 - 8005562: e853 2f00 ldrex r2, [r3] - 8005566: f022 6280 bic.w r2, r2, #67108864 ; 0x4000000 - 800556a: e843 2100 strex r1, r2, [r3] - 800556e: 2900 cmp r1, #0 - 8005570: d1f7 bne.n 8005562 - 8005572: e7ed b.n 8005550 - 8005574: 2200 movs r2, #0 - 8005576: 66c2 str r2, [r0, #108] ; 0x6c - 8005578: e853 2f00 ldrex r2, [r3] - 800557c: f022 0210 bic.w r2, r2, #16 - 8005580: e843 2100 strex r1, r2, [r3] - 8005584: 2900 cmp r1, #0 - 8005586: d1f7 bne.n 8005578 - 8005588: 69da ldr r2, [r3, #28] - 800558a: f8b0 105c ldrh.w r1, [r0, #92] ; 0x5c - 800558e: 06d2 lsls r2, r2, #27 - 8005590: bf44 itt mi - 8005592: 2210 movmi r2, #16 - 8005594: 621a strmi r2, [r3, #32] - 8005596: f7ff fe25 bl 80051e4 - 800559a: bd08 pop {r3, pc} - 800559c: 699a ldr r2, [r3, #24] - 800559e: f042 0208 orr.w r2, r2, #8 - 80055a2: 619a str r2, [r3, #24] - 80055a4: e7f9 b.n 800559a - 80055a6: bf00 nop - 80055a8: 40008000 .word 0x40008000 +080054f4 : + 80054f4: f8d0 208c ldr.w r2, [r0, #140] ; 0x8c + 80054f8: f8b0 1060 ldrh.w r1, [r0, #96] ; 0x60 + 80054fc: 2a22 cmp r2, #34 ; 0x22 + 80054fe: b508 push {r3, lr} + 8005500: 6803 ldr r3, [r0, #0] + 8005502: d155 bne.n 80055b0 + 8005504: 6a5b ldr r3, [r3, #36] ; 0x24 + 8005506: 6d82 ldr r2, [r0, #88] ; 0x58 + 8005508: 400b ands r3, r1 + 800550a: 7013 strb r3, [r2, #0] + 800550c: 6d83 ldr r3, [r0, #88] ; 0x58 + 800550e: 3301 adds r3, #1 + 8005510: 6583 str r3, [r0, #88] ; 0x58 + 8005512: f8b0 305e ldrh.w r3, [r0, #94] ; 0x5e + 8005516: 3b01 subs r3, #1 + 8005518: b29b uxth r3, r3 + 800551a: f8a0 305e strh.w r3, [r0, #94] ; 0x5e + 800551e: f8b0 305e ldrh.w r3, [r0, #94] ; 0x5e + 8005522: b29b uxth r3, r3 + 8005524: 2b00 cmp r3, #0 + 8005526: d142 bne.n 80055ae + 8005528: 6802 ldr r2, [r0, #0] + 800552a: e852 3f00 ldrex r3, [r2] + 800552e: f423 7390 bic.w r3, r3, #288 ; 0x120 + 8005532: e842 3100 strex r1, r3, [r2] + 8005536: 6803 ldr r3, [r0, #0] + 8005538: 2900 cmp r1, #0 + 800553a: d1f5 bne.n 8005528 + 800553c: f103 0208 add.w r2, r3, #8 + 8005540: e852 2f00 ldrex r2, [r2] + 8005544: f022 0201 bic.w r2, r2, #1 + 8005548: f103 0c08 add.w ip, r3, #8 + 800554c: e84c 2100 strex r1, r2, [ip] + 8005550: 2900 cmp r1, #0 + 8005552: d1f3 bne.n 800553c + 8005554: 2220 movs r2, #32 + 8005556: f8c0 208c str.w r2, [r0, #140] ; 0x8c + 800555a: 4a18 ldr r2, [pc, #96] ; (80055bc ) + 800555c: 6741 str r1, [r0, #116] ; 0x74 + 800555e: 4293 cmp r3, r2 + 8005560: 6701 str r1, [r0, #112] ; 0x70 + 8005562: d105 bne.n 8005570 + 8005564: 6ec2 ldr r2, [r0, #108] ; 0x6c + 8005566: 2a01 cmp r2, #1 + 8005568: d00e beq.n 8005588 + 800556a: f7fc fc4d bl 8001e08 + 800556e: e01e b.n 80055ae + 8005570: 685a ldr r2, [r3, #4] + 8005572: 0211 lsls r1, r2, #8 + 8005574: d5f6 bpl.n 8005564 + 8005576: e853 2f00 ldrex r2, [r3] + 800557a: f022 6280 bic.w r2, r2, #67108864 ; 0x4000000 + 800557e: e843 2100 strex r1, r2, [r3] + 8005582: 2900 cmp r1, #0 + 8005584: d1f7 bne.n 8005576 + 8005586: e7ed b.n 8005564 + 8005588: 2200 movs r2, #0 + 800558a: 66c2 str r2, [r0, #108] ; 0x6c + 800558c: e853 2f00 ldrex r2, [r3] + 8005590: f022 0210 bic.w r2, r2, #16 + 8005594: e843 2100 strex r1, r2, [r3] + 8005598: 2900 cmp r1, #0 + 800559a: d1f7 bne.n 800558c + 800559c: 69da ldr r2, [r3, #28] + 800559e: f8b0 105c ldrh.w r1, [r0, #92] ; 0x5c + 80055a2: 06d2 lsls r2, r2, #27 + 80055a4: bf44 itt mi + 80055a6: 2210 movmi r2, #16 + 80055a8: 621a strmi r2, [r3, #32] + 80055aa: f7ff fe25 bl 80051f8 + 80055ae: bd08 pop {r3, pc} + 80055b0: 699a ldr r2, [r3, #24] + 80055b2: f042 0208 orr.w r2, r2, #8 + 80055b6: 619a str r2, [r3, #24] + 80055b8: e7f9 b.n 80055ae + 80055ba: bf00 nop + 80055bc: 40008000 .word 0x40008000 -080055ac : - 80055ac: f8d0 208c ldr.w r2, [r0, #140] ; 0x8c - 80055b0: f8b0 1060 ldrh.w r1, [r0, #96] ; 0x60 - 80055b4: 2a22 cmp r2, #34 ; 0x22 - 80055b6: b508 push {r3, lr} - 80055b8: 6803 ldr r3, [r0, #0] - 80055ba: d152 bne.n 8005662 - 80055bc: 6a5a ldr r2, [r3, #36] ; 0x24 - 80055be: 4011 ands r1, r2 - 80055c0: 6d82 ldr r2, [r0, #88] ; 0x58 - 80055c2: f822 1b02 strh.w r1, [r2], #2 - 80055c6: 6582 str r2, [r0, #88] ; 0x58 - 80055c8: f8b0 205e ldrh.w r2, [r0, #94] ; 0x5e - 80055cc: 3a01 subs r2, #1 - 80055ce: b292 uxth r2, r2 - 80055d0: f8a0 205e strh.w r2, [r0, #94] ; 0x5e - 80055d4: f8b0 205e ldrh.w r2, [r0, #94] ; 0x5e - 80055d8: b292 uxth r2, r2 - 80055da: 2a00 cmp r2, #0 - 80055dc: d140 bne.n 8005660 - 80055de: e853 2f00 ldrex r2, [r3] - 80055e2: f422 7290 bic.w r2, r2, #288 ; 0x120 - 80055e6: e843 2100 strex r1, r2, [r3] - 80055ea: 2900 cmp r1, #0 - 80055ec: d1f7 bne.n 80055de - 80055ee: f103 0208 add.w r2, r3, #8 - 80055f2: e852 2f00 ldrex r2, [r2] - 80055f6: f022 0201 bic.w r2, r2, #1 - 80055fa: f103 0c08 add.w ip, r3, #8 - 80055fe: e84c 2100 strex r1, r2, [ip] - 8005602: 2900 cmp r1, #0 - 8005604: d1f3 bne.n 80055ee - 8005606: 2220 movs r2, #32 - 8005608: f8c0 208c str.w r2, [r0, #140] ; 0x8c - 800560c: 4a17 ldr r2, [pc, #92] ; (800566c ) - 800560e: 6741 str r1, [r0, #116] ; 0x74 - 8005610: 4293 cmp r3, r2 - 8005612: 6701 str r1, [r0, #112] ; 0x70 - 8005614: d105 bne.n 8005622 - 8005616: 6ec2 ldr r2, [r0, #108] ; 0x6c - 8005618: 2a01 cmp r2, #1 - 800561a: d00e beq.n 800563a - 800561c: f7fc fbea bl 8001df4 - 8005620: e01e b.n 8005660 - 8005622: 685a ldr r2, [r3, #4] - 8005624: 0211 lsls r1, r2, #8 - 8005626: d5f6 bpl.n 8005616 - 8005628: e853 2f00 ldrex r2, [r3] - 800562c: f022 6280 bic.w r2, r2, #67108864 ; 0x4000000 - 8005630: e843 2100 strex r1, r2, [r3] - 8005634: 2900 cmp r1, #0 - 8005636: d1f7 bne.n 8005628 - 8005638: e7ed b.n 8005616 - 800563a: 2200 movs r2, #0 - 800563c: 66c2 str r2, [r0, #108] ; 0x6c - 800563e: e853 2f00 ldrex r2, [r3] - 8005642: f022 0210 bic.w r2, r2, #16 - 8005646: e843 2100 strex r1, r2, [r3] - 800564a: 2900 cmp r1, #0 - 800564c: d1f7 bne.n 800563e - 800564e: 69da ldr r2, [r3, #28] - 8005650: f8b0 105c ldrh.w r1, [r0, #92] ; 0x5c - 8005654: 06d2 lsls r2, r2, #27 - 8005656: bf44 itt mi - 8005658: 2210 movmi r2, #16 - 800565a: 621a strmi r2, [r3, #32] - 800565c: f7ff fdc2 bl 80051e4 - 8005660: bd08 pop {r3, pc} - 8005662: 699a ldr r2, [r3, #24] - 8005664: f042 0208 orr.w r2, r2, #8 - 8005668: 619a str r2, [r3, #24] - 800566a: e7f9 b.n 8005660 - 800566c: 40008000 .word 0x40008000 +080055c0 : + 80055c0: f8d0 208c ldr.w r2, [r0, #140] ; 0x8c + 80055c4: f8b0 1060 ldrh.w r1, [r0, #96] ; 0x60 + 80055c8: 2a22 cmp r2, #34 ; 0x22 + 80055ca: b508 push {r3, lr} + 80055cc: 6803 ldr r3, [r0, #0] + 80055ce: d152 bne.n 8005676 + 80055d0: 6a5a ldr r2, [r3, #36] ; 0x24 + 80055d2: 4011 ands r1, r2 + 80055d4: 6d82 ldr r2, [r0, #88] ; 0x58 + 80055d6: f822 1b02 strh.w r1, [r2], #2 + 80055da: 6582 str r2, [r0, #88] ; 0x58 + 80055dc: f8b0 205e ldrh.w r2, [r0, #94] ; 0x5e + 80055e0: 3a01 subs r2, #1 + 80055e2: b292 uxth r2, r2 + 80055e4: f8a0 205e strh.w r2, [r0, #94] ; 0x5e + 80055e8: f8b0 205e ldrh.w r2, [r0, #94] ; 0x5e + 80055ec: b292 uxth r2, r2 + 80055ee: 2a00 cmp r2, #0 + 80055f0: d140 bne.n 8005674 + 80055f2: e853 2f00 ldrex r2, [r3] + 80055f6: f422 7290 bic.w r2, r2, #288 ; 0x120 + 80055fa: e843 2100 strex r1, r2, [r3] + 80055fe: 2900 cmp r1, #0 + 8005600: d1f7 bne.n 80055f2 + 8005602: f103 0208 add.w r2, r3, #8 + 8005606: e852 2f00 ldrex r2, [r2] + 800560a: f022 0201 bic.w r2, r2, #1 + 800560e: f103 0c08 add.w ip, r3, #8 + 8005612: e84c 2100 strex r1, r2, [ip] + 8005616: 2900 cmp r1, #0 + 8005618: d1f3 bne.n 8005602 + 800561a: 2220 movs r2, #32 + 800561c: f8c0 208c str.w r2, [r0, #140] ; 0x8c + 8005620: 4a17 ldr r2, [pc, #92] ; (8005680 ) + 8005622: 6741 str r1, [r0, #116] ; 0x74 + 8005624: 4293 cmp r3, r2 + 8005626: 6701 str r1, [r0, #112] ; 0x70 + 8005628: d105 bne.n 8005636 + 800562a: 6ec2 ldr r2, [r0, #108] ; 0x6c + 800562c: 2a01 cmp r2, #1 + 800562e: d00e beq.n 800564e + 8005630: f7fc fbea bl 8001e08 + 8005634: e01e b.n 8005674 + 8005636: 685a ldr r2, [r3, #4] + 8005638: 0211 lsls r1, r2, #8 + 800563a: d5f6 bpl.n 800562a + 800563c: e853 2f00 ldrex r2, [r3] + 8005640: f022 6280 bic.w r2, r2, #67108864 ; 0x4000000 + 8005644: e843 2100 strex r1, r2, [r3] + 8005648: 2900 cmp r1, #0 + 800564a: d1f7 bne.n 800563c + 800564c: e7ed b.n 800562a + 800564e: 2200 movs r2, #0 + 8005650: 66c2 str r2, [r0, #108] ; 0x6c + 8005652: e853 2f00 ldrex r2, [r3] + 8005656: f022 0210 bic.w r2, r2, #16 + 800565a: e843 2100 strex r1, r2, [r3] + 800565e: 2900 cmp r1, #0 + 8005660: d1f7 bne.n 8005652 + 8005662: 69da ldr r2, [r3, #28] + 8005664: f8b0 105c ldrh.w r1, [r0, #92] ; 0x5c + 8005668: 06d2 lsls r2, r2, #27 + 800566a: bf44 itt mi + 800566c: 2210 movmi r2, #16 + 800566e: 621a strmi r2, [r3, #32] + 8005670: f7ff fdc2 bl 80051f8 + 8005674: bd08 pop {r3, pc} + 8005676: 699a ldr r2, [r3, #24] + 8005678: f042 0208 orr.w r2, r2, #8 + 800567c: 619a str r2, [r3, #24] + 800567e: e7f9 b.n 8005674 + 8005680: 40008000 .word 0x40008000 -08005670 : - 8005670: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8005674: 6803 ldr r3, [r0, #0] - 8005676: f8b0 8060 ldrh.w r8, [r0, #96] ; 0x60 - 800567a: 69df ldr r7, [r3, #28] - 800567c: 681a ldr r2, [r3, #0] - 800567e: 689d ldr r5, [r3, #8] - 8005680: f8d0 108c ldr.w r1, [r0, #140] ; 0x8c - 8005684: 9201 str r2, [sp, #4] - 8005686: 2922 cmp r1, #34 ; 0x22 - 8005688: 4604 mov r4, r0 - 800568a: f040 80b4 bne.w 80057f6 - 800568e: f8b0 9068 ldrh.w r9, [r0, #104] ; 0x68 - 8005692: f8df a16c ldr.w sl, [pc, #364] ; 8005800 - 8005696: f8df b16c ldr.w fp, [pc, #364] ; 8005804 - 800569a: 2600 movs r6, #0 - 800569c: f1b9 0f00 cmp.w r9, #0 - 80056a0: d001 beq.n 80056a6 - 80056a2: 06bb lsls r3, r7, #26 - 80056a4: d421 bmi.n 80056ea - 80056a6: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 80056aa: b29b uxth r3, r3 - 80056ac: b1d3 cbz r3, 80056e4 - 80056ae: f8b4 2068 ldrh.w r2, [r4, #104] ; 0x68 - 80056b2: 429a cmp r2, r3 - 80056b4: d916 bls.n 80056e4 - 80056b6: 6822 ldr r2, [r4, #0] - 80056b8: f102 0308 add.w r3, r2, #8 - 80056bc: e853 3f00 ldrex r3, [r3] - 80056c0: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 - 80056c4: 3208 adds r2, #8 - 80056c6: e842 3100 strex r1, r3, [r2] +08005684 : + 8005684: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8005688: 6803 ldr r3, [r0, #0] + 800568a: f8b0 8060 ldrh.w r8, [r0, #96] ; 0x60 + 800568e: 69df ldr r7, [r3, #28] + 8005690: 681a ldr r2, [r3, #0] + 8005692: 689d ldr r5, [r3, #8] + 8005694: f8d0 108c ldr.w r1, [r0, #140] ; 0x8c + 8005698: 9201 str r2, [sp, #4] + 800569a: 2922 cmp r1, #34 ; 0x22 + 800569c: 4604 mov r4, r0 + 800569e: f040 80b4 bne.w 800580a + 80056a2: f8b0 9068 ldrh.w r9, [r0, #104] ; 0x68 + 80056a6: f8df a16c ldr.w sl, [pc, #364] ; 8005814 + 80056aa: f8df b16c ldr.w fp, [pc, #364] ; 8005818 + 80056ae: 2600 movs r6, #0 + 80056b0: f1b9 0f00 cmp.w r9, #0 + 80056b4: d001 beq.n 80056ba + 80056b6: 06bb lsls r3, r7, #26 + 80056b8: d421 bmi.n 80056fe + 80056ba: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 80056be: b29b uxth r3, r3 + 80056c0: b1d3 cbz r3, 80056f8 + 80056c2: f8b4 2068 ldrh.w r2, [r4, #104] ; 0x68 + 80056c6: 429a cmp r2, r3 + 80056c8: d916 bls.n 80056f8 80056ca: 6822 ldr r2, [r4, #0] - 80056cc: 2900 cmp r1, #0 - 80056ce: d1f2 bne.n 80056b6 - 80056d0: 4b4d ldr r3, [pc, #308] ; (8005808 ) - 80056d2: 6763 str r3, [r4, #116] ; 0x74 - 80056d4: e852 3f00 ldrex r3, [r2] - 80056d8: f043 0320 orr.w r3, r3, #32 - 80056dc: e842 3100 strex r1, r3, [r2] + 80056cc: f102 0308 add.w r3, r2, #8 + 80056d0: e853 3f00 ldrex r3, [r3] + 80056d4: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 + 80056d8: 3208 adds r2, #8 + 80056da: e842 3100 strex r1, r3, [r2] + 80056de: 6822 ldr r2, [r4, #0] 80056e0: 2900 cmp r1, #0 - 80056e2: d1f7 bne.n 80056d4 - 80056e4: b003 add sp, #12 - 80056e6: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80056ea: 6823 ldr r3, [r4, #0] - 80056ec: 6da2 ldr r2, [r4, #88] ; 0x58 - 80056ee: 6a5b ldr r3, [r3, #36] ; 0x24 - 80056f0: ea03 0308 and.w r3, r3, r8 - 80056f4: 7013 strb r3, [r2, #0] - 80056f6: 6da3 ldr r3, [r4, #88] ; 0x58 - 80056f8: 3301 adds r3, #1 - 80056fa: 65a3 str r3, [r4, #88] ; 0x58 - 80056fc: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 8005700: 3b01 subs r3, #1 - 8005702: b29b uxth r3, r3 - 8005704: f8a4 305e strh.w r3, [r4, #94] ; 0x5e - 8005708: 6823 ldr r3, [r4, #0] - 800570a: 69df ldr r7, [r3, #28] - 800570c: 0778 lsls r0, r7, #29 - 800570e: d02c beq.n 800576a - 8005710: 07f9 lsls r1, r7, #31 - 8005712: d50a bpl.n 800572a - 8005714: 9a01 ldr r2, [sp, #4] - 8005716: 05d2 lsls r2, r2, #23 - 8005718: d507 bpl.n 800572a - 800571a: 2101 movs r1, #1 - 800571c: 6219 str r1, [r3, #32] - 800571e: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 - 8005722: f041 0101 orr.w r1, r1, #1 - 8005726: f8c4 1090 str.w r1, [r4, #144] ; 0x90 - 800572a: 07b8 lsls r0, r7, #30 - 800572c: d509 bpl.n 8005742 - 800572e: 07e9 lsls r1, r5, #31 - 8005730: d507 bpl.n 8005742 - 8005732: 2102 movs r1, #2 - 8005734: 6219 str r1, [r3, #32] - 8005736: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 - 800573a: f041 0104 orr.w r1, r1, #4 - 800573e: f8c4 1090 str.w r1, [r4, #144] ; 0x90 - 8005742: 077a lsls r2, r7, #29 - 8005744: d509 bpl.n 800575a - 8005746: 07e8 lsls r0, r5, #31 - 8005748: d507 bpl.n 800575a - 800574a: 2104 movs r1, #4 - 800574c: 6219 str r1, [r3, #32] - 800574e: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 8005752: f043 0302 orr.w r3, r3, #2 - 8005756: f8c4 3090 str.w r3, [r4, #144] ; 0x90 - 800575a: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 800575e: b123 cbz r3, 800576a - 8005760: 4620 mov r0, r4 - 8005762: f7ff fd10 bl 8005186 - 8005766: f8c4 6090 str.w r6, [r4, #144] ; 0x90 - 800576a: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 800576e: b29b uxth r3, r3 - 8005770: 2b00 cmp r3, #0 - 8005772: d193 bne.n 800569c - 8005774: 6821 ldr r1, [r4, #0] - 8005776: e851 3f00 ldrex r3, [r1] - 800577a: f423 7380 bic.w r3, r3, #256 ; 0x100 - 800577e: e841 3000 strex r0, r3, [r1] - 8005782: 6823 ldr r3, [r4, #0] - 8005784: 2800 cmp r0, #0 - 8005786: d1f5 bne.n 8005774 - 8005788: f103 0208 add.w r2, r3, #8 - 800578c: e852 1f00 ldrex r1, [r2] - 8005790: ea01 010a and.w r1, r1, sl - 8005794: e842 1000 strex r0, r1, [r2] + 80056e2: d1f2 bne.n 80056ca + 80056e4: 4b4d ldr r3, [pc, #308] ; (800581c ) + 80056e6: 6763 str r3, [r4, #116] ; 0x74 + 80056e8: e852 3f00 ldrex r3, [r2] + 80056ec: f043 0320 orr.w r3, r3, #32 + 80056f0: e842 3100 strex r1, r3, [r2] + 80056f4: 2900 cmp r1, #0 + 80056f6: d1f7 bne.n 80056e8 + 80056f8: b003 add sp, #12 + 80056fa: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80056fe: 6823 ldr r3, [r4, #0] + 8005700: 6da2 ldr r2, [r4, #88] ; 0x58 + 8005702: 6a5b ldr r3, [r3, #36] ; 0x24 + 8005704: ea03 0308 and.w r3, r3, r8 + 8005708: 7013 strb r3, [r2, #0] + 800570a: 6da3 ldr r3, [r4, #88] ; 0x58 + 800570c: 3301 adds r3, #1 + 800570e: 65a3 str r3, [r4, #88] ; 0x58 + 8005710: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 8005714: 3b01 subs r3, #1 + 8005716: b29b uxth r3, r3 + 8005718: f8a4 305e strh.w r3, [r4, #94] ; 0x5e + 800571c: 6823 ldr r3, [r4, #0] + 800571e: 69df ldr r7, [r3, #28] + 8005720: 0778 lsls r0, r7, #29 + 8005722: d02c beq.n 800577e + 8005724: 07f9 lsls r1, r7, #31 + 8005726: d50a bpl.n 800573e + 8005728: 9a01 ldr r2, [sp, #4] + 800572a: 05d2 lsls r2, r2, #23 + 800572c: d507 bpl.n 800573e + 800572e: 2101 movs r1, #1 + 8005730: 6219 str r1, [r3, #32] + 8005732: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 + 8005736: f041 0101 orr.w r1, r1, #1 + 800573a: f8c4 1090 str.w r1, [r4, #144] ; 0x90 + 800573e: 07b8 lsls r0, r7, #30 + 8005740: d509 bpl.n 8005756 + 8005742: 07e9 lsls r1, r5, #31 + 8005744: d507 bpl.n 8005756 + 8005746: 2102 movs r1, #2 + 8005748: 6219 str r1, [r3, #32] + 800574a: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 + 800574e: f041 0104 orr.w r1, r1, #4 + 8005752: f8c4 1090 str.w r1, [r4, #144] ; 0x90 + 8005756: 077a lsls r2, r7, #29 + 8005758: d509 bpl.n 800576e + 800575a: 07e8 lsls r0, r5, #31 + 800575c: d507 bpl.n 800576e + 800575e: 2104 movs r1, #4 + 8005760: 6219 str r1, [r3, #32] + 8005762: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 8005766: f043 0302 orr.w r3, r3, #2 + 800576a: f8c4 3090 str.w r3, [r4, #144] ; 0x90 + 800576e: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 8005772: b123 cbz r3, 800577e + 8005774: 4620 mov r0, r4 + 8005776: f7ff fd10 bl 800519a + 800577a: f8c4 6090 str.w r6, [r4, #144] ; 0x90 + 800577e: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 8005782: b29b uxth r3, r3 + 8005784: 2b00 cmp r3, #0 + 8005786: d193 bne.n 80056b0 + 8005788: 6821 ldr r1, [r4, #0] + 800578a: e851 3f00 ldrex r3, [r1] + 800578e: f423 7380 bic.w r3, r3, #256 ; 0x100 + 8005792: e841 3000 strex r0, r3, [r1] + 8005796: 6823 ldr r3, [r4, #0] 8005798: 2800 cmp r0, #0 - 800579a: d1f5 bne.n 8005788 - 800579c: 2120 movs r1, #32 - 800579e: 455b cmp r3, fp - 80057a0: f8c4 108c str.w r1, [r4, #140] ; 0x8c - 80057a4: 6760 str r0, [r4, #116] ; 0x74 - 80057a6: 6720 str r0, [r4, #112] ; 0x70 - 80057a8: d00a beq.n 80057c0 - 80057aa: 6859 ldr r1, [r3, #4] - 80057ac: 0209 lsls r1, r1, #8 - 80057ae: d507 bpl.n 80057c0 - 80057b0: e853 1f00 ldrex r1, [r3] - 80057b4: f021 6180 bic.w r1, r1, #67108864 ; 0x4000000 - 80057b8: e843 1000 strex r0, r1, [r3] - 80057bc: 2800 cmp r0, #0 - 80057be: d1f7 bne.n 80057b0 - 80057c0: 6ee1 ldr r1, [r4, #108] ; 0x6c - 80057c2: 2901 cmp r1, #1 - 80057c4: d113 bne.n 80057ee - 80057c6: 66e6 str r6, [r4, #108] ; 0x6c - 80057c8: e853 1f00 ldrex r1, [r3] - 80057cc: f021 0110 bic.w r1, r1, #16 - 80057d0: e843 1000 strex r0, r1, [r3] - 80057d4: 2800 cmp r0, #0 - 80057d6: d1f7 bne.n 80057c8 - 80057d8: 69d9 ldr r1, [r3, #28] - 80057da: 06ca lsls r2, r1, #27 - 80057dc: bf44 itt mi - 80057de: 2110 movmi r1, #16 - 80057e0: 6219 strmi r1, [r3, #32] - 80057e2: 4620 mov r0, r4 - 80057e4: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c - 80057e8: f7ff fcfc bl 80051e4 - 80057ec: e756 b.n 800569c - 80057ee: 4620 mov r0, r4 - 80057f0: f7fc fb00 bl 8001df4 - 80057f4: e752 b.n 800569c - 80057f6: 699a ldr r2, [r3, #24] - 80057f8: f042 0208 orr.w r2, r2, #8 - 80057fc: 619a str r2, [r3, #24] - 80057fe: e771 b.n 80056e4 - 8005800: effffffe .word 0xeffffffe - 8005804: 40008000 .word 0x40008000 - 8005808: 080054e1 .word 0x080054e1 + 800579a: d1f5 bne.n 8005788 + 800579c: f103 0208 add.w r2, r3, #8 + 80057a0: e852 1f00 ldrex r1, [r2] + 80057a4: ea01 010a and.w r1, r1, sl + 80057a8: e842 1000 strex r0, r1, [r2] + 80057ac: 2800 cmp r0, #0 + 80057ae: d1f5 bne.n 800579c + 80057b0: 2120 movs r1, #32 + 80057b2: 455b cmp r3, fp + 80057b4: f8c4 108c str.w r1, [r4, #140] ; 0x8c + 80057b8: 6760 str r0, [r4, #116] ; 0x74 + 80057ba: 6720 str r0, [r4, #112] ; 0x70 + 80057bc: d00a beq.n 80057d4 + 80057be: 6859 ldr r1, [r3, #4] + 80057c0: 0209 lsls r1, r1, #8 + 80057c2: d507 bpl.n 80057d4 + 80057c4: e853 1f00 ldrex r1, [r3] + 80057c8: f021 6180 bic.w r1, r1, #67108864 ; 0x4000000 + 80057cc: e843 1000 strex r0, r1, [r3] + 80057d0: 2800 cmp r0, #0 + 80057d2: d1f7 bne.n 80057c4 + 80057d4: 6ee1 ldr r1, [r4, #108] ; 0x6c + 80057d6: 2901 cmp r1, #1 + 80057d8: d113 bne.n 8005802 + 80057da: 66e6 str r6, [r4, #108] ; 0x6c + 80057dc: e853 1f00 ldrex r1, [r3] + 80057e0: f021 0110 bic.w r1, r1, #16 + 80057e4: e843 1000 strex r0, r1, [r3] + 80057e8: 2800 cmp r0, #0 + 80057ea: d1f7 bne.n 80057dc + 80057ec: 69d9 ldr r1, [r3, #28] + 80057ee: 06ca lsls r2, r1, #27 + 80057f0: bf44 itt mi + 80057f2: 2110 movmi r1, #16 + 80057f4: 6219 strmi r1, [r3, #32] + 80057f6: 4620 mov r0, r4 + 80057f8: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c + 80057fc: f7ff fcfc bl 80051f8 + 8005800: e756 b.n 80056b0 + 8005802: 4620 mov r0, r4 + 8005804: f7fc fb00 bl 8001e08 + 8005808: e752 b.n 80056b0 + 800580a: 699a ldr r2, [r3, #24] + 800580c: f042 0208 orr.w r2, r2, #8 + 8005810: 619a str r2, [r3, #24] + 8005812: e771 b.n 80056f8 + 8005814: effffffe .word 0xeffffffe + 8005818: 40008000 .word 0x40008000 + 800581c: 080054f5 .word 0x080054f5 -0800580c : - 800580c: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8005810: 6803 ldr r3, [r0, #0] - 8005812: f8b0 8060 ldrh.w r8, [r0, #96] ; 0x60 - 8005816: 69df ldr r7, [r3, #28] - 8005818: 681a ldr r2, [r3, #0] - 800581a: 689d ldr r5, [r3, #8] - 800581c: f8d0 108c ldr.w r1, [r0, #140] ; 0x8c - 8005820: 9201 str r2, [sp, #4] - 8005822: 2922 cmp r1, #34 ; 0x22 - 8005824: 4604 mov r4, r0 - 8005826: f040 80b2 bne.w 800598e - 800582a: f8b0 9068 ldrh.w r9, [r0, #104] ; 0x68 - 800582e: f8df a168 ldr.w sl, [pc, #360] ; 8005998 - 8005832: f8df b168 ldr.w fp, [pc, #360] ; 800599c - 8005836: 2600 movs r6, #0 - 8005838: f1b9 0f00 cmp.w r9, #0 - 800583c: d001 beq.n 8005842 - 800583e: 06bb lsls r3, r7, #26 - 8005840: d421 bmi.n 8005886 - 8005842: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 8005846: b29b uxth r3, r3 - 8005848: b1d3 cbz r3, 8005880 - 800584a: f8b4 2068 ldrh.w r2, [r4, #104] ; 0x68 - 800584e: 429a cmp r2, r3 - 8005850: d916 bls.n 8005880 - 8005852: 6822 ldr r2, [r4, #0] - 8005854: f102 0308 add.w r3, r2, #8 - 8005858: e853 3f00 ldrex r3, [r3] - 800585c: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 - 8005860: 3208 adds r2, #8 - 8005862: e842 3100 strex r1, r3, [r2] +08005820 : + 8005820: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8005824: 6803 ldr r3, [r0, #0] + 8005826: f8b0 8060 ldrh.w r8, [r0, #96] ; 0x60 + 800582a: 69df ldr r7, [r3, #28] + 800582c: 681a ldr r2, [r3, #0] + 800582e: 689d ldr r5, [r3, #8] + 8005830: f8d0 108c ldr.w r1, [r0, #140] ; 0x8c + 8005834: 9201 str r2, [sp, #4] + 8005836: 2922 cmp r1, #34 ; 0x22 + 8005838: 4604 mov r4, r0 + 800583a: f040 80b2 bne.w 80059a2 + 800583e: f8b0 9068 ldrh.w r9, [r0, #104] ; 0x68 + 8005842: f8df a168 ldr.w sl, [pc, #360] ; 80059ac + 8005846: f8df b168 ldr.w fp, [pc, #360] ; 80059b0 + 800584a: 2600 movs r6, #0 + 800584c: f1b9 0f00 cmp.w r9, #0 + 8005850: d001 beq.n 8005856 + 8005852: 06bb lsls r3, r7, #26 + 8005854: d421 bmi.n 800589a + 8005856: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 800585a: b29b uxth r3, r3 + 800585c: b1d3 cbz r3, 8005894 + 800585e: f8b4 2068 ldrh.w r2, [r4, #104] ; 0x68 + 8005862: 429a cmp r2, r3 + 8005864: d916 bls.n 8005894 8005866: 6822 ldr r2, [r4, #0] - 8005868: 2900 cmp r1, #0 - 800586a: d1f2 bne.n 8005852 - 800586c: 4b4c ldr r3, [pc, #304] ; (80059a0 ) - 800586e: 6763 str r3, [r4, #116] ; 0x74 - 8005870: e852 3f00 ldrex r3, [r2] - 8005874: f043 0320 orr.w r3, r3, #32 - 8005878: e842 3100 strex r1, r3, [r2] + 8005868: f102 0308 add.w r3, r2, #8 + 800586c: e853 3f00 ldrex r3, [r3] + 8005870: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 + 8005874: 3208 adds r2, #8 + 8005876: e842 3100 strex r1, r3, [r2] + 800587a: 6822 ldr r2, [r4, #0] 800587c: 2900 cmp r1, #0 - 800587e: d1f7 bne.n 8005870 - 8005880: b003 add sp, #12 - 8005882: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8005886: 6823 ldr r3, [r4, #0] - 8005888: 6da2 ldr r2, [r4, #88] ; 0x58 - 800588a: 6a59 ldr r1, [r3, #36] ; 0x24 - 800588c: ea08 0101 and.w r1, r8, r1 - 8005890: f822 1b02 strh.w r1, [r2], #2 - 8005894: 65a2 str r2, [r4, #88] ; 0x58 - 8005896: f8b4 205e ldrh.w r2, [r4, #94] ; 0x5e - 800589a: 3a01 subs r2, #1 - 800589c: b292 uxth r2, r2 - 800589e: f8a4 205e strh.w r2, [r4, #94] ; 0x5e - 80058a2: 69df ldr r7, [r3, #28] - 80058a4: 0778 lsls r0, r7, #29 - 80058a6: d02c beq.n 8005902 - 80058a8: 07f9 lsls r1, r7, #31 - 80058aa: d50a bpl.n 80058c2 - 80058ac: 9a01 ldr r2, [sp, #4] - 80058ae: 05d2 lsls r2, r2, #23 - 80058b0: d507 bpl.n 80058c2 - 80058b2: 2101 movs r1, #1 - 80058b4: 6219 str r1, [r3, #32] - 80058b6: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 - 80058ba: f041 0101 orr.w r1, r1, #1 - 80058be: f8c4 1090 str.w r1, [r4, #144] ; 0x90 - 80058c2: 07b8 lsls r0, r7, #30 - 80058c4: d509 bpl.n 80058da - 80058c6: 07e9 lsls r1, r5, #31 - 80058c8: d507 bpl.n 80058da - 80058ca: 2102 movs r1, #2 - 80058cc: 6219 str r1, [r3, #32] - 80058ce: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 - 80058d2: f041 0104 orr.w r1, r1, #4 - 80058d6: f8c4 1090 str.w r1, [r4, #144] ; 0x90 - 80058da: 077a lsls r2, r7, #29 - 80058dc: d509 bpl.n 80058f2 - 80058de: 07e8 lsls r0, r5, #31 - 80058e0: d507 bpl.n 80058f2 - 80058e2: 2104 movs r1, #4 - 80058e4: 6219 str r1, [r3, #32] - 80058e6: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 80058ea: f043 0302 orr.w r3, r3, #2 - 80058ee: f8c4 3090 str.w r3, [r4, #144] ; 0x90 - 80058f2: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 80058f6: b123 cbz r3, 8005902 - 80058f8: 4620 mov r0, r4 - 80058fa: f7ff fc44 bl 8005186 - 80058fe: f8c4 6090 str.w r6, [r4, #144] ; 0x90 - 8005902: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 8005906: b29b uxth r3, r3 - 8005908: 2b00 cmp r3, #0 - 800590a: d195 bne.n 8005838 - 800590c: 6821 ldr r1, [r4, #0] - 800590e: e851 3f00 ldrex r3, [r1] - 8005912: f423 7380 bic.w r3, r3, #256 ; 0x100 - 8005916: e841 3000 strex r0, r3, [r1] - 800591a: 6823 ldr r3, [r4, #0] - 800591c: 2800 cmp r0, #0 - 800591e: d1f5 bne.n 800590c - 8005920: f103 0208 add.w r2, r3, #8 - 8005924: e852 1f00 ldrex r1, [r2] - 8005928: ea01 010a and.w r1, r1, sl - 800592c: e842 1000 strex r0, r1, [r2] + 800587e: d1f2 bne.n 8005866 + 8005880: 4b4c ldr r3, [pc, #304] ; (80059b4 ) + 8005882: 6763 str r3, [r4, #116] ; 0x74 + 8005884: e852 3f00 ldrex r3, [r2] + 8005888: f043 0320 orr.w r3, r3, #32 + 800588c: e842 3100 strex r1, r3, [r2] + 8005890: 2900 cmp r1, #0 + 8005892: d1f7 bne.n 8005884 + 8005894: b003 add sp, #12 + 8005896: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800589a: 6823 ldr r3, [r4, #0] + 800589c: 6da2 ldr r2, [r4, #88] ; 0x58 + 800589e: 6a59 ldr r1, [r3, #36] ; 0x24 + 80058a0: ea08 0101 and.w r1, r8, r1 + 80058a4: f822 1b02 strh.w r1, [r2], #2 + 80058a8: 65a2 str r2, [r4, #88] ; 0x58 + 80058aa: f8b4 205e ldrh.w r2, [r4, #94] ; 0x5e + 80058ae: 3a01 subs r2, #1 + 80058b0: b292 uxth r2, r2 + 80058b2: f8a4 205e strh.w r2, [r4, #94] ; 0x5e + 80058b6: 69df ldr r7, [r3, #28] + 80058b8: 0778 lsls r0, r7, #29 + 80058ba: d02c beq.n 8005916 + 80058bc: 07f9 lsls r1, r7, #31 + 80058be: d50a bpl.n 80058d6 + 80058c0: 9a01 ldr r2, [sp, #4] + 80058c2: 05d2 lsls r2, r2, #23 + 80058c4: d507 bpl.n 80058d6 + 80058c6: 2101 movs r1, #1 + 80058c8: 6219 str r1, [r3, #32] + 80058ca: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 + 80058ce: f041 0101 orr.w r1, r1, #1 + 80058d2: f8c4 1090 str.w r1, [r4, #144] ; 0x90 + 80058d6: 07b8 lsls r0, r7, #30 + 80058d8: d509 bpl.n 80058ee + 80058da: 07e9 lsls r1, r5, #31 + 80058dc: d507 bpl.n 80058ee + 80058de: 2102 movs r1, #2 + 80058e0: 6219 str r1, [r3, #32] + 80058e2: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 + 80058e6: f041 0104 orr.w r1, r1, #4 + 80058ea: f8c4 1090 str.w r1, [r4, #144] ; 0x90 + 80058ee: 077a lsls r2, r7, #29 + 80058f0: d509 bpl.n 8005906 + 80058f2: 07e8 lsls r0, r5, #31 + 80058f4: d507 bpl.n 8005906 + 80058f6: 2104 movs r1, #4 + 80058f8: 6219 str r1, [r3, #32] + 80058fa: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 80058fe: f043 0302 orr.w r3, r3, #2 + 8005902: f8c4 3090 str.w r3, [r4, #144] ; 0x90 + 8005906: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 800590a: b123 cbz r3, 8005916 + 800590c: 4620 mov r0, r4 + 800590e: f7ff fc44 bl 800519a + 8005912: f8c4 6090 str.w r6, [r4, #144] ; 0x90 + 8005916: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 800591a: b29b uxth r3, r3 + 800591c: 2b00 cmp r3, #0 + 800591e: d195 bne.n 800584c + 8005920: 6821 ldr r1, [r4, #0] + 8005922: e851 3f00 ldrex r3, [r1] + 8005926: f423 7380 bic.w r3, r3, #256 ; 0x100 + 800592a: e841 3000 strex r0, r3, [r1] + 800592e: 6823 ldr r3, [r4, #0] 8005930: 2800 cmp r0, #0 - 8005932: d1f5 bne.n 8005920 - 8005934: 2120 movs r1, #32 - 8005936: 455b cmp r3, fp - 8005938: f8c4 108c str.w r1, [r4, #140] ; 0x8c - 800593c: 6760 str r0, [r4, #116] ; 0x74 - 800593e: 6720 str r0, [r4, #112] ; 0x70 - 8005940: d00a beq.n 8005958 - 8005942: 6859 ldr r1, [r3, #4] - 8005944: 0209 lsls r1, r1, #8 - 8005946: d507 bpl.n 8005958 - 8005948: e853 1f00 ldrex r1, [r3] - 800594c: f021 6180 bic.w r1, r1, #67108864 ; 0x4000000 - 8005950: e843 1000 strex r0, r1, [r3] - 8005954: 2800 cmp r0, #0 - 8005956: d1f7 bne.n 8005948 - 8005958: 6ee1 ldr r1, [r4, #108] ; 0x6c - 800595a: 2901 cmp r1, #1 - 800595c: d113 bne.n 8005986 - 800595e: 66e6 str r6, [r4, #108] ; 0x6c - 8005960: e853 1f00 ldrex r1, [r3] - 8005964: f021 0110 bic.w r1, r1, #16 - 8005968: e843 1000 strex r0, r1, [r3] - 800596c: 2800 cmp r0, #0 - 800596e: d1f7 bne.n 8005960 - 8005970: 69d9 ldr r1, [r3, #28] - 8005972: 06ca lsls r2, r1, #27 - 8005974: bf44 itt mi - 8005976: 2110 movmi r1, #16 - 8005978: 6219 strmi r1, [r3, #32] - 800597a: 4620 mov r0, r4 - 800597c: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c - 8005980: f7ff fc30 bl 80051e4 - 8005984: e758 b.n 8005838 - 8005986: 4620 mov r0, r4 - 8005988: f7fc fa34 bl 8001df4 - 800598c: e754 b.n 8005838 - 800598e: 699a ldr r2, [r3, #24] - 8005990: f042 0208 orr.w r2, r2, #8 - 8005994: 619a str r2, [r3, #24] - 8005996: e773 b.n 8005880 - 8005998: effffffe .word 0xeffffffe - 800599c: 40008000 .word 0x40008000 - 80059a0: 080055ad .word 0x080055ad + 8005932: d1f5 bne.n 8005920 + 8005934: f103 0208 add.w r2, r3, #8 + 8005938: e852 1f00 ldrex r1, [r2] + 800593c: ea01 010a and.w r1, r1, sl + 8005940: e842 1000 strex r0, r1, [r2] + 8005944: 2800 cmp r0, #0 + 8005946: d1f5 bne.n 8005934 + 8005948: 2120 movs r1, #32 + 800594a: 455b cmp r3, fp + 800594c: f8c4 108c str.w r1, [r4, #140] ; 0x8c + 8005950: 6760 str r0, [r4, #116] ; 0x74 + 8005952: 6720 str r0, [r4, #112] ; 0x70 + 8005954: d00a beq.n 800596c + 8005956: 6859 ldr r1, [r3, #4] + 8005958: 0209 lsls r1, r1, #8 + 800595a: d507 bpl.n 800596c + 800595c: e853 1f00 ldrex r1, [r3] + 8005960: f021 6180 bic.w r1, r1, #67108864 ; 0x4000000 + 8005964: e843 1000 strex r0, r1, [r3] + 8005968: 2800 cmp r0, #0 + 800596a: d1f7 bne.n 800595c + 800596c: 6ee1 ldr r1, [r4, #108] ; 0x6c + 800596e: 2901 cmp r1, #1 + 8005970: d113 bne.n 800599a + 8005972: 66e6 str r6, [r4, #108] ; 0x6c + 8005974: e853 1f00 ldrex r1, [r3] + 8005978: f021 0110 bic.w r1, r1, #16 + 800597c: e843 1000 strex r0, r1, [r3] + 8005980: 2800 cmp r0, #0 + 8005982: d1f7 bne.n 8005974 + 8005984: 69d9 ldr r1, [r3, #28] + 8005986: 06ca lsls r2, r1, #27 + 8005988: bf44 itt mi + 800598a: 2110 movmi r1, #16 + 800598c: 6219 strmi r1, [r3, #32] + 800598e: 4620 mov r0, r4 + 8005990: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c + 8005994: f7ff fc30 bl 80051f8 + 8005998: e758 b.n 800584c + 800599a: 4620 mov r0, r4 + 800599c: f7fc fa34 bl 8001e08 + 80059a0: e754 b.n 800584c + 80059a2: 699a ldr r2, [r3, #24] + 80059a4: f042 0208 orr.w r2, r2, #8 + 80059a8: 619a str r2, [r3, #24] + 80059aa: e773 b.n 8005894 + 80059ac: effffffe .word 0xeffffffe + 80059b0: 40008000 .word 0x40008000 + 80059b4: 080055c1 .word 0x080055c1 -080059a4 : - 80059a4: b538 push {r3, r4, r5, lr} - 80059a6: 4604 mov r4, r0 - 80059a8: 6803 ldr r3, [r0, #0] - 80059aa: 6921 ldr r1, [r4, #16] - 80059ac: 68a2 ldr r2, [r4, #8] - 80059ae: 681d ldr r5, [r3, #0] - 80059b0: 69c0 ldr r0, [r0, #28] - 80059b2: 430a orrs r2, r1 - 80059b4: 6961 ldr r1, [r4, #20] - 80059b6: 430a orrs r2, r1 - 80059b8: 497d ldr r1, [pc, #500] ; (8005bb0 ) - 80059ba: 4302 orrs r2, r0 - 80059bc: 4029 ands r1, r5 - 80059be: 430a orrs r2, r1 - 80059c0: 601a str r2, [r3, #0] - 80059c2: 685a ldr r2, [r3, #4] - 80059c4: 68e1 ldr r1, [r4, #12] - 80059c6: f422 5240 bic.w r2, r2, #12288 ; 0x3000 +080059b8 : + 80059b8: b538 push {r3, r4, r5, lr} + 80059ba: 4604 mov r4, r0 + 80059bc: 6803 ldr r3, [r0, #0] + 80059be: 6921 ldr r1, [r4, #16] + 80059c0: 68a2 ldr r2, [r4, #8] + 80059c2: 681d ldr r5, [r3, #0] + 80059c4: 69c0 ldr r0, [r0, #28] + 80059c6: 430a orrs r2, r1 + 80059c8: 6961 ldr r1, [r4, #20] 80059ca: 430a orrs r2, r1 - 80059cc: 605a str r2, [r3, #4] - 80059ce: 4a79 ldr r2, [pc, #484] ; (8005bb4 ) - 80059d0: 69a1 ldr r1, [r4, #24] - 80059d2: 4293 cmp r3, r2 - 80059d4: bf1c itt ne - 80059d6: 6a22 ldrne r2, [r4, #32] - 80059d8: 4311 orrne r1, r2 - 80059da: 689a ldr r2, [r3, #8] - 80059dc: f022 426e bic.w r2, r2, #3992977408 ; 0xee000000 - 80059e0: f422 6230 bic.w r2, r2, #2816 ; 0xb00 - 80059e4: 430a orrs r2, r1 - 80059e6: 609a str r2, [r3, #8] - 80059e8: 6ada ldr r2, [r3, #44] ; 0x2c - 80059ea: 6a61 ldr r1, [r4, #36] ; 0x24 - 80059ec: f022 020f bic.w r2, r2, #15 - 80059f0: 430a orrs r2, r1 - 80059f2: 62da str r2, [r3, #44] ; 0x2c - 80059f4: 4a70 ldr r2, [pc, #448] ; (8005bb8 ) - 80059f6: 4293 cmp r3, r2 - 80059f8: d11c bne.n 8005a34 - 80059fa: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 80059fe: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 8005a02: f003 0303 and.w r3, r3, #3 - 8005a06: f443 3340 orr.w r3, r3, #196608 ; 0x30000 - 8005a0a: f5a3 3340 sub.w r3, r3, #196608 ; 0x30000 - 8005a0e: 3b01 subs r3, #1 - 8005a10: 2b02 cmp r3, #2 - 8005a12: f200 80c7 bhi.w 8005ba4 - 8005a16: 4a69 ldr r2, [pc, #420] ; (8005bbc ) - 8005a18: 5c9b ldrb r3, [r3, r2] - 8005a1a: f5b0 4f00 cmp.w r0, #32768 ; 0x8000 - 8005a1e: f040 8089 bne.w 8005b34 - 8005a22: 2b08 cmp r3, #8 - 8005a24: d824 bhi.n 8005a70 - 8005a26: e8df f003 tbb [pc, r3] - 8005a2a: c061 .short 0xc061 - 8005a2c: 23802383 .word 0x23802383 - 8005a30: 2323 .short 0x2323 - 8005a32: 65 .byte 0x65 - 8005a33: 00 .byte 0x00 - 8005a34: 4a62 ldr r2, [pc, #392] ; (8005bc0 ) - 8005a36: 4293 cmp r3, r2 - 8005a38: d109 bne.n 8005a4e - 8005a3a: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8005a3e: 4a61 ldr r2, [pc, #388] ; (8005bc4 ) - 8005a40: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 8005a44: f003 030c and.w r3, r3, #12 - 8005a48: f443 2340 orr.w r3, r3, #786432 ; 0xc0000 - 8005a4c: e7e4 b.n 8005a18 - 8005a4e: 4a59 ldr r2, [pc, #356] ; (8005bb4 ) - 8005a50: 4293 cmp r3, r2 - 8005a52: d10d bne.n 8005a70 - 8005a54: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8005a58: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 8005a5c: f403 6340 and.w r3, r3, #3072 ; 0xc00 - 8005a60: f5b3 6f00 cmp.w r3, #2048 ; 0x800 - 8005a64: d01a beq.n 8005a9c - 8005a66: d805 bhi.n 8005a74 - 8005a68: b153 cbz r3, 8005a80 - 8005a6a: f5b3 6f80 cmp.w r3, #1024 ; 0x400 - 8005a6e: d012 beq.n 8005a96 - 8005a70: 2001 movs r0, #1 - 8005a72: e009 b.n 8005a88 - 8005a74: f5b3 6f40 cmp.w r3, #3072 ; 0xc00 - 8005a78: d1fa bne.n 8005a70 - 8005a7a: f44f 4000 mov.w r0, #32768 ; 0x8000 - 8005a7e: e00e b.n 8005a9e - 8005a80: f7fe fcd2 bl 8004428 - 8005a84: b958 cbnz r0, 8005a9e - 8005a86: 2000 movs r0, #0 - 8005a88: f04f 1301 mov.w r3, #65537 ; 0x10001 - 8005a8c: 66a3 str r3, [r4, #104] ; 0x68 - 8005a8e: 2300 movs r3, #0 - 8005a90: e9c4 331d strd r3, r3, [r4, #116] ; 0x74 - 8005a94: bd38 pop {r3, r4, r5, pc} - 8005a96: f7fe f8cf bl 8003c38 - 8005a9a: e7f3 b.n 8005a84 - 8005a9c: 484a ldr r0, [pc, #296] ; (8005bc8 ) - 8005a9e: 6865 ldr r5, [r4, #4] - 8005aa0: 4b4a ldr r3, [pc, #296] ; (8005bcc ) - 8005aa2: 6a62 ldr r2, [r4, #36] ; 0x24 - 8005aa4: eb05 0145 add.w r1, r5, r5, lsl #1 - 8005aa8: f833 2012 ldrh.w r2, [r3, r2, lsl #1] - 8005aac: fbb0 f3f2 udiv r3, r0, r2 - 8005ab0: 4299 cmp r1, r3 - 8005ab2: d8dd bhi.n 8005a70 - 8005ab4: ebb3 3f05 cmp.w r3, r5, lsl #12 - 8005ab8: d8da bhi.n 8005a70 - 8005aba: 2300 movs r3, #0 - 8005abc: 4619 mov r1, r3 - 8005abe: f7fb f873 bl 8000ba8 <__aeabi_uldivmod> - 8005ac2: 0209 lsls r1, r1, #8 - 8005ac4: ea41 6110 orr.w r1, r1, r0, lsr #24 - 8005ac8: 086b lsrs r3, r5, #1 - 8005aca: 0200 lsls r0, r0, #8 - 8005acc: 18c0 adds r0, r0, r3 - 8005ace: 462a mov r2, r5 - 8005ad0: f04f 0300 mov.w r3, #0 - 8005ad4: f141 0100 adc.w r1, r1, #0 - 8005ad8: f7fb f866 bl 8000ba8 <__aeabi_uldivmod> - 8005adc: 4b3c ldr r3, [pc, #240] ; (8005bd0 ) - 8005ade: f5a0 7240 sub.w r2, r0, #768 ; 0x300 - 8005ae2: 429a cmp r2, r3 - 8005ae4: d8c4 bhi.n 8005a70 - 8005ae6: 6823 ldr r3, [r4, #0] - 8005ae8: 60d8 str r0, [r3, #12] - 8005aea: e7cc b.n 8005a86 - 8005aec: f7fe fc9c bl 8004428 - 8005af0: 2800 cmp r0, #0 - 8005af2: d0c8 beq.n 8005a86 - 8005af4: 6861 ldr r1, [r4, #4] - 8005af6: 4b35 ldr r3, [pc, #212] ; (8005bcc ) - 8005af8: 6a62 ldr r2, [r4, #36] ; 0x24 - 8005afa: f833 2012 ldrh.w r2, [r3, r2, lsl #1] - 8005afe: fbb0 f2f2 udiv r2, r0, r2 - 8005b02: 084b lsrs r3, r1, #1 - 8005b04: eb03 0342 add.w r3, r3, r2, lsl #1 - 8005b08: f64f 72ef movw r2, #65519 ; 0xffef - 8005b0c: fbb3 f3f1 udiv r3, r3, r1 - 8005b10: f1a3 0110 sub.w r1, r3, #16 - 8005b14: 4291 cmp r1, r2 - 8005b16: d8ab bhi.n 8005a70 - 8005b18: f023 020f bic.w r2, r3, #15 - 8005b1c: 6821 ldr r1, [r4, #0] - 8005b1e: b292 uxth r2, r2 - 8005b20: f3c3 0342 ubfx r3, r3, #1, #3 - 8005b24: 4313 orrs r3, r2 - 8005b26: 60cb str r3, [r1, #12] - 8005b28: e7ad b.n 8005a86 - 8005b2a: f7fe f885 bl 8003c38 - 8005b2e: e7df b.n 8005af0 - 8005b30: 4825 ldr r0, [pc, #148] ; (8005bc8 ) - 8005b32: e7df b.n 8005af4 - 8005b34: 2b08 cmp r3, #8 - 8005b36: d89b bhi.n 8005a70 - 8005b38: a201 add r2, pc, #4 ; (adr r2, 8005b40 ) - 8005b3a: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8005b3e: bf00 nop - 8005b40: 08005b89 .word 0x08005b89 - 8005b44: 08005b95 .word 0x08005b95 - 8005b48: 08005ba1 .word 0x08005ba1 - 8005b4c: 08005a71 .word 0x08005a71 - 8005b50: 08005b9b .word 0x08005b9b - 8005b54: 08005a71 .word 0x08005a71 - 8005b58: 08005a71 .word 0x08005a71 - 8005b5c: 08005a71 .word 0x08005a71 - 8005b60: 08005b65 .word 0x08005b65 - 8005b64: f44f 4000 mov.w r0, #32768 ; 0x8000 - 8005b68: 6863 ldr r3, [r4, #4] - 8005b6a: 6a61 ldr r1, [r4, #36] ; 0x24 - 8005b6c: 4a17 ldr r2, [pc, #92] ; (8005bcc ) - 8005b6e: f832 2011 ldrh.w r2, [r2, r1, lsl #1] - 8005b72: fbb0 f0f2 udiv r0, r0, r2 - 8005b76: eb00 0053 add.w r0, r0, r3, lsr #1 - 8005b7a: fbb0 f0f3 udiv r0, r0, r3 - 8005b7e: f64f 73ef movw r3, #65519 ; 0xffef - 8005b82: f1a0 0210 sub.w r2, r0, #16 - 8005b86: e7ac b.n 8005ae2 - 8005b88: f7fe fc4e bl 8004428 - 8005b8c: 2800 cmp r0, #0 - 8005b8e: f43f af7a beq.w 8005a86 - 8005b92: e7e9 b.n 8005b68 - 8005b94: f7fe fc58 bl 8004448 - 8005b98: e7f8 b.n 8005b8c - 8005b9a: f7fe f84d bl 8003c38 - 8005b9e: e7f5 b.n 8005b8c - 8005ba0: 4809 ldr r0, [pc, #36] ; (8005bc8 ) - 8005ba2: e7e1 b.n 8005b68 - 8005ba4: f5b0 4f00 cmp.w r0, #32768 ; 0x8000 - 8005ba8: d1f4 bne.n 8005b94 - 8005baa: f7fe fc4d bl 8004448 - 8005bae: e79f b.n 8005af0 - 8005bb0: cfff69f3 .word 0xcfff69f3 - 8005bb4: 40008000 .word 0x40008000 - 8005bb8: 40013800 .word 0x40013800 - 8005bbc: 0800fa1c .word 0x0800fa1c - 8005bc0: 40004400 .word 0x40004400 - 8005bc4: 07f4fa1f .word 0x07f4fa1f - 8005bc8: 00f42400 .word 0x00f42400 - 8005bcc: 0800fa2c .word 0x0800fa2c - 8005bd0: 000ffcff .word 0x000ffcff + 80059cc: 497d ldr r1, [pc, #500] ; (8005bc4 ) + 80059ce: 4302 orrs r2, r0 + 80059d0: 4029 ands r1, r5 + 80059d2: 430a orrs r2, r1 + 80059d4: 601a str r2, [r3, #0] + 80059d6: 685a ldr r2, [r3, #4] + 80059d8: 68e1 ldr r1, [r4, #12] + 80059da: f422 5240 bic.w r2, r2, #12288 ; 0x3000 + 80059de: 430a orrs r2, r1 + 80059e0: 605a str r2, [r3, #4] + 80059e2: 4a79 ldr r2, [pc, #484] ; (8005bc8 ) + 80059e4: 69a1 ldr r1, [r4, #24] + 80059e6: 4293 cmp r3, r2 + 80059e8: bf1c itt ne + 80059ea: 6a22 ldrne r2, [r4, #32] + 80059ec: 4311 orrne r1, r2 + 80059ee: 689a ldr r2, [r3, #8] + 80059f0: f022 426e bic.w r2, r2, #3992977408 ; 0xee000000 + 80059f4: f422 6230 bic.w r2, r2, #2816 ; 0xb00 + 80059f8: 430a orrs r2, r1 + 80059fa: 609a str r2, [r3, #8] + 80059fc: 6ada ldr r2, [r3, #44] ; 0x2c + 80059fe: 6a61 ldr r1, [r4, #36] ; 0x24 + 8005a00: f022 020f bic.w r2, r2, #15 + 8005a04: 430a orrs r2, r1 + 8005a06: 62da str r2, [r3, #44] ; 0x2c + 8005a08: 4a70 ldr r2, [pc, #448] ; (8005bcc ) + 8005a0a: 4293 cmp r3, r2 + 8005a0c: d11c bne.n 8005a48 + 8005a0e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8005a12: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 8005a16: f003 0303 and.w r3, r3, #3 + 8005a1a: f443 3340 orr.w r3, r3, #196608 ; 0x30000 + 8005a1e: f5a3 3340 sub.w r3, r3, #196608 ; 0x30000 + 8005a22: 3b01 subs r3, #1 + 8005a24: 2b02 cmp r3, #2 + 8005a26: f200 80c7 bhi.w 8005bb8 + 8005a2a: 4a69 ldr r2, [pc, #420] ; (8005bd0 ) + 8005a2c: 5c9b ldrb r3, [r3, r2] + 8005a2e: f5b0 4f00 cmp.w r0, #32768 ; 0x8000 + 8005a32: f040 8089 bne.w 8005b48 + 8005a36: 2b08 cmp r3, #8 + 8005a38: d824 bhi.n 8005a84 + 8005a3a: e8df f003 tbb [pc, r3] + 8005a3e: c061 .short 0xc061 + 8005a40: 23802383 .word 0x23802383 + 8005a44: 2323 .short 0x2323 + 8005a46: 65 .byte 0x65 + 8005a47: 00 .byte 0x00 + 8005a48: 4a62 ldr r2, [pc, #392] ; (8005bd4 ) + 8005a4a: 4293 cmp r3, r2 + 8005a4c: d109 bne.n 8005a62 + 8005a4e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8005a52: 4a61 ldr r2, [pc, #388] ; (8005bd8 ) + 8005a54: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 8005a58: f003 030c and.w r3, r3, #12 + 8005a5c: f443 2340 orr.w r3, r3, #786432 ; 0xc0000 + 8005a60: e7e4 b.n 8005a2c + 8005a62: 4a59 ldr r2, [pc, #356] ; (8005bc8 ) + 8005a64: 4293 cmp r3, r2 + 8005a66: d10d bne.n 8005a84 + 8005a68: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8005a6c: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 8005a70: f403 6340 and.w r3, r3, #3072 ; 0xc00 + 8005a74: f5b3 6f00 cmp.w r3, #2048 ; 0x800 + 8005a78: d01a beq.n 8005ab0 + 8005a7a: d805 bhi.n 8005a88 + 8005a7c: b153 cbz r3, 8005a94 + 8005a7e: f5b3 6f80 cmp.w r3, #1024 ; 0x400 + 8005a82: d012 beq.n 8005aaa + 8005a84: 2001 movs r0, #1 + 8005a86: e009 b.n 8005a9c + 8005a88: f5b3 6f40 cmp.w r3, #3072 ; 0xc00 + 8005a8c: d1fa bne.n 8005a84 + 8005a8e: f44f 4000 mov.w r0, #32768 ; 0x8000 + 8005a92: e00e b.n 8005ab2 + 8005a94: f7fe fcd2 bl 800443c + 8005a98: b958 cbnz r0, 8005ab2 + 8005a9a: 2000 movs r0, #0 + 8005a9c: f04f 1301 mov.w r3, #65537 ; 0x10001 + 8005aa0: 66a3 str r3, [r4, #104] ; 0x68 + 8005aa2: 2300 movs r3, #0 + 8005aa4: e9c4 331d strd r3, r3, [r4, #116] ; 0x74 + 8005aa8: bd38 pop {r3, r4, r5, pc} + 8005aaa: f7fe f8cf bl 8003c4c + 8005aae: e7f3 b.n 8005a98 + 8005ab0: 484a ldr r0, [pc, #296] ; (8005bdc ) + 8005ab2: 6865 ldr r5, [r4, #4] + 8005ab4: 4b4a ldr r3, [pc, #296] ; (8005be0 ) + 8005ab6: 6a62 ldr r2, [r4, #36] ; 0x24 + 8005ab8: eb05 0145 add.w r1, r5, r5, lsl #1 + 8005abc: f833 2012 ldrh.w r2, [r3, r2, lsl #1] + 8005ac0: fbb0 f3f2 udiv r3, r0, r2 + 8005ac4: 4299 cmp r1, r3 + 8005ac6: d8dd bhi.n 8005a84 + 8005ac8: ebb3 3f05 cmp.w r3, r5, lsl #12 + 8005acc: d8da bhi.n 8005a84 + 8005ace: 2300 movs r3, #0 + 8005ad0: 4619 mov r1, r3 + 8005ad2: f7fb f869 bl 8000ba8 <__aeabi_uldivmod> + 8005ad6: 0209 lsls r1, r1, #8 + 8005ad8: ea41 6110 orr.w r1, r1, r0, lsr #24 + 8005adc: 086b lsrs r3, r5, #1 + 8005ade: 0200 lsls r0, r0, #8 + 8005ae0: 18c0 adds r0, r0, r3 + 8005ae2: 462a mov r2, r5 + 8005ae4: f04f 0300 mov.w r3, #0 + 8005ae8: f141 0100 adc.w r1, r1, #0 + 8005aec: f7fb f85c bl 8000ba8 <__aeabi_uldivmod> + 8005af0: 4b3c ldr r3, [pc, #240] ; (8005be4 ) + 8005af2: f5a0 7240 sub.w r2, r0, #768 ; 0x300 + 8005af6: 429a cmp r2, r3 + 8005af8: d8c4 bhi.n 8005a84 + 8005afa: 6823 ldr r3, [r4, #0] + 8005afc: 60d8 str r0, [r3, #12] + 8005afe: e7cc b.n 8005a9a + 8005b00: f7fe fc9c bl 800443c + 8005b04: 2800 cmp r0, #0 + 8005b06: d0c8 beq.n 8005a9a + 8005b08: 6861 ldr r1, [r4, #4] + 8005b0a: 4b35 ldr r3, [pc, #212] ; (8005be0 ) + 8005b0c: 6a62 ldr r2, [r4, #36] ; 0x24 + 8005b0e: f833 2012 ldrh.w r2, [r3, r2, lsl #1] + 8005b12: fbb0 f2f2 udiv r2, r0, r2 + 8005b16: 084b lsrs r3, r1, #1 + 8005b18: eb03 0342 add.w r3, r3, r2, lsl #1 + 8005b1c: f64f 72ef movw r2, #65519 ; 0xffef + 8005b20: fbb3 f3f1 udiv r3, r3, r1 + 8005b24: f1a3 0110 sub.w r1, r3, #16 + 8005b28: 4291 cmp r1, r2 + 8005b2a: d8ab bhi.n 8005a84 + 8005b2c: f023 020f bic.w r2, r3, #15 + 8005b30: 6821 ldr r1, [r4, #0] + 8005b32: b292 uxth r2, r2 + 8005b34: f3c3 0342 ubfx r3, r3, #1, #3 + 8005b38: 4313 orrs r3, r2 + 8005b3a: 60cb str r3, [r1, #12] + 8005b3c: e7ad b.n 8005a9a + 8005b3e: f7fe f885 bl 8003c4c + 8005b42: e7df b.n 8005b04 + 8005b44: 4825 ldr r0, [pc, #148] ; (8005bdc ) + 8005b46: e7df b.n 8005b08 + 8005b48: 2b08 cmp r3, #8 + 8005b4a: d89b bhi.n 8005a84 + 8005b4c: a201 add r2, pc, #4 ; (adr r2, 8005b54 ) + 8005b4e: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8005b52: bf00 nop + 8005b54: 08005b9d .word 0x08005b9d + 8005b58: 08005ba9 .word 0x08005ba9 + 8005b5c: 08005bb5 .word 0x08005bb5 + 8005b60: 08005a85 .word 0x08005a85 + 8005b64: 08005baf .word 0x08005baf + 8005b68: 08005a85 .word 0x08005a85 + 8005b6c: 08005a85 .word 0x08005a85 + 8005b70: 08005a85 .word 0x08005a85 + 8005b74: 08005b79 .word 0x08005b79 + 8005b78: f44f 4000 mov.w r0, #32768 ; 0x8000 + 8005b7c: 6863 ldr r3, [r4, #4] + 8005b7e: 6a61 ldr r1, [r4, #36] ; 0x24 + 8005b80: 4a17 ldr r2, [pc, #92] ; (8005be0 ) + 8005b82: f832 2011 ldrh.w r2, [r2, r1, lsl #1] + 8005b86: fbb0 f0f2 udiv r0, r0, r2 + 8005b8a: eb00 0053 add.w r0, r0, r3, lsr #1 + 8005b8e: fbb0 f0f3 udiv r0, r0, r3 + 8005b92: f64f 73ef movw r3, #65519 ; 0xffef + 8005b96: f1a0 0210 sub.w r2, r0, #16 + 8005b9a: e7ac b.n 8005af6 + 8005b9c: f7fe fc4e bl 800443c + 8005ba0: 2800 cmp r0, #0 + 8005ba2: f43f af7a beq.w 8005a9a + 8005ba6: e7e9 b.n 8005b7c + 8005ba8: f7fe fc58 bl 800445c + 8005bac: e7f8 b.n 8005ba0 + 8005bae: f7fe f84d bl 8003c4c + 8005bb2: e7f5 b.n 8005ba0 + 8005bb4: 4809 ldr r0, [pc, #36] ; (8005bdc ) + 8005bb6: e7e1 b.n 8005b7c + 8005bb8: f5b0 4f00 cmp.w r0, #32768 ; 0x8000 + 8005bbc: d1f4 bne.n 8005ba8 + 8005bbe: f7fe fc4d bl 800445c + 8005bc2: e79f b.n 8005b04 + 8005bc4: cfff69f3 .word 0xcfff69f3 + 8005bc8: 40008000 .word 0x40008000 + 8005bcc: 40013800 .word 0x40013800 + 8005bd0: 0800fa34 .word 0x0800fa34 + 8005bd4: 40004400 .word 0x40004400 + 8005bd8: 07f4fa37 .word 0x07f4fa37 + 8005bdc: 00f42400 .word 0x00f42400 + 8005be0: 0800fa44 .word 0x0800fa44 + 8005be4: 000ffcff .word 0x000ffcff -08005bd4 : - 8005bd4: 6a83 ldr r3, [r0, #40] ; 0x28 - 8005bd6: 07da lsls r2, r3, #31 - 8005bd8: b510 push {r4, lr} - 8005bda: d506 bpl.n 8005bea - 8005bdc: 6801 ldr r1, [r0, #0] - 8005bde: 6ac4 ldr r4, [r0, #44] ; 0x2c - 8005be0: 684a ldr r2, [r1, #4] - 8005be2: f422 3200 bic.w r2, r2, #131072 ; 0x20000 - 8005be6: 4322 orrs r2, r4 - 8005be8: 604a str r2, [r1, #4] - 8005bea: 079c lsls r4, r3, #30 - 8005bec: d506 bpl.n 8005bfc - 8005bee: 6801 ldr r1, [r0, #0] - 8005bf0: 6b04 ldr r4, [r0, #48] ; 0x30 - 8005bf2: 684a ldr r2, [r1, #4] - 8005bf4: f422 3280 bic.w r2, r2, #65536 ; 0x10000 - 8005bf8: 4322 orrs r2, r4 - 8005bfa: 604a str r2, [r1, #4] - 8005bfc: 0759 lsls r1, r3, #29 - 8005bfe: d506 bpl.n 8005c0e - 8005c00: 6801 ldr r1, [r0, #0] - 8005c02: 6b44 ldr r4, [r0, #52] ; 0x34 - 8005c04: 684a ldr r2, [r1, #4] - 8005c06: f422 2280 bic.w r2, r2, #262144 ; 0x40000 - 8005c0a: 4322 orrs r2, r4 - 8005c0c: 604a str r2, [r1, #4] - 8005c0e: 071a lsls r2, r3, #28 - 8005c10: d506 bpl.n 8005c20 - 8005c12: 6801 ldr r1, [r0, #0] - 8005c14: 6b84 ldr r4, [r0, #56] ; 0x38 - 8005c16: 684a ldr r2, [r1, #4] - 8005c18: f422 4200 bic.w r2, r2, #32768 ; 0x8000 - 8005c1c: 4322 orrs r2, r4 - 8005c1e: 604a str r2, [r1, #4] - 8005c20: 06dc lsls r4, r3, #27 - 8005c22: d506 bpl.n 8005c32 - 8005c24: 6801 ldr r1, [r0, #0] - 8005c26: 6bc4 ldr r4, [r0, #60] ; 0x3c - 8005c28: 688a ldr r2, [r1, #8] - 8005c2a: f422 5280 bic.w r2, r2, #4096 ; 0x1000 - 8005c2e: 4322 orrs r2, r4 - 8005c30: 608a str r2, [r1, #8] - 8005c32: 0699 lsls r1, r3, #26 - 8005c34: d506 bpl.n 8005c44 - 8005c36: 6801 ldr r1, [r0, #0] - 8005c38: 6c04 ldr r4, [r0, #64] ; 0x40 - 8005c3a: 688a ldr r2, [r1, #8] - 8005c3c: f422 5200 bic.w r2, r2, #8192 ; 0x2000 - 8005c40: 4322 orrs r2, r4 - 8005c42: 608a str r2, [r1, #8] - 8005c44: 065a lsls r2, r3, #25 - 8005c46: d50f bpl.n 8005c68 - 8005c48: 6801 ldr r1, [r0, #0] - 8005c4a: 6c44 ldr r4, [r0, #68] ; 0x44 - 8005c4c: 684a ldr r2, [r1, #4] - 8005c4e: f422 1280 bic.w r2, r2, #1048576 ; 0x100000 - 8005c52: 4322 orrs r2, r4 - 8005c54: f5b4 1f80 cmp.w r4, #1048576 ; 0x100000 - 8005c58: 604a str r2, [r1, #4] - 8005c5a: d105 bne.n 8005c68 - 8005c5c: 684a ldr r2, [r1, #4] - 8005c5e: 6c84 ldr r4, [r0, #72] ; 0x48 - 8005c60: f422 02c0 bic.w r2, r2, #6291456 ; 0x600000 - 8005c64: 4322 orrs r2, r4 - 8005c66: 604a str r2, [r1, #4] - 8005c68: 061b lsls r3, r3, #24 - 8005c6a: d506 bpl.n 8005c7a - 8005c6c: 6802 ldr r2, [r0, #0] - 8005c6e: 6cc1 ldr r1, [r0, #76] ; 0x4c - 8005c70: 6853 ldr r3, [r2, #4] - 8005c72: f423 2300 bic.w r3, r3, #524288 ; 0x80000 - 8005c76: 430b orrs r3, r1 - 8005c78: 6053 str r3, [r2, #4] - 8005c7a: bd10 pop {r4, pc} +08005be8 : + 8005be8: 6a83 ldr r3, [r0, #40] ; 0x28 + 8005bea: 07da lsls r2, r3, #31 + 8005bec: b510 push {r4, lr} + 8005bee: d506 bpl.n 8005bfe + 8005bf0: 6801 ldr r1, [r0, #0] + 8005bf2: 6ac4 ldr r4, [r0, #44] ; 0x2c + 8005bf4: 684a ldr r2, [r1, #4] + 8005bf6: f422 3200 bic.w r2, r2, #131072 ; 0x20000 + 8005bfa: 4322 orrs r2, r4 + 8005bfc: 604a str r2, [r1, #4] + 8005bfe: 079c lsls r4, r3, #30 + 8005c00: d506 bpl.n 8005c10 + 8005c02: 6801 ldr r1, [r0, #0] + 8005c04: 6b04 ldr r4, [r0, #48] ; 0x30 + 8005c06: 684a ldr r2, [r1, #4] + 8005c08: f422 3280 bic.w r2, r2, #65536 ; 0x10000 + 8005c0c: 4322 orrs r2, r4 + 8005c0e: 604a str r2, [r1, #4] + 8005c10: 0759 lsls r1, r3, #29 + 8005c12: d506 bpl.n 8005c22 + 8005c14: 6801 ldr r1, [r0, #0] + 8005c16: 6b44 ldr r4, [r0, #52] ; 0x34 + 8005c18: 684a ldr r2, [r1, #4] + 8005c1a: f422 2280 bic.w r2, r2, #262144 ; 0x40000 + 8005c1e: 4322 orrs r2, r4 + 8005c20: 604a str r2, [r1, #4] + 8005c22: 071a lsls r2, r3, #28 + 8005c24: d506 bpl.n 8005c34 + 8005c26: 6801 ldr r1, [r0, #0] + 8005c28: 6b84 ldr r4, [r0, #56] ; 0x38 + 8005c2a: 684a ldr r2, [r1, #4] + 8005c2c: f422 4200 bic.w r2, r2, #32768 ; 0x8000 + 8005c30: 4322 orrs r2, r4 + 8005c32: 604a str r2, [r1, #4] + 8005c34: 06dc lsls r4, r3, #27 + 8005c36: d506 bpl.n 8005c46 + 8005c38: 6801 ldr r1, [r0, #0] + 8005c3a: 6bc4 ldr r4, [r0, #60] ; 0x3c + 8005c3c: 688a ldr r2, [r1, #8] + 8005c3e: f422 5280 bic.w r2, r2, #4096 ; 0x1000 + 8005c42: 4322 orrs r2, r4 + 8005c44: 608a str r2, [r1, #8] + 8005c46: 0699 lsls r1, r3, #26 + 8005c48: d506 bpl.n 8005c58 + 8005c4a: 6801 ldr r1, [r0, #0] + 8005c4c: 6c04 ldr r4, [r0, #64] ; 0x40 + 8005c4e: 688a ldr r2, [r1, #8] + 8005c50: f422 5200 bic.w r2, r2, #8192 ; 0x2000 + 8005c54: 4322 orrs r2, r4 + 8005c56: 608a str r2, [r1, #8] + 8005c58: 065a lsls r2, r3, #25 + 8005c5a: d50f bpl.n 8005c7c + 8005c5c: 6801 ldr r1, [r0, #0] + 8005c5e: 6c44 ldr r4, [r0, #68] ; 0x44 + 8005c60: 684a ldr r2, [r1, #4] + 8005c62: f422 1280 bic.w r2, r2, #1048576 ; 0x100000 + 8005c66: 4322 orrs r2, r4 + 8005c68: f5b4 1f80 cmp.w r4, #1048576 ; 0x100000 + 8005c6c: 604a str r2, [r1, #4] + 8005c6e: d105 bne.n 8005c7c + 8005c70: 684a ldr r2, [r1, #4] + 8005c72: 6c84 ldr r4, [r0, #72] ; 0x48 + 8005c74: f422 02c0 bic.w r2, r2, #6291456 ; 0x600000 + 8005c78: 4322 orrs r2, r4 + 8005c7a: 604a str r2, [r1, #4] + 8005c7c: 061b lsls r3, r3, #24 + 8005c7e: d506 bpl.n 8005c8e + 8005c80: 6802 ldr r2, [r0, #0] + 8005c82: 6cc1 ldr r1, [r0, #76] ; 0x4c + 8005c84: 6853 ldr r3, [r2, #4] + 8005c86: f423 2300 bic.w r3, r3, #524288 ; 0x80000 + 8005c8a: 430b orrs r3, r1 + 8005c8c: 6053 str r3, [r2, #4] + 8005c8e: bd10 pop {r4, pc} -08005c7c : - 8005c7c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8005c80: f8dd 8018 ldr.w r8, [sp, #24] - 8005c84: 4604 mov r4, r0 - 8005c86: 460e mov r6, r1 - 8005c88: 4615 mov r5, r2 - 8005c8a: 461f mov r7, r3 - 8005c8c: 6822 ldr r2, [r4, #0] - 8005c8e: 69d3 ldr r3, [r2, #28] - 8005c90: ea36 0303 bics.w r3, r6, r3 - 8005c94: bf0c ite eq - 8005c96: 2301 moveq r3, #1 - 8005c98: 2300 movne r3, #0 - 8005c9a: 42ab cmp r3, r5 - 8005c9c: d001 beq.n 8005ca2 - 8005c9e: 2000 movs r0, #0 - 8005ca0: e027 b.n 8005cf2 - 8005ca2: f1b8 3fff cmp.w r8, #4294967295 - 8005ca6: d0f2 beq.n 8005c8e - 8005ca8: f7fb fe0a bl 80018c0 - 8005cac: 1bc0 subs r0, r0, r7 - 8005cae: 4540 cmp r0, r8 - 8005cb0: 6820 ldr r0, [r4, #0] - 8005cb2: d802 bhi.n 8005cba - 8005cb4: f1b8 0f00 cmp.w r8, #0 - 8005cb8: d11d bne.n 8005cf6 - 8005cba: e850 3f00 ldrex r3, [r0] - 8005cbe: f423 73d0 bic.w r3, r3, #416 ; 0x1a0 - 8005cc2: e840 3200 strex r2, r3, [r0] - 8005cc6: 2a00 cmp r2, #0 - 8005cc8: d1f7 bne.n 8005cba - 8005cca: f100 0308 add.w r3, r0, #8 - 8005cce: e853 3f00 ldrex r3, [r3] - 8005cd2: f023 0301 bic.w r3, r3, #1 - 8005cd6: f100 0108 add.w r1, r0, #8 - 8005cda: e841 3200 strex r2, r3, [r1] - 8005cde: 2a00 cmp r2, #0 - 8005ce0: d1f3 bne.n 8005cca - 8005ce2: 2320 movs r3, #32 - 8005ce4: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 8005ce8: f8c4 308c str.w r3, [r4, #140] ; 0x8c - 8005cec: f884 2084 strb.w r2, [r4, #132] ; 0x84 - 8005cf0: 2003 movs r0, #3 - 8005cf2: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8005cf6: 6803 ldr r3, [r0, #0] - 8005cf8: 075a lsls r2, r3, #29 - 8005cfa: d5c7 bpl.n 8005c8c - 8005cfc: 69c3 ldr r3, [r0, #28] - 8005cfe: 051b lsls r3, r3, #20 - 8005d00: d5c4 bpl.n 8005c8c - 8005d02: f44f 6300 mov.w r3, #2048 ; 0x800 - 8005d06: 6203 str r3, [r0, #32] - 8005d08: e850 3f00 ldrex r3, [r0] - 8005d0c: f423 73d0 bic.w r3, r3, #416 ; 0x1a0 - 8005d10: e840 3200 strex r2, r3, [r0] - 8005d14: 2a00 cmp r2, #0 - 8005d16: d1f7 bne.n 8005d08 - 8005d18: f100 0308 add.w r3, r0, #8 - 8005d1c: e853 3f00 ldrex r3, [r3] - 8005d20: f023 0301 bic.w r3, r3, #1 - 8005d24: f100 0108 add.w r1, r0, #8 - 8005d28: e841 3200 strex r2, r3, [r1] - 8005d2c: 2a00 cmp r2, #0 - 8005d2e: d1f3 bne.n 8005d18 - 8005d30: 2320 movs r3, #32 - 8005d32: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 8005d36: f8c4 308c str.w r3, [r4, #140] ; 0x8c - 8005d3a: f8c4 3090 str.w r3, [r4, #144] ; 0x90 - 8005d3e: e7d5 b.n 8005cec +08005c90 : + 8005c90: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8005c94: f8dd 8018 ldr.w r8, [sp, #24] + 8005c98: 4604 mov r4, r0 + 8005c9a: 460e mov r6, r1 + 8005c9c: 4615 mov r5, r2 + 8005c9e: 461f mov r7, r3 + 8005ca0: 6822 ldr r2, [r4, #0] + 8005ca2: 69d3 ldr r3, [r2, #28] + 8005ca4: ea36 0303 bics.w r3, r6, r3 + 8005ca8: bf0c ite eq + 8005caa: 2301 moveq r3, #1 + 8005cac: 2300 movne r3, #0 + 8005cae: 42ab cmp r3, r5 + 8005cb0: d001 beq.n 8005cb6 + 8005cb2: 2000 movs r0, #0 + 8005cb4: e027 b.n 8005d06 + 8005cb6: f1b8 3fff cmp.w r8, #4294967295 + 8005cba: d0f2 beq.n 8005ca2 + 8005cbc: f7fb fe00 bl 80018c0 + 8005cc0: 1bc0 subs r0, r0, r7 + 8005cc2: 4540 cmp r0, r8 + 8005cc4: 6820 ldr r0, [r4, #0] + 8005cc6: d802 bhi.n 8005cce + 8005cc8: f1b8 0f00 cmp.w r8, #0 + 8005ccc: d11d bne.n 8005d0a + 8005cce: e850 3f00 ldrex r3, [r0] + 8005cd2: f423 73d0 bic.w r3, r3, #416 ; 0x1a0 + 8005cd6: e840 3200 strex r2, r3, [r0] + 8005cda: 2a00 cmp r2, #0 + 8005cdc: d1f7 bne.n 8005cce + 8005cde: f100 0308 add.w r3, r0, #8 + 8005ce2: e853 3f00 ldrex r3, [r3] + 8005ce6: f023 0301 bic.w r3, r3, #1 + 8005cea: f100 0108 add.w r1, r0, #8 + 8005cee: e841 3200 strex r2, r3, [r1] + 8005cf2: 2a00 cmp r2, #0 + 8005cf4: d1f3 bne.n 8005cde + 8005cf6: 2320 movs r3, #32 + 8005cf8: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 8005cfc: f8c4 308c str.w r3, [r4, #140] ; 0x8c + 8005d00: f884 2084 strb.w r2, [r4, #132] ; 0x84 + 8005d04: 2003 movs r0, #3 + 8005d06: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8005d0a: 6803 ldr r3, [r0, #0] + 8005d0c: 075a lsls r2, r3, #29 + 8005d0e: d5c7 bpl.n 8005ca0 + 8005d10: 69c3 ldr r3, [r0, #28] + 8005d12: 051b lsls r3, r3, #20 + 8005d14: d5c4 bpl.n 8005ca0 + 8005d16: f44f 6300 mov.w r3, #2048 ; 0x800 + 8005d1a: 6203 str r3, [r0, #32] + 8005d1c: e850 3f00 ldrex r3, [r0] + 8005d20: f423 73d0 bic.w r3, r3, #416 ; 0x1a0 + 8005d24: e840 3200 strex r2, r3, [r0] + 8005d28: 2a00 cmp r2, #0 + 8005d2a: d1f7 bne.n 8005d1c + 8005d2c: f100 0308 add.w r3, r0, #8 + 8005d30: e853 3f00 ldrex r3, [r3] + 8005d34: f023 0301 bic.w r3, r3, #1 + 8005d38: f100 0108 add.w r1, r0, #8 + 8005d3c: e841 3200 strex r2, r3, [r1] + 8005d40: 2a00 cmp r2, #0 + 8005d42: d1f3 bne.n 8005d2c + 8005d44: 2320 movs r3, #32 + 8005d46: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 8005d4a: f8c4 308c str.w r3, [r4, #140] ; 0x8c + 8005d4e: f8c4 3090 str.w r3, [r4, #144] ; 0x90 + 8005d52: e7d5 b.n 8005d00 -08005d40 : - 8005d40: b573 push {r0, r1, r4, r5, r6, lr} - 8005d42: 4604 mov r4, r0 - 8005d44: 2600 movs r6, #0 - 8005d46: f8c0 6090 str.w r6, [r0, #144] ; 0x90 - 8005d4a: f7fb fdb9 bl 80018c0 - 8005d4e: 6823 ldr r3, [r4, #0] - 8005d50: 681b ldr r3, [r3, #0] - 8005d52: 071a lsls r2, r3, #28 - 8005d54: 4605 mov r5, r0 - 8005d56: d419 bmi.n 8005d8c - 8005d58: 6823 ldr r3, [r4, #0] - 8005d5a: 681b ldr r3, [r3, #0] - 8005d5c: 075b lsls r3, r3, #29 - 8005d5e: d50a bpl.n 8005d76 - 8005d60: f06f 437e mvn.w r3, #4261412864 ; 0xfe000000 - 8005d64: 9300 str r3, [sp, #0] - 8005d66: 2200 movs r2, #0 - 8005d68: 462b mov r3, r5 - 8005d6a: f44f 0180 mov.w r1, #4194304 ; 0x400000 - 8005d6e: 4620 mov r0, r4 - 8005d70: f7ff ff84 bl 8005c7c - 8005d74: b9b0 cbnz r0, 8005da4 - 8005d76: 2000 movs r0, #0 - 8005d78: 2320 movs r3, #32 - 8005d7a: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 8005d7e: f884 0084 strb.w r0, [r4, #132] ; 0x84 - 8005d82: f8c4 308c str.w r3, [r4, #140] ; 0x8c - 8005d86: 66e0 str r0, [r4, #108] ; 0x6c - 8005d88: 6720 str r0, [r4, #112] ; 0x70 - 8005d8a: e00c b.n 8005da6 - 8005d8c: f06f 437e mvn.w r3, #4261412864 ; 0xfe000000 - 8005d90: 9300 str r3, [sp, #0] - 8005d92: 4632 mov r2, r6 - 8005d94: 4603 mov r3, r0 - 8005d96: f44f 1100 mov.w r1, #2097152 ; 0x200000 - 8005d9a: 4620 mov r0, r4 - 8005d9c: f7ff ff6e bl 8005c7c - 8005da0: 2800 cmp r0, #0 - 8005da2: d0d9 beq.n 8005d58 - 8005da4: 2003 movs r0, #3 - 8005da6: b002 add sp, #8 - 8005da8: bd70 pop {r4, r5, r6, pc} +08005d54 : + 8005d54: b573 push {r0, r1, r4, r5, r6, lr} + 8005d56: 4604 mov r4, r0 + 8005d58: 2600 movs r6, #0 + 8005d5a: f8c0 6090 str.w r6, [r0, #144] ; 0x90 + 8005d5e: f7fb fdaf bl 80018c0 + 8005d62: 6823 ldr r3, [r4, #0] + 8005d64: 681b ldr r3, [r3, #0] + 8005d66: 071a lsls r2, r3, #28 + 8005d68: 4605 mov r5, r0 + 8005d6a: d419 bmi.n 8005da0 + 8005d6c: 6823 ldr r3, [r4, #0] + 8005d6e: 681b ldr r3, [r3, #0] + 8005d70: 075b lsls r3, r3, #29 + 8005d72: d50a bpl.n 8005d8a + 8005d74: f06f 437e mvn.w r3, #4261412864 ; 0xfe000000 + 8005d78: 9300 str r3, [sp, #0] + 8005d7a: 2200 movs r2, #0 + 8005d7c: 462b mov r3, r5 + 8005d7e: f44f 0180 mov.w r1, #4194304 ; 0x400000 + 8005d82: 4620 mov r0, r4 + 8005d84: f7ff ff84 bl 8005c90 + 8005d88: b9b0 cbnz r0, 8005db8 + 8005d8a: 2000 movs r0, #0 + 8005d8c: 2320 movs r3, #32 + 8005d8e: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 8005d92: f884 0084 strb.w r0, [r4, #132] ; 0x84 + 8005d96: f8c4 308c str.w r3, [r4, #140] ; 0x8c + 8005d9a: 66e0 str r0, [r4, #108] ; 0x6c + 8005d9c: 6720 str r0, [r4, #112] ; 0x70 + 8005d9e: e00c b.n 8005dba + 8005da0: f06f 437e mvn.w r3, #4261412864 ; 0xfe000000 + 8005da4: 9300 str r3, [sp, #0] + 8005da6: 4632 mov r2, r6 + 8005da8: 4603 mov r3, r0 + 8005daa: f44f 1100 mov.w r1, #2097152 ; 0x200000 + 8005dae: 4620 mov r0, r4 + 8005db0: f7ff ff6e bl 8005c90 + 8005db4: 2800 cmp r0, #0 + 8005db6: d0d9 beq.n 8005d6c + 8005db8: 2003 movs r0, #3 + 8005dba: b002 add sp, #8 + 8005dbc: bd70 pop {r4, r5, r6, pc} -08005daa : - 8005daa: b510 push {r4, lr} - 8005dac: 4604 mov r4, r0 - 8005dae: b350 cbz r0, 8005e06 - 8005db0: f8d0 3088 ldr.w r3, [r0, #136] ; 0x88 - 8005db4: b91b cbnz r3, 8005dbe - 8005db6: f880 3084 strb.w r3, [r0, #132] ; 0x84 - 8005dba: f7fb ff19 bl 8001bf0 - 8005dbe: 6822 ldr r2, [r4, #0] - 8005dc0: 2324 movs r3, #36 ; 0x24 - 8005dc2: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 8005dc6: 6813 ldr r3, [r2, #0] - 8005dc8: f023 0301 bic.w r3, r3, #1 - 8005dcc: 6013 str r3, [r2, #0] - 8005dce: 4620 mov r0, r4 - 8005dd0: f7ff fde8 bl 80059a4 - 8005dd4: 2801 cmp r0, #1 - 8005dd6: d016 beq.n 8005e06 - 8005dd8: 6aa3 ldr r3, [r4, #40] ; 0x28 - 8005dda: b113 cbz r3, 8005de2 - 8005ddc: 4620 mov r0, r4 - 8005dde: f7ff fef9 bl 8005bd4 - 8005de2: 6823 ldr r3, [r4, #0] - 8005de4: 685a ldr r2, [r3, #4] - 8005de6: f422 4290 bic.w r2, r2, #18432 ; 0x4800 - 8005dea: 605a str r2, [r3, #4] - 8005dec: 689a ldr r2, [r3, #8] - 8005dee: f022 022a bic.w r2, r2, #42 ; 0x2a - 8005df2: 609a str r2, [r3, #8] - 8005df4: 681a ldr r2, [r3, #0] - 8005df6: f042 0201 orr.w r2, r2, #1 - 8005dfa: 4620 mov r0, r4 - 8005dfc: 601a str r2, [r3, #0] - 8005dfe: e8bd 4010 ldmia.w sp!, {r4, lr} - 8005e02: f7ff bf9d b.w 8005d40 - 8005e06: 2001 movs r0, #1 - 8005e08: bd10 pop {r4, pc} +08005dbe : + 8005dbe: b510 push {r4, lr} + 8005dc0: 4604 mov r4, r0 + 8005dc2: b350 cbz r0, 8005e1a + 8005dc4: f8d0 3088 ldr.w r3, [r0, #136] ; 0x88 + 8005dc8: b91b cbnz r3, 8005dd2 + 8005dca: f880 3084 strb.w r3, [r0, #132] ; 0x84 + 8005dce: f7fb ff0f bl 8001bf0 + 8005dd2: 6822 ldr r2, [r4, #0] + 8005dd4: 2324 movs r3, #36 ; 0x24 + 8005dd6: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 8005dda: 6813 ldr r3, [r2, #0] + 8005ddc: f023 0301 bic.w r3, r3, #1 + 8005de0: 6013 str r3, [r2, #0] + 8005de2: 4620 mov r0, r4 + 8005de4: f7ff fde8 bl 80059b8 + 8005de8: 2801 cmp r0, #1 + 8005dea: d016 beq.n 8005e1a + 8005dec: 6aa3 ldr r3, [r4, #40] ; 0x28 + 8005dee: b113 cbz r3, 8005df6 + 8005df0: 4620 mov r0, r4 + 8005df2: f7ff fef9 bl 8005be8 + 8005df6: 6823 ldr r3, [r4, #0] + 8005df8: 685a ldr r2, [r3, #4] + 8005dfa: f422 4290 bic.w r2, r2, #18432 ; 0x4800 + 8005dfe: 605a str r2, [r3, #4] + 8005e00: 689a ldr r2, [r3, #8] + 8005e02: f022 022a bic.w r2, r2, #42 ; 0x2a + 8005e06: 609a str r2, [r3, #8] + 8005e08: 681a ldr r2, [r3, #0] + 8005e0a: f042 0201 orr.w r2, r2, #1 + 8005e0e: 4620 mov r0, r4 + 8005e10: 601a str r2, [r3, #0] + 8005e12: e8bd 4010 ldmia.w sp!, {r4, lr} + 8005e16: f7ff bf9d b.w 8005d54 + 8005e1a: 2001 movs r0, #1 + 8005e1c: bd10 pop {r4, pc} ... -08005e0c : - 8005e0c: b530 push {r4, r5, lr} - 8005e0e: 6581 str r1, [r0, #88] ; 0x58 - 8005e10: 6881 ldr r1, [r0, #8] - 8005e12: f8a0 205c strh.w r2, [r0, #92] ; 0x5c - 8005e16: 2300 movs r3, #0 - 8005e18: f5b1 5f80 cmp.w r1, #4096 ; 0x1000 - 8005e1c: f8a0 205e strh.w r2, [r0, #94] ; 0x5e - 8005e20: 6743 str r3, [r0, #116] ; 0x74 - 8005e22: d135 bne.n 8005e90 - 8005e24: 6903 ldr r3, [r0, #16] - 8005e26: 2b00 cmp r3, #0 - 8005e28: f240 13ff movw r3, #511 ; 0x1ff - 8005e2c: bf18 it ne - 8005e2e: 23ff movne r3, #255 ; 0xff - 8005e30: f8a0 3060 strh.w r3, [r0, #96] ; 0x60 - 8005e34: 2300 movs r3, #0 - 8005e36: f8c0 3090 str.w r3, [r0, #144] ; 0x90 - 8005e3a: 2322 movs r3, #34 ; 0x22 - 8005e3c: f8c0 308c str.w r3, [r0, #140] ; 0x8c - 8005e40: 6801 ldr r1, [r0, #0] - 8005e42: f101 0308 add.w r3, r1, #8 - 8005e46: e853 3f00 ldrex r3, [r3] - 8005e4a: f043 0301 orr.w r3, r3, #1 - 8005e4e: 3108 adds r1, #8 - 8005e50: e841 3400 strex r4, r3, [r1] - 8005e54: 6803 ldr r3, [r0, #0] - 8005e56: 2c00 cmp r4, #0 - 8005e58: d1f2 bne.n 8005e40 - 8005e5a: 6e45 ldr r5, [r0, #100] ; 0x64 - 8005e5c: 6884 ldr r4, [r0, #8] - 8005e5e: 6901 ldr r1, [r0, #16] - 8005e60: f1b5 5f00 cmp.w r5, #536870912 ; 0x20000000 - 8005e64: d134 bne.n 8005ed0 - 8005e66: f8b0 5068 ldrh.w r5, [r0, #104] ; 0x68 - 8005e6a: 4295 cmp r5, r2 - 8005e6c: d830 bhi.n 8005ed0 - 8005e6e: f5b4 5f80 cmp.w r4, #4096 ; 0x1000 - 8005e72: d11d bne.n 8005eb0 - 8005e74: 4a25 ldr r2, [pc, #148] ; (8005f0c ) - 8005e76: 4c26 ldr r4, [pc, #152] ; (8005f10 ) - 8005e78: 2900 cmp r1, #0 - 8005e7a: bf18 it ne - 8005e7c: 4622 movne r2, r4 - 8005e7e: 6742 str r2, [r0, #116] ; 0x74 - 8005e80: b1c1 cbz r1, 8005eb4 - 8005e82: e853 2f00 ldrex r2, [r3] - 8005e86: f442 7280 orr.w r2, r2, #256 ; 0x100 - 8005e8a: e843 2100 strex r1, r2, [r3] - 8005e8e: e7f7 b.n 8005e80 - 8005e90: b929 cbnz r1, 8005e9e - 8005e92: 6903 ldr r3, [r0, #16] - 8005e94: 2b00 cmp r3, #0 - 8005e96: bf14 ite ne - 8005e98: 237f movne r3, #127 ; 0x7f - 8005e9a: 23ff moveq r3, #255 ; 0xff - 8005e9c: e7c8 b.n 8005e30 - 8005e9e: f1b1 5f80 cmp.w r1, #268435456 ; 0x10000000 - 8005ea2: d1c5 bne.n 8005e30 - 8005ea4: 6903 ldr r3, [r0, #16] - 8005ea6: 2b00 cmp r3, #0 - 8005ea8: bf0c ite eq - 8005eaa: 237f moveq r3, #127 ; 0x7f - 8005eac: 233f movne r3, #63 ; 0x3f - 8005eae: e7bf b.n 8005e30 - 8005eb0: 4a17 ldr r2, [pc, #92] ; (8005f10 ) - 8005eb2: e7e4 b.n 8005e7e - 8005eb4: f103 0208 add.w r2, r3, #8 - 8005eb8: e852 2f00 ldrex r2, [r2] - 8005ebc: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 - 8005ec0: f103 0008 add.w r0, r3, #8 - 8005ec4: e840 2100 strex r1, r2, [r0] - 8005ec8: 2900 cmp r1, #0 - 8005eca: d1f3 bne.n 8005eb4 - 8005ecc: 2000 movs r0, #0 - 8005ece: bd30 pop {r4, r5, pc} - 8005ed0: f5b4 5f80 cmp.w r4, #4096 ; 0x1000 - 8005ed4: d10f bne.n 8005ef6 - 8005ed6: 4a0f ldr r2, [pc, #60] ; (8005f14 ) - 8005ed8: 4c0f ldr r4, [pc, #60] ; (8005f18 ) - 8005eda: 2900 cmp r1, #0 - 8005edc: bf18 it ne - 8005ede: 4622 movne r2, r4 - 8005ee0: 6742 str r2, [r0, #116] ; 0x74 - 8005ee2: b151 cbz r1, 8005efa - 8005ee4: e853 2f00 ldrex r2, [r3] - 8005ee8: f442 7290 orr.w r2, r2, #288 ; 0x120 - 8005eec: e843 2100 strex r1, r2, [r3] - 8005ef0: 2900 cmp r1, #0 - 8005ef2: d1f7 bne.n 8005ee4 - 8005ef4: e7ea b.n 8005ecc - 8005ef6: 4a08 ldr r2, [pc, #32] ; (8005f18 ) - 8005ef8: e7f2 b.n 8005ee0 - 8005efa: e853 2f00 ldrex r2, [r3] - 8005efe: f042 0220 orr.w r2, r2, #32 - 8005f02: e843 2100 strex r1, r2, [r3] - 8005f06: 2900 cmp r1, #0 - 8005f08: d1f7 bne.n 8005efa - 8005f0a: e7df b.n 8005ecc - 8005f0c: 0800580d .word 0x0800580d - 8005f10: 08005671 .word 0x08005671 - 8005f14: 080055ad .word 0x080055ad - 8005f18: 080054e1 .word 0x080054e1 +08005e20 : + 8005e20: b530 push {r4, r5, lr} + 8005e22: 6581 str r1, [r0, #88] ; 0x58 + 8005e24: 6881 ldr r1, [r0, #8] + 8005e26: f8a0 205c strh.w r2, [r0, #92] ; 0x5c + 8005e2a: 2300 movs r3, #0 + 8005e2c: f5b1 5f80 cmp.w r1, #4096 ; 0x1000 + 8005e30: f8a0 205e strh.w r2, [r0, #94] ; 0x5e + 8005e34: 6743 str r3, [r0, #116] ; 0x74 + 8005e36: d135 bne.n 8005ea4 + 8005e38: 6903 ldr r3, [r0, #16] + 8005e3a: 2b00 cmp r3, #0 + 8005e3c: f240 13ff movw r3, #511 ; 0x1ff + 8005e40: bf18 it ne + 8005e42: 23ff movne r3, #255 ; 0xff + 8005e44: f8a0 3060 strh.w r3, [r0, #96] ; 0x60 + 8005e48: 2300 movs r3, #0 + 8005e4a: f8c0 3090 str.w r3, [r0, #144] ; 0x90 + 8005e4e: 2322 movs r3, #34 ; 0x22 + 8005e50: f8c0 308c str.w r3, [r0, #140] ; 0x8c + 8005e54: 6801 ldr r1, [r0, #0] + 8005e56: f101 0308 add.w r3, r1, #8 + 8005e5a: e853 3f00 ldrex r3, [r3] + 8005e5e: f043 0301 orr.w r3, r3, #1 + 8005e62: 3108 adds r1, #8 + 8005e64: e841 3400 strex r4, r3, [r1] + 8005e68: 6803 ldr r3, [r0, #0] + 8005e6a: 2c00 cmp r4, #0 + 8005e6c: d1f2 bne.n 8005e54 + 8005e6e: 6e45 ldr r5, [r0, #100] ; 0x64 + 8005e70: 6884 ldr r4, [r0, #8] + 8005e72: 6901 ldr r1, [r0, #16] + 8005e74: f1b5 5f00 cmp.w r5, #536870912 ; 0x20000000 + 8005e78: d134 bne.n 8005ee4 + 8005e7a: f8b0 5068 ldrh.w r5, [r0, #104] ; 0x68 + 8005e7e: 4295 cmp r5, r2 + 8005e80: d830 bhi.n 8005ee4 + 8005e82: f5b4 5f80 cmp.w r4, #4096 ; 0x1000 + 8005e86: d11d bne.n 8005ec4 + 8005e88: 4a25 ldr r2, [pc, #148] ; (8005f20 ) + 8005e8a: 4c26 ldr r4, [pc, #152] ; (8005f24 ) + 8005e8c: 2900 cmp r1, #0 + 8005e8e: bf18 it ne + 8005e90: 4622 movne r2, r4 + 8005e92: 6742 str r2, [r0, #116] ; 0x74 + 8005e94: b1c1 cbz r1, 8005ec8 + 8005e96: e853 2f00 ldrex r2, [r3] + 8005e9a: f442 7280 orr.w r2, r2, #256 ; 0x100 + 8005e9e: e843 2100 strex r1, r2, [r3] + 8005ea2: e7f7 b.n 8005e94 + 8005ea4: b929 cbnz r1, 8005eb2 + 8005ea6: 6903 ldr r3, [r0, #16] + 8005ea8: 2b00 cmp r3, #0 + 8005eaa: bf14 ite ne + 8005eac: 237f movne r3, #127 ; 0x7f + 8005eae: 23ff moveq r3, #255 ; 0xff + 8005eb0: e7c8 b.n 8005e44 + 8005eb2: f1b1 5f80 cmp.w r1, #268435456 ; 0x10000000 + 8005eb6: d1c5 bne.n 8005e44 + 8005eb8: 6903 ldr r3, [r0, #16] + 8005eba: 2b00 cmp r3, #0 + 8005ebc: bf0c ite eq + 8005ebe: 237f moveq r3, #127 ; 0x7f + 8005ec0: 233f movne r3, #63 ; 0x3f + 8005ec2: e7bf b.n 8005e44 + 8005ec4: 4a17 ldr r2, [pc, #92] ; (8005f24 ) + 8005ec6: e7e4 b.n 8005e92 + 8005ec8: f103 0208 add.w r2, r3, #8 + 8005ecc: e852 2f00 ldrex r2, [r2] + 8005ed0: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 + 8005ed4: f103 0008 add.w r0, r3, #8 + 8005ed8: e840 2100 strex r1, r2, [r0] + 8005edc: 2900 cmp r1, #0 + 8005ede: d1f3 bne.n 8005ec8 + 8005ee0: 2000 movs r0, #0 + 8005ee2: bd30 pop {r4, r5, pc} + 8005ee4: f5b4 5f80 cmp.w r4, #4096 ; 0x1000 + 8005ee8: d10f bne.n 8005f0a + 8005eea: 4a0f ldr r2, [pc, #60] ; (8005f28 ) + 8005eec: 4c0f ldr r4, [pc, #60] ; (8005f2c ) + 8005eee: 2900 cmp r1, #0 + 8005ef0: bf18 it ne + 8005ef2: 4622 movne r2, r4 + 8005ef4: 6742 str r2, [r0, #116] ; 0x74 + 8005ef6: b151 cbz r1, 8005f0e + 8005ef8: e853 2f00 ldrex r2, [r3] + 8005efc: f442 7290 orr.w r2, r2, #288 ; 0x120 + 8005f00: e843 2100 strex r1, r2, [r3] + 8005f04: 2900 cmp r1, #0 + 8005f06: d1f7 bne.n 8005ef8 + 8005f08: e7ea b.n 8005ee0 + 8005f0a: 4a08 ldr r2, [pc, #32] ; (8005f2c ) + 8005f0c: e7f2 b.n 8005ef4 + 8005f0e: e853 2f00 ldrex r2, [r3] + 8005f12: f042 0220 orr.w r2, r2, #32 + 8005f16: e843 2100 strex r1, r2, [r3] + 8005f1a: 2900 cmp r1, #0 + 8005f1c: d1f7 bne.n 8005f0e + 8005f1e: e7df b.n 8005ee0 + 8005f20: 08005821 .word 0x08005821 + 8005f24: 08005685 .word 0x08005685 + 8005f28: 080055c1 .word 0x080055c1 + 8005f2c: 080054f5 .word 0x080054f5 -08005f1c : - 8005f1c: f8d0 308c ldr.w r3, [r0, #140] ; 0x8c - 8005f20: 2b20 cmp r3, #32 - 8005f22: b430 push {r4, r5} - 8005f24: d115 bne.n 8005f52 - 8005f26: b1b9 cbz r1, 8005f58 - 8005f28: b1b2 cbz r2, 8005f58 - 8005f2a: 2300 movs r3, #0 - 8005f2c: 6804 ldr r4, [r0, #0] - 8005f2e: 66c3 str r3, [r0, #108] ; 0x6c - 8005f30: 4b0a ldr r3, [pc, #40] ; (8005f5c ) - 8005f32: 429c cmp r4, r3 - 8005f34: d00a beq.n 8005f4c - 8005f36: 6863 ldr r3, [r4, #4] - 8005f38: 021b lsls r3, r3, #8 - 8005f3a: d507 bpl.n 8005f4c - 8005f3c: e854 3f00 ldrex r3, [r4] - 8005f40: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 - 8005f44: e844 3500 strex r5, r3, [r4] - 8005f48: 2d00 cmp r5, #0 - 8005f4a: d1f7 bne.n 8005f3c - 8005f4c: bc30 pop {r4, r5} - 8005f4e: f7ff bf5d b.w 8005e0c - 8005f52: 2002 movs r0, #2 - 8005f54: bc30 pop {r4, r5} - 8005f56: 4770 bx lr - 8005f58: 2001 movs r0, #1 - 8005f5a: e7fb b.n 8005f54 - 8005f5c: 40008000 .word 0x40008000 +08005f30 : + 8005f30: f8d0 308c ldr.w r3, [r0, #140] ; 0x8c + 8005f34: 2b20 cmp r3, #32 + 8005f36: b430 push {r4, r5} + 8005f38: d115 bne.n 8005f66 + 8005f3a: b1b9 cbz r1, 8005f6c + 8005f3c: b1b2 cbz r2, 8005f6c + 8005f3e: 2300 movs r3, #0 + 8005f40: 6804 ldr r4, [r0, #0] + 8005f42: 66c3 str r3, [r0, #108] ; 0x6c + 8005f44: 4b0a ldr r3, [pc, #40] ; (8005f70 ) + 8005f46: 429c cmp r4, r3 + 8005f48: d00a beq.n 8005f60 + 8005f4a: 6863 ldr r3, [r4, #4] + 8005f4c: 021b lsls r3, r3, #8 + 8005f4e: d507 bpl.n 8005f60 + 8005f50: e854 3f00 ldrex r3, [r4] + 8005f54: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 + 8005f58: e844 3500 strex r5, r3, [r4] + 8005f5c: 2d00 cmp r5, #0 + 8005f5e: d1f7 bne.n 8005f50 + 8005f60: bc30 pop {r4, r5} + 8005f62: f7ff bf5d b.w 8005e20 + 8005f66: 2002 movs r0, #2 + 8005f68: bc30 pop {r4, r5} + 8005f6a: 4770 bx lr + 8005f6c: 2001 movs r0, #1 + 8005f6e: e7fb b.n 8005f68 + 8005f70: 40008000 .word 0x40008000 -08005f60 : - 8005f60: 6e43 ldr r3, [r0, #100] ; 0x64 - 8005f62: b530 push {r4, r5, lr} - 8005f64: b92b cbnz r3, 8005f72 - 8005f66: 2301 movs r3, #1 - 8005f68: f8a0 306a strh.w r3, [r0, #106] ; 0x6a - 8005f6c: f8a0 3068 strh.w r3, [r0, #104] ; 0x68 - 8005f70: bd30 pop {r4, r5, pc} - 8005f72: 6803 ldr r3, [r0, #0] - 8005f74: 4d09 ldr r5, [pc, #36] ; (8005f9c ) - 8005f76: 689a ldr r2, [r3, #8] - 8005f78: 6899 ldr r1, [r3, #8] - 8005f7a: 4c09 ldr r4, [pc, #36] ; (8005fa0 ) - 8005f7c: 0f49 lsrs r1, r1, #29 - 8005f7e: f3c2 6242 ubfx r2, r2, #25, #3 - 8005f82: 5c6b ldrb r3, [r5, r1] - 8005f84: 5c61 ldrb r1, [r4, r1] - 8005f86: 00db lsls r3, r3, #3 - 8005f88: fbb3 f3f1 udiv r3, r3, r1 - 8005f8c: f8a0 306a strh.w r3, [r0, #106] ; 0x6a - 8005f90: 5cab ldrb r3, [r5, r2] - 8005f92: 5ca2 ldrb r2, [r4, r2] - 8005f94: 00db lsls r3, r3, #3 - 8005f96: fbb3 f3f2 udiv r3, r3, r2 - 8005f9a: e7e7 b.n 8005f6c - 8005f9c: 0800fa4c .word 0x0800fa4c - 8005fa0: 0800fa44 .word 0x0800fa44 +08005f74 : + 8005f74: 6e43 ldr r3, [r0, #100] ; 0x64 + 8005f76: b530 push {r4, r5, lr} + 8005f78: b92b cbnz r3, 8005f86 + 8005f7a: 2301 movs r3, #1 + 8005f7c: f8a0 306a strh.w r3, [r0, #106] ; 0x6a + 8005f80: f8a0 3068 strh.w r3, [r0, #104] ; 0x68 + 8005f84: bd30 pop {r4, r5, pc} + 8005f86: 6803 ldr r3, [r0, #0] + 8005f88: 4d09 ldr r5, [pc, #36] ; (8005fb0 ) + 8005f8a: 689a ldr r2, [r3, #8] + 8005f8c: 6899 ldr r1, [r3, #8] + 8005f8e: 4c09 ldr r4, [pc, #36] ; (8005fb4 ) + 8005f90: 0f49 lsrs r1, r1, #29 + 8005f92: f3c2 6242 ubfx r2, r2, #25, #3 + 8005f96: 5c6b ldrb r3, [r5, r1] + 8005f98: 5c61 ldrb r1, [r4, r1] + 8005f9a: 00db lsls r3, r3, #3 + 8005f9c: fbb3 f3f1 udiv r3, r3, r1 + 8005fa0: f8a0 306a strh.w r3, [r0, #106] ; 0x6a + 8005fa4: 5cab ldrb r3, [r5, r2] + 8005fa6: 5ca2 ldrb r2, [r4, r2] + 8005fa8: 00db lsls r3, r3, #3 + 8005faa: fbb3 f3f2 udiv r3, r3, r2 + 8005fae: e7e7 b.n 8005f80 + 8005fb0: 0800fa64 .word 0x0800fa64 + 8005fb4: 0800fa5c .word 0x0800fa5c -08005fa4 : - 8005fa4: 4770 bx lr +08005fb8 : + 8005fb8: 4770 bx lr -08005fa6 : - 8005fa6: 4770 bx lr +08005fba : + 8005fba: 4770 bx lr -08005fa8 : - 8005fa8: 4770 bx lr +08005fbc : + 8005fbc: 4770 bx lr -08005faa : - 8005faa: b51f push {r0, r1, r2, r3, r4, lr} - 8005fac: ab04 add r3, sp, #16 - 8005fae: e903 0006 stmdb r3, {r1, r2} - 8005fb2: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 - 8005fb6: 2b01 cmp r3, #1 - 8005fb8: 4604 mov r4, r0 - 8005fba: d03a beq.n 8006032 - 8005fbc: 2301 movs r3, #1 - 8005fbe: f880 3084 strb.w r3, [r0, #132] ; 0x84 - 8005fc2: 2324 movs r3, #36 ; 0x24 - 8005fc4: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 8005fc8: 6803 ldr r3, [r0, #0] - 8005fca: 681a ldr r2, [r3, #0] - 8005fcc: f022 0201 bic.w r2, r2, #1 - 8005fd0: 601a str r2, [r3, #0] - 8005fd2: 689a ldr r2, [r3, #8] - 8005fd4: f422 1240 bic.w r2, r2, #3145728 ; 0x300000 - 8005fd8: 430a orrs r2, r1 - 8005fda: 609a str r2, [r3, #8] - 8005fdc: b971 cbnz r1, 8005ffc - 8005fde: 685a ldr r2, [r3, #4] - 8005fe0: f8bd 000c ldrh.w r0, [sp, #12] - 8005fe4: f89d 100e ldrb.w r1, [sp, #14] - 8005fe8: f022 0210 bic.w r2, r2, #16 - 8005fec: 4302 orrs r2, r0 - 8005fee: 605a str r2, [r3, #4] - 8005ff0: 685a ldr r2, [r3, #4] - 8005ff2: f022 427f bic.w r2, r2, #4278190080 ; 0xff000000 - 8005ff6: ea42 6201 orr.w r2, r2, r1, lsl #24 - 8005ffa: 605a str r2, [r3, #4] - 8005ffc: 681a ldr r2, [r3, #0] - 8005ffe: f042 0201 orr.w r2, r2, #1 - 8006002: 601a str r2, [r3, #0] - 8006004: f7fb fc5c bl 80018c0 - 8006008: f06f 427e mvn.w r2, #4261412864 ; 0xfe000000 - 800600c: 4603 mov r3, r0 - 800600e: 9200 str r2, [sp, #0] - 8006010: f44f 0180 mov.w r1, #4194304 ; 0x400000 - 8006014: 2200 movs r2, #0 - 8006016: 4620 mov r0, r4 - 8006018: f7ff fe30 bl 8005c7c - 800601c: b938 cbnz r0, 800602e - 800601e: 2320 movs r3, #32 - 8006020: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 8006024: 2300 movs r3, #0 - 8006026: f884 3084 strb.w r3, [r4, #132] ; 0x84 - 800602a: b004 add sp, #16 - 800602c: bd10 pop {r4, pc} - 800602e: 2003 movs r0, #3 - 8006030: e7f8 b.n 8006024 - 8006032: 2002 movs r0, #2 - 8006034: e7f9 b.n 800602a +08005fbe : + 8005fbe: b51f push {r0, r1, r2, r3, r4, lr} + 8005fc0: ab04 add r3, sp, #16 + 8005fc2: e903 0006 stmdb r3, {r1, r2} + 8005fc6: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 + 8005fca: 2b01 cmp r3, #1 + 8005fcc: 4604 mov r4, r0 + 8005fce: d03a beq.n 8006046 + 8005fd0: 2301 movs r3, #1 + 8005fd2: f880 3084 strb.w r3, [r0, #132] ; 0x84 + 8005fd6: 2324 movs r3, #36 ; 0x24 + 8005fd8: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8005fdc: 6803 ldr r3, [r0, #0] + 8005fde: 681a ldr r2, [r3, #0] + 8005fe0: f022 0201 bic.w r2, r2, #1 + 8005fe4: 601a str r2, [r3, #0] + 8005fe6: 689a ldr r2, [r3, #8] + 8005fe8: f422 1240 bic.w r2, r2, #3145728 ; 0x300000 + 8005fec: 430a orrs r2, r1 + 8005fee: 609a str r2, [r3, #8] + 8005ff0: b971 cbnz r1, 8006010 + 8005ff2: 685a ldr r2, [r3, #4] + 8005ff4: f8bd 000c ldrh.w r0, [sp, #12] + 8005ff8: f89d 100e ldrb.w r1, [sp, #14] + 8005ffc: f022 0210 bic.w r2, r2, #16 + 8006000: 4302 orrs r2, r0 + 8006002: 605a str r2, [r3, #4] + 8006004: 685a ldr r2, [r3, #4] + 8006006: f022 427f bic.w r2, r2, #4278190080 ; 0xff000000 + 800600a: ea42 6201 orr.w r2, r2, r1, lsl #24 + 800600e: 605a str r2, [r3, #4] + 8006010: 681a ldr r2, [r3, #0] + 8006012: f042 0201 orr.w r2, r2, #1 + 8006016: 601a str r2, [r3, #0] + 8006018: f7fb fc52 bl 80018c0 + 800601c: f06f 427e mvn.w r2, #4261412864 ; 0xfe000000 + 8006020: 4603 mov r3, r0 + 8006022: 9200 str r2, [sp, #0] + 8006024: f44f 0180 mov.w r1, #4194304 ; 0x400000 + 8006028: 2200 movs r2, #0 + 800602a: 4620 mov r0, r4 + 800602c: f7ff fe30 bl 8005c90 + 8006030: b938 cbnz r0, 8006042 + 8006032: 2320 movs r3, #32 + 8006034: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 8006038: 2300 movs r3, #0 + 800603a: f884 3084 strb.w r3, [r4, #132] ; 0x84 + 800603e: b004 add sp, #16 + 8006040: bd10 pop {r4, pc} + 8006042: 2003 movs r0, #3 + 8006044: e7f8 b.n 8006038 + 8006046: 2002 movs r0, #2 + 8006048: e7f9 b.n 800603e -08006036 : - 8006036: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 - 800603a: 2b01 cmp r3, #1 - 800603c: d00f beq.n 800605e - 800603e: 2301 movs r3, #1 - 8006040: f880 3084 strb.w r3, [r0, #132] ; 0x84 - 8006044: 6801 ldr r1, [r0, #0] - 8006046: e851 2f00 ldrex r2, [r1] - 800604a: f042 0202 orr.w r2, r2, #2 - 800604e: e841 2300 strex r3, r2, [r1] - 8006052: 2b00 cmp r3, #0 - 8006054: d1f6 bne.n 8006044 - 8006056: f880 3084 strb.w r3, [r0, #132] ; 0x84 - 800605a: 4618 mov r0, r3 - 800605c: 4770 bx lr - 800605e: 2002 movs r0, #2 - 8006060: 4770 bx lr +0800604a : + 800604a: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 + 800604e: 2b01 cmp r3, #1 + 8006050: d00f beq.n 8006072 + 8006052: 2301 movs r3, #1 + 8006054: f880 3084 strb.w r3, [r0, #132] ; 0x84 + 8006058: 6801 ldr r1, [r0, #0] + 800605a: e851 2f00 ldrex r2, [r1] + 800605e: f042 0202 orr.w r2, r2, #2 + 8006062: e841 2300 strex r3, r2, [r1] + 8006066: 2b00 cmp r3, #0 + 8006068: d1f6 bne.n 8006058 + 800606a: f880 3084 strb.w r3, [r0, #132] ; 0x84 + 800606e: 4618 mov r0, r3 + 8006070: 4770 bx lr + 8006072: 2002 movs r0, #2 + 8006074: 4770 bx lr -08006062 : - 8006062: b510 push {r4, lr} - 8006064: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 - 8006068: 2b01 cmp r3, #1 - 800606a: 4604 mov r4, r0 - 800606c: d017 beq.n 800609e - 800606e: 2324 movs r3, #36 ; 0x24 - 8006070: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 8006074: 6803 ldr r3, [r0, #0] - 8006076: 681a ldr r2, [r3, #0] - 8006078: 6819 ldr r1, [r3, #0] - 800607a: f021 0101 bic.w r1, r1, #1 - 800607e: 6019 str r1, [r3, #0] - 8006080: f042 5200 orr.w r2, r2, #536870912 ; 0x20000000 - 8006084: f04f 5100 mov.w r1, #536870912 ; 0x20000000 - 8006088: 6641 str r1, [r0, #100] ; 0x64 - 800608a: 601a str r2, [r3, #0] - 800608c: f7ff ff68 bl 8005f60 - 8006090: 2320 movs r3, #32 - 8006092: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 8006096: 2000 movs r0, #0 - 8006098: f884 0084 strb.w r0, [r4, #132] ; 0x84 - 800609c: bd10 pop {r4, pc} - 800609e: 2002 movs r0, #2 - 80060a0: e7fc b.n 800609c +08006076 : + 8006076: b510 push {r4, lr} + 8006078: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 + 800607c: 2b01 cmp r3, #1 + 800607e: 4604 mov r4, r0 + 8006080: d017 beq.n 80060b2 + 8006082: 2324 movs r3, #36 ; 0x24 + 8006084: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8006088: 6803 ldr r3, [r0, #0] + 800608a: 681a ldr r2, [r3, #0] + 800608c: 6819 ldr r1, [r3, #0] + 800608e: f021 0101 bic.w r1, r1, #1 + 8006092: 6019 str r1, [r3, #0] + 8006094: f042 5200 orr.w r2, r2, #536870912 ; 0x20000000 + 8006098: f04f 5100 mov.w r1, #536870912 ; 0x20000000 + 800609c: 6641 str r1, [r0, #100] ; 0x64 + 800609e: 601a str r2, [r3, #0] + 80060a0: f7ff ff68 bl 8005f74 + 80060a4: 2320 movs r3, #32 + 80060a6: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 80060aa: 2000 movs r0, #0 + 80060ac: f884 0084 strb.w r0, [r4, #132] ; 0x84 + 80060b0: bd10 pop {r4, pc} + 80060b2: 2002 movs r0, #2 + 80060b4: e7fc b.n 80060b0 -080060a2 : - 80060a2: b570 push {r4, r5, r6, lr} - 80060a4: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 - 80060a8: 2b01 cmp r3, #1 - 80060aa: 4604 mov r4, r0 - 80060ac: d017 beq.n 80060de - 80060ae: 6805 ldr r5, [r0, #0] - 80060b0: 2324 movs r3, #36 ; 0x24 - 80060b2: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 80060b6: 682e ldr r6, [r5, #0] - 80060b8: 682b ldr r3, [r5, #0] - 80060ba: f023 0301 bic.w r3, r3, #1 - 80060be: 602b str r3, [r5, #0] - 80060c0: 68ab ldr r3, [r5, #8] - 80060c2: f023 4360 bic.w r3, r3, #3758096384 ; 0xe0000000 - 80060c6: 4319 orrs r1, r3 - 80060c8: 60a9 str r1, [r5, #8] - 80060ca: f7ff ff49 bl 8005f60 - 80060ce: 2320 movs r3, #32 - 80060d0: 602e str r6, [r5, #0] - 80060d2: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 80060d6: 2000 movs r0, #0 - 80060d8: f884 0084 strb.w r0, [r4, #132] ; 0x84 - 80060dc: bd70 pop {r4, r5, r6, pc} - 80060de: 2002 movs r0, #2 - 80060e0: e7fc b.n 80060dc +080060b6 : + 80060b6: b570 push {r4, r5, r6, lr} + 80060b8: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 + 80060bc: 2b01 cmp r3, #1 + 80060be: 4604 mov r4, r0 + 80060c0: d017 beq.n 80060f2 + 80060c2: 6805 ldr r5, [r0, #0] + 80060c4: 2324 movs r3, #36 ; 0x24 + 80060c6: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 80060ca: 682e ldr r6, [r5, #0] + 80060cc: 682b ldr r3, [r5, #0] + 80060ce: f023 0301 bic.w r3, r3, #1 + 80060d2: 602b str r3, [r5, #0] + 80060d4: 68ab ldr r3, [r5, #8] + 80060d6: f023 4360 bic.w r3, r3, #3758096384 ; 0xe0000000 + 80060da: 4319 orrs r1, r3 + 80060dc: 60a9 str r1, [r5, #8] + 80060de: f7ff ff49 bl 8005f74 + 80060e2: 2320 movs r3, #32 + 80060e4: 602e str r6, [r5, #0] + 80060e6: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 80060ea: 2000 movs r0, #0 + 80060ec: f884 0084 strb.w r0, [r4, #132] ; 0x84 + 80060f0: bd70 pop {r4, r5, r6, pc} + 80060f2: 2002 movs r0, #2 + 80060f4: e7fc b.n 80060f0 -080060e2 : - 80060e2: b570 push {r4, r5, r6, lr} - 80060e4: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 - 80060e8: 2b01 cmp r3, #1 - 80060ea: 4604 mov r4, r0 - 80060ec: d017 beq.n 800611e - 80060ee: 6805 ldr r5, [r0, #0] - 80060f0: 2324 movs r3, #36 ; 0x24 - 80060f2: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 80060f6: 682e ldr r6, [r5, #0] - 80060f8: 682b ldr r3, [r5, #0] - 80060fa: f023 0301 bic.w r3, r3, #1 - 80060fe: 602b str r3, [r5, #0] - 8006100: 68ab ldr r3, [r5, #8] - 8006102: f023 6360 bic.w r3, r3, #234881024 ; 0xe000000 - 8006106: 4319 orrs r1, r3 - 8006108: 60a9 str r1, [r5, #8] - 800610a: f7ff ff29 bl 8005f60 - 800610e: 2320 movs r3, #32 - 8006110: 602e str r6, [r5, #0] - 8006112: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 8006116: 2000 movs r0, #0 - 8006118: f884 0084 strb.w r0, [r4, #132] ; 0x84 - 800611c: bd70 pop {r4, r5, r6, pc} - 800611e: 2002 movs r0, #2 - 8006120: e7fc b.n 800611c +080060f6 : + 80060f6: b570 push {r4, r5, r6, lr} + 80060f8: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 + 80060fc: 2b01 cmp r3, #1 + 80060fe: 4604 mov r4, r0 + 8006100: d017 beq.n 8006132 + 8006102: 6805 ldr r5, [r0, #0] + 8006104: 2324 movs r3, #36 ; 0x24 + 8006106: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 800610a: 682e ldr r6, [r5, #0] + 800610c: 682b ldr r3, [r5, #0] + 800610e: f023 0301 bic.w r3, r3, #1 + 8006112: 602b str r3, [r5, #0] + 8006114: 68ab ldr r3, [r5, #8] + 8006116: f023 6360 bic.w r3, r3, #234881024 ; 0xe000000 + 800611a: 4319 orrs r1, r3 + 800611c: 60a9 str r1, [r5, #8] + 800611e: f7ff ff29 bl 8005f74 + 8006122: 2320 movs r3, #32 + 8006124: 602e str r6, [r5, #0] + 8006126: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 800612a: 2000 movs r0, #0 + 800612c: f884 0084 strb.w r0, [r4, #132] ; 0x84 + 8006130: bd70 pop {r4, r5, r6, pc} + 8006132: 2002 movs r0, #2 + 8006134: e7fc b.n 8006130 ... -08006124 : - 8006124: b538 push {r3, r4, r5, lr} - 8006126: 4d08 ldr r5, [pc, #32] ; (8006148 ) - 8006128: 2405 movs r4, #5 - 800612a: f855 3b04 ldr.w r3, [r5], #4 - 800612e: b92b cbnz r3, 800613c - 8006130: 3c01 subs r4, #1 - 8006132: f014 04ff ands.w r4, r4, #255 ; 0xff - 8006136: d1f8 bne.n 800612a - 8006138: 4620 mov r0, r4 - 800613a: bd38 pop {r3, r4, r5, pc} - 800613c: 68db ldr r3, [r3, #12] - 800613e: 4798 blx r3 - 8006140: 2800 cmp r0, #0 - 8006142: d0f5 beq.n 8006130 - 8006144: e7f9 b.n 800613a - 8006146: bf00 nop - 8006148: 20000584 .word 0x20000584 +08006138 : + 8006138: b538 push {r3, r4, r5, lr} + 800613a: 4d08 ldr r5, [pc, #32] ; (800615c ) + 800613c: 2405 movs r4, #5 + 800613e: f855 3b04 ldr.w r3, [r5], #4 + 8006142: b92b cbnz r3, 8006150 + 8006144: 3c01 subs r4, #1 + 8006146: f014 04ff ands.w r4, r4, #255 ; 0xff + 800614a: d1f8 bne.n 800613e + 800614c: 4620 mov r0, r4 + 800614e: bd38 pop {r3, r4, r5, pc} + 8006150: 68db ldr r3, [r3, #12] + 8006152: 4798 blx r3 + 8006154: 2800 cmp r0, #0 + 8006156: d0f5 beq.n 8006144 + 8006158: e7f9 b.n 800614e + 800615a: bf00 nop + 800615c: 20000584 .word 0x20000584 -0800614c : - 800614c: 4b03 ldr r3, [pc, #12] ; (800615c ) - 800614e: 70d8 strb r0, [r3, #3] - 8006150: 4b03 ldr r3, [pc, #12] ; (8006160 ) - 8006152: 681b ldr r3, [r3, #0] - 8006154: 6c1b ldr r3, [r3, #64] ; 0x40 - 8006156: b103 cbz r3, 800615a - 8006158: 4718 bx r3 - 800615a: 4770 bx lr - 800615c: 20000598 .word 0x20000598 - 8006160: 20000580 .word 0x20000580 +08006160 : + 8006160: 4b03 ldr r3, [pc, #12] ; (8006170 ) + 8006162: 70d8 strb r0, [r3, #3] + 8006164: 4b03 ldr r3, [pc, #12] ; (8006174 ) + 8006166: 681b ldr r3, [r3, #0] + 8006168: 6c1b ldr r3, [r3, #64] ; 0x40 + 800616a: b103 cbz r3, 800616e + 800616c: 4718 bx r3 + 800616e: 4770 bx lr + 8006170: 20000598 .word 0x20000598 + 8006174: 20000580 .word 0x20000580 -08006164 : - 8006164: 4b03 ldr r3, [pc, #12] ; (8006174 ) - 8006166: 7418 strb r0, [r3, #16] - 8006168: 4b03 ldr r3, [pc, #12] ; (8006178 ) - 800616a: 681b ldr r3, [r3, #0] - 800616c: 6c5b ldr r3, [r3, #68] ; 0x44 - 800616e: b103 cbz r3, 8006172 - 8006170: 4718 bx r3 - 8006172: 4770 bx lr - 8006174: 20000598 .word 0x20000598 - 8006178: 20000580 .word 0x20000580 +08006178 : + 8006178: 4b03 ldr r3, [pc, #12] ; (8006188 ) + 800617a: 7418 strb r0, [r3, #16] + 800617c: 4b03 ldr r3, [pc, #12] ; (800618c ) + 800617e: 681b ldr r3, [r3, #0] + 8006180: 6c5b ldr r3, [r3, #68] ; 0x44 + 8006182: b103 cbz r3, 8006186 + 8006184: 4718 bx r3 + 8006186: 4770 bx lr + 8006188: 20000598 .word 0x20000598 + 800618c: 20000580 .word 0x20000580 -0800617c : - 800617c: b5f0 push {r4, r5, r6, r7, lr} - 800617e: 4d31 ldr r5, [pc, #196] ; (8006244 ) - 8006180: 4b31 ldr r3, [pc, #196] ; (8006248 ) - 8006182: f995 2004 ldrsb.w r2, [r5, #4] - 8006186: 4e31 ldr r6, [pc, #196] ; (800624c ) - 8006188: b091 sub sp, #68 ; 0x44 - 800618a: 460c mov r4, r1 - 800618c: 2701 movs r7, #1 - 800618e: f995 1005 ldrsb.w r1, [r5, #5] - 8006192: f88d 7004 strb.w r7, [sp, #4] - 8006196: 2802 cmp r0, #2 - 8006198: f88d 2009 strb.w r2, [sp, #9] - 800619c: f88d 100a strb.w r1, [sp, #10] - 80061a0: d110 bne.n 80061c4 - 80061a2: f88d 0008 strb.w r0, [sp, #8] - 80061a6: 71d8 strb r0, [r3, #7] - 80061a8: 721c strb r4, [r3, #8] - 80061aa: f002 fd9f bl 8008cec - 80061ae: 7833 ldrb r3, [r6, #0] - 80061b0: b103 cbz r3, 80061b4 - 80061b2: b114 cbz r4, 80061ba - 80061b4: a801 add r0, sp, #4 - 80061b6: f003 fa03 bl 80095c0 - 80061ba: 4b25 ldr r3, [pc, #148] ; (8006250 ) - 80061bc: 9a05 ldr r2, [sp, #20] - 80061be: 601a str r2, [r3, #0] - 80061c0: b011 add sp, #68 ; 0x44 - 80061c2: bdf0 pop {r4, r5, r6, r7, pc} - 80061c4: 7159 strb r1, [r3, #5] - 80061c6: f44f 7180 mov.w r1, #256 ; 0x100 - 80061ca: 711a strb r2, [r3, #4] - 80061cc: 80d9 strh r1, [r3, #6] - 80061ce: 721c strb r4, [r3, #8] - 80061d0: 7833 ldrb r3, [r6, #0] - 80061d2: f88d 7008 strb.w r7, [sp, #8] - 80061d6: bb53 cbnz r3, 800622e - 80061d8: 231f movs r3, #31 - 80061da: a806 add r0, sp, #24 - 80061dc: f88d 201c strb.w r2, [sp, #28] - 80061e0: f88d 3018 strb.w r3, [sp, #24] - 80061e4: f002 ff64 bl 80090b0 - 80061e8: 2320 movs r3, #32 - 80061ea: f88d 3018 strb.w r3, [sp, #24] +08006190 : + 8006190: b5f0 push {r4, r5, r6, r7, lr} + 8006192: 4d31 ldr r5, [pc, #196] ; (8006258 ) + 8006194: 4b31 ldr r3, [pc, #196] ; (800625c ) + 8006196: f995 2004 ldrsb.w r2, [r5, #4] + 800619a: 4e31 ldr r6, [pc, #196] ; (8006260 ) + 800619c: b091 sub sp, #68 ; 0x44 + 800619e: 460c mov r4, r1 + 80061a0: 2701 movs r7, #1 + 80061a2: f995 1005 ldrsb.w r1, [r5, #5] + 80061a6: f88d 7004 strb.w r7, [sp, #4] + 80061aa: 2802 cmp r0, #2 + 80061ac: f88d 2009 strb.w r2, [sp, #9] + 80061b0: f88d 100a strb.w r1, [sp, #10] + 80061b4: d110 bne.n 80061d8 + 80061b6: f88d 0008 strb.w r0, [sp, #8] + 80061ba: 71d8 strb r0, [r3, #7] + 80061bc: 721c strb r4, [r3, #8] + 80061be: f002 fd9f bl 8008d00 + 80061c2: 7833 ldrb r3, [r6, #0] + 80061c4: b103 cbz r3, 80061c8 + 80061c6: b114 cbz r4, 80061ce + 80061c8: a801 add r0, sp, #4 + 80061ca: f003 fa03 bl 80095d4 + 80061ce: 4b25 ldr r3, [pc, #148] ; (8006264 ) + 80061d0: 9a05 ldr r2, [sp, #20] + 80061d2: 601a str r2, [r3, #0] + 80061d4: b011 add sp, #68 ; 0x44 + 80061d6: bdf0 pop {r4, r5, r6, r7, pc} + 80061d8: 7159 strb r1, [r3, #5] + 80061da: f44f 7180 mov.w r1, #256 ; 0x100 + 80061de: 711a strb r2, [r3, #4] + 80061e0: 80d9 strh r1, [r3, #6] + 80061e2: 721c strb r4, [r3, #8] + 80061e4: 7833 ldrb r3, [r6, #0] + 80061e6: f88d 7008 strb.w r7, [sp, #8] + 80061ea: bb53 cbnz r3, 8006242 + 80061ec: 231f movs r3, #31 80061ee: a806 add r0, sp, #24 - 80061f0: 792b ldrb r3, [r5, #4] - 80061f2: f88d 301c strb.w r3, [sp, #28] - 80061f6: f002 ff5b bl 80090b0 - 80061fa: 2322 movs r3, #34 ; 0x22 - 80061fc: f88d 3018 strb.w r3, [sp, #24] - 8006200: a806 add r0, sp, #24 - 8006202: 796b ldrb r3, [r5, #5] - 8006204: f88d 301c strb.w r3, [sp, #28] - 8006208: f002 ff52 bl 80090b0 - 800620c: 2321 movs r3, #33 ; 0x21 - 800620e: f88d 3018 strb.w r3, [sp, #24] - 8006212: a806 add r0, sp, #24 - 8006214: 796b ldrb r3, [r5, #5] - 8006216: f88d 301c strb.w r3, [sp, #28] - 800621a: f002 ff49 bl 80090b0 - 800621e: 2329 movs r3, #41 ; 0x29 - 8006220: f88d 3018 strb.w r3, [sp, #24] - 8006224: a806 add r0, sp, #24 - 8006226: 4b0b ldr r3, [pc, #44] ; (8006254 ) - 8006228: 9307 str r3, [sp, #28] - 800622a: f002 ff41 bl 80090b0 - 800622e: f002 fd5d bl 8008cec - 8006232: 2301 movs r3, #1 - 8006234: a806 add r0, sp, #24 - 8006236: f88d 3018 strb.w r3, [sp, #24] - 800623a: f88d 301c strb.w r3, [sp, #28] - 800623e: f002 ff37 bl 80090b0 - 8006242: e7b4 b.n 80061ae - 8006244: 20000598 .word 0x20000598 - 8006248: 2000007c .word 0x2000007c - 800624c: 20000574 .word 0x20000574 - 8006250: 20000578 .word 0x20000578 - 8006254: 01000400 .word 0x01000400 + 80061f0: f88d 201c strb.w r2, [sp, #28] + 80061f4: f88d 3018 strb.w r3, [sp, #24] + 80061f8: f002 ff64 bl 80090c4 + 80061fc: 2320 movs r3, #32 + 80061fe: f88d 3018 strb.w r3, [sp, #24] + 8006202: a806 add r0, sp, #24 + 8006204: 792b ldrb r3, [r5, #4] + 8006206: f88d 301c strb.w r3, [sp, #28] + 800620a: f002 ff5b bl 80090c4 + 800620e: 2322 movs r3, #34 ; 0x22 + 8006210: f88d 3018 strb.w r3, [sp, #24] + 8006214: a806 add r0, sp, #24 + 8006216: 796b ldrb r3, [r5, #5] + 8006218: f88d 301c strb.w r3, [sp, #28] + 800621c: f002 ff52 bl 80090c4 + 8006220: 2321 movs r3, #33 ; 0x21 + 8006222: f88d 3018 strb.w r3, [sp, #24] + 8006226: a806 add r0, sp, #24 + 8006228: 796b ldrb r3, [r5, #5] + 800622a: f88d 301c strb.w r3, [sp, #28] + 800622e: f002 ff49 bl 80090c4 + 8006232: 2329 movs r3, #41 ; 0x29 + 8006234: f88d 3018 strb.w r3, [sp, #24] + 8006238: a806 add r0, sp, #24 + 800623a: 4b0b ldr r3, [pc, #44] ; (8006268 ) + 800623c: 9307 str r3, [sp, #28] + 800623e: f002 ff41 bl 80090c4 + 8006242: f002 fd5d bl 8008d00 + 8006246: 2301 movs r3, #1 + 8006248: a806 add r0, sp, #24 + 800624a: f88d 3018 strb.w r3, [sp, #24] + 800624e: f88d 301c strb.w r3, [sp, #28] + 8006252: f002 ff37 bl 80090c4 + 8006256: e7b4 b.n 80061c2 + 8006258: 20000598 .word 0x20000598 + 800625c: 2000007c .word 0x2000007c + 8006260: 20000574 .word 0x20000574 + 8006264: 20000578 .word 0x20000578 + 8006268: 01000400 .word 0x01000400 -08006258 : - 8006258: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 800625a: 2309 movs r3, #9 - 800625c: a801 add r0, sp, #4 - 800625e: f88d 3004 strb.w r3, [sp, #4] - 8006262: f003 f9ad bl 80095c0 - 8006266: 3800 subs r0, #0 - 8006268: 4b04 ldr r3, [pc, #16] ; (800627c ) - 800626a: 9a05 ldr r2, [sp, #20] - 800626c: 601a str r2, [r3, #0] - 800626e: bf18 it ne - 8006270: 2001 movne r0, #1 - 8006272: 4240 negs r0, r0 - 8006274: b007 add sp, #28 - 8006276: f85d fb04 ldr.w pc, [sp], #4 - 800627a: bf00 nop - 800627c: 20000578 .word 0x20000578 +0800626c : + 800626c: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 800626e: 2309 movs r3, #9 + 8006270: a801 add r0, sp, #4 + 8006272: f88d 3004 strb.w r3, [sp, #4] + 8006276: f003 f9ad bl 80095d4 + 800627a: 3800 subs r0, #0 + 800627c: 4b04 ldr r3, [pc, #16] ; (8006290 ) + 800627e: 9a05 ldr r2, [sp, #20] + 8006280: 601a str r2, [r3, #0] + 8006282: bf18 it ne + 8006284: 2001 movne r0, #1 + 8006286: 4240 negs r0, r0 + 8006288: b007 add sp, #28 + 800628a: f85d fb04 ldr.w pc, [sp], #4 + 800628e: bf00 nop + 8006290: 20000578 .word 0x20000578 -08006280 : - 8006280: b570 push {r4, r5, r6, lr} - 8006282: 4604 mov r4, r0 - 8006284: 460b mov r3, r1 - 8006286: 4913 ldr r1, [pc, #76] ; (80062d4 ) - 8006288: 7862 ldrb r2, [r4, #1] - 800628a: 704a strb r2, [r1, #1] - 800628c: 2000 movs r0, #0 - 800628e: 78a2 ldrb r2, [r4, #2] - 8006290: 720a strb r2, [r1, #8] - 8006292: 7008 strb r0, [r1, #0] - 8006294: 881a ldrh r2, [r3, #0] - 8006296: 724a strb r2, [r1, #9] - 8006298: 789a ldrb r2, [r3, #2] - 800629a: 728a strb r2, [r1, #10] - 800629c: 78db ldrb r3, [r3, #3] - 800629e: 740b strb r3, [r1, #16] - 80062a0: 6863 ldr r3, [r4, #4] - 80062a2: 60cb str r3, [r1, #12] - 80062a4: 4b0c ldr r3, [pc, #48] ; (80062d8 ) - 80062a6: 681b ldr r3, [r3, #0] - 80062a8: 6ada ldr r2, [r3, #44] ; 0x2c - 80062aa: b12a cbz r2, 80062b8 - 80062ac: 7823 ldrb r3, [r4, #0] - 80062ae: f003 03fb and.w r3, r3, #251 ; 0xfb - 80062b2: 2b0a cmp r3, #10 - 80062b4: d000 beq.n 80062b8 - 80062b6: 4790 blx r2 - 80062b8: 4e08 ldr r6, [pc, #32] ; (80062dc ) - 80062ba: 2505 movs r5, #5 - 80062bc: f856 3b04 ldr.w r3, [r6], #4 - 80062c0: b11b cbz r3, 80062ca - 80062c2: 6a5b ldr r3, [r3, #36] ; 0x24 - 80062c4: b10b cbz r3, 80062ca - 80062c6: 4620 mov r0, r4 - 80062c8: 4798 blx r3 - 80062ca: 3d01 subs r5, #1 - 80062cc: f015 05ff ands.w r5, r5, #255 ; 0xff - 80062d0: d1f4 bne.n 80062bc - 80062d2: bd70 pop {r4, r5, r6, pc} - 80062d4: 20000088 .word 0x20000088 - 80062d8: 20000580 .word 0x20000580 - 80062dc: 20000584 .word 0x20000584 +08006294 : + 8006294: b570 push {r4, r5, r6, lr} + 8006296: 4604 mov r4, r0 + 8006298: 460b mov r3, r1 + 800629a: 4913 ldr r1, [pc, #76] ; (80062e8 ) + 800629c: 7862 ldrb r2, [r4, #1] + 800629e: 704a strb r2, [r1, #1] + 80062a0: 2000 movs r0, #0 + 80062a2: 78a2 ldrb r2, [r4, #2] + 80062a4: 720a strb r2, [r1, #8] + 80062a6: 7008 strb r0, [r1, #0] + 80062a8: 881a ldrh r2, [r3, #0] + 80062aa: 724a strb r2, [r1, #9] + 80062ac: 789a ldrb r2, [r3, #2] + 80062ae: 728a strb r2, [r1, #10] + 80062b0: 78db ldrb r3, [r3, #3] + 80062b2: 740b strb r3, [r1, #16] + 80062b4: 6863 ldr r3, [r4, #4] + 80062b6: 60cb str r3, [r1, #12] + 80062b8: 4b0c ldr r3, [pc, #48] ; (80062ec ) + 80062ba: 681b ldr r3, [r3, #0] + 80062bc: 6ada ldr r2, [r3, #44] ; 0x2c + 80062be: b12a cbz r2, 80062cc + 80062c0: 7823 ldrb r3, [r4, #0] + 80062c2: f003 03fb and.w r3, r3, #251 ; 0xfb + 80062c6: 2b0a cmp r3, #10 + 80062c8: d000 beq.n 80062cc + 80062ca: 4790 blx r2 + 80062cc: 4e08 ldr r6, [pc, #32] ; (80062f0 ) + 80062ce: 2505 movs r5, #5 + 80062d0: f856 3b04 ldr.w r3, [r6], #4 + 80062d4: b11b cbz r3, 80062de + 80062d6: 6a5b ldr r3, [r3, #36] ; 0x24 + 80062d8: b10b cbz r3, 80062de + 80062da: 4620 mov r0, r4 + 80062dc: 4798 blx r3 + 80062de: 3d01 subs r5, #1 + 80062e0: f015 05ff ands.w r5, r5, #255 ; 0xff + 80062e4: d1f4 bne.n 80062d0 + 80062e6: bd70 pop {r4, r5, r6, pc} + 80062e8: 20000088 .word 0x20000088 + 80062ec: 20000580 .word 0x20000580 + 80062f0: 20000584 .word 0x20000584 -080062e0 : - 80062e0: b570 push {r4, r5, r6, lr} - 80062e2: 4604 mov r4, r0 - 80062e4: 4810 ldr r0, [pc, #64] ; (8006328 ) - 80062e6: 2301 movs r3, #1 - 80062e8: 7003 strb r3, [r0, #0] - 80062ea: 7863 ldrb r3, [r4, #1] - 80062ec: 7043 strb r3, [r0, #1] - 80062ee: 78a3 ldrb r3, [r4, #2] - 80062f0: 7283 strb r3, [r0, #10] - 80062f2: 68e3 ldr r3, [r4, #12] - 80062f4: 60c3 str r3, [r0, #12] - 80062f6: 78e3 ldrb r3, [r4, #3] - 80062f8: 7603 strb r3, [r0, #24] - 80062fa: 6923 ldr r3, [r4, #16] - 80062fc: 7643 strb r3, [r0, #25] - 80062fe: 7923 ldrb r3, [r4, #4] - 8006300: 7243 strb r3, [r0, #9] - 8006302: 4b0a ldr r3, [pc, #40] ; (800632c ) - 8006304: 681b ldr r3, [r3, #0] - 8006306: 6a9b ldr r3, [r3, #40] ; 0x28 - 8006308: b103 cbz r3, 800630c - 800630a: 4798 blx r3 - 800630c: 4e08 ldr r6, [pc, #32] ; (8006330 ) - 800630e: 2505 movs r5, #5 - 8006310: f856 3b04 ldr.w r3, [r6], #4 - 8006314: b11b cbz r3, 800631e - 8006316: 699b ldr r3, [r3, #24] - 8006318: b10b cbz r3, 800631e - 800631a: 4620 mov r0, r4 - 800631c: 4798 blx r3 - 800631e: 3d01 subs r5, #1 - 8006320: f015 05ff ands.w r5, r5, #255 ; 0xff - 8006324: d1f4 bne.n 8006310 - 8006326: bd70 pop {r4, r5, r6, pc} - 8006328: 2000009c .word 0x2000009c - 800632c: 20000580 .word 0x20000580 - 8006330: 20000584 .word 0x20000584 +080062f4 : + 80062f4: b570 push {r4, r5, r6, lr} + 80062f6: 4604 mov r4, r0 + 80062f8: 4810 ldr r0, [pc, #64] ; (800633c ) + 80062fa: 2301 movs r3, #1 + 80062fc: 7003 strb r3, [r0, #0] + 80062fe: 7863 ldrb r3, [r4, #1] + 8006300: 7043 strb r3, [r0, #1] + 8006302: 78a3 ldrb r3, [r4, #2] + 8006304: 7283 strb r3, [r0, #10] + 8006306: 68e3 ldr r3, [r4, #12] + 8006308: 60c3 str r3, [r0, #12] + 800630a: 78e3 ldrb r3, [r4, #3] + 800630c: 7603 strb r3, [r0, #24] + 800630e: 6923 ldr r3, [r4, #16] + 8006310: 7643 strb r3, [r0, #25] + 8006312: 7923 ldrb r3, [r4, #4] + 8006314: 7243 strb r3, [r0, #9] + 8006316: 4b0a ldr r3, [pc, #40] ; (8006340 ) + 8006318: 681b ldr r3, [r3, #0] + 800631a: 6a9b ldr r3, [r3, #40] ; 0x28 + 800631c: b103 cbz r3, 8006320 + 800631e: 4798 blx r3 + 8006320: 4e08 ldr r6, [pc, #32] ; (8006344 ) + 8006322: 2505 movs r5, #5 + 8006324: f856 3b04 ldr.w r3, [r6], #4 + 8006328: b11b cbz r3, 8006332 + 800632a: 699b ldr r3, [r3, #24] + 800632c: b10b cbz r3, 8006332 + 800632e: 4620 mov r0, r4 + 8006330: 4798 blx r3 + 8006332: 3d01 subs r5, #1 + 8006334: f015 05ff ands.w r5, r5, #255 ; 0xff + 8006338: d1f4 bne.n 8006324 + 800633a: bd70 pop {r4, r5, r6, pc} + 800633c: 2000009c .word 0x2000009c + 8006340: 20000580 .word 0x20000580 + 8006344: 20000584 .word 0x20000584 -08006334 : - 8006334: 4b01 ldr r3, [pc, #4] ; (800633c ) - 8006336: 6818 ldr r0, [r3, #0] - 8006338: 4770 bx lr - 800633a: bf00 nop - 800633c: 20000578 .word 0x20000578 +08006348 : + 8006348: 4b01 ldr r3, [pc, #4] ; (8006350 ) + 800634a: 6818 ldr r0, [r3, #0] + 800634c: 4770 bx lr + 800634e: bf00 nop + 8006350: 20000578 .word 0x20000578 -08006340 : - 8006340: b500 push {lr} - 8006342: b08b sub sp, #44 ; 0x2c - 8006344: 2301 movs r3, #1 - 8006346: 4668 mov r0, sp - 8006348: f88d 3000 strb.w r3, [sp] - 800634c: f002 fd88 bl 8008e60 - 8006350: b938 cbnz r0, 8006362 - 8006352: f89d 0004 ldrb.w r0, [sp, #4] - 8006356: 3800 subs r0, #0 - 8006358: bf18 it ne - 800635a: 2001 movne r0, #1 - 800635c: b00b add sp, #44 ; 0x2c - 800635e: f85d fb04 ldr.w pc, [sp], #4 - 8006362: 2000 movs r0, #0 - 8006364: e7fa b.n 800635c +08006354 : + 8006354: b500 push {lr} + 8006356: b08b sub sp, #44 ; 0x2c + 8006358: 2301 movs r3, #1 + 800635a: 4668 mov r0, sp + 800635c: f88d 3000 strb.w r3, [sp] + 8006360: f002 fd88 bl 8008e74 + 8006364: b938 cbnz r0, 8006376 + 8006366: f89d 0004 ldrb.w r0, [sp, #4] + 800636a: 3800 subs r0, #0 + 800636c: bf18 it ne + 800636e: 2001 movne r0, #1 + 8006370: b00b add sp, #44 ; 0x2c + 8006372: f85d fb04 ldr.w pc, [sp], #4 + 8006376: 2000 movs r0, #0 + 8006378: e7fa b.n 8006370 ... -08006368 : - 8006368: b508 push {r3, lr} - 800636a: f001 fe73 bl 8008054 - 800636e: b948 cbnz r0, 8006384 - 8006370: f7ff ffe6 bl 8006340 - 8006374: 2801 cmp r0, #1 - 8006376: d006 beq.n 8006386 - 8006378: 4b05 ldr r3, [pc, #20] ; (8006390 ) - 800637a: 79d8 ldrb r0, [r3, #7] - 800637c: 7a19 ldrb r1, [r3, #8] - 800637e: f7ff fefd bl 800617c - 8006382: 2001 movs r0, #1 - 8006384: bd08 pop {r3, pc} - 8006386: e8bd 4008 ldmia.w sp!, {r3, lr} - 800638a: f7ff becb b.w 8006124 - 800638e: bf00 nop - 8006390: 2000007c .word 0x2000007c +0800637c : + 800637c: b508 push {r3, lr} + 800637e: f001 fe73 bl 8008068 + 8006382: b948 cbnz r0, 8006398 + 8006384: f7ff ffe6 bl 8006354 + 8006388: 2801 cmp r0, #1 + 800638a: d006 beq.n 800639a + 800638c: 4b05 ldr r3, [pc, #20] ; (80063a4 ) + 800638e: 79d8 ldrb r0, [r3, #7] + 8006390: 7a19 ldrb r1, [r3, #8] + 8006392: f7ff fefd bl 8006190 + 8006396: 2001 movs r0, #1 + 8006398: bd08 pop {r3, pc} + 800639a: e8bd 4008 ldmia.w sp!, {r3, lr} + 800639e: f7ff becb b.w 8006138 + 80063a2: bf00 nop + 80063a4: 2000007c .word 0x2000007c -08006394 : - 8006394: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8006398: b086 sub sp, #24 - 800639a: 4605 mov r5, r0 - 800639c: 460e mov r6, r1 - 800639e: 4617 mov r7, r2 - 80063a0: f001 fe58 bl 8008054 - 80063a4: 2800 cmp r0, #0 - 80063a6: d17f bne.n 80064a8 - 80063a8: f001 fe6c bl 8008084 - 80063ac: 4604 mov r4, r0 - 80063ae: b940 cbnz r0, 80063c2 - 80063b0: f7ff ffc6 bl 8006340 - 80063b4: 2801 cmp r0, #1 - 80063b6: d007 beq.n 80063c8 - 80063b8: 4b3d ldr r3, [pc, #244] ; (80064b0 ) - 80063ba: 7a19 ldrb r1, [r3, #8] - 80063bc: 79d8 ldrb r0, [r3, #7] - 80063be: f7ff fedd bl 800617c - 80063c2: f06f 0402 mvn.w r4, #2 - 80063c6: e062 b.n 800648e - 80063c8: f8df 80e8 ldr.w r8, [pc, #232] ; 80064b4 - 80063cc: f888 6008 strb.w r6, [r8, #8] - 80063d0: 3e00 subs r6, #0 - 80063d2: bf18 it ne - 80063d4: 2601 movne r6, #1 - 80063d6: f88d 6004 strb.w r6, [sp, #4] - 80063da: 4e37 ldr r6, [pc, #220] ; (80064b8 ) - 80063dc: 7868 ldrb r0, [r5, #1] - 80063de: 7933 ldrb r3, [r6, #4] - 80063e0: f88d 3012 strb.w r3, [sp, #18] - 80063e4: 4669 mov r1, sp - 80063e6: f002 fcd9 bl 8008d9c - 80063ea: 2800 cmp r0, #0 - 80063ec: d03e beq.n 800646c - 80063ee: f88d 4004 strb.w r4, [sp, #4] - 80063f2: 9403 str r4, [sp, #12] - 80063f4: f8ad 4010 strh.w r4, [sp, #16] - 80063f8: f06f 0406 mvn.w r4, #6 - 80063fc: e895 0003 ldmia.w r5, {r0, r1} - 8006400: 4b2e ldr r3, [pc, #184] ; (80064bc ) - 8006402: e883 0003 stmia.w r3, {r0, r1} - 8006406: 7933 ldrb r3, [r6, #4] - 8006408: f888 300a strb.w r3, [r8, #10] - 800640c: 4639 mov r1, r7 - 800640e: a801 add r0, sp, #4 - 8006410: f003 f9da bl 80097c8 - 8006414: 4b2a ldr r3, [pc, #168] ; (80064c0 ) - 8006416: 9a05 ldr r2, [sp, #20] - 8006418: 601a str r2, [r3, #0] - 800641a: 2811 cmp r0, #17 - 800641c: d841 bhi.n 80064a2 - 800641e: a301 add r3, pc, #4 ; (adr r3, 8006424 ) - 8006420: f853 f020 ldr.w pc, [r3, r0, lsl #2] - 8006424: 08006483 .word 0x08006483 - 8006428: 080064a9 .word 0x080064a9 - 800642c: 080064a3 .word 0x080064a3 - 8006430: 080064a3 .word 0x080064a3 - 8006434: 080064a3 .word 0x080064a3 - 8006438: 080064a3 .word 0x080064a3 - 800643c: 080064a3 .word 0x080064a3 - 8006440: 080063c3 .word 0x080063c3 - 8006444: 080064a3 .word 0x080064a3 - 8006448: 080064a3 .word 0x080064a3 - 800644c: 080064a3 .word 0x080064a3 - 8006450: 0800649d .word 0x0800649d - 8006454: 080064a3 .word 0x080064a3 - 8006458: 080064a3 .word 0x080064a3 - 800645c: 080064a9 .word 0x080064a9 - 8006460: 080064a9 .word 0x080064a9 - 8006464: 080064a9 .word 0x080064a9 - 8006468: 08006497 .word 0x08006497 - 800646c: 782b ldrb r3, [r5, #0] - 800646e: f88d 3008 strb.w r3, [sp, #8] - 8006472: 786b ldrb r3, [r5, #1] - 8006474: f8ad 3010 strh.w r3, [sp, #16] - 8006478: 686b ldr r3, [r5, #4] - 800647a: 9303 str r3, [sp, #12] - 800647c: f04f 34ff mov.w r4, #4294967295 - 8006480: e7bc b.n 80063fc - 8006482: 4b10 ldr r3, [pc, #64] ; (80064c4 ) - 8006484: 2200 movs r2, #0 - 8006486: 701a strb r2, [r3, #0] - 8006488: 1de3 adds r3, r4, #7 - 800648a: bf18 it ne - 800648c: 4614 movne r4, r2 - 800648e: 4620 mov r0, r4 - 8006490: b006 add sp, #24 - 8006492: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8006496: f06f 0404 mvn.w r4, #4 - 800649a: e7f8 b.n 800648e - 800649c: f06f 0405 mvn.w r4, #5 - 80064a0: e7f5 b.n 800648e - 80064a2: f04f 34ff mov.w r4, #4294967295 - 80064a6: e7f2 b.n 800648e - 80064a8: f06f 0401 mvn.w r4, #1 - 80064ac: e7ef b.n 800648e - 80064ae: bf00 nop - 80064b0: 2000007c .word 0x2000007c - 80064b4: 2000009c .word 0x2000009c - 80064b8: 20000598 .word 0x20000598 - 80064bc: 200000ac .word 0x200000ac - 80064c0: 20000578 .word 0x20000578 - 80064c4: 2000057c .word 0x2000057c +080063a8 : + 80063a8: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 80063ac: b086 sub sp, #24 + 80063ae: 4605 mov r5, r0 + 80063b0: 460e mov r6, r1 + 80063b2: 4617 mov r7, r2 + 80063b4: f001 fe58 bl 8008068 + 80063b8: 2800 cmp r0, #0 + 80063ba: d17f bne.n 80064bc + 80063bc: f001 fe6c bl 8008098 + 80063c0: 4604 mov r4, r0 + 80063c2: b940 cbnz r0, 80063d6 + 80063c4: f7ff ffc6 bl 8006354 + 80063c8: 2801 cmp r0, #1 + 80063ca: d007 beq.n 80063dc + 80063cc: 4b3d ldr r3, [pc, #244] ; (80064c4 ) + 80063ce: 7a19 ldrb r1, [r3, #8] + 80063d0: 79d8 ldrb r0, [r3, #7] + 80063d2: f7ff fedd bl 8006190 + 80063d6: f06f 0402 mvn.w r4, #2 + 80063da: e062 b.n 80064a2 + 80063dc: f8df 80e8 ldr.w r8, [pc, #232] ; 80064c8 + 80063e0: f888 6008 strb.w r6, [r8, #8] + 80063e4: 3e00 subs r6, #0 + 80063e6: bf18 it ne + 80063e8: 2601 movne r6, #1 + 80063ea: f88d 6004 strb.w r6, [sp, #4] + 80063ee: 4e37 ldr r6, [pc, #220] ; (80064cc ) + 80063f0: 7868 ldrb r0, [r5, #1] + 80063f2: 7933 ldrb r3, [r6, #4] + 80063f4: f88d 3012 strb.w r3, [sp, #18] + 80063f8: 4669 mov r1, sp + 80063fa: f002 fcd9 bl 8008db0 + 80063fe: 2800 cmp r0, #0 + 8006400: d03e beq.n 8006480 + 8006402: f88d 4004 strb.w r4, [sp, #4] + 8006406: 9403 str r4, [sp, #12] + 8006408: f8ad 4010 strh.w r4, [sp, #16] + 800640c: f06f 0406 mvn.w r4, #6 + 8006410: e895 0003 ldmia.w r5, {r0, r1} + 8006414: 4b2e ldr r3, [pc, #184] ; (80064d0 ) + 8006416: e883 0003 stmia.w r3, {r0, r1} + 800641a: 7933 ldrb r3, [r6, #4] + 800641c: f888 300a strb.w r3, [r8, #10] + 8006420: 4639 mov r1, r7 + 8006422: a801 add r0, sp, #4 + 8006424: f003 f9da bl 80097dc + 8006428: 4b2a ldr r3, [pc, #168] ; (80064d4 ) + 800642a: 9a05 ldr r2, [sp, #20] + 800642c: 601a str r2, [r3, #0] + 800642e: 2811 cmp r0, #17 + 8006430: d841 bhi.n 80064b6 + 8006432: a301 add r3, pc, #4 ; (adr r3, 8006438 ) + 8006434: f853 f020 ldr.w pc, [r3, r0, lsl #2] + 8006438: 08006497 .word 0x08006497 + 800643c: 080064bd .word 0x080064bd + 8006440: 080064b7 .word 0x080064b7 + 8006444: 080064b7 .word 0x080064b7 + 8006448: 080064b7 .word 0x080064b7 + 800644c: 080064b7 .word 0x080064b7 + 8006450: 080064b7 .word 0x080064b7 + 8006454: 080063d7 .word 0x080063d7 + 8006458: 080064b7 .word 0x080064b7 + 800645c: 080064b7 .word 0x080064b7 + 8006460: 080064b7 .word 0x080064b7 + 8006464: 080064b1 .word 0x080064b1 + 8006468: 080064b7 .word 0x080064b7 + 800646c: 080064b7 .word 0x080064b7 + 8006470: 080064bd .word 0x080064bd + 8006474: 080064bd .word 0x080064bd + 8006478: 080064bd .word 0x080064bd + 800647c: 080064ab .word 0x080064ab + 8006480: 782b ldrb r3, [r5, #0] + 8006482: f88d 3008 strb.w r3, [sp, #8] + 8006486: 786b ldrb r3, [r5, #1] + 8006488: f8ad 3010 strh.w r3, [sp, #16] + 800648c: 686b ldr r3, [r5, #4] + 800648e: 9303 str r3, [sp, #12] + 8006490: f04f 34ff mov.w r4, #4294967295 + 8006494: e7bc b.n 8006410 + 8006496: 4b10 ldr r3, [pc, #64] ; (80064d8 ) + 8006498: 2200 movs r2, #0 + 800649a: 701a strb r2, [r3, #0] + 800649c: 1de3 adds r3, r4, #7 + 800649e: bf18 it ne + 80064a0: 4614 movne r4, r2 + 80064a2: 4620 mov r0, r4 + 80064a4: b006 add sp, #24 + 80064a6: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80064aa: f06f 0404 mvn.w r4, #4 + 80064ae: e7f8 b.n 80064a2 + 80064b0: f06f 0405 mvn.w r4, #5 + 80064b4: e7f5 b.n 80064a2 + 80064b6: f04f 34ff mov.w r4, #4294967295 + 80064ba: e7f2 b.n 80064a2 + 80064bc: f06f 0401 mvn.w r4, #1 + 80064c0: e7ef b.n 80064a2 + 80064c2: bf00 nop + 80064c4: 2000007c .word 0x2000007c + 80064c8: 2000009c .word 0x2000009c + 80064cc: 20000598 .word 0x20000598 + 80064d0: 200000ac .word 0x200000ac + 80064d4: 20000578 .word 0x20000578 + 80064d8: 2000057c .word 0x2000057c -080064c8 : - 80064c8: b537 push {r0, r1, r2, r4, r5, lr} - 80064ca: f001 fde5 bl 8008098 - 80064ce: 4d14 ldr r5, [pc, #80] ; (8006520 ) - 80064d0: 2405 movs r4, #5 - 80064d2: f855 3b04 ldr.w r3, [r5], #4 - 80064d6: b15b cbz r3, 80064f0 - 80064d8: 691b ldr r3, [r3, #16] - 80064da: b14b cbz r3, 80064f0 - 80064dc: f855 3c04 ldr.w r3, [r5, #-4] - 80064e0: 689b ldr r3, [r3, #8] - 80064e2: b12b cbz r3, 80064f0 - 80064e4: 4798 blx r3 - 80064e6: b118 cbz r0, 80064f0 - 80064e8: f855 3c04 ldr.w r3, [r5, #-4] +080064dc : + 80064dc: b537 push {r0, r1, r2, r4, r5, lr} + 80064de: f001 fde5 bl 80080ac + 80064e2: 4d14 ldr r5, [pc, #80] ; (8006534 ) + 80064e4: 2405 movs r4, #5 + 80064e6: f855 3b04 ldr.w r3, [r5], #4 + 80064ea: b15b cbz r3, 8006504 80064ec: 691b ldr r3, [r3, #16] - 80064ee: 4798 blx r3 - 80064f0: 3c01 subs r4, #1 - 80064f2: f014 04ff ands.w r4, r4, #255 ; 0xff - 80064f6: d1ec bne.n 80064d2 - 80064f8: f7ff fe14 bl 8006124 - 80064fc: b968 cbnz r0, 800651a - 80064fe: 4d09 ldr r5, [pc, #36] ; (8006524 ) - 8006500: 782b ldrb r3, [r5, #0] - 8006502: b153 cbz r3, 800651a - 8006504: 4b08 ldr r3, [pc, #32] ; (8006528 ) - 8006506: f8ad 4000 strh.w r4, [sp] - 800650a: 78d9 ldrb r1, [r3, #3] - 800650c: 9401 str r4, [sp, #4] - 800650e: 4622 mov r2, r4 - 8006510: 4668 mov r0, sp - 8006512: f7ff ff3f bl 8006394 - 8006516: b900 cbnz r0, 800651a - 8006518: 702c strb r4, [r5, #0] - 800651a: b003 add sp, #12 - 800651c: bd30 pop {r4, r5, pc} - 800651e: bf00 nop - 8006520: 20000584 .word 0x20000584 - 8006524: 2000057c .word 0x2000057c - 8006528: 20000598 .word 0x20000598 + 80064ee: b14b cbz r3, 8006504 + 80064f0: f855 3c04 ldr.w r3, [r5, #-4] + 80064f4: 689b ldr r3, [r3, #8] + 80064f6: b12b cbz r3, 8006504 + 80064f8: 4798 blx r3 + 80064fa: b118 cbz r0, 8006504 + 80064fc: f855 3c04 ldr.w r3, [r5, #-4] + 8006500: 691b ldr r3, [r3, #16] + 8006502: 4798 blx r3 + 8006504: 3c01 subs r4, #1 + 8006506: f014 04ff ands.w r4, r4, #255 ; 0xff + 800650a: d1ec bne.n 80064e6 + 800650c: f7ff fe14 bl 8006138 + 8006510: b968 cbnz r0, 800652e + 8006512: 4d09 ldr r5, [pc, #36] ; (8006538 ) + 8006514: 782b ldrb r3, [r5, #0] + 8006516: b153 cbz r3, 800652e + 8006518: 4b08 ldr r3, [pc, #32] ; (800653c ) + 800651a: f8ad 4000 strh.w r4, [sp] + 800651e: 78d9 ldrb r1, [r3, #3] + 8006520: 9401 str r4, [sp, #4] + 8006522: 4622 mov r2, r4 + 8006524: 4668 mov r0, sp + 8006526: f7ff ff3f bl 80063a8 + 800652a: b900 cbnz r0, 800652e + 800652c: 702c strb r4, [r5, #0] + 800652e: b003 add sp, #12 + 8006530: bd30 pop {r4, r5, pc} + 8006532: bf00 nop + 8006534: 20000584 .word 0x20000584 + 8006538: 2000057c .word 0x2000057c + 800653c: 20000598 .word 0x20000598 -0800652c : - 800652c: b530 push {r4, r5, lr} - 800652e: b08b sub sp, #44 ; 0x2c - 8006530: 4605 mov r5, r0 - 8006532: f001 fd8f bl 8008054 - 8006536: 4604 mov r4, r0 - 8006538: 2800 cmp r0, #0 - 800653a: d139 bne.n 80065b0 - 800653c: f7ff ff00 bl 8006340 - 8006540: 2801 cmp r0, #1 - 8006542: d138 bne.n 80065b6 - 8006544: 4668 mov r0, sp - 8006546: f88d 4000 strb.w r4, [sp] - 800654a: f002 fc89 bl 8008e60 - 800654e: b110 cbz r0, 8006556 - 8006550: f04f 30ff mov.w r0, #4294967295 - 8006554: e004 b.n 8006560 - 8006556: f89d 3004 ldrb.w r3, [sp, #4] - 800655a: 42ab cmp r3, r5 - 800655c: d102 bne.n 8006564 - 800655e: 2000 movs r0, #0 - 8006560: b00b add sp, #44 ; 0x2c - 8006562: bd30 pop {r4, r5, pc} - 8006564: 2d01 cmp r5, #1 - 8006566: d0f3 beq.n 8006550 - 8006568: 2d02 cmp r5, #2 - 800656a: d011 beq.n 8006590 - 800656c: 2d00 cmp r5, #0 - 800656e: d1f7 bne.n 8006560 - 8006570: 2b00 cmp r3, #0 - 8006572: d0f4 beq.n 800655e - 8006574: 4668 mov r0, sp - 8006576: f88d 5004 strb.w r5, [sp, #4] - 800657a: f002 fd99 bl 80090b0 - 800657e: 2800 cmp r0, #0 - 8006580: d1e6 bne.n 8006550 - 8006582: 4b0e ldr r3, [pc, #56] ; (80065bc ) - 8006584: 681b ldr r3, [r3, #0] - 8006586: 6b1b ldr r3, [r3, #48] ; 0x30 - 8006588: 2b00 cmp r3, #0 - 800658a: d0e8 beq.n 800655e - 800658c: 4798 blx r3 - 800658e: e7e6 b.n 800655e - 8006590: 2b00 cmp r3, #0 - 8006592: d1dd bne.n 8006550 - 8006594: 4668 mov r0, sp - 8006596: f88d 5004 strb.w r5, [sp, #4] - 800659a: f002 fd89 bl 80090b0 - 800659e: 2800 cmp r0, #0 - 80065a0: d1d6 bne.n 8006550 - 80065a2: 4b06 ldr r3, [pc, #24] ; (80065bc ) - 80065a4: 681b ldr r3, [r3, #0] - 80065a6: 6b1b ldr r3, [r3, #48] ; 0x30 - 80065a8: 2b00 cmp r3, #0 - 80065aa: d0d8 beq.n 800655e - 80065ac: 4628 mov r0, r5 - 80065ae: e7ed b.n 800658c - 80065b0: f06f 0001 mvn.w r0, #1 - 80065b4: e7d4 b.n 8006560 - 80065b6: f06f 0002 mvn.w r0, #2 - 80065ba: e7d1 b.n 8006560 - 80065bc: 20000580 .word 0x20000580 +08006540 : + 8006540: b530 push {r4, r5, lr} + 8006542: b08b sub sp, #44 ; 0x2c + 8006544: 4605 mov r5, r0 + 8006546: f001 fd8f bl 8008068 + 800654a: 4604 mov r4, r0 + 800654c: 2800 cmp r0, #0 + 800654e: d139 bne.n 80065c4 + 8006550: f7ff ff00 bl 8006354 + 8006554: 2801 cmp r0, #1 + 8006556: d138 bne.n 80065ca + 8006558: 4668 mov r0, sp + 800655a: f88d 4000 strb.w r4, [sp] + 800655e: f002 fc89 bl 8008e74 + 8006562: b110 cbz r0, 800656a + 8006564: f04f 30ff mov.w r0, #4294967295 + 8006568: e004 b.n 8006574 + 800656a: f89d 3004 ldrb.w r3, [sp, #4] + 800656e: 42ab cmp r3, r5 + 8006570: d102 bne.n 8006578 + 8006572: 2000 movs r0, #0 + 8006574: b00b add sp, #44 ; 0x2c + 8006576: bd30 pop {r4, r5, pc} + 8006578: 2d01 cmp r5, #1 + 800657a: d0f3 beq.n 8006564 + 800657c: 2d02 cmp r5, #2 + 800657e: d011 beq.n 80065a4 + 8006580: 2d00 cmp r5, #0 + 8006582: d1f7 bne.n 8006574 + 8006584: 2b00 cmp r3, #0 + 8006586: d0f4 beq.n 8006572 + 8006588: 4668 mov r0, sp + 800658a: f88d 5004 strb.w r5, [sp, #4] + 800658e: f002 fd99 bl 80090c4 + 8006592: 2800 cmp r0, #0 + 8006594: d1e6 bne.n 8006564 + 8006596: 4b0e ldr r3, [pc, #56] ; (80065d0 ) + 8006598: 681b ldr r3, [r3, #0] + 800659a: 6b1b ldr r3, [r3, #48] ; 0x30 + 800659c: 2b00 cmp r3, #0 + 800659e: d0e8 beq.n 8006572 + 80065a0: 4798 blx r3 + 80065a2: e7e6 b.n 8006572 + 80065a4: 2b00 cmp r3, #0 + 80065a6: d1dd bne.n 8006564 + 80065a8: 4668 mov r0, sp + 80065aa: f88d 5004 strb.w r5, [sp, #4] + 80065ae: f002 fd89 bl 80090c4 + 80065b2: 2800 cmp r0, #0 + 80065b4: d1d6 bne.n 8006564 + 80065b6: 4b06 ldr r3, [pc, #24] ; (80065d0 ) + 80065b8: 681b ldr r3, [r3, #0] + 80065ba: 6b1b ldr r3, [r3, #48] ; 0x30 + 80065bc: 2b00 cmp r3, #0 + 80065be: d0d8 beq.n 8006572 + 80065c0: 4628 mov r0, r5 + 80065c2: e7ed b.n 80065a0 + 80065c4: f06f 0001 mvn.w r0, #1 + 80065c8: e7d4 b.n 8006574 + 80065ca: f06f 0002 mvn.w r0, #2 + 80065ce: e7d1 b.n 8006574 + 80065d0: 20000580 .word 0x20000580 -080065c0 : - 80065c0: b510 push {r4, lr} - 80065c2: 4604 mov r4, r0 - 80065c4: b08a sub sp, #40 ; 0x28 - 80065c6: b918 cbnz r0, 80065d0 - 80065c8: f04f 30ff mov.w r0, #4294967295 - 80065cc: b00a add sp, #40 ; 0x28 - 80065ce: bd10 pop {r4, pc} - 80065d0: 2300 movs r3, #0 - 80065d2: 4668 mov r0, sp - 80065d4: f88d 3000 strb.w r3, [sp] - 80065d8: f002 fc42 bl 8008e60 - 80065dc: 2800 cmp r0, #0 - 80065de: d1f3 bne.n 80065c8 - 80065e0: f89d 3004 ldrb.w r3, [sp, #4] - 80065e4: 7023 strb r3, [r4, #0] - 80065e6: e7f1 b.n 80065cc +080065d4 : + 80065d4: b510 push {r4, lr} + 80065d6: 4604 mov r4, r0 + 80065d8: b08a sub sp, #40 ; 0x28 + 80065da: b918 cbnz r0, 80065e4 + 80065dc: f04f 30ff mov.w r0, #4294967295 + 80065e0: b00a add sp, #40 ; 0x28 + 80065e2: bd10 pop {r4, pc} + 80065e4: 2300 movs r3, #0 + 80065e6: 4668 mov r0, sp + 80065e8: f88d 3000 strb.w r3, [sp] + 80065ec: f002 fc42 bl 8008e74 + 80065f0: 2800 cmp r0, #0 + 80065f2: d1f3 bne.n 80065dc + 80065f4: f89d 3004 ldrb.w r3, [sp, #4] + 80065f8: 7023 strb r3, [r4, #0] + 80065fa: e7f1 b.n 80065e0 -080065e8 : - 80065e8: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 80065ea: 2200 movs r2, #0 - 80065ec: 460b mov r3, r1 - 80065ee: 4920 ldr r1, [pc, #128] ; (8006670 ) - 80065f0: f88d 2007 strb.w r2, [sp, #7] - 80065f4: 2201 movs r2, #1 - 80065f6: 700a strb r2, [r1, #0] - 80065f8: 7842 ldrb r2, [r0, #1] - 80065fa: 704a strb r2, [r1, #1] - 80065fc: 4604 mov r4, r0 - 80065fe: 2a00 cmp r2, #0 - 8006600: d133 bne.n 800666a - 8006602: 7902 ldrb r2, [r0, #4] - 8006604: 720a strb r2, [r1, #8] - 8006606: 881a ldrh r2, [r3, #0] - 8006608: 724a strb r2, [r1, #9] - 800660a: 789a ldrb r2, [r3, #2] - 800660c: 728a strb r2, [r1, #10] - 800660e: 78db ldrb r3, [r3, #3] - 8006610: 740b strb r3, [r1, #16] - 8006612: 6903 ldr r3, [r0, #16] - 8006614: 60cb str r3, [r1, #12] - 8006616: 78c3 ldrb r3, [r0, #3] - 8006618: 4d16 ldr r5, [pc, #88] ; (8006674 ) - 800661a: f88d 3008 strb.w r3, [sp, #8] - 800661e: 7b03 ldrb r3, [r0, #12] - 8006620: f88d 3009 strb.w r3, [sp, #9] - 8006624: 6883 ldr r3, [r0, #8] - 8006626: 9303 str r3, [sp, #12] - 8006628: 682b ldr r3, [r5, #0] - 800662a: 6adb ldr r3, [r3, #44] ; 0x2c - 800662c: b10b cbz r3, 8006632 - 800662e: a802 add r0, sp, #8 - 8006630: 4798 blx r3 - 8006632: 682b ldr r3, [r5, #0] - 8006634: 6b9b ldr r3, [r3, #56] ; 0x38 - 8006636: b113 cbz r3, 800663e - 8006638: 7e22 ldrb r2, [r4, #24] - 800663a: b102 cbz r2, 800663e - 800663c: 4798 blx r3 - 800663e: 4e0e ldr r6, [pc, #56] ; (8006678 ) - 8006640: 2505 movs r5, #5 - 8006642: f856 3b04 ldr.w r3, [r6], #4 - 8006646: b11b cbz r3, 8006650 - 8006648: 69db ldr r3, [r3, #28] - 800664a: b10b cbz r3, 8006650 - 800664c: 4620 mov r0, r4 - 800664e: 4798 blx r3 - 8006650: 3d01 subs r5, #1 - 8006652: f015 05ff ands.w r5, r5, #255 ; 0xff - 8006656: d1f4 bne.n 8006642 - 8006658: f10d 0007 add.w r0, sp, #7 - 800665c: f7ff ffb0 bl 80065c0 - 8006660: 7963 ldrb r3, [r4, #5] - 8006662: b113 cbz r3, 800666a - 8006664: 4b05 ldr r3, [pc, #20] ; (800667c ) - 8006666: 2201 movs r2, #1 - 8006668: 701a strb r2, [r3, #0] - 800666a: b004 add sp, #16 - 800666c: bd70 pop {r4, r5, r6, pc} - 800666e: bf00 nop - 8006670: 20000088 .word 0x20000088 - 8006674: 20000580 .word 0x20000580 - 8006678: 20000584 .word 0x20000584 - 800667c: 2000057c .word 0x2000057c +080065fc : + 80065fc: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 80065fe: 2200 movs r2, #0 + 8006600: 460b mov r3, r1 + 8006602: 4920 ldr r1, [pc, #128] ; (8006684 ) + 8006604: f88d 2007 strb.w r2, [sp, #7] + 8006608: 2201 movs r2, #1 + 800660a: 700a strb r2, [r1, #0] + 800660c: 7842 ldrb r2, [r0, #1] + 800660e: 704a strb r2, [r1, #1] + 8006610: 4604 mov r4, r0 + 8006612: 2a00 cmp r2, #0 + 8006614: d133 bne.n 800667e + 8006616: 7902 ldrb r2, [r0, #4] + 8006618: 720a strb r2, [r1, #8] + 800661a: 881a ldrh r2, [r3, #0] + 800661c: 724a strb r2, [r1, #9] + 800661e: 789a ldrb r2, [r3, #2] + 8006620: 728a strb r2, [r1, #10] + 8006622: 78db ldrb r3, [r3, #3] + 8006624: 740b strb r3, [r1, #16] + 8006626: 6903 ldr r3, [r0, #16] + 8006628: 60cb str r3, [r1, #12] + 800662a: 78c3 ldrb r3, [r0, #3] + 800662c: 4d16 ldr r5, [pc, #88] ; (8006688 ) + 800662e: f88d 3008 strb.w r3, [sp, #8] + 8006632: 7b03 ldrb r3, [r0, #12] + 8006634: f88d 3009 strb.w r3, [sp, #9] + 8006638: 6883 ldr r3, [r0, #8] + 800663a: 9303 str r3, [sp, #12] + 800663c: 682b ldr r3, [r5, #0] + 800663e: 6adb ldr r3, [r3, #44] ; 0x2c + 8006640: b10b cbz r3, 8006646 + 8006642: a802 add r0, sp, #8 + 8006644: 4798 blx r3 + 8006646: 682b ldr r3, [r5, #0] + 8006648: 6b9b ldr r3, [r3, #56] ; 0x38 + 800664a: b113 cbz r3, 8006652 + 800664c: 7e22 ldrb r2, [r4, #24] + 800664e: b102 cbz r2, 8006652 + 8006650: 4798 blx r3 + 8006652: 4e0e ldr r6, [pc, #56] ; (800668c ) + 8006654: 2505 movs r5, #5 + 8006656: f856 3b04 ldr.w r3, [r6], #4 + 800665a: b11b cbz r3, 8006664 + 800665c: 69db ldr r3, [r3, #28] + 800665e: b10b cbz r3, 8006664 + 8006660: 4620 mov r0, r4 + 8006662: 4798 blx r3 + 8006664: 3d01 subs r5, #1 + 8006666: f015 05ff ands.w r5, r5, #255 ; 0xff + 800666a: d1f4 bne.n 8006656 + 800666c: f10d 0007 add.w r0, sp, #7 + 8006670: f7ff ffb0 bl 80065d4 + 8006674: 7963 ldrb r3, [r4, #5] + 8006676: b113 cbz r3, 800667e + 8006678: 4b05 ldr r3, [pc, #20] ; (8006690 ) + 800667a: 2201 movs r2, #1 + 800667c: 701a strb r2, [r3, #0] + 800667e: b004 add sp, #16 + 8006680: bd70 pop {r4, r5, r6, pc} + 8006682: bf00 nop + 8006684: 20000088 .word 0x20000088 + 8006688: 20000580 .word 0x20000580 + 800668c: 20000584 .word 0x20000584 + 8006690: 2000057c .word 0x2000057c -08006680 : - 8006680: b510 push {r4, lr} - 8006682: 4604 mov r4, r0 - 8006684: b08a sub sp, #40 ; 0x28 - 8006686: b918 cbnz r0, 8006690 - 8006688: f04f 30ff mov.w r0, #4294967295 - 800668c: b00a add sp, #40 ; 0x28 - 800668e: bd10 pop {r4, pc} - 8006690: 2320 movs r3, #32 - 8006692: 4668 mov r0, sp - 8006694: f88d 3000 strb.w r3, [sp] - 8006698: f002 fbe2 bl 8008e60 - 800669c: 2800 cmp r0, #0 - 800669e: d1f3 bne.n 8006688 - 80066a0: 4a02 ldr r2, [pc, #8] ; (80066ac ) - 80066a2: f99d 3004 ldrsb.w r3, [sp, #4] - 80066a6: 7023 strb r3, [r4, #0] - 80066a8: 7113 strb r3, [r2, #4] - 80066aa: e7ef b.n 800668c - 80066ac: 20000598 .word 0x20000598 +08006694 : + 8006694: b510 push {r4, lr} + 8006696: 4604 mov r4, r0 + 8006698: b08a sub sp, #40 ; 0x28 + 800669a: b918 cbnz r0, 80066a4 + 800669c: f04f 30ff mov.w r0, #4294967295 + 80066a0: b00a add sp, #40 ; 0x28 + 80066a2: bd10 pop {r4, pc} + 80066a4: 2320 movs r3, #32 + 80066a6: 4668 mov r0, sp + 80066a8: f88d 3000 strb.w r3, [sp] + 80066ac: f002 fbe2 bl 8008e74 + 80066b0: 2800 cmp r0, #0 + 80066b2: d1f3 bne.n 800669c + 80066b4: 4a02 ldr r2, [pc, #8] ; (80066c0 ) + 80066b6: f99d 3004 ldrsb.w r3, [sp, #4] + 80066ba: 7023 strb r3, [r4, #0] + 80066bc: 7113 strb r3, [r2, #4] + 80066be: e7ef b.n 80066a0 + 80066c0: 20000598 .word 0x20000598 -080066b0 : - 80066b0: b500 push {lr} - 80066b2: b08b sub sp, #44 ; 0x2c - 80066b4: 2323 movs r3, #35 ; 0x23 - 80066b6: 9001 str r0, [sp, #4] - 80066b8: 4668 mov r0, sp - 80066ba: f88d 3000 strb.w r3, [sp] - 80066be: f002 fcf7 bl 80090b0 - 80066c2: 3800 subs r0, #0 - 80066c4: bf18 it ne - 80066c6: 2001 movne r0, #1 - 80066c8: 4240 negs r0, r0 - 80066ca: b00b add sp, #44 ; 0x2c - 80066cc: f85d fb04 ldr.w pc, [sp], #4 +080066c4 : + 80066c4: b500 push {lr} + 80066c6: b08b sub sp, #44 ; 0x2c + 80066c8: 2323 movs r3, #35 ; 0x23 + 80066ca: 9001 str r0, [sp, #4] + 80066cc: 4668 mov r0, sp + 80066ce: f88d 3000 strb.w r3, [sp] + 80066d2: f002 fcf7 bl 80090c4 + 80066d6: 3800 subs r0, #0 + 80066d8: bf18 it ne + 80066da: 2001 movne r0, #1 + 80066dc: 4240 negs r0, r0 + 80066de: b00b add sp, #44 ; 0x2c + 80066e0: f85d fb04 ldr.w pc, [sp], #4 -080066d0 : - 80066d0: b570 push {r4, r5, r6, lr} - 80066d2: 4c65 ldr r4, [pc, #404] ; (8006868 ) - 80066d4: 4601 mov r1, r0 - 80066d6: b08e sub sp, #56 ; 0x38 - 80066d8: 2218 movs r2, #24 - 80066da: 4620 mov r0, r4 - 80066dc: f006 f8fe bl 800c8dc - 80066e0: 4b62 ldr r3, [pc, #392] ; (800686c ) - 80066e2: 2200 movs r2, #0 - 80066e4: 701a strb r2, [r3, #0] - 80066e6: f7fb ffe3 bl 80026b0 - 80066ea: 7823 ldrb r3, [r4, #0] - 80066ec: 6840 ldr r0, [r0, #4] - 80066ee: 2201 movs r2, #1 - 80066f0: fa02 f103 lsl.w r1, r2, r3 - 80066f4: 4001 ands r1, r0 - 80066f6: d104 bne.n 8006702 - 80066f8: 4b5d ldr r3, [pc, #372] ; (8006870 ) - 80066fa: 4608 mov r0, r1 - 80066fc: f008 f8e4 bl 800e8c8 - 8006700: e7fe b.n 8006700 - 8006702: 495c ldr r1, [pc, #368] ; (8006874 ) - 8006704: 485c ldr r0, [pc, #368] ; (8006878 ) - 8006706: 461a mov r2, r3 - 8006708: f002 f932 bl 8008970 - 800670c: b118 cbz r0, 8006716 - 800670e: f04f 30ff mov.w r0, #4294967295 - 8006712: b00e add sp, #56 ; 0x38 - 8006714: bd70 pop {r4, r5, r6, pc} - 8006716: 2327 movs r3, #39 ; 0x27 - 8006718: a804 add r0, sp, #16 - 800671a: f88d 3010 strb.w r3, [sp, #16] - 800671e: f002 fcc7 bl 80090b0 - 8006722: 4e56 ldr r6, [pc, #344] ; (800687c ) - 8006724: 4d56 ldr r5, [pc, #344] ; (8006880 ) - 8006726: 2800 cmp r0, #0 - 8006728: d170 bne.n 800680c - 800672a: 2301 movs r3, #1 - 800672c: 7033 strb r3, [r6, #0] - 800672e: 682b ldr r3, [r5, #0] - 8006730: 69db ldr r3, [r3, #28] - 8006732: b10b cbz r3, 8006738 - 8006734: 2000 movs r0, #0 - 8006736: 4798 blx r3 - 8006738: 2327 movs r3, #39 ; 0x27 - 800673a: a804 add r0, sp, #16 - 800673c: f88d 3010 strb.w r3, [sp, #16] - 8006740: f002 fb8e bl 8008e60 - 8006744: 9b05 ldr r3, [sp, #20] - 8006746: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 800674a: 7022 strb r2, [r4, #0] - 800674c: f893 2118 ldrb.w r2, [r3, #280] ; 0x118 - 8006750: f893 311a ldrb.w r3, [r3, #282] ; 0x11a - 8006754: 7062 strb r2, [r4, #1] - 8006756: 70a3 strb r3, [r4, #2] - 8006758: 4b46 ldr r3, [pc, #280] ; (8006874 ) - 800675a: e9d3 0102 ldrd r0, r1, [r3, #8] - 800675e: f005 ffaf bl 800c6c0 - 8006762: 4605 mov r5, r0 - 8006764: 2800 cmp r0, #0 - 8006766: d1d2 bne.n 800670e - 8006768: 4e46 ldr r6, [pc, #280] ; (8006884 ) - 800676a: 2306 movs r3, #6 - 800676c: a804 add r0, sp, #16 - 800676e: f88d 3010 strb.w r3, [sp, #16] - 8006772: f002 fb75 bl 8008e60 - 8006776: 9b05 ldr r3, [sp, #20] - 8006778: 6173 str r3, [r6, #20] - 800677a: a804 add r0, sp, #16 - 800677c: f002 fc98 bl 80090b0 - 8006780: 2302 movs r3, #2 - 8006782: a804 add r0, sp, #16 - 8006784: f88d 3010 strb.w r3, [sp, #16] - 8006788: 9605 str r6, [sp, #20] - 800678a: f002 fb69 bl 8008e60 - 800678e: 3608 adds r6, #8 - 8006790: 2303 movs r3, #3 - 8006792: a804 add r0, sp, #16 - 8006794: f88d 3010 strb.w r3, [sp, #16] - 8006798: 9605 str r6, [sp, #20] - 800679a: f002 fb61 bl 8008e60 - 800679e: 260f movs r6, #15 - 80067a0: f006 f852 bl 800c848 - 80067a4: 2301 movs r3, #1 +080066e4 : + 80066e4: b570 push {r4, r5, r6, lr} + 80066e6: 4c65 ldr r4, [pc, #404] ; (800687c ) + 80066e8: 4601 mov r1, r0 + 80066ea: b08e sub sp, #56 ; 0x38 + 80066ec: 2218 movs r2, #24 + 80066ee: 4620 mov r0, r4 + 80066f0: f006 f8fe bl 800c8f0 + 80066f4: 4b62 ldr r3, [pc, #392] ; (8006880 ) + 80066f6: 2200 movs r2, #0 + 80066f8: 701a strb r2, [r3, #0] + 80066fa: f7fb ffe3 bl 80026c4 + 80066fe: 7823 ldrb r3, [r4, #0] + 8006700: 6840 ldr r0, [r0, #4] + 8006702: 2201 movs r2, #1 + 8006704: fa02 f103 lsl.w r1, r2, r3 + 8006708: 4001 ands r1, r0 + 800670a: d104 bne.n 8006716 + 800670c: 4b5d ldr r3, [pc, #372] ; (8006884 ) + 800670e: 4608 mov r0, r1 + 8006710: f008 f8e4 bl 800e8dc + 8006714: e7fe b.n 8006714 + 8006716: 495c ldr r1, [pc, #368] ; (8006888 ) + 8006718: 485c ldr r0, [pc, #368] ; (800688c ) + 800671a: 461a mov r2, r3 + 800671c: f002 f932 bl 8008984 + 8006720: b118 cbz r0, 800672a + 8006722: f04f 30ff mov.w r0, #4294967295 + 8006726: b00e add sp, #56 ; 0x38 + 8006728: bd70 pop {r4, r5, r6, pc} + 800672a: 2327 movs r3, #39 ; 0x27 + 800672c: a804 add r0, sp, #16 + 800672e: f88d 3010 strb.w r3, [sp, #16] + 8006732: f002 fcc7 bl 80090c4 + 8006736: 4e56 ldr r6, [pc, #344] ; (8006890 ) + 8006738: 4d56 ldr r5, [pc, #344] ; (8006894 ) + 800673a: 2800 cmp r0, #0 + 800673c: d170 bne.n 8006820 + 800673e: 2301 movs r3, #1 + 8006740: 7033 strb r3, [r6, #0] + 8006742: 682b ldr r3, [r5, #0] + 8006744: 69db ldr r3, [r3, #28] + 8006746: b10b cbz r3, 800674c + 8006748: 2000 movs r0, #0 + 800674a: 4798 blx r3 + 800674c: 2327 movs r3, #39 ; 0x27 + 800674e: a804 add r0, sp, #16 + 8006750: f88d 3010 strb.w r3, [sp, #16] + 8006754: f002 fb8e bl 8008e74 + 8006758: 9b05 ldr r3, [sp, #20] + 800675a: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 800675e: 7022 strb r2, [r4, #0] + 8006760: f893 2118 ldrb.w r2, [r3, #280] ; 0x118 + 8006764: f893 311a ldrb.w r3, [r3, #282] ; 0x11a + 8006768: 7062 strb r2, [r4, #1] + 800676a: 70a3 strb r3, [r4, #2] + 800676c: 4b46 ldr r3, [pc, #280] ; (8006888 ) + 800676e: e9d3 0102 ldrd r0, r1, [r3, #8] + 8006772: f005 ffaf bl 800c6d4 + 8006776: 4605 mov r5, r0 + 8006778: 2800 cmp r0, #0 + 800677a: d1d2 bne.n 8006722 + 800677c: 4e46 ldr r6, [pc, #280] ; (8006898 ) + 800677e: 2306 movs r3, #6 + 8006780: a804 add r0, sp, #16 + 8006782: f88d 3010 strb.w r3, [sp, #16] + 8006786: f002 fb75 bl 8008e74 + 800678a: 9b05 ldr r3, [sp, #20] + 800678c: 6173 str r3, [r6, #20] + 800678e: a804 add r0, sp, #16 + 8006790: f002 fc98 bl 80090c4 + 8006794: 2302 movs r3, #2 + 8006796: a804 add r0, sp, #16 + 8006798: f88d 3010 strb.w r3, [sp, #16] + 800679c: 9605 str r6, [sp, #20] + 800679e: f002 fb69 bl 8008e74 + 80067a2: 3608 adds r6, #8 + 80067a4: 2303 movs r3, #3 80067a6: a804 add r0, sp, #16 - 80067a8: f88d 3014 strb.w r3, [sp, #20] - 80067ac: f88d 6010 strb.w r6, [sp, #16] - 80067b0: f002 fc7e bl 80090b0 - 80067b4: 2310 movs r3, #16 - 80067b6: eb0d 0003 add.w r0, sp, r3 - 80067ba: f88d 3010 strb.w r3, [sp, #16] - 80067be: f88d 5014 strb.w r5, [sp, #20] - 80067c2: f002 fc75 bl 80090b0 - 80067c6: 2304 movs r3, #4 - 80067c8: f88d 3010 strb.w r3, [sp, #16] - 80067cc: a804 add r0, sp, #16 - 80067ce: 78a3 ldrb r3, [r4, #2] - 80067d0: f88d 3014 strb.w r3, [sp, #20] - 80067d4: f002 fc6c bl 80090b0 - 80067d8: 233a movs r3, #58 ; 0x3a - 80067da: f88d 3010 strb.w r3, [sp, #16] - 80067de: a804 add r0, sp, #16 - 80067e0: 6963 ldr r3, [r4, #20] - 80067e2: 9305 str r3, [sp, #20] - 80067e4: f002 fc64 bl 80090b0 - 80067e8: a902 add r1, sp, #8 - 80067ea: 7820 ldrb r0, [r4, #0] - 80067ec: f88d 6008 strb.w r6, [sp, #8] - 80067f0: f004 f8e8 bl 800a9c4 - 80067f4: 3800 subs r0, #0 - 80067f6: bf18 it ne - 80067f8: 2001 movne r0, #1 - 80067fa: 71e0 strb r0, [r4, #7] - 80067fc: 2014 movs r0, #20 - 80067fe: f7ff ff57 bl 80066b0 - 8006802: 79e0 ldrb r0, [r4, #7] - 8006804: f003 f9a4 bl 8009b50 - 8006808: 4628 mov r0, r5 - 800680a: e782 b.n 8006712 - 800680c: 2328 movs r3, #40 ; 0x28 - 800680e: f88d 3010 strb.w r3, [sp, #16] - 8006812: 682b ldr r3, [r5, #0] - 8006814: 691b ldr r3, [r3, #16] - 8006816: b143 cbz r3, 800682a - 8006818: a804 add r0, sp, #16 - 800681a: f002 fb21 bl 8008e60 - 800681e: 682b ldr r3, [r5, #0] - 8006820: 9805 ldr r0, [sp, #20] - 8006822: 691b ldr r3, [r3, #16] - 8006824: f240 51c4 movw r1, #1476 ; 0x5c4 - 8006828: 4798 blx r3 - 800682a: 2327 movs r3, #39 ; 0x27 + 80067a8: f88d 3010 strb.w r3, [sp, #16] + 80067ac: 9605 str r6, [sp, #20] + 80067ae: f002 fb61 bl 8008e74 + 80067b2: 260f movs r6, #15 + 80067b4: f006 f852 bl 800c85c + 80067b8: 2301 movs r3, #1 + 80067ba: a804 add r0, sp, #16 + 80067bc: f88d 3014 strb.w r3, [sp, #20] + 80067c0: f88d 6010 strb.w r6, [sp, #16] + 80067c4: f002 fc7e bl 80090c4 + 80067c8: 2310 movs r3, #16 + 80067ca: eb0d 0003 add.w r0, sp, r3 + 80067ce: f88d 3010 strb.w r3, [sp, #16] + 80067d2: f88d 5014 strb.w r5, [sp, #20] + 80067d6: f002 fc75 bl 80090c4 + 80067da: 2304 movs r3, #4 + 80067dc: f88d 3010 strb.w r3, [sp, #16] + 80067e0: a804 add r0, sp, #16 + 80067e2: 78a3 ldrb r3, [r4, #2] + 80067e4: f88d 3014 strb.w r3, [sp, #20] + 80067e8: f002 fc6c bl 80090c4 + 80067ec: 233a movs r3, #58 ; 0x3a + 80067ee: f88d 3010 strb.w r3, [sp, #16] + 80067f2: a804 add r0, sp, #16 + 80067f4: 6963 ldr r3, [r4, #20] + 80067f6: 9305 str r3, [sp, #20] + 80067f8: f002 fc64 bl 80090c4 + 80067fc: a902 add r1, sp, #8 + 80067fe: 7820 ldrb r0, [r4, #0] + 8006800: f88d 6008 strb.w r6, [sp, #8] + 8006804: f004 f8e8 bl 800a9d8 + 8006808: 3800 subs r0, #0 + 800680a: bf18 it ne + 800680c: 2001 movne r0, #1 + 800680e: 71e0 strb r0, [r4, #7] + 8006810: 2014 movs r0, #20 + 8006812: f7ff ff57 bl 80066c4 + 8006816: 79e0 ldrb r0, [r4, #7] + 8006818: f003 f9a4 bl 8009b64 + 800681c: 4628 mov r0, r5 + 800681e: e782 b.n 8006726 + 8006820: 2328 movs r3, #40 ; 0x28 + 8006822: f88d 3010 strb.w r3, [sp, #16] + 8006826: 682b ldr r3, [r5, #0] + 8006828: 691b ldr r3, [r3, #16] + 800682a: b143 cbz r3, 800683e 800682c: a804 add r0, sp, #16 - 800682e: f88d 3010 strb.w r3, [sp, #16] - 8006832: f002 fc3d bl 80090b0 - 8006836: b950 cbnz r0, 800684e - 8006838: 2301 movs r3, #1 - 800683a: a804 add r0, sp, #16 - 800683c: f88d 3010 strb.w r3, [sp, #16] - 8006840: f002 fb0e bl 8008e60 - 8006844: f89d 3014 ldrb.w r3, [sp, #20] - 8006848: 2b00 cmp r3, #0 - 800684a: f47f af6e bne.w 800672a - 800684e: 7833 ldrb r3, [r6, #0] - 8006850: 2b00 cmp r3, #0 - 8006852: f47f af6c bne.w 800672e - 8006856: 2205 movs r2, #5 - 8006858: a804 add r0, sp, #16 - 800685a: f88d 2010 strb.w r2, [sp, #16] - 800685e: 9305 str r3, [sp, #20] - 8006860: f002 fc26 bl 80090b0 - 8006864: e778 b.n 8006758 - 8006866: bf00 nop - 8006868: 20000598 .word 0x20000598 - 800686c: 2000057c .word 0x2000057c - 8006870: 0800fa54 .word 0x0800fa54 - 8006874: 200005c0 .word 0x200005c0 - 8006878: 200005d8 .word 0x200005d8 - 800687c: 20000574 .word 0x20000574 - 8006880: 20000580 .word 0x20000580 - 8006884: 2000055c .word 0x2000055c + 800682e: f002 fb21 bl 8008e74 + 8006832: 682b ldr r3, [r5, #0] + 8006834: 9805 ldr r0, [sp, #20] + 8006836: 691b ldr r3, [r3, #16] + 8006838: f240 51c4 movw r1, #1476 ; 0x5c4 + 800683c: 4798 blx r3 + 800683e: 2327 movs r3, #39 ; 0x27 + 8006840: a804 add r0, sp, #16 + 8006842: f88d 3010 strb.w r3, [sp, #16] + 8006846: f002 fc3d bl 80090c4 + 800684a: b950 cbnz r0, 8006862 + 800684c: 2301 movs r3, #1 + 800684e: a804 add r0, sp, #16 + 8006850: f88d 3010 strb.w r3, [sp, #16] + 8006854: f002 fb0e bl 8008e74 + 8006858: f89d 3014 ldrb.w r3, [sp, #20] + 800685c: 2b00 cmp r3, #0 + 800685e: f47f af6e bne.w 800673e + 8006862: 7833 ldrb r3, [r6, #0] + 8006864: 2b00 cmp r3, #0 + 8006866: f47f af6c bne.w 8006742 + 800686a: 2205 movs r2, #5 + 800686c: a804 add r0, sp, #16 + 800686e: f88d 2010 strb.w r2, [sp, #16] + 8006872: 9305 str r3, [sp, #20] + 8006874: f002 fc26 bl 80090c4 + 8006878: e778 b.n 800676c + 800687a: bf00 nop + 800687c: 20000598 .word 0x20000598 + 8006880: 2000057c .word 0x2000057c + 8006884: 0800fa6c .word 0x0800fa6c + 8006888: 200005c0 .word 0x200005c0 + 800688c: 200005d8 .word 0x200005d8 + 8006890: 20000574 .word 0x20000574 + 8006894: 20000580 .word 0x20000580 + 8006898: 2000055c .word 0x2000055c -08006888 : - 8006888: b537 push {r0, r1, r2, r4, r5, lr} - 800688a: 2300 movs r3, #0 - 800688c: 460d mov r5, r1 - 800688e: 9301 str r3, [sp, #4] - 8006890: 4604 mov r4, r0 - 8006892: b9d0 cbnz r0, 80068ca - 8006894: f000 fba8 bl 8006fe8 - 8006898: 9001 str r0, [sp, #4] - 800689a: 9b01 ldr r3, [sp, #4] - 800689c: b1d3 cbz r3, 80068d4 - 800689e: 4a0f ldr r2, [pc, #60] ; (80068dc ) - 80068a0: f842 3024 str.w r3, [r2, r4, lsl #2] - 80068a4: 4a0e ldr r2, [pc, #56] ; (80068e0 ) - 80068a6: 629a str r2, [r3, #40] ; 0x28 - 80068a8: 4a0e ldr r2, [pc, #56] ; (80068e4 ) - 80068aa: 6812 ldr r2, [r2, #0] - 80068ac: 6b91 ldr r1, [r2, #56] ; 0x38 - 80068ae: 6319 str r1, [r3, #48] ; 0x30 - 80068b0: 6c91 ldr r1, [r2, #72] ; 0x48 - 80068b2: 6359 str r1, [r3, #52] ; 0x34 - 80068b4: 6992 ldr r2, [r2, #24] - 80068b6: 490c ldr r1, [pc, #48] ; (80068e8 ) - 80068b8: 62d9 str r1, [r3, #44] ; 0x2c - 80068ba: 615a str r2, [r3, #20] - 80068bc: 4628 mov r0, r5 - 80068be: 685b ldr r3, [r3, #4] - 80068c0: 490a ldr r1, [pc, #40] ; (80068ec ) - 80068c2: 22f2 movs r2, #242 ; 0xf2 - 80068c4: 4798 blx r3 - 80068c6: 2000 movs r0, #0 - 80068c8: e006 b.n 80068d8 - 80068ca: a901 add r1, sp, #4 - 80068cc: f000 fb92 bl 8006ff4 - 80068d0: 2800 cmp r0, #0 - 80068d2: d0e2 beq.n 800689a - 80068d4: f04f 30ff mov.w r0, #4294967295 - 80068d8: b003 add sp, #12 - 80068da: bd30 pop {r4, r5, pc} - 80068dc: 20000584 .word 0x20000584 - 80068e0: 0800617d .word 0x0800617d - 80068e4: 20000580 .word 0x20000580 - 80068e8: 08006259 .word 0x08006259 - 80068ec: 20000468 .word 0x20000468 +0800689c : + 800689c: b537 push {r0, r1, r2, r4, r5, lr} + 800689e: 2300 movs r3, #0 + 80068a0: 460d mov r5, r1 + 80068a2: 9301 str r3, [sp, #4] + 80068a4: 4604 mov r4, r0 + 80068a6: b9d0 cbnz r0, 80068de + 80068a8: f000 fba8 bl 8006ffc + 80068ac: 9001 str r0, [sp, #4] + 80068ae: 9b01 ldr r3, [sp, #4] + 80068b0: b1d3 cbz r3, 80068e8 + 80068b2: 4a0f ldr r2, [pc, #60] ; (80068f0 ) + 80068b4: f842 3024 str.w r3, [r2, r4, lsl #2] + 80068b8: 4a0e ldr r2, [pc, #56] ; (80068f4 ) + 80068ba: 629a str r2, [r3, #40] ; 0x28 + 80068bc: 4a0e ldr r2, [pc, #56] ; (80068f8 ) + 80068be: 6812 ldr r2, [r2, #0] + 80068c0: 6b91 ldr r1, [r2, #56] ; 0x38 + 80068c2: 6319 str r1, [r3, #48] ; 0x30 + 80068c4: 6c91 ldr r1, [r2, #72] ; 0x48 + 80068c6: 6359 str r1, [r3, #52] ; 0x34 + 80068c8: 6992 ldr r2, [r2, #24] + 80068ca: 490c ldr r1, [pc, #48] ; (80068fc ) + 80068cc: 62d9 str r1, [r3, #44] ; 0x2c + 80068ce: 615a str r2, [r3, #20] + 80068d0: 4628 mov r0, r5 + 80068d2: 685b ldr r3, [r3, #4] + 80068d4: 490a ldr r1, [pc, #40] ; (8006900 ) + 80068d6: 22f2 movs r2, #242 ; 0xf2 + 80068d8: 4798 blx r3 + 80068da: 2000 movs r0, #0 + 80068dc: e006 b.n 80068ec + 80068de: a901 add r1, sp, #4 + 80068e0: f000 fb92 bl 8007008 + 80068e4: 2800 cmp r0, #0 + 80068e6: d0e2 beq.n 80068ae + 80068e8: f04f 30ff mov.w r0, #4294967295 + 80068ec: b003 add sp, #12 + 80068ee: bd30 pop {r4, r5, pc} + 80068f0: 20000584 .word 0x20000584 + 80068f4: 08006191 .word 0x08006191 + 80068f8: 20000580 .word 0x20000580 + 80068fc: 0800626d .word 0x0800626d + 8006900: 20000468 .word 0x20000468 -080068f0 : - 80068f0: 4b19 ldr r3, [pc, #100] ; (8006958 ) - 80068f2: b507 push {r0, r1, r2, lr} - 80068f4: 6018 str r0, [r3, #0] - 80068f6: 4b19 ldr r3, [pc, #100] ; (800695c ) - 80068f8: 4a19 ldr r2, [pc, #100] ; (8006960 ) - 80068fa: 601a str r2, [r3, #0] - 80068fc: 4a19 ldr r2, [pc, #100] ; (8006964 ) - 80068fe: 605a str r2, [r3, #4] - 8006900: 4a19 ldr r2, [pc, #100] ; (8006968 ) - 8006902: 609a str r2, [r3, #8] - 8006904: 4a19 ldr r2, [pc, #100] ; (800696c ) - 8006906: 60da str r2, [r3, #12] - 8006908: 4b19 ldr r3, [pc, #100] ; (8006970 ) - 800690a: 6802 ldr r2, [r0, #0] - 800690c: 601a str r2, [r3, #0] - 800690e: 6842 ldr r2, [r0, #4] - 8006910: 605a str r2, [r3, #4] - 8006912: 6882 ldr r2, [r0, #8] - 8006914: 609a str r2, [r3, #8] - 8006916: 68c2 ldr r2, [r0, #12] - 8006918: 60da str r2, [r3, #12] - 800691a: 4a16 ldr r2, [pc, #88] ; (8006974 ) - 800691c: 611a str r2, [r3, #16] - 800691e: 6982 ldr r2, [r0, #24] - 8006920: 615a str r2, [r3, #20] - 8006922: 4b15 ldr r3, [pc, #84] ; (8006978 ) - 8006924: 6bc2 ldr r2, [r0, #60] ; 0x3c - 8006926: 605a str r2, [r3, #4] - 8006928: 4a14 ldr r2, [pc, #80] ; (800697c ) - 800692a: 9101 str r1, [sp, #4] - 800692c: 6019 str r1, [r3, #0] - 800692e: 609a str r2, [r3, #8] - 8006930: 4619 mov r1, r3 - 8006932: 4a13 ldr r2, [pc, #76] ; (8006980 ) - 8006934: 60da str r2, [r3, #12] - 8006936: 2000 movs r0, #0 - 8006938: f7ff ffa6 bl 8006888 - 800693c: b948 cbnz r0, 8006952 - 800693e: a801 add r0, sp, #4 - 8006940: f000 fb56 bl 8006ff0 - 8006944: 3800 subs r0, #0 - 8006946: bf18 it ne - 8006948: 2001 movne r0, #1 - 800694a: 4240 negs r0, r0 - 800694c: b003 add sp, #12 - 800694e: f85d fb04 ldr.w pc, [sp], #4 - 8006952: f04f 30ff mov.w r0, #4294967295 - 8006956: e7f9 b.n 800694c - 8006958: 20000580 .word 0x20000580 - 800695c: 200005d8 .word 0x200005d8 - 8006960: 080062e1 .word 0x080062e1 - 8006964: 080065e9 .word 0x080065e9 - 8006968: 08006a01 .word 0x08006a01 - 800696c: 08006281 .word 0x08006281 - 8006970: 200005c0 .word 0x200005c0 - 8006974: 0800a975 .word 0x0800a975 - 8006978: 200005b0 .word 0x200005b0 - 800697c: 0800614d .word 0x0800614d - 8006980: 08006165 .word 0x08006165 +08006904 : + 8006904: 4b19 ldr r3, [pc, #100] ; (800696c ) + 8006906: b507 push {r0, r1, r2, lr} + 8006908: 6018 str r0, [r3, #0] + 800690a: 4b19 ldr r3, [pc, #100] ; (8006970 ) + 800690c: 4a19 ldr r2, [pc, #100] ; (8006974 ) + 800690e: 601a str r2, [r3, #0] + 8006910: 4a19 ldr r2, [pc, #100] ; (8006978 ) + 8006912: 605a str r2, [r3, #4] + 8006914: 4a19 ldr r2, [pc, #100] ; (800697c ) + 8006916: 609a str r2, [r3, #8] + 8006918: 4a19 ldr r2, [pc, #100] ; (8006980 ) + 800691a: 60da str r2, [r3, #12] + 800691c: 4b19 ldr r3, [pc, #100] ; (8006984 ) + 800691e: 6802 ldr r2, [r0, #0] + 8006920: 601a str r2, [r3, #0] + 8006922: 6842 ldr r2, [r0, #4] + 8006924: 605a str r2, [r3, #4] + 8006926: 6882 ldr r2, [r0, #8] + 8006928: 609a str r2, [r3, #8] + 800692a: 68c2 ldr r2, [r0, #12] + 800692c: 60da str r2, [r3, #12] + 800692e: 4a16 ldr r2, [pc, #88] ; (8006988 ) + 8006930: 611a str r2, [r3, #16] + 8006932: 6982 ldr r2, [r0, #24] + 8006934: 615a str r2, [r3, #20] + 8006936: 4b15 ldr r3, [pc, #84] ; (800698c ) + 8006938: 6bc2 ldr r2, [r0, #60] ; 0x3c + 800693a: 605a str r2, [r3, #4] + 800693c: 4a14 ldr r2, [pc, #80] ; (8006990 ) + 800693e: 9101 str r1, [sp, #4] + 8006940: 6019 str r1, [r3, #0] + 8006942: 609a str r2, [r3, #8] + 8006944: 4619 mov r1, r3 + 8006946: 4a13 ldr r2, [pc, #76] ; (8006994 ) + 8006948: 60da str r2, [r3, #12] + 800694a: 2000 movs r0, #0 + 800694c: f7ff ffa6 bl 800689c + 8006950: b948 cbnz r0, 8006966 + 8006952: a801 add r0, sp, #4 + 8006954: f000 fb56 bl 8007004 + 8006958: 3800 subs r0, #0 + 800695a: bf18 it ne + 800695c: 2001 movne r0, #1 + 800695e: 4240 negs r0, r0 + 8006960: b003 add sp, #12 + 8006962: f85d fb04 ldr.w pc, [sp], #4 + 8006966: f04f 30ff mov.w r0, #4294967295 + 800696a: e7f9 b.n 8006960 + 800696c: 20000580 .word 0x20000580 + 8006970: 200005d8 .word 0x200005d8 + 8006974: 080062f5 .word 0x080062f5 + 8006978: 080065fd .word 0x080065fd + 800697c: 08006a15 .word 0x08006a15 + 8006980: 08006295 .word 0x08006295 + 8006984: 200005c0 .word 0x200005c0 + 8006988: 0800a989 .word 0x0800a989 + 800698c: 200005b0 .word 0x200005b0 + 8006990: 08006161 .word 0x08006161 + 8006994: 08006179 .word 0x08006179 -08006984 : - 8006984: b151 cbz r1, 800699c - 8006986: b118 cbz r0, 8006990 - 8006988: 2801 cmp r0, #1 - 800698a: d004 beq.n 8006996 - 800698c: 2000 movs r0, #0 - 800698e: 4770 bx lr - 8006990: 4b04 ldr r3, [pc, #16] ; (80069a4 ) - 8006992: 600b str r3, [r1, #0] - 8006994: 4770 bx lr - 8006996: 4b04 ldr r3, [pc, #16] ; (80069a8 ) - 8006998: 600b str r3, [r1, #0] - 800699a: e7f7 b.n 800698c - 800699c: f04f 30ff mov.w r0, #4294967295 - 80069a0: 4770 bx lr - 80069a2: bf00 nop - 80069a4: 01000400 .word 0x01000400 - 80069a8: 02010001 .word 0x02010001 +08006998 : + 8006998: b151 cbz r1, 80069b0 + 800699a: b118 cbz r0, 80069a4 + 800699c: 2801 cmp r0, #1 + 800699e: d004 beq.n 80069aa + 80069a0: 2000 movs r0, #0 + 80069a2: 4770 bx lr + 80069a4: 4b04 ldr r3, [pc, #16] ; (80069b8 ) + 80069a6: 600b str r3, [r1, #0] + 80069a8: 4770 bx lr + 80069aa: 4b04 ldr r3, [pc, #16] ; (80069bc ) + 80069ac: 600b str r3, [r1, #0] + 80069ae: e7f7 b.n 80069a0 + 80069b0: f04f 30ff mov.w r0, #4294967295 + 80069b4: 4770 bx lr + 80069b6: bf00 nop + 80069b8: 01000400 .word 0x01000400 + 80069bc: 02010001 .word 0x02010001 -080069ac : - 80069ac: b508 push {r3, lr} - 80069ae: f003 f8eb bl 8009b88 - 80069b2: 2800 cmp r0, #0 - 80069b4: bf14 ite ne - 80069b6: f06f 0001 mvnne.w r0, #1 - 80069ba: 2000 moveq r0, #0 - 80069bc: bd08 pop {r3, pc} +080069c0 : + 80069c0: b508 push {r3, lr} + 80069c2: f003 f8eb bl 8009b9c + 80069c6: 2800 cmp r0, #0 + 80069c8: bf14 ite ne + 80069ca: f06f 0001 mvnne.w r0, #1 + 80069ce: 2000 moveq r0, #0 + 80069d0: bd08 pop {r3, pc} -080069be : - 80069be: b508 push {r3, lr} - 80069c0: f002 f9bc bl 8008d3c - 80069c4: 2800 cmp r0, #0 - 80069c6: bf14 ite ne - 80069c8: f06f 0001 mvnne.w r0, #1 - 80069cc: 2000 moveq r0, #0 - 80069ce: bd08 pop {r3, pc} +080069d2 : + 80069d2: b508 push {r3, lr} + 80069d4: f002 f9bc bl 8008d50 + 80069d8: 2800 cmp r0, #0 + 80069da: bf14 ite ne + 80069dc: f06f 0001 mvnne.w r0, #1 + 80069e0: 2000 moveq r0, #0 + 80069e2: bd08 pop {r3, pc} -080069d0 : - 80069d0: b510 push {r4, lr} - 80069d2: 4604 mov r4, r0 - 80069d4: b08a sub sp, #40 ; 0x28 - 80069d6: b918 cbnz r0, 80069e0 - 80069d8: f04f 30ff mov.w r0, #4294967295 - 80069dc: b00a add sp, #40 ; 0x28 - 80069de: bd10 pop {r4, pc} - 80069e0: 2321 movs r3, #33 ; 0x21 - 80069e2: 4668 mov r0, sp - 80069e4: f88d 3000 strb.w r3, [sp] - 80069e8: f002 fa3a bl 8008e60 - 80069ec: 2800 cmp r0, #0 - 80069ee: d1f3 bne.n 80069d8 - 80069f0: 4a02 ldr r2, [pc, #8] ; (80069fc ) - 80069f2: f99d 3004 ldrsb.w r3, [sp, #4] - 80069f6: 7023 strb r3, [r4, #0] - 80069f8: 7153 strb r3, [r2, #5] - 80069fa: e7ef b.n 80069dc - 80069fc: 20000598 .word 0x20000598 +080069e4 : + 80069e4: b510 push {r4, lr} + 80069e6: 4604 mov r4, r0 + 80069e8: b08a sub sp, #40 ; 0x28 + 80069ea: b918 cbnz r0, 80069f4 + 80069ec: f04f 30ff mov.w r0, #4294967295 + 80069f0: b00a add sp, #40 ; 0x28 + 80069f2: bd10 pop {r4, pc} + 80069f4: 2321 movs r3, #33 ; 0x21 + 80069f6: 4668 mov r0, sp + 80069f8: f88d 3000 strb.w r3, [sp] + 80069fc: f002 fa3a bl 8008e74 + 8006a00: 2800 cmp r0, #0 + 8006a02: d1f3 bne.n 80069ec + 8006a04: 4a02 ldr r2, [pc, #8] ; (8006a10 ) + 8006a06: f99d 3004 ldrsb.w r3, [sp, #4] + 8006a0a: 7023 strb r3, [r4, #0] + 8006a0c: 7153 strb r3, [r2, #5] + 8006a0e: e7ef b.n 80069f0 + 8006a10: 20000598 .word 0x20000598 -08006a00 : - 8006a00: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8006a04: 4d2e ldr r5, [pc, #184] ; (8006ac0 ) - 8006a06: 4f2f ldr r7, [pc, #188] ; (8006ac4 ) - 8006a08: 2300 movs r3, #0 - 8006a0a: 702b strb r3, [r5, #0] - 8006a0c: 7843 ldrb r3, [r0, #1] - 8006a0e: 706b strb r3, [r5, #1] - 8006a10: 683b ldr r3, [r7, #0] - 8006a12: 6a9b ldr r3, [r3, #40] ; 0x28 - 8006a14: b08a sub sp, #40 ; 0x28 - 8006a16: 4604 mov r4, r0 - 8006a18: b10b cbz r3, 8006a1e - 8006a1a: 4628 mov r0, r5 - 8006a1c: 4798 blx r3 - 8006a1e: f8df 80a8 ldr.w r8, [pc, #168] ; 8006ac8 - 8006a22: 2605 movs r6, #5 - 8006a24: f858 3b04 ldr.w r3, [r8], #4 - 8006a28: b11b cbz r3, 8006a32 - 8006a2a: 6a1b ldr r3, [r3, #32] - 8006a2c: b10b cbz r3, 8006a32 - 8006a2e: 4620 mov r0, r4 +08006a14 : + 8006a14: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8006a18: 4d2e ldr r5, [pc, #184] ; (8006ad4 ) + 8006a1a: 4f2f ldr r7, [pc, #188] ; (8006ad8 ) + 8006a1c: 2300 movs r3, #0 + 8006a1e: 702b strb r3, [r5, #0] + 8006a20: 7843 ldrb r3, [r0, #1] + 8006a22: 706b strb r3, [r5, #1] + 8006a24: 683b ldr r3, [r7, #0] + 8006a26: 6a9b ldr r3, [r3, #40] ; 0x28 + 8006a28: b08a sub sp, #40 ; 0x28 + 8006a2a: 4604 mov r4, r0 + 8006a2c: b10b cbz r3, 8006a32 + 8006a2e: 4628 mov r0, r5 8006a30: 4798 blx r3 - 8006a32: 3e01 subs r6, #1 - 8006a34: f016 06ff ands.w r6, r6, #255 ; 0xff - 8006a38: d1f4 bne.n 8006a24 - 8006a3a: 7823 ldrb r3, [r4, #0] - 8006a3c: 2b05 cmp r3, #5 - 8006a3e: d02f beq.n 8006aa0 - 8006a40: 2b0b cmp r3, #11 - 8006a42: d035 beq.n 8006ab0 - 8006a44: 2b01 cmp r3, #1 - 8006a46: d125 bne.n 8006a94 - 8006a48: 4c20 ldr r4, [pc, #128] ; (8006acc ) - 8006a4a: 2306 movs r3, #6 - 8006a4c: 4668 mov r0, sp - 8006a4e: f88d 3000 strb.w r3, [sp] - 8006a52: f002 fa05 bl 8008e60 - 8006a56: 9901 ldr r1, [sp, #4] - 8006a58: 79e0 ldrb r0, [r4, #7] - 8006a5a: f005 fe77 bl 800c74c - 8006a5e: b910 cbnz r0, 8006a66 - 8006a60: 4b1b ldr r3, [pc, #108] ; (8006ad0 ) - 8006a62: 9a01 ldr r2, [sp, #4] - 8006a64: 615a str r2, [r3, #20] - 8006a66: 481b ldr r0, [pc, #108] ; (8006ad4 ) - 8006a68: f7ff fe0a bl 8006680 - 8006a6c: 481a ldr r0, [pc, #104] ; (8006ad8 ) - 8006a6e: f7ff ffaf bl 80069d0 - 8006a72: 786b ldrb r3, [r5, #1] - 8006a74: b98b cbnz r3, 8006a9a - 8006a76: 71a3 strb r3, [r4, #6] - 8006a78: 4b18 ldr r3, [pc, #96] ; (8006adc ) - 8006a7a: 7858 ldrb r0, [r3, #1] - 8006a7c: f7ff fd56 bl 800652c - 8006a80: 683b ldr r3, [r7, #0] - 8006a82: 6a5b ldr r3, [r3, #36] ; 0x24 - 8006a84: b10b cbz r3, 8006a8a - 8006a86: 4811 ldr r0, [pc, #68] ; (8006acc ) - 8006a88: 4798 blx r3 - 8006a8a: 786b ldrb r3, [r5, #1] - 8006a8c: b913 cbnz r3, 8006a94 - 8006a8e: 79e0 ldrb r0, [r4, #7] - 8006a90: f005 feec bl 800c86c - 8006a94: b00a add sp, #40 ; 0x28 - 8006a96: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8006a9a: 23ff movs r3, #255 ; 0xff - 8006a9c: 71a3 strb r3, [r4, #6] - 8006a9e: e7ef b.n 8006a80 - 8006aa0: 4b0f ldr r3, [pc, #60] ; (8006ae0 ) - 8006aa2: 2201 movs r2, #1 - 8006aa4: 745a strb r2, [r3, #17] - 8006aa6: 7a22 ldrb r2, [r4, #8] - 8006aa8: 749a strb r2, [r3, #18] - 8006aaa: 7a62 ldrb r2, [r4, #9] - 8006aac: 74da strb r2, [r3, #19] - 8006aae: e7f1 b.n 8006a94 - 8006ab0: 7863 ldrb r3, [r4, #1] - 8006ab2: 2b00 cmp r3, #0 - 8006ab4: d0ee beq.n 8006a94 - 8006ab6: b00a add sp, #40 ; 0x28 - 8006ab8: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8006abc: f7ff bbcc b.w 8006258 - 8006ac0: 2000009c .word 0x2000009c - 8006ac4: 20000580 .word 0x20000580 - 8006ac8: 20000584 .word 0x20000584 - 8006acc: 2000007c .word 0x2000007c - 8006ad0: 2000055c .word 0x2000055c - 8006ad4: 20000080 .word 0x20000080 - 8006ad8: 20000081 .word 0x20000081 - 8006adc: 20000598 .word 0x20000598 - 8006ae0: 20000088 .word 0x20000088 + 8006a32: f8df 80a8 ldr.w r8, [pc, #168] ; 8006adc + 8006a36: 2605 movs r6, #5 + 8006a38: f858 3b04 ldr.w r3, [r8], #4 + 8006a3c: b11b cbz r3, 8006a46 + 8006a3e: 6a1b ldr r3, [r3, #32] + 8006a40: b10b cbz r3, 8006a46 + 8006a42: 4620 mov r0, r4 + 8006a44: 4798 blx r3 + 8006a46: 3e01 subs r6, #1 + 8006a48: f016 06ff ands.w r6, r6, #255 ; 0xff + 8006a4c: d1f4 bne.n 8006a38 + 8006a4e: 7823 ldrb r3, [r4, #0] + 8006a50: 2b05 cmp r3, #5 + 8006a52: d02f beq.n 8006ab4 + 8006a54: 2b0b cmp r3, #11 + 8006a56: d035 beq.n 8006ac4 + 8006a58: 2b01 cmp r3, #1 + 8006a5a: d125 bne.n 8006aa8 + 8006a5c: 4c20 ldr r4, [pc, #128] ; (8006ae0 ) + 8006a5e: 2306 movs r3, #6 + 8006a60: 4668 mov r0, sp + 8006a62: f88d 3000 strb.w r3, [sp] + 8006a66: f002 fa05 bl 8008e74 + 8006a6a: 9901 ldr r1, [sp, #4] + 8006a6c: 79e0 ldrb r0, [r4, #7] + 8006a6e: f005 fe77 bl 800c760 + 8006a72: b910 cbnz r0, 8006a7a + 8006a74: 4b1b ldr r3, [pc, #108] ; (8006ae4 ) + 8006a76: 9a01 ldr r2, [sp, #4] + 8006a78: 615a str r2, [r3, #20] + 8006a7a: 481b ldr r0, [pc, #108] ; (8006ae8 ) + 8006a7c: f7ff fe0a bl 8006694 + 8006a80: 481a ldr r0, [pc, #104] ; (8006aec ) + 8006a82: f7ff ffaf bl 80069e4 + 8006a86: 786b ldrb r3, [r5, #1] + 8006a88: b98b cbnz r3, 8006aae + 8006a8a: 71a3 strb r3, [r4, #6] + 8006a8c: 4b18 ldr r3, [pc, #96] ; (8006af0 ) + 8006a8e: 7858 ldrb r0, [r3, #1] + 8006a90: f7ff fd56 bl 8006540 + 8006a94: 683b ldr r3, [r7, #0] + 8006a96: 6a5b ldr r3, [r3, #36] ; 0x24 + 8006a98: b10b cbz r3, 8006a9e + 8006a9a: 4811 ldr r0, [pc, #68] ; (8006ae0 ) + 8006a9c: 4798 blx r3 + 8006a9e: 786b ldrb r3, [r5, #1] + 8006aa0: b913 cbnz r3, 8006aa8 + 8006aa2: 79e0 ldrb r0, [r4, #7] + 8006aa4: f005 feec bl 800c880 + 8006aa8: b00a add sp, #40 ; 0x28 + 8006aaa: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8006aae: 23ff movs r3, #255 ; 0xff + 8006ab0: 71a3 strb r3, [r4, #6] + 8006ab2: e7ef b.n 8006a94 + 8006ab4: 4b0f ldr r3, [pc, #60] ; (8006af4 ) + 8006ab6: 2201 movs r2, #1 + 8006ab8: 745a strb r2, [r3, #17] + 8006aba: 7a22 ldrb r2, [r4, #8] + 8006abc: 749a strb r2, [r3, #18] + 8006abe: 7a62 ldrb r2, [r4, #9] + 8006ac0: 74da strb r2, [r3, #19] + 8006ac2: e7f1 b.n 8006aa8 + 8006ac4: 7863 ldrb r3, [r4, #1] + 8006ac6: 2b00 cmp r3, #0 + 8006ac8: d0ee beq.n 8006aa8 + 8006aca: b00a add sp, #40 ; 0x28 + 8006acc: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8006ad0: f7ff bbcc b.w 800626c + 8006ad4: 2000009c .word 0x2000009c + 8006ad8: 20000580 .word 0x20000580 + 8006adc: 20000584 .word 0x20000584 + 8006ae0: 2000007c .word 0x2000007c + 8006ae4: 2000055c .word 0x2000055c + 8006ae8: 20000080 .word 0x20000080 + 8006aec: 20000081 .word 0x20000081 + 8006af0: 20000598 .word 0x20000598 + 8006af4: 20000088 .word 0x20000088 -08006ae4 : - 8006ae4: b530 push {r4, r5, lr} - 8006ae6: b08b sub sp, #44 ; 0x2c - 8006ae8: f7ff ff69 bl 80069be - 8006aec: 4604 mov r4, r0 - 8006aee: b9f0 cbnz r0, 8006b2e - 8006af0: f003 ff48 bl 800a984 - 8006af4: 1c83 adds r3, r0, #2 - 8006af6: d01d beq.n 8006b34 - 8006af8: b9f8 cbnz r0, 8006b3a - 8006afa: 4d13 ldr r5, [pc, #76] ; (8006b48 ) - 8006afc: 682b ldr r3, [r5, #0] - 8006afe: 695b ldr r3, [r3, #20] - 8006b00: b1db cbz r3, 8006b3a - 8006b02: 2327 movs r3, #39 ; 0x27 - 8006b04: 4668 mov r0, sp - 8006b06: f88d 3000 strb.w r3, [sp] - 8006b0a: f002 f9a9 bl 8008e60 - 8006b0e: 682b ldr r3, [r5, #0] - 8006b10: 9801 ldr r0, [sp, #4] +08006af8 : + 8006af8: b530 push {r4, r5, lr} + 8006afa: b08b sub sp, #44 ; 0x2c + 8006afc: f7ff ff69 bl 80069d2 + 8006b00: 4604 mov r4, r0 + 8006b02: b9f0 cbnz r0, 8006b42 + 8006b04: f003 ff48 bl 800a998 + 8006b08: 1c83 adds r3, r0, #2 + 8006b0a: d01d beq.n 8006b48 + 8006b0c: b9f8 cbnz r0, 8006b4e + 8006b0e: 4d13 ldr r5, [pc, #76] ; (8006b5c ) + 8006b10: 682b ldr r3, [r5, #0] 8006b12: 695b ldr r3, [r3, #20] - 8006b14: f44f 61b9 mov.w r1, #1480 ; 0x5c8 - 8006b18: 4798 blx r3 - 8006b1a: f003 ff45 bl 800a9a8 - 8006b1e: b978 cbnz r0, 8006b40 - 8006b20: b92c cbnz r4, 8006b2e - 8006b22: 4b09 ldr r3, [pc, #36] ; (8006b48 ) - 8006b24: 681b ldr r3, [r3, #0] - 8006b26: 69db ldr r3, [r3, #28] - 8006b28: b10b cbz r3, 8006b2e - 8006b2a: 2001 movs r0, #1 + 8006b14: b1db cbz r3, 8006b4e + 8006b16: 2327 movs r3, #39 ; 0x27 + 8006b18: 4668 mov r0, sp + 8006b1a: f88d 3000 strb.w r3, [sp] + 8006b1e: f002 f9a9 bl 8008e74 + 8006b22: 682b ldr r3, [r5, #0] + 8006b24: 9801 ldr r0, [sp, #4] + 8006b26: 695b ldr r3, [r3, #20] + 8006b28: f44f 61b9 mov.w r1, #1480 ; 0x5c8 8006b2c: 4798 blx r3 - 8006b2e: 4620 mov r0, r4 - 8006b30: b00b add sp, #44 ; 0x2c - 8006b32: bd30 pop {r4, r5, pc} - 8006b34: f06f 0407 mvn.w r4, #7 - 8006b38: e7ef b.n 8006b1a - 8006b3a: f04f 34ff mov.w r4, #4294967295 - 8006b3e: e7ec b.n 8006b1a - 8006b40: f04f 34ff mov.w r4, #4294967295 - 8006b44: e7f3 b.n 8006b2e - 8006b46: bf00 nop - 8006b48: 20000580 .word 0x20000580 + 8006b2e: f003 ff45 bl 800a9bc + 8006b32: b978 cbnz r0, 8006b54 + 8006b34: b92c cbnz r4, 8006b42 + 8006b36: 4b09 ldr r3, [pc, #36] ; (8006b5c ) + 8006b38: 681b ldr r3, [r3, #0] + 8006b3a: 69db ldr r3, [r3, #28] + 8006b3c: b10b cbz r3, 8006b42 + 8006b3e: 2001 movs r0, #1 + 8006b40: 4798 blx r3 + 8006b42: 4620 mov r0, r4 + 8006b44: b00b add sp, #44 ; 0x2c + 8006b46: bd30 pop {r4, r5, pc} + 8006b48: f06f 0407 mvn.w r4, #7 + 8006b4c: e7ef b.n 8006b2e + 8006b4e: f04f 34ff mov.w r4, #4294967295 + 8006b52: e7ec b.n 8006b2e + 8006b54: f04f 34ff mov.w r4, #4294967295 + 8006b58: e7f3 b.n 8006b42 + 8006b5a: bf00 nop + 8006b5c: 20000580 .word 0x20000580 -08006b4c : - 8006b4c: 4b01 ldr r3, [pc, #4] ; (8006b54 ) - 8006b4e: 7818 ldrb r0, [r3, #0] - 8006b50: 4770 bx lr - 8006b52: bf00 nop - 8006b54: 200005ec .word 0x200005ec - -08006b58 : - 8006b58: 4b01 ldr r3, [pc, #4] ; (8006b60 ) - 8006b5a: 7858 ldrb r0, [r3, #1] - 8006b5c: 4770 bx lr - 8006b5e: bf00 nop - 8006b60: 200005ec .word 0x200005ec - -08006b64 : +08006b60 : + 8006b60: 4b01 ldr r3, [pc, #4] ; (8006b68 ) + 8006b62: 7818 ldrb r0, [r3, #0] 8006b64: 4770 bx lr + 8006b66: bf00 nop + 8006b68: 200005ec .word 0x200005ec + +08006b6c : + 8006b6c: 4b01 ldr r3, [pc, #4] ; (8006b74 ) + 8006b6e: 7858 ldrb r0, [r3, #1] + 8006b70: 4770 bx lr + 8006b72: bf00 nop + 8006b74: 200005ec .word 0x200005ec + +08006b78 : + 8006b78: 4770 bx lr ... -08006b68 : - 8006b68: 4b04 ldr r3, [pc, #16] ; (8006b7c ) - 8006b6a: 7a9a ldrb r2, [r3, #10] - 8006b6c: b10a cbz r2, 8006b72 - 8006b6e: 2201 movs r2, #1 - 8006b70: 705a strb r2, [r3, #1] - 8006b72: 4b03 ldr r3, [pc, #12] ; (8006b80 ) - 8006b74: 695b ldr r3, [r3, #20] - 8006b76: b103 cbz r3, 8006b7a - 8006b78: 4718 bx r3 - 8006b7a: 4770 bx lr - 8006b7c: 200005ec .word 0x200005ec - 8006b80: 200000b8 .word 0x200000b8 +08006b7c : + 8006b7c: 4b04 ldr r3, [pc, #16] ; (8006b90 ) + 8006b7e: 7a9a ldrb r2, [r3, #10] + 8006b80: b10a cbz r2, 8006b86 + 8006b82: 2201 movs r2, #1 + 8006b84: 705a strb r2, [r3, #1] + 8006b86: 4b03 ldr r3, [pc, #12] ; (8006b94 ) + 8006b88: 695b ldr r3, [r3, #20] + 8006b8a: b103 cbz r3, 8006b8e + 8006b8c: 4718 bx r3 + 8006b8e: 4770 bx lr + 8006b90: 200005ec .word 0x200005ec + 8006b94: 200000b8 .word 0x200000b8 -08006b84 : - 8006b84: b573 push {r0, r1, r4, r5, r6, lr} - 8006b86: 4c22 ldr r4, [pc, #136] ; (8006c10 ) - 8006b88: 7863 ldrb r3, [r4, #1] - 8006b8a: 2b00 cmp r3, #0 - 8006b8c: d033 beq.n 8006bf6 - 8006b8e: f008 f985 bl 800ee9c - 8006b92: 6866 ldr r6, [r4, #4] - 8006b94: 4605 mov r5, r0 - 8006b96: f7ff fbcd bl 8006334 - 8006b9a: 4406 add r6, r0 - 8006b9c: 42ae cmp r6, r5 - 8006b9e: d214 bcs.n 8006bca - 8006ba0: 7aa3 ldrb r3, [r4, #10] - 8006ba2: b193 cbz r3, 8006bca - 8006ba4: 22e0 movs r2, #224 ; 0xe0 - 8006ba6: f88d 2000 strb.w r2, [sp] - 8006baa: f88d 3001 strb.w r3, [sp, #1] - 8006bae: 7a21 ldrb r1, [r4, #8] - 8006bb0: 68e3 ldr r3, [r4, #12] - 8006bb2: 9301 str r3, [sp, #4] - 8006bb4: 2201 movs r2, #1 - 8006bb6: 4668 mov r0, sp - 8006bb8: f7ff fbec bl 8006394 - 8006bbc: b108 cbz r0, 8006bc2 - 8006bbe: 3007 adds r0, #7 - 8006bc0: d110 bne.n 8006be4 - 8006bc2: 2300 movs r3, #0 - 8006bc4: 7063 strb r3, [r4, #1] - 8006bc6: 72a3 strb r3, [r4, #10] - 8006bc8: 6065 str r5, [r4, #4] - 8006bca: f894 3034 ldrb.w r3, [r4, #52] ; 0x34 - 8006bce: b1eb cbz r3, 8006c0c - 8006bd0: 2300 movs r3, #0 - 8006bd2: f884 3034 strb.w r3, [r4, #52] ; 0x34 - 8006bd6: 4b0f ldr r3, [pc, #60] ; (8006c14 ) - 8006bd8: 6b5b ldr r3, [r3, #52] ; 0x34 - 8006bda: b1bb cbz r3, 8006c0c - 8006bdc: b002 add sp, #8 - 8006bde: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 8006be2: 4718 bx r3 - 8006be4: f240 51dc movw r1, #1500 ; 0x5dc - 8006be8: 480b ldr r0, [pc, #44] ; (8006c18 ) - 8006bea: f008 fa23 bl 800f034 - 8006bee: 480a ldr r0, [pc, #40] ; (8006c18 ) - 8006bf0: f008 f9e6 bl 800efc0 - 8006bf4: e7e8 b.n 8006bc8 - 8006bf6: f894 2035 ldrb.w r2, [r4, #53] ; 0x35 - 8006bfa: 2a00 cmp r2, #0 - 8006bfc: d0e5 beq.n 8006bca - 8006bfe: f894 0036 ldrb.w r0, [r4, #54] ; 0x36 - 8006c02: f884 3035 strb.w r3, [r4, #53] ; 0x35 - 8006c06: f7ff fc91 bl 800652c - 8006c0a: e7de b.n 8006bca - 8006c0c: b002 add sp, #8 - 8006c0e: bd70 pop {r4, r5, r6, pc} - 8006c10: 200005ec .word 0x200005ec - 8006c14: 200000b8 .word 0x200000b8 - 8006c18: 20000624 .word 0x20000624 +08006b98 : + 8006b98: b573 push {r0, r1, r4, r5, r6, lr} + 8006b9a: 4c22 ldr r4, [pc, #136] ; (8006c24 ) + 8006b9c: 7863 ldrb r3, [r4, #1] + 8006b9e: 2b00 cmp r3, #0 + 8006ba0: d033 beq.n 8006c0a + 8006ba2: f008 f985 bl 800eeb0 + 8006ba6: 6866 ldr r6, [r4, #4] + 8006ba8: 4605 mov r5, r0 + 8006baa: f7ff fbcd bl 8006348 + 8006bae: 4406 add r6, r0 + 8006bb0: 42ae cmp r6, r5 + 8006bb2: d214 bcs.n 8006bde + 8006bb4: 7aa3 ldrb r3, [r4, #10] + 8006bb6: b193 cbz r3, 8006bde + 8006bb8: 22e0 movs r2, #224 ; 0xe0 + 8006bba: f88d 2000 strb.w r2, [sp] + 8006bbe: f88d 3001 strb.w r3, [sp, #1] + 8006bc2: 7a21 ldrb r1, [r4, #8] + 8006bc4: 68e3 ldr r3, [r4, #12] + 8006bc6: 9301 str r3, [sp, #4] + 8006bc8: 2201 movs r2, #1 + 8006bca: 4668 mov r0, sp + 8006bcc: f7ff fbec bl 80063a8 + 8006bd0: b108 cbz r0, 8006bd6 + 8006bd2: 3007 adds r0, #7 + 8006bd4: d110 bne.n 8006bf8 + 8006bd6: 2300 movs r3, #0 + 8006bd8: 7063 strb r3, [r4, #1] + 8006bda: 72a3 strb r3, [r4, #10] + 8006bdc: 6065 str r5, [r4, #4] + 8006bde: f894 3034 ldrb.w r3, [r4, #52] ; 0x34 + 8006be2: b1eb cbz r3, 8006c20 + 8006be4: 2300 movs r3, #0 + 8006be6: f884 3034 strb.w r3, [r4, #52] ; 0x34 + 8006bea: 4b0f ldr r3, [pc, #60] ; (8006c28 ) + 8006bec: 6b5b ldr r3, [r3, #52] ; 0x34 + 8006bee: b1bb cbz r3, 8006c20 + 8006bf0: b002 add sp, #8 + 8006bf2: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 8006bf6: 4718 bx r3 + 8006bf8: f240 51dc movw r1, #1500 ; 0x5dc + 8006bfc: 480b ldr r0, [pc, #44] ; (8006c2c ) + 8006bfe: f008 fa23 bl 800f048 + 8006c02: 480a ldr r0, [pc, #40] ; (8006c2c ) + 8006c04: f008 f9e6 bl 800efd4 + 8006c08: e7e8 b.n 8006bdc + 8006c0a: f894 2035 ldrb.w r2, [r4, #53] ; 0x35 + 8006c0e: 2a00 cmp r2, #0 + 8006c10: d0e5 beq.n 8006bde + 8006c12: f894 0036 ldrb.w r0, [r4, #54] ; 0x36 + 8006c16: f884 3035 strb.w r3, [r4, #53] ; 0x35 + 8006c1a: f7ff fc91 bl 8006540 + 8006c1e: e7de b.n 8006bde + 8006c20: b002 add sp, #8 + 8006c22: bd70 pop {r4, r5, r6, pc} + 8006c24: 200005ec .word 0x200005ec + 8006c28: 200000b8 .word 0x200000b8 + 8006c2c: 20000624 .word 0x20000624 -08006c1c : - 8006c1c: b537 push {r0, r1, r2, r4, r5, lr} - 8006c1e: 4d10 ldr r5, [pc, #64] ; (8006c60 ) - 8006c20: 4c10 ldr r4, [pc, #64] ; (8006c64 ) - 8006c22: b1c8 cbz r0, 8006c58 - 8006c24: b1c1 cbz r1, 8006c58 - 8006c26: 2301 movs r3, #1 - 8006c28: 7262 strb r2, [r4, #9] - 8006c2a: 2200 movs r2, #0 - 8006c2c: 6028 str r0, [r5, #0] - 8006c2e: 60e1 str r1, [r4, #12] - 8006c30: 7023 strb r3, [r4, #0] - 8006c32: 480d ldr r0, [pc, #52] ; (8006c68 ) - 8006c34: 4b0d ldr r3, [pc, #52] ; (8006c6c ) - 8006c36: 9200 str r2, [sp, #0] - 8006c38: f04f 31ff mov.w r1, #4294967295 - 8006c3c: f008 f914 bl 800ee68 - 8006c40: 2500 movs r5, #0 - 8006c42: 480b ldr r0, [pc, #44] ; (8006c70 ) - 8006c44: 8225 strh r5, [r4, #16] - 8006c46: 2220 movs r2, #32 - 8006c48: 4629 mov r1, r5 - 8006c4a: f005 fe5b bl 800c904 - 8006c4e: 7065 strb r5, [r4, #1] - 8006c50: 74a5 strb r5, [r4, #18] - 8006c52: 86a5 strh r5, [r4, #52] ; 0x34 - 8006c54: b003 add sp, #12 - 8006c56: bd30 pop {r4, r5, pc} - 8006c58: 2300 movs r3, #0 - 8006c5a: 602b str r3, [r5, #0] - 8006c5c: 7023 strb r3, [r4, #0] - 8006c5e: e7ef b.n 8006c40 - 8006c60: 200005e8 .word 0x200005e8 - 8006c64: 200005ec .word 0x200005ec - 8006c68: 20000624 .word 0x20000624 - 8006c6c: 08006b69 .word 0x08006b69 - 8006c70: 20000600 .word 0x20000600 +08006c30 : + 8006c30: b537 push {r0, r1, r2, r4, r5, lr} + 8006c32: 4d10 ldr r5, [pc, #64] ; (8006c74 ) + 8006c34: 4c10 ldr r4, [pc, #64] ; (8006c78 ) + 8006c36: b1c8 cbz r0, 8006c6c + 8006c38: b1c1 cbz r1, 8006c6c + 8006c3a: 2301 movs r3, #1 + 8006c3c: 7262 strb r2, [r4, #9] + 8006c3e: 2200 movs r2, #0 + 8006c40: 6028 str r0, [r5, #0] + 8006c42: 60e1 str r1, [r4, #12] + 8006c44: 7023 strb r3, [r4, #0] + 8006c46: 480d ldr r0, [pc, #52] ; (8006c7c ) + 8006c48: 4b0d ldr r3, [pc, #52] ; (8006c80 ) + 8006c4a: 9200 str r2, [sp, #0] + 8006c4c: f04f 31ff mov.w r1, #4294967295 + 8006c50: f008 f914 bl 800ee7c + 8006c54: 2500 movs r5, #0 + 8006c56: 480b ldr r0, [pc, #44] ; (8006c84 ) + 8006c58: 8225 strh r5, [r4, #16] + 8006c5a: 2220 movs r2, #32 + 8006c5c: 4629 mov r1, r5 + 8006c5e: f005 fe5b bl 800c918 + 8006c62: 7065 strb r5, [r4, #1] + 8006c64: 74a5 strb r5, [r4, #18] + 8006c66: 86a5 strh r5, [r4, #52] ; 0x34 + 8006c68: b003 add sp, #12 + 8006c6a: bd30 pop {r4, r5, pc} + 8006c6c: 2300 movs r3, #0 + 8006c6e: 602b str r3, [r5, #0] + 8006c70: 7023 strb r3, [r4, #0] + 8006c72: e7ef b.n 8006c54 + 8006c74: 200005e8 .word 0x200005e8 + 8006c78: 200005ec .word 0x200005ec + 8006c7c: 20000624 .word 0x20000624 + 8006c80: 08006b7d .word 0x08006b7d + 8006c84: 20000600 .word 0x20000600 -08006c74 : - 8006c74: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8006c78: 4c8e ldr r4, [pc, #568] ; (8006eb4 ) - 8006c7a: 7823 ldrb r3, [r4, #0] - 8006c7c: b08c sub sp, #48 ; 0x30 - 8006c7e: 2b00 cmp r3, #0 - 8006c80: d056 beq.n 8006d30 - 8006c82: 78c2 ldrb r2, [r0, #3] - 8006c84: b90a cbnz r2, 8006c8a - 8006c86: 7b83 ldrb r3, [r0, #14] - 8006c88: b113 cbz r3, 8006c90 - 8006c8a: 8a23 ldrh r3, [r4, #16] - 8006c8c: 3301 adds r3, #1 - 8006c8e: 8223 strh r3, [r4, #16] - 8006c90: 7b43 ldrb r3, [r0, #13] +08006c88 : + 8006c88: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8006c8c: 4c8e ldr r4, [pc, #568] ; (8006ec8 ) + 8006c8e: 7823 ldrb r3, [r4, #0] + 8006c90: b08c sub sp, #48 ; 0x30 8006c92: 2b00 cmp r3, #0 - 8006c94: d04c beq.n 8006d30 - 8006c96: 2ae0 cmp r2, #224 ; 0xe0 - 8006c98: d14a bne.n 8006d30 - 8006c9a: 2300 movs r3, #0 - 8006c9c: 72a3 strb r3, [r4, #10] - 8006c9e: 6887 ldr r7, [r0, #8] - 8006ca0: f897 8000 ldrb.w r8, [r7] - 8006ca4: f1b8 0f22 cmp.w r8, #34 ; 0x22 - 8006ca8: d827 bhi.n 8006cfa - 8006caa: f1b8 0f22 cmp.w r8, #34 ; 0x22 - 8006cae: d830 bhi.n 8006d12 - 8006cb0: e8df f018 tbh [pc, r8, lsl #1] - 8006cb4: 00fb0041 .word 0x00fb0041 - 8006cb8: 005a0052 .word 0x005a0052 - 8006cbc: 006e0061 .word 0x006e0061 - 8006cc0: 008e0075 .word 0x008e0075 - 8006cc4: 00b4009d .word 0x00b4009d - 8006cc8: 002f00c7 .word 0x002f00c7 - 8006ccc: 002f002f .word 0x002f002f - 8006cd0: 002f002f .word 0x002f002f - 8006cd4: 002f002f .word 0x002f002f - 8006cd8: 002f002f .word 0x002f002f - 8006cdc: 002f002f .word 0x002f002f + 8006c94: d056 beq.n 8006d44 + 8006c96: 78c2 ldrb r2, [r0, #3] + 8006c98: b90a cbnz r2, 8006c9e + 8006c9a: 7b83 ldrb r3, [r0, #14] + 8006c9c: b113 cbz r3, 8006ca4 + 8006c9e: 8a23 ldrh r3, [r4, #16] + 8006ca0: 3301 adds r3, #1 + 8006ca2: 8223 strh r3, [r4, #16] + 8006ca4: 7b43 ldrb r3, [r0, #13] + 8006ca6: 2b00 cmp r3, #0 + 8006ca8: d04c beq.n 8006d44 + 8006caa: 2ae0 cmp r2, #224 ; 0xe0 + 8006cac: d14a bne.n 8006d44 + 8006cae: 2300 movs r3, #0 + 8006cb0: 72a3 strb r3, [r4, #10] + 8006cb2: 6887 ldr r7, [r0, #8] + 8006cb4: f897 8000 ldrb.w r8, [r7] + 8006cb8: f1b8 0f22 cmp.w r8, #34 ; 0x22 + 8006cbc: d827 bhi.n 8006d0e + 8006cbe: f1b8 0f22 cmp.w r8, #34 ; 0x22 + 8006cc2: d830 bhi.n 8006d26 + 8006cc4: e8df f018 tbh [pc, r8, lsl #1] + 8006cc8: 00fb0041 .word 0x00fb0041 + 8006ccc: 005a0052 .word 0x005a0052 + 8006cd0: 006e0061 .word 0x006e0061 + 8006cd4: 008e0075 .word 0x008e0075 + 8006cd8: 00b4009d .word 0x00b4009d + 8006cdc: 002f00c7 .word 0x002f00c7 8006ce0: 002f002f .word 0x002f002f 8006ce4: 002f002f .word 0x002f002f 8006ce8: 002f002f .word 0x002f002f 8006cec: 002f002f .word 0x002f002f 8006cf0: 002f002f .word 0x002f002f - 8006cf4: 00d000c9 .word 0x00d000c9 - 8006cf8: 00d4 .short 0x00d4 - 8006cfa: f1b8 0f7e cmp.w r8, #126 ; 0x7e - 8006cfe: f000 80cc beq.w 8006e9a - 8006d02: f1b8 0f7f cmp.w r8, #127 ; 0x7f - 8006d06: f000 80df beq.w 8006ec8 - 8006d0a: f1b8 0f7d cmp.w r8, #125 ; 0x7d - 8006d0e: f000 80ab beq.w 8006e68 - 8006d12: 7aa5 ldrb r5, [r4, #10] - 8006d14: 2d00 cmp r5, #0 - 8006d16: f000 815b beq.w 8006fd0 - 8006d1a: 4c67 ldr r4, [pc, #412] ; (8006eb8 ) - 8006d1c: 7a63 ldrb r3, [r4, #9] - 8006d1e: b93b cbnz r3, 8006d30 - 8006d20: f44f 717a mov.w r1, #1000 ; 0x3e8 - 8006d24: 4620 mov r0, r4 - 8006d26: f008 f985 bl 800f034 - 8006d2a: 4620 mov r0, r4 - 8006d2c: f008 f948 bl 800efc0 - 8006d30: b00c add sp, #48 ; 0x30 - 8006d32: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8006d36: 68e3 ldr r3, [r4, #12] - 8006d38: 2201 movs r2, #1 - 8006d3a: 2100 movs r1, #0 - 8006d3c: 72a2 strb r2, [r4, #10] - 8006d3e: 7019 strb r1, [r3, #0] - 8006d40: 7aa3 ldrb r3, [r4, #10] - 8006d42: 68e1 ldr r1, [r4, #12] - 8006d44: 1898 adds r0, r3, r2 - 8006d46: 72a0 strb r0, [r4, #10] - 8006d48: 2006 movs r0, #6 - 8006d4a: 54c8 strb r0, [r1, r3] - 8006d4c: 7aa3 ldrb r3, [r4, #10] - 8006d4e: 68e1 ldr r1, [r4, #12] - 8006d50: 1898 adds r0, r3, r2 - 8006d52: 72a0 strb r0, [r4, #10] - 8006d54: 54ca strb r2, [r1, r3] - 8006d56: e7dc b.n 8006d12 - 8006d58: 4b58 ldr r3, [pc, #352] ; (8006ebc ) - 8006d5a: 6a9b ldr r3, [r3, #40] ; 0x28 - 8006d5c: 2b00 cmp r3, #0 - 8006d5e: d0d8 beq.n 8006d12 - 8006d60: 2101 movs r1, #1 - 8006d62: 2002 movs r0, #2 - 8006d64: 4798 blx r3 - 8006d66: e7d4 b.n 8006d12 - 8006d68: 787b ldrb r3, [r7, #1] - 8006d6a: f884 3036 strb.w r3, [r4, #54] ; 0x36 - 8006d6e: 2301 movs r3, #1 - 8006d70: f884 3035 strb.w r3, [r4, #53] ; 0x35 - 8006d74: e7cd b.n 8006d12 - 8006d76: 2304 movs r3, #4 - 8006d78: f88d 3004 strb.w r3, [sp, #4] + 8006cf4: 002f002f .word 0x002f002f + 8006cf8: 002f002f .word 0x002f002f + 8006cfc: 002f002f .word 0x002f002f + 8006d00: 002f002f .word 0x002f002f + 8006d04: 002f002f .word 0x002f002f + 8006d08: 00d000c9 .word 0x00d000c9 + 8006d0c: 00d4 .short 0x00d4 + 8006d0e: f1b8 0f7e cmp.w r8, #126 ; 0x7e + 8006d12: f000 80cc beq.w 8006eae + 8006d16: f1b8 0f7f cmp.w r8, #127 ; 0x7f + 8006d1a: f000 80df beq.w 8006edc + 8006d1e: f1b8 0f7d cmp.w r8, #125 ; 0x7d + 8006d22: f000 80ab beq.w 8006e7c + 8006d26: 7aa5 ldrb r5, [r4, #10] + 8006d28: 2d00 cmp r5, #0 + 8006d2a: f000 815b beq.w 8006fe4 + 8006d2e: 4c67 ldr r4, [pc, #412] ; (8006ecc ) + 8006d30: 7a63 ldrb r3, [r4, #9] + 8006d32: b93b cbnz r3, 8006d44 + 8006d34: f44f 717a mov.w r1, #1000 ; 0x3e8 + 8006d38: 4620 mov r0, r4 + 8006d3a: f008 f985 bl 800f048 + 8006d3e: 4620 mov r0, r4 + 8006d40: f008 f948 bl 800efd4 + 8006d44: b00c add sp, #48 ; 0x30 + 8006d46: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 8006d4a: 68e3 ldr r3, [r4, #12] + 8006d4c: 2201 movs r2, #1 + 8006d4e: 2100 movs r1, #0 + 8006d50: 72a2 strb r2, [r4, #10] + 8006d52: 7019 strb r1, [r3, #0] + 8006d54: 7aa3 ldrb r3, [r4, #10] + 8006d56: 68e1 ldr r1, [r4, #12] + 8006d58: 1898 adds r0, r3, r2 + 8006d5a: 72a0 strb r0, [r4, #10] + 8006d5c: 2006 movs r0, #6 + 8006d5e: 54c8 strb r0, [r1, r3] + 8006d60: 7aa3 ldrb r3, [r4, #10] + 8006d62: 68e1 ldr r1, [r4, #12] + 8006d64: 1898 adds r0, r3, r2 + 8006d66: 72a0 strb r0, [r4, #10] + 8006d68: 54ca strb r2, [r1, r3] + 8006d6a: e7dc b.n 8006d26 + 8006d6c: 4b58 ldr r3, [pc, #352] ; (8006ed0 ) + 8006d6e: 6a9b ldr r3, [r3, #40] ; 0x28 + 8006d70: 2b00 cmp r3, #0 + 8006d72: d0d8 beq.n 8006d26 + 8006d74: 2101 movs r1, #1 + 8006d76: 2002 movs r0, #2 + 8006d78: 4798 blx r3 + 8006d7a: e7d4 b.n 8006d26 8006d7c: 787b ldrb r3, [r7, #1] - 8006d7e: 3b00 subs r3, #0 - 8006d80: bf18 it ne - 8006d82: 2301 movne r3, #1 - 8006d84: a801 add r0, sp, #4 - 8006d86: f88d 3008 strb.w r3, [sp, #8] - 8006d8a: f002 f991 bl 80090b0 - 8006d8e: e7c0 b.n 8006d12 - 8006d90: 7878 ldrb r0, [r7, #1] - 8006d92: 3800 subs r0, #0 + 8006d7e: f884 3036 strb.w r3, [r4, #54] ; 0x36 + 8006d82: 2301 movs r3, #1 + 8006d84: f884 3035 strb.w r3, [r4, #53] ; 0x35 + 8006d88: e7cd b.n 8006d26 + 8006d8a: 2304 movs r3, #4 + 8006d8c: f88d 3004 strb.w r3, [sp, #4] + 8006d90: 787b ldrb r3, [r7, #1] + 8006d92: 3b00 subs r3, #0 8006d94: bf18 it ne - 8006d96: 2001 movne r0, #1 - 8006d98: f002 feda bl 8009b50 - 8006d9c: e7b9 b.n 8006d12 - 8006d9e: 4e48 ldr r6, [pc, #288] ; (8006ec0 ) - 8006da0: ce0f ldmia r6!, {r0, r1, r2, r3} - 8006da2: ad01 add r5, sp, #4 - 8006da4: c50f stmia r5!, {r0, r1, r2, r3} - 8006da6: ce0f ldmia r6!, {r0, r1, r2, r3} - 8006da8: c50f stmia r5!, {r0, r1, r2, r3} - 8006daa: e896 0007 ldmia.w r6, {r0, r1, r2} - 8006dae: e885 0007 stmia.w r5, {r0, r1, r2} - 8006db2: 787b ldrb r3, [r7, #1] - 8006db4: 2b0a cmp r3, #10 - 8006db6: d8ac bhi.n 8006d12 - 8006db8: 4a42 ldr r2, [pc, #264] ; (8006ec4 ) - 8006dba: 6812 ldr r2, [r2, #0] - 8006dbc: 6852 ldr r2, [r2, #4] - 8006dbe: 2a00 cmp r2, #0 - 8006dc0: d0a7 beq.n 8006d12 - 8006dc2: a90c add r1, sp, #48 ; 0x30 - 8006dc4: eb01 0383 add.w r3, r1, r3, lsl #2 - 8006dc8: f853 0c2c ldr.w r0, [r3, #-44] - 8006dcc: 4790 blx r2 - 8006dce: e7a0 b.n 8006d12 - 8006dd0: 7878 ldrb r0, [r7, #1] - 8006dd2: 1e43 subs r3, r0, #1 - 8006dd4: 2b01 cmp r3, #1 - 8006dd6: d89c bhi.n 8006d12 - 8006dd8: 4b3a ldr r3, [pc, #232] ; (8006ec4 ) - 8006dda: 3801 subs r0, #1 - 8006ddc: 681b ldr r3, [r3, #0] - 8006dde: bf18 it ne - 8006de0: 2001 movne r0, #1 - 8006de2: 7220 strb r0, [r4, #8] - 8006de4: 689b ldr r3, [r3, #8] - 8006de6: 2b00 cmp r3, #0 - 8006de8: d093 beq.n 8006d12 - 8006dea: 4798 blx r3 - 8006dec: e791 b.n 8006d12 - 8006dee: 68e2 ldr r2, [r4, #12] - 8006df0: 2301 movs r3, #1 - 8006df2: 2108 movs r1, #8 - 8006df4: 72a3 strb r3, [r4, #10] - 8006df6: 7011 strb r1, [r2, #0] - 8006df8: 7a62 ldrb r2, [r4, #9] - 8006dfa: 7b05 ldrb r5, [r0, #12] - 8006dfc: 7aa1 ldrb r1, [r4, #10] - 8006dfe: 42aa cmp r2, r5 - 8006e00: bf28 it cs - 8006e02: 462a movcs r2, r5 - 8006e04: 4293 cmp r3, r2 - 8006e06: d284 bcs.n 8006d12 - 8006e08: 6885 ldr r5, [r0, #8] - 8006e0a: 1c5a adds r2, r3, #1 - 8006e0c: 5ceb ldrb r3, [r5, r3] - 8006e0e: 68e5 ldr r5, [r4, #12] - 8006e10: 3301 adds r3, #1 - 8006e12: 1c4e adds r6, r1, #1 - 8006e14: 72a6 strb r6, [r4, #10] - 8006e16: 546b strb r3, [r5, r1] - 8006e18: b2d3 uxtb r3, r2 - 8006e1a: e7ed b.n 8006df8 - 8006e1c: 68e3 ldr r3, [r4, #12] - 8006e1e: 2201 movs r2, #1 - 8006e20: 72a2 strb r2, [r4, #10] - 8006e22: 2209 movs r2, #9 - 8006e24: 701a strb r2, [r3, #0] - 8006e26: 7aa3 ldrb r3, [r4, #10] - 8006e28: 68e2 ldr r2, [r4, #12] - 8006e2a: 8a21 ldrh r1, [r4, #16] - 8006e2c: 1c58 adds r0, r3, #1 - 8006e2e: 72a0 strb r0, [r4, #10] - 8006e30: 54d1 strb r1, [r2, r3] - 8006e32: 7aa2 ldrb r2, [r4, #10] - 8006e34: 8a23 ldrh r3, [r4, #16] - 8006e36: 68e1 ldr r1, [r4, #12] - 8006e38: 0a1b lsrs r3, r3, #8 - 8006e3a: 1c50 adds r0, r2, #1 - 8006e3c: 72a0 strb r0, [r4, #10] - 8006e3e: 548b strb r3, [r1, r2] - 8006e40: e767 b.n 8006d12 - 8006e42: 8223 strh r3, [r4, #16] - 8006e44: e765 b.n 8006d12 - 8006e46: 2305 movs r3, #5 - 8006e48: f88d 3004 strb.w r3, [sp, #4] - 8006e4c: a801 add r0, sp, #4 - 8006e4e: f002 fbb7 bl 80095c0 - 8006e52: e75e b.n 8006d12 - 8006e54: 4b19 ldr r3, [pc, #100] ; (8006ebc ) - 8006e56: 6adb ldr r3, [r3, #44] ; 0x2c - 8006e58: 4798 blx r3 - 8006e5a: e75a b.n 8006d12 - 8006e5c: 4b19 ldr r3, [pc, #100] ; (8006ec4 ) - 8006e5e: 7878 ldrb r0, [r7, #1] - 8006e60: 681b ldr r3, [r3, #0] - 8006e62: 7560 strb r0, [r4, #21] - 8006e64: 68db ldr r3, [r3, #12] - 8006e66: e7be b.n 8006de6 - 8006e68: 7b03 ldrb r3, [r0, #12] - 8006e6a: 2b07 cmp r3, #7 - 8006e6c: f47f af51 bne.w 8006d12 - 8006e70: 2306 movs r3, #6 - 8006e72: f88d 3004 strb.w r3, [sp, #4] - 8006e76: f8b7 3001 ldrh.w r3, [r7, #1] - 8006e7a: f8ad 3008 strh.w r3, [sp, #8] - 8006e7e: 797b ldrb r3, [r7, #5] - 8006e80: 793a ldrb r2, [r7, #4] - 8006e82: 041b lsls r3, r3, #16 - 8006e84: ea43 2302 orr.w r3, r3, r2, lsl #8 - 8006e88: 78fa ldrb r2, [r7, #3] - 8006e8a: 4313 orrs r3, r2 - 8006e8c: 2264 movs r2, #100 ; 0x64 - 8006e8e: 4353 muls r3, r2 - 8006e90: 9303 str r3, [sp, #12] - 8006e92: 79bb ldrb r3, [r7, #6] - 8006e94: f88d 3010 strb.w r3, [sp, #16] - 8006e98: e7d8 b.n 8006e4c - 8006e9a: 223b movs r2, #59 ; 0x3b - 8006e9c: a801 add r0, sp, #4 - 8006e9e: f88d 2004 strb.w r2, [sp, #4] - 8006ea2: f88d 3008 strb.w r3, [sp, #8] - 8006ea6: f002 f903 bl 80090b0 - 8006eaa: 2301 movs r3, #1 - 8006eac: f884 3034 strb.w r3, [r4, #52] ; 0x34 - 8006eb0: e72f b.n 8006d12 - 8006eb2: bf00 nop - 8006eb4: 200005ec .word 0x200005ec - 8006eb8: 20000624 .word 0x20000624 - 8006ebc: 200000b8 .word 0x200000b8 - 8006ec0: 0800f4a4 .word 0x0800f4a4 - 8006ec4: 200005e8 .word 0x200005e8 - 8006ec8: 232a movs r3, #42 ; 0x2a - 8006eca: a801 add r0, sp, #4 - 8006ecc: f88d 3004 strb.w r3, [sp, #4] - 8006ed0: f001 ffc6 bl 8008e60 - 8006ed4: f894 900a ldrb.w r9, [r4, #10] - 8006ed8: 68e6 ldr r6, [r4, #12] - 8006eda: f89d 0008 ldrb.w r0, [sp, #8] - 8006ede: f89d 5009 ldrb.w r5, [sp, #9] - 8006ee2: f89d 700a ldrb.w r7, [sp, #10] - 8006ee6: f89d c00b ldrb.w ip, [sp, #11] - 8006eea: f89d 300d ldrb.w r3, [sp, #13] - 8006eee: f89d 200e ldrb.w r2, [sp, #14] - 8006ef2: f89d 100f ldrb.w r1, [sp, #15] - 8006ef6: f89d e00c ldrb.w lr, [sp, #12] - 8006efa: f109 0a01 add.w sl, r9, #1 - 8006efe: f884 a00a strb.w sl, [r4, #10] - 8006f02: f806 8009 strb.w r8, [r6, r9] - 8006f06: 4e35 ldr r6, [pc, #212] ; (8006fdc ) - 8006f08: f894 900a ldrb.w r9, [r4, #10] - 8006f0c: 6836 ldr r6, [r6, #0] - 8006f0e: f8d4 800c ldr.w r8, [r4, #12] - 8006f12: f109 0a01 add.w sl, r9, #1 - 8006f16: f884 a00a strb.w sl, [r4, #10] - 8006f1a: f896 a003 ldrb.w sl, [r6, #3] - 8006f1e: f808 a009 strb.w sl, [r8, r9] - 8006f22: f894 900a ldrb.w r9, [r4, #10] - 8006f26: f8d4 800c ldr.w r8, [r4, #12] - 8006f2a: f109 0a01 add.w sl, r9, #1 - 8006f2e: f884 a00a strb.w sl, [r4, #10] - 8006f32: f896 a002 ldrb.w sl, [r6, #2] - 8006f36: f808 a009 strb.w sl, [r8, r9] - 8006f3a: f894 900a ldrb.w r9, [r4, #10] - 8006f3e: f8d4 800c ldr.w r8, [r4, #12] - 8006f42: f109 0a01 add.w sl, r9, #1 - 8006f46: f884 a00a strb.w sl, [r4, #10] - 8006f4a: f896 a001 ldrb.w sl, [r6, #1] - 8006f4e: f808 a009 strb.w sl, [r8, r9] - 8006f52: f894 900a ldrb.w r9, [r4, #10] + 8006d96: 2301 movne r3, #1 + 8006d98: a801 add r0, sp, #4 + 8006d9a: f88d 3008 strb.w r3, [sp, #8] + 8006d9e: f002 f991 bl 80090c4 + 8006da2: e7c0 b.n 8006d26 + 8006da4: 7878 ldrb r0, [r7, #1] + 8006da6: 3800 subs r0, #0 + 8006da8: bf18 it ne + 8006daa: 2001 movne r0, #1 + 8006dac: f002 feda bl 8009b64 + 8006db0: e7b9 b.n 8006d26 + 8006db2: 4e48 ldr r6, [pc, #288] ; (8006ed4 ) + 8006db4: ce0f ldmia r6!, {r0, r1, r2, r3} + 8006db6: ad01 add r5, sp, #4 + 8006db8: c50f stmia r5!, {r0, r1, r2, r3} + 8006dba: ce0f ldmia r6!, {r0, r1, r2, r3} + 8006dbc: c50f stmia r5!, {r0, r1, r2, r3} + 8006dbe: e896 0007 ldmia.w r6, {r0, r1, r2} + 8006dc2: e885 0007 stmia.w r5, {r0, r1, r2} + 8006dc6: 787b ldrb r3, [r7, #1] + 8006dc8: 2b0a cmp r3, #10 + 8006dca: d8ac bhi.n 8006d26 + 8006dcc: 4a42 ldr r2, [pc, #264] ; (8006ed8 ) + 8006dce: 6812 ldr r2, [r2, #0] + 8006dd0: 6852 ldr r2, [r2, #4] + 8006dd2: 2a00 cmp r2, #0 + 8006dd4: d0a7 beq.n 8006d26 + 8006dd6: a90c add r1, sp, #48 ; 0x30 + 8006dd8: eb01 0383 add.w r3, r1, r3, lsl #2 + 8006ddc: f853 0c2c ldr.w r0, [r3, #-44] + 8006de0: 4790 blx r2 + 8006de2: e7a0 b.n 8006d26 + 8006de4: 7878 ldrb r0, [r7, #1] + 8006de6: 1e43 subs r3, r0, #1 + 8006de8: 2b01 cmp r3, #1 + 8006dea: d89c bhi.n 8006d26 + 8006dec: 4b3a ldr r3, [pc, #232] ; (8006ed8 ) + 8006dee: 3801 subs r0, #1 + 8006df0: 681b ldr r3, [r3, #0] + 8006df2: bf18 it ne + 8006df4: 2001 movne r0, #1 + 8006df6: 7220 strb r0, [r4, #8] + 8006df8: 689b ldr r3, [r3, #8] + 8006dfa: 2b00 cmp r3, #0 + 8006dfc: d093 beq.n 8006d26 + 8006dfe: 4798 blx r3 + 8006e00: e791 b.n 8006d26 + 8006e02: 68e2 ldr r2, [r4, #12] + 8006e04: 2301 movs r3, #1 + 8006e06: 2108 movs r1, #8 + 8006e08: 72a3 strb r3, [r4, #10] + 8006e0a: 7011 strb r1, [r2, #0] + 8006e0c: 7a62 ldrb r2, [r4, #9] + 8006e0e: 7b05 ldrb r5, [r0, #12] + 8006e10: 7aa1 ldrb r1, [r4, #10] + 8006e12: 42aa cmp r2, r5 + 8006e14: bf28 it cs + 8006e16: 462a movcs r2, r5 + 8006e18: 4293 cmp r3, r2 + 8006e1a: d284 bcs.n 8006d26 + 8006e1c: 6885 ldr r5, [r0, #8] + 8006e1e: 1c5a adds r2, r3, #1 + 8006e20: 5ceb ldrb r3, [r5, r3] + 8006e22: 68e5 ldr r5, [r4, #12] + 8006e24: 3301 adds r3, #1 + 8006e26: 1c4e adds r6, r1, #1 + 8006e28: 72a6 strb r6, [r4, #10] + 8006e2a: 546b strb r3, [r5, r1] + 8006e2c: b2d3 uxtb r3, r2 + 8006e2e: e7ed b.n 8006e0c + 8006e30: 68e3 ldr r3, [r4, #12] + 8006e32: 2201 movs r2, #1 + 8006e34: 72a2 strb r2, [r4, #10] + 8006e36: 2209 movs r2, #9 + 8006e38: 701a strb r2, [r3, #0] + 8006e3a: 7aa3 ldrb r3, [r4, #10] + 8006e3c: 68e2 ldr r2, [r4, #12] + 8006e3e: 8a21 ldrh r1, [r4, #16] + 8006e40: 1c58 adds r0, r3, #1 + 8006e42: 72a0 strb r0, [r4, #10] + 8006e44: 54d1 strb r1, [r2, r3] + 8006e46: 7aa2 ldrb r2, [r4, #10] + 8006e48: 8a23 ldrh r3, [r4, #16] + 8006e4a: 68e1 ldr r1, [r4, #12] + 8006e4c: 0a1b lsrs r3, r3, #8 + 8006e4e: 1c50 adds r0, r2, #1 + 8006e50: 72a0 strb r0, [r4, #10] + 8006e52: 548b strb r3, [r1, r2] + 8006e54: e767 b.n 8006d26 + 8006e56: 8223 strh r3, [r4, #16] + 8006e58: e765 b.n 8006d26 + 8006e5a: 2305 movs r3, #5 + 8006e5c: f88d 3004 strb.w r3, [sp, #4] + 8006e60: a801 add r0, sp, #4 + 8006e62: f002 fbb7 bl 80095d4 + 8006e66: e75e b.n 8006d26 + 8006e68: 4b19 ldr r3, [pc, #100] ; (8006ed0 ) + 8006e6a: 6adb ldr r3, [r3, #44] ; 0x2c + 8006e6c: 4798 blx r3 + 8006e6e: e75a b.n 8006d26 + 8006e70: 4b19 ldr r3, [pc, #100] ; (8006ed8 ) + 8006e72: 7878 ldrb r0, [r7, #1] + 8006e74: 681b ldr r3, [r3, #0] + 8006e76: 7560 strb r0, [r4, #21] + 8006e78: 68db ldr r3, [r3, #12] + 8006e7a: e7be b.n 8006dfa + 8006e7c: 7b03 ldrb r3, [r0, #12] + 8006e7e: 2b07 cmp r3, #7 + 8006e80: f47f af51 bne.w 8006d26 + 8006e84: 2306 movs r3, #6 + 8006e86: f88d 3004 strb.w r3, [sp, #4] + 8006e8a: f8b7 3001 ldrh.w r3, [r7, #1] + 8006e8e: f8ad 3008 strh.w r3, [sp, #8] + 8006e92: 797b ldrb r3, [r7, #5] + 8006e94: 793a ldrb r2, [r7, #4] + 8006e96: 041b lsls r3, r3, #16 + 8006e98: ea43 2302 orr.w r3, r3, r2, lsl #8 + 8006e9c: 78fa ldrb r2, [r7, #3] + 8006e9e: 4313 orrs r3, r2 + 8006ea0: 2264 movs r2, #100 ; 0x64 + 8006ea2: 4353 muls r3, r2 + 8006ea4: 9303 str r3, [sp, #12] + 8006ea6: 79bb ldrb r3, [r7, #6] + 8006ea8: f88d 3010 strb.w r3, [sp, #16] + 8006eac: e7d8 b.n 8006e60 + 8006eae: 223b movs r2, #59 ; 0x3b + 8006eb0: a801 add r0, sp, #4 + 8006eb2: f88d 2004 strb.w r2, [sp, #4] + 8006eb6: f88d 3008 strb.w r3, [sp, #8] + 8006eba: f002 f903 bl 80090c4 + 8006ebe: 2301 movs r3, #1 + 8006ec0: f884 3034 strb.w r3, [r4, #52] ; 0x34 + 8006ec4: e72f b.n 8006d26 + 8006ec6: bf00 nop + 8006ec8: 200005ec .word 0x200005ec + 8006ecc: 20000624 .word 0x20000624 + 8006ed0: 200000b8 .word 0x200000b8 + 8006ed4: 0800f4bc .word 0x0800f4bc + 8006ed8: 200005e8 .word 0x200005e8 + 8006edc: 232a movs r3, #42 ; 0x2a + 8006ede: a801 add r0, sp, #4 + 8006ee0: f88d 3004 strb.w r3, [sp, #4] + 8006ee4: f001 ffc6 bl 8008e74 + 8006ee8: f894 900a ldrb.w r9, [r4, #10] + 8006eec: 68e6 ldr r6, [r4, #12] + 8006eee: f89d 0008 ldrb.w r0, [sp, #8] + 8006ef2: f89d 5009 ldrb.w r5, [sp, #9] + 8006ef6: f89d 700a ldrb.w r7, [sp, #10] + 8006efa: f89d c00b ldrb.w ip, [sp, #11] + 8006efe: f89d 300d ldrb.w r3, [sp, #13] + 8006f02: f89d 200e ldrb.w r2, [sp, #14] + 8006f06: f89d 100f ldrb.w r1, [sp, #15] + 8006f0a: f89d e00c ldrb.w lr, [sp, #12] + 8006f0e: f109 0a01 add.w sl, r9, #1 + 8006f12: f884 a00a strb.w sl, [r4, #10] + 8006f16: f806 8009 strb.w r8, [r6, r9] + 8006f1a: 4e35 ldr r6, [pc, #212] ; (8006ff0 ) + 8006f1c: f894 900a ldrb.w r9, [r4, #10] + 8006f20: 6836 ldr r6, [r6, #0] + 8006f22: f8d4 800c ldr.w r8, [r4, #12] + 8006f26: f109 0a01 add.w sl, r9, #1 + 8006f2a: f884 a00a strb.w sl, [r4, #10] + 8006f2e: f896 a003 ldrb.w sl, [r6, #3] + 8006f32: f808 a009 strb.w sl, [r8, r9] + 8006f36: f894 900a ldrb.w r9, [r4, #10] + 8006f3a: f8d4 800c ldr.w r8, [r4, #12] + 8006f3e: f109 0a01 add.w sl, r9, #1 + 8006f42: f884 a00a strb.w sl, [r4, #10] + 8006f46: f896 a002 ldrb.w sl, [r6, #2] + 8006f4a: f808 a009 strb.w sl, [r8, r9] + 8006f4e: f894 900a ldrb.w r9, [r4, #10] + 8006f52: f8d4 800c ldr.w r8, [r4, #12] 8006f56: f109 0a01 add.w sl, r9, #1 8006f5a: f884 a00a strb.w sl, [r4, #10] - 8006f5e: f896 8000 ldrb.w r8, [r6] - 8006f62: 68e6 ldr r6, [r4, #12] - 8006f64: f806 8009 strb.w r8, [r6, r9] - 8006f68: f894 800a ldrb.w r8, [r4, #10] - 8006f6c: 68e6 ldr r6, [r4, #12] - 8006f6e: f108 0901 add.w r9, r8, #1 - 8006f72: f884 900a strb.w r9, [r4, #10] - 8006f76: f806 c008 strb.w ip, [r6, r8] - 8006f7a: f894 c00a ldrb.w ip, [r4, #10] - 8006f7e: 68e6 ldr r6, [r4, #12] - 8006f80: f10c 0801 add.w r8, ip, #1 - 8006f84: f884 800a strb.w r8, [r4, #10] - 8006f88: f806 700c strb.w r7, [r6, ip] - 8006f8c: 7aa7 ldrb r7, [r4, #10] - 8006f8e: 68e6 ldr r6, [r4, #12] - 8006f90: f107 0c01 add.w ip, r7, #1 - 8006f94: f884 c00a strb.w ip, [r4, #10] - 8006f98: 55f5 strb r5, [r6, r7] - 8006f9a: 7aa5 ldrb r5, [r4, #10] - 8006f9c: 68e6 ldr r6, [r4, #12] - 8006f9e: 1c6f adds r7, r5, #1 - 8006fa0: 72a7 strb r7, [r4, #10] - 8006fa2: 5570 strb r0, [r6, r5] - 8006fa4: 7aa0 ldrb r0, [r4, #10] - 8006fa6: 68e5 ldr r5, [r4, #12] - 8006fa8: 1c46 adds r6, r0, #1 - 8006faa: 72a6 strb r6, [r4, #10] - 8006fac: 5429 strb r1, [r5, r0] - 8006fae: 7aa1 ldrb r1, [r4, #10] - 8006fb0: 68e0 ldr r0, [r4, #12] - 8006fb2: 1c4d adds r5, r1, #1 - 8006fb4: 72a5 strb r5, [r4, #10] - 8006fb6: 5442 strb r2, [r0, r1] - 8006fb8: 7aa2 ldrb r2, [r4, #10] - 8006fba: 68e1 ldr r1, [r4, #12] - 8006fbc: 1c50 adds r0, r2, #1 - 8006fbe: 72a0 strb r0, [r4, #10] - 8006fc0: 548b strb r3, [r1, r2] - 8006fc2: 7aa3 ldrb r3, [r4, #10] - 8006fc4: 68e2 ldr r2, [r4, #12] - 8006fc6: 1c59 adds r1, r3, #1 - 8006fc8: 72a1 strb r1, [r4, #10] - 8006fca: f802 e003 strb.w lr, [r2, r3] - 8006fce: e6a0 b.n 8006d12 - 8006fd0: 4803 ldr r0, [pc, #12] ; (8006fe0 ) - 8006fd2: f007 ffa7 bl 800ef24 - 8006fd6: 7065 strb r5, [r4, #1] - 8006fd8: e6aa b.n 8006d30 - 8006fda: bf00 nop - 8006fdc: 200005e8 .word 0x200005e8 - 8006fe0: 20000624 .word 0x20000624 + 8006f5e: f896 a001 ldrb.w sl, [r6, #1] + 8006f62: f808 a009 strb.w sl, [r8, r9] + 8006f66: f894 900a ldrb.w r9, [r4, #10] + 8006f6a: f109 0a01 add.w sl, r9, #1 + 8006f6e: f884 a00a strb.w sl, [r4, #10] + 8006f72: f896 8000 ldrb.w r8, [r6] + 8006f76: 68e6 ldr r6, [r4, #12] + 8006f78: f806 8009 strb.w r8, [r6, r9] + 8006f7c: f894 800a ldrb.w r8, [r4, #10] + 8006f80: 68e6 ldr r6, [r4, #12] + 8006f82: f108 0901 add.w r9, r8, #1 + 8006f86: f884 900a strb.w r9, [r4, #10] + 8006f8a: f806 c008 strb.w ip, [r6, r8] + 8006f8e: f894 c00a ldrb.w ip, [r4, #10] + 8006f92: 68e6 ldr r6, [r4, #12] + 8006f94: f10c 0801 add.w r8, ip, #1 + 8006f98: f884 800a strb.w r8, [r4, #10] + 8006f9c: f806 700c strb.w r7, [r6, ip] + 8006fa0: 7aa7 ldrb r7, [r4, #10] + 8006fa2: 68e6 ldr r6, [r4, #12] + 8006fa4: f107 0c01 add.w ip, r7, #1 + 8006fa8: f884 c00a strb.w ip, [r4, #10] + 8006fac: 55f5 strb r5, [r6, r7] + 8006fae: 7aa5 ldrb r5, [r4, #10] + 8006fb0: 68e6 ldr r6, [r4, #12] + 8006fb2: 1c6f adds r7, r5, #1 + 8006fb4: 72a7 strb r7, [r4, #10] + 8006fb6: 5570 strb r0, [r6, r5] + 8006fb8: 7aa0 ldrb r0, [r4, #10] + 8006fba: 68e5 ldr r5, [r4, #12] + 8006fbc: 1c46 adds r6, r0, #1 + 8006fbe: 72a6 strb r6, [r4, #10] + 8006fc0: 5429 strb r1, [r5, r0] + 8006fc2: 7aa1 ldrb r1, [r4, #10] + 8006fc4: 68e0 ldr r0, [r4, #12] + 8006fc6: 1c4d adds r5, r1, #1 + 8006fc8: 72a5 strb r5, [r4, #10] + 8006fca: 5442 strb r2, [r0, r1] + 8006fcc: 7aa2 ldrb r2, [r4, #10] + 8006fce: 68e1 ldr r1, [r4, #12] + 8006fd0: 1c50 adds r0, r2, #1 + 8006fd2: 72a0 strb r0, [r4, #10] + 8006fd4: 548b strb r3, [r1, r2] + 8006fd6: 7aa3 ldrb r3, [r4, #10] + 8006fd8: 68e2 ldr r2, [r4, #12] + 8006fda: 1c59 adds r1, r3, #1 + 8006fdc: 72a1 strb r1, [r4, #10] + 8006fde: f802 e003 strb.w lr, [r2, r3] + 8006fe2: e6a0 b.n 8006d26 + 8006fe4: 4803 ldr r0, [pc, #12] ; (8006ff4 ) + 8006fe6: f007 ffa7 bl 800ef38 + 8006fea: 7065 strb r5, [r4, #1] + 8006fec: e6aa b.n 8006d44 + 8006fee: bf00 nop + 8006ff0: 200005e8 .word 0x200005e8 + 8006ff4: 20000624 .word 0x20000624 -08006fe4 : - 8006fe4: 4770 bx lr - ... - -08006fe8 : - 8006fe8: 4800 ldr r0, [pc, #0] ; (8006fec ) - 8006fea: 4770 bx lr - 8006fec: 200000b8 .word 0x200000b8 - -08006ff0 : - 8006ff0: 2000 movs r0, #0 - 8006ff2: 4770 bx lr - -08006ff4 : - 8006ff4: f04f 30ff mov.w r0, #4294967295 +08006ff8 : 8006ff8: 4770 bx lr ... -08006ffc : - 8006ffc: 4b04 ldr r3, [pc, #16] ; (8007010 ) - 8006ffe: 4a05 ldr r2, [pc, #20] ; (8007014 ) - 8007000: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 - 8007004: 2b02 cmp r3, #2 - 8007006: bf18 it ne - 8007008: 2306 movne r3, #6 - 800700a: f882 3490 strb.w r3, [r2, #1168] ; 0x490 - 800700e: 4770 bx lr - 8007010: 20000c00 .word 0x20000c00 - 8007014: 200011c8 .word 0x200011c8 +08006ffc : + 8006ffc: 4800 ldr r0, [pc, #0] ; (8007000 ) + 8006ffe: 4770 bx lr + 8007000: 200000b8 .word 0x200000b8 -08007018 : - 8007018: 4b03 ldr r3, [pc, #12] ; (8007028 ) - 800701a: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 - 800701e: b113 cbz r3, 8007026 - 8007020: 695b ldr r3, [r3, #20] - 8007022: b103 cbz r3, 8007026 - 8007024: 4718 bx r3 - 8007026: 4770 bx lr +08007004 : + 8007004: 2000 movs r0, #0 + 8007006: 4770 bx lr + +08007008 : + 8007008: f04f 30ff mov.w r0, #4294967295 + 800700c: 4770 bx lr + ... + +08007010 : + 8007010: 4b04 ldr r3, [pc, #16] ; (8007024 ) + 8007012: 4a05 ldr r2, [pc, #20] ; (8007028 ) + 8007014: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 + 8007018: 2b02 cmp r3, #2 + 800701a: bf18 it ne + 800701c: 2306 movne r3, #6 + 800701e: f882 3490 strb.w r3, [r2, #1168] ; 0x490 + 8007022: 4770 bx lr + 8007024: 20000c00 .word 0x20000c00 8007028: 200011c8 .word 0x200011c8 -0800702c : - 800702c: 4a03 ldr r2, [pc, #12] ; (800703c ) - 800702e: 7813 ldrb r3, [r2, #0] - 8007030: f043 0304 orr.w r3, r3, #4 - 8007034: 7013 strb r3, [r2, #0] - 8007036: f7ff bfef b.w 8007018 - 800703a: bf00 nop - 800703c: 200011c4 .word 0x200011c4 +0800702c : + 800702c: 4b03 ldr r3, [pc, #12] ; (800703c ) + 800702e: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 + 8007032: b113 cbz r3, 800703a + 8007034: 695b ldr r3, [r3, #20] + 8007036: b103 cbz r3, 800703a + 8007038: 4718 bx r3 + 800703a: 4770 bx lr + 800703c: 200011c8 .word 0x200011c8 -08007040 : - 8007040: b51f push {r0, r1, r2, r3, r4, lr} - 8007042: 4b0a ldr r3, [pc, #40] ; (800706c ) - 8007044: f88d 0009 strb.w r0, [sp, #9] - 8007048: f893 207c ldrb.w r2, [r3, #124] ; 0x7c - 800704c: f88d 200a strb.w r2, [sp, #10] - 8007050: f893 208c ldrb.w r2, [r3, #140] ; 0x8c - 8007054: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 - 8007058: 320d adds r2, #13 - 800705a: a902 add r1, sp, #8 - 800705c: f88d 2008 strb.w r2, [sp, #8] - 8007060: f003 fcb0 bl 800a9c4 - 8007064: b2c0 uxtb r0, r0 - 8007066: b005 add sp, #20 - 8007068: f85d fb04 ldr.w pc, [sp], #4 - 800706c: 20000c00 .word 0x20000c00 +08007040 : + 8007040: 4a03 ldr r2, [pc, #12] ; (8007050 ) + 8007042: 7813 ldrb r3, [r2, #0] + 8007044: f043 0304 orr.w r3, r3, #4 + 8007048: 7013 strb r3, [r2, #0] + 800704a: f7ff bfef b.w 800702c + 800704e: bf00 nop + 8007050: 200011c4 .word 0x200011c4 -08007070 : - 8007070: b510 push {r4, lr} - 8007072: 4c07 ldr r4, [pc, #28] ; (8007090 ) - 8007074: f504 6080 add.w r0, r4, #1024 ; 0x400 - 8007078: f007 ff54 bl 800ef24 - 800707c: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 8007080: b113 cbz r3, 8007088 - 8007082: 2301 movs r3, #1 - 8007084: f884 3419 strb.w r3, [r4, #1049] ; 0x419 - 8007088: e8bd 4010 ldmia.w sp!, {r4, lr} - 800708c: f7ff bfc4 b.w 8007018 - 8007090: 200011c8 .word 0x200011c8 +08007054 : + 8007054: b51f push {r0, r1, r2, r3, r4, lr} + 8007056: 4b0a ldr r3, [pc, #40] ; (8007080 ) + 8007058: f88d 0009 strb.w r0, [sp, #9] + 800705c: f893 207c ldrb.w r2, [r3, #124] ; 0x7c + 8007060: f88d 200a strb.w r2, [sp, #10] + 8007064: f893 208c ldrb.w r2, [r3, #140] ; 0x8c + 8007068: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 + 800706c: 320d adds r2, #13 + 800706e: a902 add r1, sp, #8 + 8007070: f88d 2008 strb.w r2, [sp, #8] + 8007074: f003 fcb0 bl 800a9d8 + 8007078: b2c0 uxtb r0, r0 + 800707a: b005 add sp, #20 + 800707c: f85d fb04 ldr.w pc, [sp], #4 + 8007080: 20000c00 .word 0x20000c00 -08007094 : - 8007094: b510 push {r4, lr} - 8007096: 4c0c ldr r4, [pc, #48] ; (80070c8 ) - 8007098: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 800709c: f043 0380 orr.w r3, r3, #128 ; 0x80 - 80070a0: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 80070a4: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 80070a8: b113 cbz r3, 80070b0 - 80070aa: 2000 movs r0, #0 - 80070ac: f7ff ffe0 bl 8007070 - 80070b0: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 80070b4: f023 0312 bic.w r3, r3, #18 - 80070b8: f043 0312 orr.w r3, r3, #18 - 80070bc: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 80070c0: e8bd 4010 ldmia.w sp!, {r4, lr} - 80070c4: f7ff bf9a b.w 8006ffc - 80070c8: 200011c8 .word 0x200011c8 +08007084 : + 8007084: b510 push {r4, lr} + 8007086: 4c07 ldr r4, [pc, #28] ; (80070a4 ) + 8007088: f504 6080 add.w r0, r4, #1024 ; 0x400 + 800708c: f007 ff54 bl 800ef38 + 8007090: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 8007094: b113 cbz r3, 800709c + 8007096: 2301 movs r3, #1 + 8007098: f884 3419 strb.w r3, [r4, #1049] ; 0x419 + 800709c: e8bd 4010 ldmia.w sp!, {r4, lr} + 80070a0: f7ff bfc4 b.w 800702c + 80070a4: 200011c8 .word 0x200011c8 -080070cc : - 80070cc: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 80070d0: f8df 80ac ldr.w r8, [pc, #172] ; 8007180 - 80070d4: f898 3118 ldrb.w r3, [r8, #280] ; 0x118 - 80070d8: 2b02 cmp r3, #2 - 80070da: 4606 mov r6, r0 - 80070dc: 460d mov r5, r1 - 80070de: d002 beq.n 80070e6 - 80070e0: 4b28 ldr r3, [pc, #160] ; (8007184 ) - 80070e2: 6adb ldr r3, [r3, #44] ; 0x2c - 80070e4: 4798 blx r3 - 80070e6: f002 fde9 bl 8009cbc - 80070ea: 4604 mov r4, r0 - 80070ec: b128 cbz r0, 80070fa - 80070ee: 2002 movs r0, #2 - 80070f0: f002 fdda bl 8009ca8 - 80070f4: 2000 movs r0, #0 - 80070f6: f002 fddc bl 8009cb2 - 80070fa: f898 3118 ldrb.w r3, [r8, #280] ; 0x118 - 80070fe: 2b01 cmp r3, #1 - 8007100: d117 bne.n 8007132 - 8007102: f002 fddd bl 8009cc0 - 8007106: 4607 mov r7, r0 - 8007108: b130 cbz r0, 8007118 - 800710a: 2000 movs r0, #0 - 800710c: f002 fdcd bl 8009caa - 8007110: 2000 movs r0, #0 - 8007112: f002 fdcf bl 8009cb4 - 8007116: 463c mov r4, r7 - 8007118: f002 fdd4 bl 8009cc4 - 800711c: b148 cbz r0, 8007132 +080070a8 : + 80070a8: b510 push {r4, lr} + 80070aa: 4c0c ldr r4, [pc, #48] ; (80070dc ) + 80070ac: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 80070b0: f043 0380 orr.w r3, r3, #128 ; 0x80 + 80070b4: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 80070b8: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 80070bc: b113 cbz r3, 80070c4 + 80070be: 2000 movs r0, #0 + 80070c0: f7ff ffe0 bl 8007084 + 80070c4: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 80070c8: f023 0312 bic.w r3, r3, #18 + 80070cc: f043 0312 orr.w r3, r3, #18 + 80070d0: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 80070d4: e8bd 4010 ldmia.w sp!, {r4, lr} + 80070d8: f7ff bf9a b.w 8007010 + 80070dc: 200011c8 .word 0x200011c8 + +080070e0 : + 80070e0: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 80070e4: f8df 80ac ldr.w r8, [pc, #172] ; 8007194 + 80070e8: f898 3118 ldrb.w r3, [r8, #280] ; 0x118 + 80070ec: 2b02 cmp r3, #2 + 80070ee: 4606 mov r6, r0 + 80070f0: 460d mov r5, r1 + 80070f2: d002 beq.n 80070fa + 80070f4: 4b28 ldr r3, [pc, #160] ; (8007198 ) + 80070f6: 6adb ldr r3, [r3, #44] ; 0x2c + 80070f8: 4798 blx r3 + 80070fa: f002 fde9 bl 8009cd0 + 80070fe: 4604 mov r4, r0 + 8007100: b128 cbz r0, 800710e + 8007102: 2002 movs r0, #2 + 8007104: f002 fdda bl 8009cbc + 8007108: 2000 movs r0, #0 + 800710a: f002 fddc bl 8009cc6 + 800710e: f898 3118 ldrb.w r3, [r8, #280] ; 0x118 + 8007112: 2b01 cmp r3, #1 + 8007114: d117 bne.n 8007146 + 8007116: f002 fddd bl 8009cd4 + 800711a: 4607 mov r7, r0 + 800711c: b130 cbz r0, 800712c 800711e: 2000 movs r0, #0 - 8007120: f002 fdc4 bl 8009cac + 8007120: f002 fdcd bl 8009cbe 8007124: 2000 movs r0, #0 - 8007126: f002 fdc6 bl 8009cb6 - 800712a: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 800712e: f7ff bf65 b.w 8006ffc - 8007132: 2c00 cmp r4, #0 - 8007134: d1f9 bne.n 800712a - 8007136: 4c14 ldr r4, [pc, #80] ; (8007188 ) - 8007138: f894 2490 ldrb.w r2, [r4, #1168] ; 0x490 - 800713c: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 8007140: b9ba cbnz r2, 8007172 - 8007142: b10b cbz r3, 8007148 - 8007144: f884 6441 strb.w r6, [r4, #1089] ; 0x441 - 8007148: 4630 mov r0, r6 - 800714a: f002 ff65 bl 800a018 - 800714e: f8d8 002c ldr.w r0, [r8, #44] ; 0x2c - 8007152: f007 fead bl 800eeb0 - 8007156: f8d4 33b4 ldr.w r3, [r4, #948] ; 0x3b4 - 800715a: 4298 cmp r0, r3 - 800715c: d3e5 bcc.n 800712a - 800715e: 480b ldr r0, [pc, #44] ; (800718c ) - 8007160: f007 fee0 bl 800ef24 - 8007164: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8007168: f043 0310 orr.w r3, r3, #16 - 800716c: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8007170: e7db b.n 800712a - 8007172: b10b cbz r3, 8007178 - 8007174: f884 5441 strb.w r5, [r4, #1089] ; 0x441 - 8007178: 4628 mov r0, r5 - 800717a: f002 ff4d bl 800a018 - 800717e: e7f1 b.n 8007164 - 8007180: 20000c00 .word 0x20000c00 - 8007184: 080101d4 .word 0x080101d4 - 8007188: 200011c8 .word 0x200011c8 - 800718c: 20001560 .word 0x20001560 + 8007126: f002 fdcf bl 8009cc8 + 800712a: 463c mov r4, r7 + 800712c: f002 fdd4 bl 8009cd8 + 8007130: b148 cbz r0, 8007146 + 8007132: 2000 movs r0, #0 + 8007134: f002 fdc4 bl 8009cc0 + 8007138: 2000 movs r0, #0 + 800713a: f002 fdc6 bl 8009cca + 800713e: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8007142: f7ff bf65 b.w 8007010 + 8007146: 2c00 cmp r4, #0 + 8007148: d1f9 bne.n 800713e + 800714a: 4c14 ldr r4, [pc, #80] ; (800719c ) + 800714c: f894 2490 ldrb.w r2, [r4, #1168] ; 0x490 + 8007150: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 8007154: b9ba cbnz r2, 8007186 + 8007156: b10b cbz r3, 800715c + 8007158: f884 6441 strb.w r6, [r4, #1089] ; 0x441 + 800715c: 4630 mov r0, r6 + 800715e: f002 ff65 bl 800a02c + 8007162: f8d8 002c ldr.w r0, [r8, #44] ; 0x2c + 8007166: f007 fead bl 800eec4 + 800716a: f8d4 33b4 ldr.w r3, [r4, #948] ; 0x3b4 + 800716e: 4298 cmp r0, r3 + 8007170: d3e5 bcc.n 800713e + 8007172: 480b ldr r0, [pc, #44] ; (80071a0 ) + 8007174: f007 fee0 bl 800ef38 + 8007178: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 800717c: f043 0310 orr.w r3, r3, #16 + 8007180: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8007184: e7db b.n 800713e + 8007186: b10b cbz r3, 800718c + 8007188: f884 5441 strb.w r5, [r4, #1089] ; 0x441 + 800718c: 4628 mov r0, r5 + 800718e: f002 ff4d bl 800a02c + 8007192: e7f1 b.n 8007178 + 8007194: 20000c00 .word 0x20000c00 + 8007198: 080101ec .word 0x080101ec + 800719c: 200011c8 .word 0x200011c8 + 80071a0: 20001560 .word 0x20001560 -08007190 : - 8007190: b573 push {r0, r1, r4, r5, r6, lr} - 8007192: 4c16 ldr r4, [pc, #88] ; (80071ec ) - 8007194: 4d16 ldr r5, [pc, #88] ; (80071f0 ) - 8007196: f504 767a add.w r6, r4, #1000 ; 0x3e8 - 800719a: 6ceb ldr r3, [r5, #76] ; 0x4c - 800719c: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 - 80071a0: f995 1078 ldrsb.w r1, [r5, #120] ; 0x78 - 80071a4: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 80071a8: 9600 str r6, [sp, #0] - 80071aa: f003 fc31 bl 800aa10 - 80071ae: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 80071b2: f884 33fc strb.w r3, [r4, #1020] ; 0x3fc - 80071b6: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 80071ba: f240 2301 movw r3, #513 ; 0x201 - 80071be: f204 4224 addw r2, r4, #1060 ; 0x424 - 80071c2: 4631 mov r1, r6 - 80071c4: f8a4 33fa strh.w r3, [r4, #1018] ; 0x3fa - 80071c8: f003 fc2e bl 800aa28 - 80071cc: b158 cbz r0, 80071e6 - 80071ce: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 - 80071d2: f884 346a strb.w r3, [r4, #1130] ; 0x46a - 80071d6: 4b07 ldr r3, [pc, #28] ; (80071f4 ) - 80071d8: 2000 movs r0, #0 - 80071da: 6b5b ldr r3, [r3, #52] ; 0x34 - 80071dc: 4798 blx r3 - 80071de: f894 33fb ldrb.w r3, [r4, #1019] ; 0x3fb - 80071e2: f884 3490 strb.w r3, [r4, #1168] ; 0x490 - 80071e6: b002 add sp, #8 - 80071e8: bd70 pop {r4, r5, r6, pc} - 80071ea: bf00 nop - 80071ec: 200011c8 .word 0x200011c8 - 80071f0: 20000c00 .word 0x20000c00 - 80071f4: 080101d4 .word 0x080101d4 +080071a4 : + 80071a4: b573 push {r0, r1, r4, r5, r6, lr} + 80071a6: 4c16 ldr r4, [pc, #88] ; (8007200 ) + 80071a8: 4d16 ldr r5, [pc, #88] ; (8007204 ) + 80071aa: f504 767a add.w r6, r4, #1000 ; 0x3e8 + 80071ae: 6ceb ldr r3, [r5, #76] ; 0x4c + 80071b0: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 + 80071b4: f995 1078 ldrsb.w r1, [r5, #120] ; 0x78 + 80071b8: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80071bc: 9600 str r6, [sp, #0] + 80071be: f003 fc31 bl 800aa24 + 80071c2: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 80071c6: f884 33fc strb.w r3, [r4, #1020] ; 0x3fc + 80071ca: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80071ce: f240 2301 movw r3, #513 ; 0x201 + 80071d2: f204 4224 addw r2, r4, #1060 ; 0x424 + 80071d6: 4631 mov r1, r6 + 80071d8: f8a4 33fa strh.w r3, [r4, #1018] ; 0x3fa + 80071dc: f003 fc2e bl 800aa3c + 80071e0: b158 cbz r0, 80071fa + 80071e2: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 + 80071e6: f884 346a strb.w r3, [r4, #1130] ; 0x46a + 80071ea: 4b07 ldr r3, [pc, #28] ; (8007208 ) + 80071ec: 2000 movs r0, #0 + 80071ee: 6b5b ldr r3, [r3, #52] ; 0x34 + 80071f0: 4798 blx r3 + 80071f2: f894 33fb ldrb.w r3, [r4, #1019] ; 0x3fb + 80071f6: f884 3490 strb.w r3, [r4, #1168] ; 0x490 + 80071fa: b002 add sp, #8 + 80071fc: bd70 pop {r4, r5, r6, pc} + 80071fe: bf00 nop + 8007200: 200011c8 .word 0x200011c8 + 8007204: 20000c00 .word 0x20000c00 + 8007208: 080101ec .word 0x080101ec -080071f8 : - 80071f8: 4a07 ldr r2, [pc, #28] ; (8007218 ) - 80071fa: b510 push {r4, lr} - 80071fc: 7813 ldrb r3, [r2, #0] - 80071fe: f043 0302 orr.w r3, r3, #2 - 8007202: 7013 strb r3, [r2, #0] - 8007204: f7ff ff08 bl 8007018 - 8007208: e8bd 4010 ldmia.w sp!, {r4, lr} - 800720c: 4b03 ldr r3, [pc, #12] ; (800721c ) - 800720e: 2201 movs r2, #1 - 8007210: 2100 movs r1, #0 - 8007212: 2002 movs r0, #2 - 8007214: f007 bb58 b.w 800e8c8 - 8007218: 200011c4 .word 0x200011c4 - 800721c: 0800fa9d .word 0x0800fa9d +0800720c : + 800720c: 4a07 ldr r2, [pc, #28] ; (800722c ) + 800720e: b510 push {r4, lr} + 8007210: 7813 ldrb r3, [r2, #0] + 8007212: f043 0302 orr.w r3, r3, #2 + 8007216: 7013 strb r3, [r2, #0] + 8007218: f7ff ff08 bl 800702c + 800721c: e8bd 4010 ldmia.w sp!, {r4, lr} + 8007220: 4b03 ldr r3, [pc, #12] ; (8007230 ) + 8007222: 2201 movs r2, #1 + 8007224: 2100 movs r1, #0 + 8007226: 2002 movs r0, #2 + 8007228: f007 bb58 b.w 800e8dc + 800722c: 200011c4 .word 0x200011c4 + 8007230: 0800fab5 .word 0x0800fab5 -08007220 : - 8007220: 4a07 ldr r2, [pc, #28] ; (8007240 ) - 8007222: b510 push {r4, lr} - 8007224: 7813 ldrb r3, [r2, #0] - 8007226: f043 0308 orr.w r3, r3, #8 - 800722a: 7013 strb r3, [r2, #0] - 800722c: f7ff fef4 bl 8007018 - 8007230: e8bd 4010 ldmia.w sp!, {r4, lr} - 8007234: 4b03 ldr r3, [pc, #12] ; (8007244 ) - 8007236: 2201 movs r2, #1 - 8007238: 2100 movs r1, #0 - 800723a: 2002 movs r0, #2 - 800723c: f007 bb44 b.w 800e8c8 - 8007240: 200011c4 .word 0x200011c4 - 8007244: 0800faad .word 0x0800faad +08007234 : + 8007234: 4a07 ldr r2, [pc, #28] ; (8007254 ) + 8007236: b510 push {r4, lr} + 8007238: 7813 ldrb r3, [r2, #0] + 800723a: f043 0308 orr.w r3, r3, #8 + 800723e: 7013 strb r3, [r2, #0] + 8007240: f7ff fef4 bl 800702c + 8007244: e8bd 4010 ldmia.w sp!, {r4, lr} + 8007248: 4b03 ldr r3, [pc, #12] ; (8007258 ) + 800724a: 2201 movs r2, #1 + 800724c: 2100 movs r1, #0 + 800724e: 2002 movs r0, #2 + 8007250: f007 bb44 b.w 800e8dc + 8007254: 200011c4 .word 0x200011c4 + 8007258: 0800fac5 .word 0x0800fac5 -08007248 : - 8007248: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800724c: 460f mov r7, r1 - 800724e: 4616 mov r6, r2 - 8007250: 461d mov r5, r3 - 8007252: 4680 mov r8, r0 - 8007254: f007 fe22 bl 800ee9c - 8007258: 4a0b ldr r2, [pc, #44] ; (8007288 ) - 800725a: 4c0c ldr r4, [pc, #48] ; (800728c ) - 800725c: 7813 ldrb r3, [r2, #0] - 800725e: 8127 strh r7, [r4, #8] - 8007260: f023 0311 bic.w r3, r3, #17 - 8007264: f043 0311 orr.w r3, r3, #17 - 8007268: 7013 strb r3, [r2, #0] - 800726a: e9c4 0800 strd r0, r8, [r4] - 800726e: 8166 strh r6, [r4, #10] - 8007270: 7325 strb r5, [r4, #12] - 8007272: f7ff fed1 bl 8007018 - 8007276: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 800727a: 4b05 ldr r3, [pc, #20] ; (8007290 ) - 800727c: 2201 movs r2, #1 - 800727e: 2100 movs r1, #0 - 8007280: 2002 movs r0, #2 - 8007282: f007 bb21 b.w 800e8c8 - 8007286: bf00 nop - 8007288: 200011c4 .word 0x200011c4 - 800728c: 20001774 .word 0x20001774 - 8007290: 0800fabd .word 0x0800fabd +0800725c : + 800725c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8007260: 460f mov r7, r1 + 8007262: 4616 mov r6, r2 + 8007264: 461d mov r5, r3 + 8007266: 4680 mov r8, r0 + 8007268: f007 fe22 bl 800eeb0 + 800726c: 4a0b ldr r2, [pc, #44] ; (800729c ) + 800726e: 4c0c ldr r4, [pc, #48] ; (80072a0 ) + 8007270: 7813 ldrb r3, [r2, #0] + 8007272: 8127 strh r7, [r4, #8] + 8007274: f023 0311 bic.w r3, r3, #17 + 8007278: f043 0311 orr.w r3, r3, #17 + 800727c: 7013 strb r3, [r2, #0] + 800727e: e9c4 0800 strd r0, r8, [r4] + 8007282: 8166 strh r6, [r4, #10] + 8007284: 7325 strb r5, [r4, #12] + 8007286: f7ff fed1 bl 800702c + 800728a: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 800728e: 4b05 ldr r3, [pc, #20] ; (80072a4 ) + 8007290: 2201 movs r2, #1 + 8007292: 2100 movs r1, #0 + 8007294: 2002 movs r0, #2 + 8007296: f007 bb21 b.w 800e8dc + 800729a: bf00 nop + 800729c: 200011c4 .word 0x200011c4 + 80072a0: 20001774 .word 0x20001774 + 80072a4: 0800fad5 .word 0x0800fad5 -08007294 : - 8007294: b513 push {r0, r1, r4, lr} - 8007296: f007 fe01 bl 800ee9c - 800729a: 4b0d ldr r3, [pc, #52] ; (80072d0 ) - 800729c: 466c mov r4, sp - 800729e: 6018 str r0, [r3, #0] - 80072a0: 4620 mov r0, r4 - 80072a2: f007 fd4f bl 800ed44 - 80072a6: e894 0003 ldmia.w r4, {r0, r1} - 80072aa: 4a0a ldr r2, [pc, #40] ; (80072d4 ) - 80072ac: 4b0a ldr r3, [pc, #40] ; (80072d8 ) - 80072ae: e883 0003 stmia.w r3, {r0, r1} - 80072b2: 7813 ldrb r3, [r2, #0] - 80072b4: f043 0320 orr.w r3, r3, #32 - 80072b8: 7013 strb r3, [r2, #0] - 80072ba: f7ff fead bl 8007018 - 80072be: 4b07 ldr r3, [pc, #28] ; (80072dc ) - 80072c0: 2201 movs r2, #1 - 80072c2: 2100 movs r1, #0 - 80072c4: 2002 movs r0, #2 - 80072c6: b002 add sp, #8 - 80072c8: e8bd 4010 ldmia.w sp!, {r4, lr} - 80072cc: f007 bafc b.w 800e8c8 - 80072d0: 20001784 .word 0x20001784 - 80072d4: 200011c4 .word 0x200011c4 - 80072d8: 20001500 .word 0x20001500 - 80072dc: 0800faca .word 0x0800faca +080072a8 : + 80072a8: b513 push {r0, r1, r4, lr} + 80072aa: f007 fe01 bl 800eeb0 + 80072ae: 4b0d ldr r3, [pc, #52] ; (80072e4 ) + 80072b0: 466c mov r4, sp + 80072b2: 6018 str r0, [r3, #0] + 80072b4: 4620 mov r0, r4 + 80072b6: f007 fd4f bl 800ed58 + 80072ba: e894 0003 ldmia.w r4, {r0, r1} + 80072be: 4a0a ldr r2, [pc, #40] ; (80072e8 ) + 80072c0: 4b0a ldr r3, [pc, #40] ; (80072ec ) + 80072c2: e883 0003 stmia.w r3, {r0, r1} + 80072c6: 7813 ldrb r3, [r2, #0] + 80072c8: f043 0320 orr.w r3, r3, #32 + 80072cc: 7013 strb r3, [r2, #0] + 80072ce: f7ff fead bl 800702c + 80072d2: 4b07 ldr r3, [pc, #28] ; (80072f0 ) + 80072d4: 2201 movs r2, #1 + 80072d6: 2100 movs r1, #0 + 80072d8: 2002 movs r0, #2 + 80072da: b002 add sp, #8 + 80072dc: e8bd 4010 ldmia.w sp!, {r4, lr} + 80072e0: f007 bafc b.w 800e8dc + 80072e4: 20001784 .word 0x20001784 + 80072e8: 200011c4 .word 0x200011c4 + 80072ec: 20001500 .word 0x20001500 + 80072f0: 0800fae2 .word 0x0800fae2 -080072e0 : - 80072e0: b5f8 push {r3, r4, r5, r6, r7, lr} - 80072e2: 4d33 ldr r5, [pc, #204] ; (80073b0 ) - 80072e4: f895 4118 ldrb.w r4, [r5, #280] ; 0x118 - 80072e8: 2c01 cmp r4, #1 - 80072ea: 4606 mov r6, r0 - 80072ec: d04b beq.n 8007386 - 80072ee: 2c02 cmp r4, #2 - 80072f0: d051 beq.n 8007396 - 80072f2: b964 cbnz r4, 800730e - 80072f4: b938 cbnz r0, 8007306 - 80072f6: e9d5 011b ldrd r0, r1, [r5, #108] ; 0x6c - 80072fa: f105 0374 add.w r3, r5, #116 ; 0x74 - 80072fe: e883 0003 stmia.w r3, {r0, r1} - 8007302: 4620 mov r0, r4 - 8007304: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8007306: 2801 cmp r0, #1 - 8007308: d03d beq.n 8007386 - 800730a: 2802 cmp r0, #2 - 800730c: d001 beq.n 8007312 - 800730e: 2403 movs r4, #3 - 8007310: e7f7 b.n 8007302 - 8007312: 4f28 ldr r7, [pc, #160] ; (80073b4 ) - 8007314: f885 0118 strb.w r0, [r5, #280] ; 0x118 - 8007318: f507 7e74 add.w lr, r7, #976 ; 0x3d0 - 800731c: e8be 000f ldmia.w lr!, {r0, r1, r2, r3} - 8007320: f507 7c7a add.w ip, r7, #1000 ; 0x3e8 - 8007324: e8ac 000f stmia.w ip!, {r0, r1, r2, r3} - 8007328: e89e 0003 ldmia.w lr, {r0, r1} - 800732c: f895 30e9 ldrb.w r3, [r5, #233] ; 0xe9 - 8007330: e88c 0003 stmia.w ip, {r0, r1} - 8007334: f887 63fb strb.w r6, [r7, #1019] ; 0x3fb - 8007338: b1e3 cbz r3, 8007374 - 800733a: f895 3100 ldrb.w r3, [r5, #256] ; 0x100 - 800733e: 2b02 cmp r3, #2 - 8007340: d118 bne.n 8007374 - 8007342: f8d5 3104 ldr.w r3, [r5, #260] ; 0x104 - 8007346: 676b str r3, [r5, #116] ; 0x74 - 8007348: f8c7 33ec str.w r3, [r7, #1004] ; 0x3ec - 800734c: f895 307d ldrb.w r3, [r5, #125] ; 0x7d - 8007350: f895 2108 ldrb.w r2, [r5, #264] ; 0x108 - 8007354: f887 33f8 strb.w r3, [r7, #1016] ; 0x3f8 - 8007358: f895 308c ldrb.w r3, [r5, #140] ; 0x8c - 800735c: f885 2078 strb.w r2, [r5, #120] ; 0x78 - 8007360: f887 33f9 strb.w r3, [r7, #1017] ; 0x3f9 - 8007364: f897 241b ldrb.w r2, [r7, #1051] ; 0x41b - 8007368: f887 23e8 strb.w r2, [r7, #1000] ; 0x3e8 - 800736c: f240 3301 movw r3, #769 ; 0x301 - 8007370: f8a7 33fa strh.w r3, [r7, #1018] ; 0x3fa - 8007374: 2300 movs r3, #0 - 8007376: f887 341a strb.w r3, [r7, #1050] ; 0x41a - 800737a: 4b0f ldr r3, [pc, #60] ; (80073b8 ) - 800737c: 6adb ldr r3, [r3, #44] ; 0x2c - 800737e: 4798 blx r3 - 8007380: f7ff ff06 bl 8007190 - 8007384: e7bd b.n 8007302 - 8007386: f002 fca4 bl 8009cd2 - 800738a: 4604 mov r4, r0 - 800738c: 2800 cmp r0, #0 - 800738e: d1b8 bne.n 8007302 - 8007390: f885 6118 strb.w r6, [r5, #280] ; 0x118 - 8007394: e7b5 b.n 8007302 - 8007396: 2800 cmp r0, #0 - 8007398: d1b9 bne.n 800730e - 800739a: 4b06 ldr r3, [pc, #24] ; (80073b4 ) - 800739c: f885 0118 strb.w r0, [r5, #280] ; 0x118 - 80073a0: 2206 movs r2, #6 - 80073a2: f883 2490 strb.w r2, [r3, #1168] ; 0x490 - 80073a6: 4b04 ldr r3, [pc, #16] ; (80073b8 ) - 80073a8: 6adb ldr r3, [r3, #44] ; 0x2c - 80073aa: 4798 blx r3 - 80073ac: 4634 mov r4, r6 - 80073ae: e7a8 b.n 8007302 - 80073b0: 20000c00 .word 0x20000c00 - 80073b4: 200011c8 .word 0x200011c8 - 80073b8: 080101d4 .word 0x080101d4 +080072f4 : + 80072f4: b5f8 push {r3, r4, r5, r6, r7, lr} + 80072f6: 4d33 ldr r5, [pc, #204] ; (80073c4 ) + 80072f8: f895 4118 ldrb.w r4, [r5, #280] ; 0x118 + 80072fc: 2c01 cmp r4, #1 + 80072fe: 4606 mov r6, r0 + 8007300: d04b beq.n 800739a + 8007302: 2c02 cmp r4, #2 + 8007304: d051 beq.n 80073aa + 8007306: b964 cbnz r4, 8007322 + 8007308: b938 cbnz r0, 800731a + 800730a: e9d5 011b ldrd r0, r1, [r5, #108] ; 0x6c + 800730e: f105 0374 add.w r3, r5, #116 ; 0x74 + 8007312: e883 0003 stmia.w r3, {r0, r1} + 8007316: 4620 mov r0, r4 + 8007318: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800731a: 2801 cmp r0, #1 + 800731c: d03d beq.n 800739a + 800731e: 2802 cmp r0, #2 + 8007320: d001 beq.n 8007326 + 8007322: 2403 movs r4, #3 + 8007324: e7f7 b.n 8007316 + 8007326: 4f28 ldr r7, [pc, #160] ; (80073c8 ) + 8007328: f885 0118 strb.w r0, [r5, #280] ; 0x118 + 800732c: f507 7e74 add.w lr, r7, #976 ; 0x3d0 + 8007330: e8be 000f ldmia.w lr!, {r0, r1, r2, r3} + 8007334: f507 7c7a add.w ip, r7, #1000 ; 0x3e8 + 8007338: e8ac 000f stmia.w ip!, {r0, r1, r2, r3} + 800733c: e89e 0003 ldmia.w lr, {r0, r1} + 8007340: f895 30e9 ldrb.w r3, [r5, #233] ; 0xe9 + 8007344: e88c 0003 stmia.w ip, {r0, r1} + 8007348: f887 63fb strb.w r6, [r7, #1019] ; 0x3fb + 800734c: b1e3 cbz r3, 8007388 + 800734e: f895 3100 ldrb.w r3, [r5, #256] ; 0x100 + 8007352: 2b02 cmp r3, #2 + 8007354: d118 bne.n 8007388 + 8007356: f8d5 3104 ldr.w r3, [r5, #260] ; 0x104 + 800735a: 676b str r3, [r5, #116] ; 0x74 + 800735c: f8c7 33ec str.w r3, [r7, #1004] ; 0x3ec + 8007360: f895 307d ldrb.w r3, [r5, #125] ; 0x7d + 8007364: f895 2108 ldrb.w r2, [r5, #264] ; 0x108 + 8007368: f887 33f8 strb.w r3, [r7, #1016] ; 0x3f8 + 800736c: f895 308c ldrb.w r3, [r5, #140] ; 0x8c + 8007370: f885 2078 strb.w r2, [r5, #120] ; 0x78 + 8007374: f887 33f9 strb.w r3, [r7, #1017] ; 0x3f9 + 8007378: f897 241b ldrb.w r2, [r7, #1051] ; 0x41b + 800737c: f887 23e8 strb.w r2, [r7, #1000] ; 0x3e8 + 8007380: f240 3301 movw r3, #769 ; 0x301 + 8007384: f8a7 33fa strh.w r3, [r7, #1018] ; 0x3fa + 8007388: 2300 movs r3, #0 + 800738a: f887 341a strb.w r3, [r7, #1050] ; 0x41a + 800738e: 4b0f ldr r3, [pc, #60] ; (80073cc ) + 8007390: 6adb ldr r3, [r3, #44] ; 0x2c + 8007392: 4798 blx r3 + 8007394: f7ff ff06 bl 80071a4 + 8007398: e7bd b.n 8007316 + 800739a: f002 fca4 bl 8009ce6 + 800739e: 4604 mov r4, r0 + 80073a0: 2800 cmp r0, #0 + 80073a2: d1b8 bne.n 8007316 + 80073a4: f885 6118 strb.w r6, [r5, #280] ; 0x118 + 80073a8: e7b5 b.n 8007316 + 80073aa: 2800 cmp r0, #0 + 80073ac: d1b9 bne.n 8007322 + 80073ae: 4b06 ldr r3, [pc, #24] ; (80073c8 ) + 80073b0: f885 0118 strb.w r0, [r5, #280] ; 0x118 + 80073b4: 2206 movs r2, #6 + 80073b6: f883 2490 strb.w r2, [r3, #1168] ; 0x490 + 80073ba: 4b04 ldr r3, [pc, #16] ; (80073cc ) + 80073bc: 6adb ldr r3, [r3, #44] ; 0x2c + 80073be: 4798 blx r3 + 80073c0: 4634 mov r4, r6 + 80073c2: e7a8 b.n 8007316 + 80073c4: 20000c00 .word 0x20000c00 + 80073c8: 200011c8 .word 0x200011c8 + 80073cc: 080101ec .word 0x080101ec -080073bc : - 80073bc: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 80073c0: b092 sub sp, #72 ; 0x48 - 80073c2: 4606 mov r6, r0 - 80073c4: f002 fc7a bl 8009cbc - 80073c8: 2800 cmp r0, #0 - 80073ca: f040 8159 bne.w 8007680 - 80073ce: 4dad ldr r5, [pc, #692] ; (8007684 ) - 80073d0: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 - 80073d4: 2b01 cmp r3, #1 - 80073d6: d009 beq.n 80073ec - 80073d8: 6b2b ldr r3, [r5, #48] ; 0x30 - 80073da: 4cab ldr r4, [pc, #684] ; (8007688 ) - 80073dc: b193 cbz r3, 8007404 - 80073de: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 - 80073e2: b1bb cbz r3, 8007414 - 80073e4: 2b04 cmp r3, #4 - 80073e6: d06f beq.n 80074c8 - 80073e8: 2003 movs r0, #3 - 80073ea: e003 b.n 80073f4 - 80073ec: f002 fc68 bl 8009cc0 - 80073f0: b118 cbz r0, 80073fa - 80073f2: 200f movs r0, #15 - 80073f4: b012 add sp, #72 ; 0x48 - 80073f6: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 80073fa: f002 fc63 bl 8009cc4 - 80073fe: 2800 cmp r0, #0 - 8007400: d0ea beq.n 80073d8 - 8007402: e7f6 b.n 80073f2 - 8007404: f8b5 3120 ldrh.w r3, [r5, #288] ; 0x120 - 8007408: f8d4 241c ldr.w r2, [r4, #1052] ; 0x41c - 800740c: 3b01 subs r3, #1 - 800740e: 4353 muls r3, r2 - 8007410: 632b str r3, [r5, #48] ; 0x30 - 8007412: e7e4 b.n 80073de - 8007414: 489d ldr r0, [pc, #628] ; (800768c ) - 8007416: f003 fa0c bl 800a832 - 800741a: 2800 cmp r0, #0 - 800741c: f040 812c bne.w 8007678 - 8007420: f894 310c ldrb.w r3, [r4, #268] ; 0x10c - 8007424: 8023 strh r3, [r4, #0] - 8007426: 6b2b ldr r3, [r5, #48] ; 0x30 - 8007428: 930c str r3, [sp, #48] ; 0x30 - 800742a: f10d 0818 add.w r8, sp, #24 - 800742e: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 - 8007432: f88d 3038 strb.w r3, [sp, #56] ; 0x38 - 8007436: 4640 mov r0, r8 - 8007438: f895 311c ldrb.w r3, [r5, #284] ; 0x11c - 800743c: f88d 303a strb.w r3, [sp, #58] ; 0x3a - 8007440: f007 fca6 bl 800ed90 - 8007444: f8d5 3128 ldr.w r3, [r5, #296] ; 0x128 - 8007448: 9300 str r3, [sp, #0] - 800744a: af02 add r7, sp, #8 - 800744c: e898 0006 ldmia.w r8, {r1, r2} - 8007450: f8d5 3124 ldr.w r3, [r5, #292] ; 0x124 - 8007454: 4638 mov r0, r7 - 8007456: f007 fc32 bl 800ecbe - 800745a: e897 0003 ldmia.w r7, {r0, r1} - 800745e: ab0f add r3, sp, #60 ; 0x3c - 8007460: e883 0003 stmia.w r3, {r0, r1} - 8007464: 6aeb ldr r3, [r5, #44] ; 0x2c - 8007466: 930d str r3, [sp, #52] ; 0x34 - 8007468: 2300 movs r3, #0 - 800746a: f88d 3044 strb.w r3, [sp, #68] ; 0x44 - 800746e: 8823 ldrh r3, [r4, #0] - 8007470: f8ad 3046 strh.w r3, [sp, #70] ; 0x46 - 8007474: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 8007478: 2201 movs r2, #1 - 800747a: f88d 2039 strb.w r2, [sp, #57] ; 0x39 - 800747e: b91b cbnz r3, 8007488 - 8007480: f88d 2044 strb.w r2, [sp, #68] ; 0x44 - 8007484: f88d 3039 strb.w r3, [sp, #57] ; 0x39 - 8007488: 4b81 ldr r3, [pc, #516] ; (8007690 ) - 800748a: 9300 str r3, [sp, #0] - 800748c: 4b81 ldr r3, [pc, #516] ; (8007694 ) - 800748e: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8007492: f1a3 0279 sub.w r2, r3, #121 ; 0x79 - 8007496: a90c add r1, sp, #48 ; 0x30 - 8007498: f003 fb09 bl 800aaae - 800749c: b1c0 cbz r0, 80074d0 - 800749e: 280b cmp r0, #11 - 80074a0: d1a8 bne.n 80073f4 - 80074a2: f8d4 1494 ldr.w r1, [r4, #1172] ; 0x494 - 80074a6: b199 cbz r1, 80074d0 - 80074a8: 2e00 cmp r6, #0 - 80074aa: d0a3 beq.n 80073f4 - 80074ac: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 80074b0: 4879 ldr r0, [pc, #484] ; (8007698 ) - 80074b2: f043 0320 orr.w r3, r3, #32 - 80074b6: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 80074ba: f007 fdbb bl 800f034 - 80074be: 4876 ldr r0, [pc, #472] ; (8007698 ) - 80074c0: f007 fd7e bl 800efc0 - 80074c4: 2000 movs r0, #0 - 80074c6: e795 b.n 80073f4 - 80074c8: 4870 ldr r0, [pc, #448] ; (800768c ) - 80074ca: f003 f9e6 bl 800a89a - 80074ce: e7a4 b.n 800741a - 80074d0: f895 7048 ldrb.w r7, [r5, #72] ; 0x48 - 80074d4: f995 3069 ldrsb.w r3, [r5, #105] ; 0x69 - 80074d8: f995 2039 ldrsb.w r2, [r5, #57] ; 0x39 - 80074dc: f895 107d ldrb.w r1, [r5, #125] ; 0x7d - 80074e0: 4e6e ldr r6, [pc, #440] ; (800769c ) - 80074e2: 4638 mov r0, r7 - 80074e4: f003 faf0 bl 800aac8 - 80074e8: 9600 str r6, [sp, #0] - 80074ea: b241 sxtb r1, r0 - 80074ec: 6ceb ldr r3, [r5, #76] ; 0x4c - 80074ee: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 - 80074f2: 4638 mov r0, r7 - 80074f4: 3618 adds r6, #24 - 80074f6: f003 fa8b bl 800aa10 - 80074fa: 9600 str r6, [sp, #0] - 80074fc: 6ceb ldr r3, [r5, #76] ; 0x4c - 80074fe: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 - 8007502: f995 1070 ldrsb.w r1, [r5, #112] ; 0x70 - 8007506: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 800750a: f003 fa81 bl 800aa10 - 800750e: f8d4 13c4 ldr.w r1, [r4, #964] ; 0x3c4 - 8007512: 6dab ldr r3, [r5, #88] ; 0x58 - 8007514: f8d4 23dc ldr.w r2, [r4, #988] ; 0x3dc - 8007518: 440b add r3, r1 - 800751a: f8c4 33b0 str.w r3, [r4, #944] ; 0x3b0 - 800751e: 6deb ldr r3, [r5, #92] ; 0x5c - 8007520: 4413 add r3, r2 - 8007522: f8c4 33b4 str.w r3, [r4, #948] ; 0x3b4 - 8007526: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 - 800752a: 2b04 cmp r3, #4 - 800752c: d007 beq.n 800753e - 800752e: 6e2b ldr r3, [r5, #96] ; 0x60 - 8007530: 440b add r3, r1 - 8007532: f8c4 33b0 str.w r3, [r4, #944] ; 0x3b0 - 8007536: 6e6b ldr r3, [r5, #100] ; 0x64 - 8007538: 4413 add r3, r2 - 800753a: f8c4 33b4 str.w r3, [r4, #948] ; 0x3b4 - 800753e: 2300 movs r3, #0 - 8007540: 9308 str r3, [sp, #32] - 8007542: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 8007546: b183 cbz r3, 800756a - 8007548: a808 add r0, sp, #32 - 800754a: f002 fc95 bl 8009e78 - 800754e: 2800 cmp r0, #0 - 8007550: d14e bne.n 80075f0 - 8007552: f995 0039 ldrsb.w r0, [r5, #57] ; 0x39 - 8007556: f894 6237 ldrb.w r6, [r4, #567] ; 0x237 - 800755a: f89d 7020 ldrb.w r7, [sp, #32] - 800755e: f7ff fd6f bl 8007040 - 8007562: 443e add r6, r7 - 8007564: b280 uxth r0, r0 - 8007566: 42b0 cmp r0, r6 - 8007568: d340 bcc.n 80075ec - 800756a: 2300 movs r3, #0 - 800756c: f88d 3013 strb.w r3, [sp, #19] - 8007570: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 - 8007574: f88d 3021 strb.w r3, [sp, #33] ; 0x21 - 8007578: f895 3038 ldrb.w r3, [r5, #56] ; 0x38 - 800757c: f88d 3022 strb.w r3, [sp, #34] ; 0x22 - 8007580: f8d5 3080 ldr.w r3, [r5, #128] ; 0x80 - 8007584: 9309 str r3, [sp, #36] ; 0x24 - 8007586: f8d5 3084 ldr.w r3, [r5, #132] ; 0x84 - 800758a: 930a str r3, [sp, #40] ; 0x28 - 800758c: 8823 ldrh r3, [r4, #0] - 800758e: f8ad 302c strh.w r3, [sp, #44] ; 0x2c - 8007592: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 8007596: f894 641b ldrb.w r6, [r4, #1051] ; 0x41b - 800759a: f88d 302e strb.w r3, [sp, #46] ; 0x2e - 800759e: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 80075a2: 4b3f ldr r3, [pc, #252] ; (80076a0 ) - 80075a4: f88d 6020 strb.w r6, [sp, #32] - 80075a8: f10d 0213 add.w r2, sp, #19 - 80075ac: a908 add r1, sp, #32 - 80075ae: f003 fa43 bl 800aa38 - 80075b2: 2301 movs r3, #1 - 80075b4: f884 3441 strb.w r3, [r4, #1089] ; 0x441 - 80075b8: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 - 80075bc: f884 3442 strb.w r3, [r4, #1090] ; 0x442 - 80075c0: f89d 3013 ldrb.w r3, [sp, #19] - 80075c4: f884 3443 strb.w r3, [r4, #1091] ; 0x443 - 80075c8: f8d4 341c ldr.w r3, [r4, #1052] ; 0x41c - 80075cc: f8c4 6450 str.w r6, [r4, #1104] ; 0x450 - 80075d0: f8c4 3448 str.w r3, [r4, #1096] ; 0x448 - 80075d4: f8c4 3458 str.w r3, [r4, #1112] ; 0x458 - 80075d8: f002 fb76 bl 8009cc8 - 80075dc: b150 cbz r0, 80075f4 - 80075de: f8d4 041c ldr.w r0, [r4, #1052] ; 0x41c - 80075e2: f002 fb83 bl 8009cec - 80075e6: b128 cbz r0, 80075f4 - 80075e8: 2010 movs r0, #16 - 80075ea: e703 b.n 80073f4 - 80075ec: 2008 movs r0, #8 - 80075ee: e701 b.n 80073f4 - 80075f0: 2013 movs r0, #19 - 80075f2: e6ff b.n 80073f4 - 80075f4: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 - 80075f8: 2b01 cmp r3, #1 - 80075fa: d101 bne.n 8007600 - 80075fc: f002 fb78 bl 8009cf0 - 8007600: f002 fb65 bl 8009cce - 8007604: 2300 movs r3, #0 - 8007606: 9305 str r3, [sp, #20] - 8007608: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 - 800760c: f995 5039 ldrsb.w r5, [r5, #57] ; 0x39 - 8007610: f894 641b ldrb.w r6, [r4, #1051] ; 0x41b - 8007614: b19b cbz r3, 800763e - 8007616: 2b04 cmp r3, #4 - 8007618: f47f aee6 bne.w 80073e8 - 800761c: a805 add r0, sp, #20 - 800761e: f002 fe67 bl 800a2f0 - 8007622: bb58 cbnz r0, 800767c - 8007624: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 - 8007628: b113 cbz r3, 8007630 - 800762a: 9b05 ldr r3, [sp, #20] - 800762c: 3b01 subs r3, #1 - 800762e: 9305 str r3, [sp, #20] - 8007630: 4b16 ldr r3, [pc, #88] ; (800768c ) - 8007632: 9805 ldr r0, [sp, #20] - 8007634: 4632 mov r2, r6 - 8007636: b2e9 uxtb r1, r5 - 8007638: f002 fec0 bl 800a3bc - 800763c: e002 b.n 8007644 - 800763e: 4813 ldr r0, [pc, #76] ; (800768c ) - 8007640: f002 fe90 bl 800a364 - 8007644: b9c0 cbnz r0, 8007678 - 8007646: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 800764a: f894 110c ldrb.w r1, [r4, #268] ; 0x10c - 800764e: 8021 strh r1, [r4, #0] - 8007650: f043 0302 orr.w r3, r3, #2 - 8007654: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 8007658: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 - 800765c: 4811 ldr r0, [pc, #68] ; (80076a4 ) - 800765e: 3301 adds r3, #1 - 8007660: b2db uxtb r3, r3 - 8007662: f884 3418 strb.w r3, [r4, #1048] ; 0x418 - 8007666: f884 3445 strb.w r3, [r4, #1093] ; 0x445 - 800766a: 4b0f ldr r3, [pc, #60] ; (80076a8 ) - 800766c: 2500 movs r5, #0 - 800766e: 6a9b ldr r3, [r3, #40] ; 0x28 - 8007670: f8c4 5498 str.w r5, [r4, #1176] ; 0x498 - 8007674: 4798 blx r3 - 8007676: e725 b.n 80074c4 - 8007678: 2011 movs r0, #17 - 800767a: e6bb b.n 80073f4 - 800767c: 2012 movs r0, #18 - 800767e: e6b9 b.n 80073f4 - 8007680: 200e movs r0, #14 - 8007682: e6b7 b.n 80073f4 - 8007684: 20000c00 .word 0x20000c00 - 8007688: 200011c8 .word 0x200011c8 - 800768c: 200012d0 .word 0x200012d0 - 8007690: 20000c30 .word 0x20000c30 - 8007694: 2000165c .word 0x2000165c - 8007698: 20001530 .word 0x20001530 - 800769c: 20001580 .word 0x20001580 - 80076a0: 200015e4 .word 0x200015e4 - 80076a4: 200011ca .word 0x200011ca - 80076a8: 080101d4 .word 0x080101d4 +080073d0 : + 80073d0: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 80073d4: b092 sub sp, #72 ; 0x48 + 80073d6: 4606 mov r6, r0 + 80073d8: f002 fc7a bl 8009cd0 + 80073dc: 2800 cmp r0, #0 + 80073de: f040 8159 bne.w 8007694 + 80073e2: 4dad ldr r5, [pc, #692] ; (8007698 ) + 80073e4: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 + 80073e8: 2b01 cmp r3, #1 + 80073ea: d009 beq.n 8007400 + 80073ec: 6b2b ldr r3, [r5, #48] ; 0x30 + 80073ee: 4cab ldr r4, [pc, #684] ; (800769c ) + 80073f0: b193 cbz r3, 8007418 + 80073f2: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 + 80073f6: b1bb cbz r3, 8007428 + 80073f8: 2b04 cmp r3, #4 + 80073fa: d06f beq.n 80074dc + 80073fc: 2003 movs r0, #3 + 80073fe: e003 b.n 8007408 + 8007400: f002 fc68 bl 8009cd4 + 8007404: b118 cbz r0, 800740e + 8007406: 200f movs r0, #15 + 8007408: b012 add sp, #72 ; 0x48 + 800740a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800740e: f002 fc63 bl 8009cd8 + 8007412: 2800 cmp r0, #0 + 8007414: d0ea beq.n 80073ec + 8007416: e7f6 b.n 8007406 + 8007418: f8b5 3120 ldrh.w r3, [r5, #288] ; 0x120 + 800741c: f8d4 241c ldr.w r2, [r4, #1052] ; 0x41c + 8007420: 3b01 subs r3, #1 + 8007422: 4353 muls r3, r2 + 8007424: 632b str r3, [r5, #48] ; 0x30 + 8007426: e7e4 b.n 80073f2 + 8007428: 489d ldr r0, [pc, #628] ; (80076a0 ) + 800742a: f003 fa0c bl 800a846 + 800742e: 2800 cmp r0, #0 + 8007430: f040 812c bne.w 800768c + 8007434: f894 310c ldrb.w r3, [r4, #268] ; 0x10c + 8007438: 8023 strh r3, [r4, #0] + 800743a: 6b2b ldr r3, [r5, #48] ; 0x30 + 800743c: 930c str r3, [sp, #48] ; 0x30 + 800743e: f10d 0818 add.w r8, sp, #24 + 8007442: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 + 8007446: f88d 3038 strb.w r3, [sp, #56] ; 0x38 + 800744a: 4640 mov r0, r8 + 800744c: f895 311c ldrb.w r3, [r5, #284] ; 0x11c + 8007450: f88d 303a strb.w r3, [sp, #58] ; 0x3a + 8007454: f007 fca6 bl 800eda4 + 8007458: f8d5 3128 ldr.w r3, [r5, #296] ; 0x128 + 800745c: 9300 str r3, [sp, #0] + 800745e: af02 add r7, sp, #8 + 8007460: e898 0006 ldmia.w r8, {r1, r2} + 8007464: f8d5 3124 ldr.w r3, [r5, #292] ; 0x124 + 8007468: 4638 mov r0, r7 + 800746a: f007 fc32 bl 800ecd2 + 800746e: e897 0003 ldmia.w r7, {r0, r1} + 8007472: ab0f add r3, sp, #60 ; 0x3c + 8007474: e883 0003 stmia.w r3, {r0, r1} + 8007478: 6aeb ldr r3, [r5, #44] ; 0x2c + 800747a: 930d str r3, [sp, #52] ; 0x34 + 800747c: 2300 movs r3, #0 + 800747e: f88d 3044 strb.w r3, [sp, #68] ; 0x44 + 8007482: 8823 ldrh r3, [r4, #0] + 8007484: f8ad 3046 strh.w r3, [sp, #70] ; 0x46 + 8007488: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 800748c: 2201 movs r2, #1 + 800748e: f88d 2039 strb.w r2, [sp, #57] ; 0x39 + 8007492: b91b cbnz r3, 800749c + 8007494: f88d 2044 strb.w r2, [sp, #68] ; 0x44 + 8007498: f88d 3039 strb.w r3, [sp, #57] ; 0x39 + 800749c: 4b81 ldr r3, [pc, #516] ; (80076a4 ) + 800749e: 9300 str r3, [sp, #0] + 80074a0: 4b81 ldr r3, [pc, #516] ; (80076a8 ) + 80074a2: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80074a6: f1a3 0279 sub.w r2, r3, #121 ; 0x79 + 80074aa: a90c add r1, sp, #48 ; 0x30 + 80074ac: f003 fb09 bl 800aac2 + 80074b0: b1c0 cbz r0, 80074e4 + 80074b2: 280b cmp r0, #11 + 80074b4: d1a8 bne.n 8007408 + 80074b6: f8d4 1494 ldr.w r1, [r4, #1172] ; 0x494 + 80074ba: b199 cbz r1, 80074e4 + 80074bc: 2e00 cmp r6, #0 + 80074be: d0a3 beq.n 8007408 + 80074c0: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 80074c4: 4879 ldr r0, [pc, #484] ; (80076ac ) + 80074c6: f043 0320 orr.w r3, r3, #32 + 80074ca: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 80074ce: f007 fdbb bl 800f048 + 80074d2: 4876 ldr r0, [pc, #472] ; (80076ac ) + 80074d4: f007 fd7e bl 800efd4 + 80074d8: 2000 movs r0, #0 + 80074da: e795 b.n 8007408 + 80074dc: 4870 ldr r0, [pc, #448] ; (80076a0 ) + 80074de: f003 f9e6 bl 800a8ae + 80074e2: e7a4 b.n 800742e + 80074e4: f895 7048 ldrb.w r7, [r5, #72] ; 0x48 + 80074e8: f995 3069 ldrsb.w r3, [r5, #105] ; 0x69 + 80074ec: f995 2039 ldrsb.w r2, [r5, #57] ; 0x39 + 80074f0: f895 107d ldrb.w r1, [r5, #125] ; 0x7d + 80074f4: 4e6e ldr r6, [pc, #440] ; (80076b0 ) + 80074f6: 4638 mov r0, r7 + 80074f8: f003 faf0 bl 800aadc + 80074fc: 9600 str r6, [sp, #0] + 80074fe: b241 sxtb r1, r0 + 8007500: 6ceb ldr r3, [r5, #76] ; 0x4c + 8007502: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 + 8007506: 4638 mov r0, r7 + 8007508: 3618 adds r6, #24 + 800750a: f003 fa8b bl 800aa24 + 800750e: 9600 str r6, [sp, #0] + 8007510: 6ceb ldr r3, [r5, #76] ; 0x4c + 8007512: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 + 8007516: f995 1070 ldrsb.w r1, [r5, #112] ; 0x70 + 800751a: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 800751e: f003 fa81 bl 800aa24 + 8007522: f8d4 13c4 ldr.w r1, [r4, #964] ; 0x3c4 + 8007526: 6dab ldr r3, [r5, #88] ; 0x58 + 8007528: f8d4 23dc ldr.w r2, [r4, #988] ; 0x3dc + 800752c: 440b add r3, r1 + 800752e: f8c4 33b0 str.w r3, [r4, #944] ; 0x3b0 + 8007532: 6deb ldr r3, [r5, #92] ; 0x5c + 8007534: 4413 add r3, r2 + 8007536: f8c4 33b4 str.w r3, [r4, #948] ; 0x3b4 + 800753a: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 + 800753e: 2b04 cmp r3, #4 + 8007540: d007 beq.n 8007552 + 8007542: 6e2b ldr r3, [r5, #96] ; 0x60 + 8007544: 440b add r3, r1 + 8007546: f8c4 33b0 str.w r3, [r4, #944] ; 0x3b0 + 800754a: 6e6b ldr r3, [r5, #100] ; 0x64 + 800754c: 4413 add r3, r2 + 800754e: f8c4 33b4 str.w r3, [r4, #948] ; 0x3b4 + 8007552: 2300 movs r3, #0 + 8007554: 9308 str r3, [sp, #32] + 8007556: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 800755a: b183 cbz r3, 800757e + 800755c: a808 add r0, sp, #32 + 800755e: f002 fc95 bl 8009e8c + 8007562: 2800 cmp r0, #0 + 8007564: d14e bne.n 8007604 + 8007566: f995 0039 ldrsb.w r0, [r5, #57] ; 0x39 + 800756a: f894 6237 ldrb.w r6, [r4, #567] ; 0x237 + 800756e: f89d 7020 ldrb.w r7, [sp, #32] + 8007572: f7ff fd6f bl 8007054 + 8007576: 443e add r6, r7 + 8007578: b280 uxth r0, r0 + 800757a: 42b0 cmp r0, r6 + 800757c: d340 bcc.n 8007600 + 800757e: 2300 movs r3, #0 + 8007580: f88d 3013 strb.w r3, [sp, #19] + 8007584: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 + 8007588: f88d 3021 strb.w r3, [sp, #33] ; 0x21 + 800758c: f895 3038 ldrb.w r3, [r5, #56] ; 0x38 + 8007590: f88d 3022 strb.w r3, [sp, #34] ; 0x22 + 8007594: f8d5 3080 ldr.w r3, [r5, #128] ; 0x80 + 8007598: 9309 str r3, [sp, #36] ; 0x24 + 800759a: f8d5 3084 ldr.w r3, [r5, #132] ; 0x84 + 800759e: 930a str r3, [sp, #40] ; 0x28 + 80075a0: 8823 ldrh r3, [r4, #0] + 80075a2: f8ad 302c strh.w r3, [sp, #44] ; 0x2c + 80075a6: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 80075aa: f894 641b ldrb.w r6, [r4, #1051] ; 0x41b + 80075ae: f88d 302e strb.w r3, [sp, #46] ; 0x2e + 80075b2: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80075b6: 4b3f ldr r3, [pc, #252] ; (80076b4 ) + 80075b8: f88d 6020 strb.w r6, [sp, #32] + 80075bc: f10d 0213 add.w r2, sp, #19 + 80075c0: a908 add r1, sp, #32 + 80075c2: f003 fa43 bl 800aa4c + 80075c6: 2301 movs r3, #1 + 80075c8: f884 3441 strb.w r3, [r4, #1089] ; 0x441 + 80075cc: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 + 80075d0: f884 3442 strb.w r3, [r4, #1090] ; 0x442 + 80075d4: f89d 3013 ldrb.w r3, [sp, #19] + 80075d8: f884 3443 strb.w r3, [r4, #1091] ; 0x443 + 80075dc: f8d4 341c ldr.w r3, [r4, #1052] ; 0x41c + 80075e0: f8c4 6450 str.w r6, [r4, #1104] ; 0x450 + 80075e4: f8c4 3448 str.w r3, [r4, #1096] ; 0x448 + 80075e8: f8c4 3458 str.w r3, [r4, #1112] ; 0x458 + 80075ec: f002 fb76 bl 8009cdc + 80075f0: b150 cbz r0, 8007608 + 80075f2: f8d4 041c ldr.w r0, [r4, #1052] ; 0x41c + 80075f6: f002 fb83 bl 8009d00 + 80075fa: b128 cbz r0, 8007608 + 80075fc: 2010 movs r0, #16 + 80075fe: e703 b.n 8007408 + 8007600: 2008 movs r0, #8 + 8007602: e701 b.n 8007408 + 8007604: 2013 movs r0, #19 + 8007606: e6ff b.n 8007408 + 8007608: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 + 800760c: 2b01 cmp r3, #1 + 800760e: d101 bne.n 8007614 + 8007610: f002 fb78 bl 8009d04 + 8007614: f002 fb65 bl 8009ce2 + 8007618: 2300 movs r3, #0 + 800761a: 9305 str r3, [sp, #20] + 800761c: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 + 8007620: f995 5039 ldrsb.w r5, [r5, #57] ; 0x39 + 8007624: f894 641b ldrb.w r6, [r4, #1051] ; 0x41b + 8007628: b19b cbz r3, 8007652 + 800762a: 2b04 cmp r3, #4 + 800762c: f47f aee6 bne.w 80073fc + 8007630: a805 add r0, sp, #20 + 8007632: f002 fe67 bl 800a304 + 8007636: bb58 cbnz r0, 8007690 + 8007638: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 + 800763c: b113 cbz r3, 8007644 + 800763e: 9b05 ldr r3, [sp, #20] + 8007640: 3b01 subs r3, #1 + 8007642: 9305 str r3, [sp, #20] + 8007644: 4b16 ldr r3, [pc, #88] ; (80076a0 ) + 8007646: 9805 ldr r0, [sp, #20] + 8007648: 4632 mov r2, r6 + 800764a: b2e9 uxtb r1, r5 + 800764c: f002 fec0 bl 800a3d0 + 8007650: e002 b.n 8007658 + 8007652: 4813 ldr r0, [pc, #76] ; (80076a0 ) + 8007654: f002 fe90 bl 800a378 + 8007658: b9c0 cbnz r0, 800768c + 800765a: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 800765e: f894 110c ldrb.w r1, [r4, #268] ; 0x10c + 8007662: 8021 strh r1, [r4, #0] + 8007664: f043 0302 orr.w r3, r3, #2 + 8007668: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 800766c: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 + 8007670: 4811 ldr r0, [pc, #68] ; (80076b8 ) + 8007672: 3301 adds r3, #1 + 8007674: b2db uxtb r3, r3 + 8007676: f884 3418 strb.w r3, [r4, #1048] ; 0x418 + 800767a: f884 3445 strb.w r3, [r4, #1093] ; 0x445 + 800767e: 4b0f ldr r3, [pc, #60] ; (80076bc ) + 8007680: 2500 movs r5, #0 + 8007682: 6a9b ldr r3, [r3, #40] ; 0x28 + 8007684: f8c4 5498 str.w r5, [r4, #1176] ; 0x498 + 8007688: 4798 blx r3 + 800768a: e725 b.n 80074d8 + 800768c: 2011 movs r0, #17 + 800768e: e6bb b.n 8007408 + 8007690: 2012 movs r0, #18 + 8007692: e6b9 b.n 8007408 + 8007694: 200e movs r0, #14 + 8007696: e6b7 b.n 8007408 + 8007698: 20000c00 .word 0x20000c00 + 800769c: 200011c8 .word 0x200011c8 + 80076a0: 200012d0 .word 0x200012d0 + 80076a4: 20000c30 .word 0x20000c30 + 80076a8: 2000165c .word 0x2000165c + 80076ac: 20001530 .word 0x20001530 + 80076b0: 20001580 .word 0x20001580 + 80076b4: 200015e4 .word 0x200015e4 + 80076b8: 200011ca .word 0x200011ca + 80076bc: 080101ec .word 0x080101ec -080076ac : - 80076ac: b5f0 push {r4, r5, r6, r7, lr} - 80076ae: 4c50 ldr r4, [pc, #320] ; (80077f0 ) - 80076b0: 4e50 ldr r6, [pc, #320] ; (80077f4 ) - 80076b2: f8b4 20dc ldrh.w r2, [r4, #220] ; 0xdc - 80076b6: 8722 strh r2, [r4, #56] ; 0x38 - 80076b8: e9d4 012d ldrd r0, r1, [r4, #180] ; 0xb4 - 80076bc: f894 20b1 ldrb.w r2, [r4, #177] ; 0xb1 - 80076c0: f884 2069 strb.w r2, [r4, #105] ; 0x69 - 80076c4: f104 026c add.w r2, r4, #108 ; 0x6c - 80076c8: e882 0003 stmia.w r2, {r0, r1} - 80076cc: e9d4 012f ldrd r0, r1, [r4, #188] ; 0xbc - 80076d0: f104 0274 add.w r2, r4, #116 ; 0x74 - 80076d4: e882 0003 stmia.w r2, {r0, r1} - 80076d8: f8b4 20c4 ldrh.w r2, [r4, #196] ; 0xc4 - 80076dc: f8a4 207c strh.w r2, [r4, #124] ; 0x7c - 80076e0: b091 sub sp, #68 ; 0x44 - 80076e2: f8d4 20cc ldr.w r2, [r4, #204] ; 0xcc - 80076e6: f8d4 10c8 ldr.w r1, [r4, #200] ; 0xc8 - 80076ea: f8c4 2084 str.w r2, [r4, #132] ; 0x84 - 80076ee: 2500 movs r5, #0 - 80076f0: f8d4 20d0 ldr.w r2, [r4, #208] ; 0xd0 - 80076f4: f8c4 2088 str.w r2, [r4, #136] ; 0x88 - 80076f8: 2301 movs r3, #1 - 80076fa: f8a4 3120 strh.w r3, [r4, #288] ; 0x120 - 80076fe: f8c4 1080 str.w r1, [r4, #128] ; 0x80 - 8007702: f884 5130 strb.w r5, [r4, #304] ; 0x130 - 8007706: 62a5 str r5, [r4, #40] ; 0x28 - 8007708: f884 511b strb.w r5, [r4, #283] ; 0x11b - 800770c: f884 503a strb.w r5, [r4, #58] ; 0x3a - 8007710: f884 511d strb.w r5, [r4, #285] ; 0x11d - 8007714: f884 511e strb.w r5, [r4, #286] ; 0x11e - 8007718: f8c4 5134 str.w r5, [r4, #308] ; 0x134 - 800771c: f8c6 5498 str.w r5, [r6, #1176] ; 0x498 - 8007720: f8a6 5418 strh.w r5, [r6, #1048] ; 0x418 - 8007724: f886 541a strb.w r5, [r6, #1050] ; 0x41a - 8007728: f8a4 5138 strh.w r5, [r4, #312] ; 0x138 - 800772c: f88d 3018 strb.w r3, [sp, #24] - 8007730: f504 7309 add.w r3, r4, #548 ; 0x224 - 8007734: 9303 str r3, [sp, #12] - 8007736: f504 730a add.w r3, r4, #552 ; 0x228 - 800773a: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 800773e: f8a4 5146 strh.w r5, [r4, #326] ; 0x146 - 8007742: 9304 str r3, [sp, #16] - 8007744: a903 add r1, sp, #12 - 8007746: 4b2c ldr r3, [pc, #176] ; (80077f8 ) - 8007748: f884 5145 strb.w r5, [r4, #325] ; 0x145 - 800774c: e9c4 554f strd r5, r5, [r4, #316] ; 0x13c - 8007750: 9305 str r3, [sp, #20] - 8007752: f003 f945 bl 800a9e0 - 8007756: 6ee3 ldr r3, [r4, #108] ; 0x6c - 8007758: f8c6 33d4 str.w r3, [r6, #980] ; 0x3d4 - 800775c: f894 307d ldrb.w r3, [r4, #125] ; 0x7d - 8007760: f886 33e0 strb.w r3, [r6, #992] ; 0x3e0 - 8007764: f894 308c ldrb.w r3, [r4, #140] ; 0x8c - 8007768: f886 33e1 strb.w r3, [r6, #993] ; 0x3e1 - 800776c: f44f 7380 mov.w r3, #256 ; 0x100 - 8007770: f8a6 33e2 strh.w r3, [r6, #994] ; 0x3e2 - 8007774: f886 53d0 strb.w r5, [r6, #976] ; 0x3d0 - 8007778: f894 3130 ldrb.w r3, [r4, #304] ; 0x130 - 800777c: f886 33e4 strb.w r3, [r6, #996] ; 0x3e4 - 8007780: f506 7774 add.w r7, r6, #976 ; 0x3d0 - 8007784: cf0f ldmia r7!, {r0, r1, r2, r3} - 8007786: f506 747a add.w r4, r6, #1000 ; 0x3e8 - 800778a: c40f stmia r4!, {r0, r1, r2, r3} - 800778c: e897 0003 ldmia.w r7, {r0, r1} - 8007790: f240 2301 movw r3, #513 ; 0x201 - 8007794: e884 0003 stmia.w r4, {r0, r1} - 8007798: f8a6 33fa strh.w r3, [r6, #1018] ; 0x3fa - 800779c: f8d6 3348 ldr.w r3, [r6, #840] ; 0x348 - 80077a0: f886 541b strb.w r5, [r6, #1051] ; 0x41b - 80077a4: e9cd 5501 strd r5, r5, [sp, #4] - 80077a8: b11b cbz r3, 80077b2 - 80077aa: 685a ldr r2, [r3, #4] - 80077ac: 695b ldr r3, [r3, #20] - 80077ae: 9201 str r2, [sp, #4] - 80077b0: 9302 str r3, [sp, #8] - 80077b2: 4b12 ldr r3, [pc, #72] ; (80077fc ) - 80077b4: 9307 str r3, [sp, #28] - 80077b6: f1a3 0248 sub.w r2, r3, #72 ; 0x48 - 80077ba: 9208 str r2, [sp, #32] - 80077bc: f1a3 0214 sub.w r2, r3, #20 - 80077c0: 9209 str r2, [sp, #36] ; 0x24 - 80077c2: 4a0f ldr r2, [pc, #60] ; (8007800 ) - 80077c4: 920b str r2, [sp, #44] ; 0x2c - 80077c6: 3329 adds r3, #41 ; 0x29 - 80077c8: 930a str r3, [sp, #40] ; 0x28 - 80077ca: f1a2 039c sub.w r3, r2, #156 ; 0x9c - 80077ce: 930c str r3, [sp, #48] ; 0x30 - 80077d0: f1a2 0398 sub.w r3, r2, #152 ; 0x98 - 80077d4: 930d str r3, [sp, #52] ; 0x34 - 80077d6: 1d13 adds r3, r2, #4 - 80077d8: 930e str r3, [sp, #56] ; 0x38 - 80077da: a901 add r1, sp, #4 - 80077dc: f102 034c add.w r3, r2, #76 ; 0x4c - 80077e0: a807 add r0, sp, #28 - 80077e2: f502 6299 add.w r2, r2, #1224 ; 0x4c8 - 80077e6: 930f str r3, [sp, #60] ; 0x3c - 80077e8: f002 fa5d bl 8009ca6 - 80077ec: b011 add sp, #68 ; 0x44 - 80077ee: bdf0 pop {r4, r5, r6, r7, pc} - 80077f0: 20000c00 .word 0x20000c00 - 80077f4: 200011c8 .word 0x200011c8 - 80077f8: 200016e4 .word 0x200016e4 - 80077fc: 20001630 .word 0x20001630 - 8007800: 20000ce4 .word 0x20000ce4 +080076c0 : + 80076c0: b5f0 push {r4, r5, r6, r7, lr} + 80076c2: 4c50 ldr r4, [pc, #320] ; (8007804 ) + 80076c4: 4e50 ldr r6, [pc, #320] ; (8007808 ) + 80076c6: f8b4 20dc ldrh.w r2, [r4, #220] ; 0xdc + 80076ca: 8722 strh r2, [r4, #56] ; 0x38 + 80076cc: e9d4 012d ldrd r0, r1, [r4, #180] ; 0xb4 + 80076d0: f894 20b1 ldrb.w r2, [r4, #177] ; 0xb1 + 80076d4: f884 2069 strb.w r2, [r4, #105] ; 0x69 + 80076d8: f104 026c add.w r2, r4, #108 ; 0x6c + 80076dc: e882 0003 stmia.w r2, {r0, r1} + 80076e0: e9d4 012f ldrd r0, r1, [r4, #188] ; 0xbc + 80076e4: f104 0274 add.w r2, r4, #116 ; 0x74 + 80076e8: e882 0003 stmia.w r2, {r0, r1} + 80076ec: f8b4 20c4 ldrh.w r2, [r4, #196] ; 0xc4 + 80076f0: f8a4 207c strh.w r2, [r4, #124] ; 0x7c + 80076f4: b091 sub sp, #68 ; 0x44 + 80076f6: f8d4 20cc ldr.w r2, [r4, #204] ; 0xcc + 80076fa: f8d4 10c8 ldr.w r1, [r4, #200] ; 0xc8 + 80076fe: f8c4 2084 str.w r2, [r4, #132] ; 0x84 + 8007702: 2500 movs r5, #0 + 8007704: f8d4 20d0 ldr.w r2, [r4, #208] ; 0xd0 + 8007708: f8c4 2088 str.w r2, [r4, #136] ; 0x88 + 800770c: 2301 movs r3, #1 + 800770e: f8a4 3120 strh.w r3, [r4, #288] ; 0x120 + 8007712: f8c4 1080 str.w r1, [r4, #128] ; 0x80 + 8007716: f884 5130 strb.w r5, [r4, #304] ; 0x130 + 800771a: 62a5 str r5, [r4, #40] ; 0x28 + 800771c: f884 511b strb.w r5, [r4, #283] ; 0x11b + 8007720: f884 503a strb.w r5, [r4, #58] ; 0x3a + 8007724: f884 511d strb.w r5, [r4, #285] ; 0x11d + 8007728: f884 511e strb.w r5, [r4, #286] ; 0x11e + 800772c: f8c4 5134 str.w r5, [r4, #308] ; 0x134 + 8007730: f8c6 5498 str.w r5, [r6, #1176] ; 0x498 + 8007734: f8a6 5418 strh.w r5, [r6, #1048] ; 0x418 + 8007738: f886 541a strb.w r5, [r6, #1050] ; 0x41a + 800773c: f8a4 5138 strh.w r5, [r4, #312] ; 0x138 + 8007740: f88d 3018 strb.w r3, [sp, #24] + 8007744: f504 7309 add.w r3, r4, #548 ; 0x224 + 8007748: 9303 str r3, [sp, #12] + 800774a: f504 730a add.w r3, r4, #552 ; 0x228 + 800774e: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8007752: f8a4 5146 strh.w r5, [r4, #326] ; 0x146 + 8007756: 9304 str r3, [sp, #16] + 8007758: a903 add r1, sp, #12 + 800775a: 4b2c ldr r3, [pc, #176] ; (800780c ) + 800775c: f884 5145 strb.w r5, [r4, #325] ; 0x145 + 8007760: e9c4 554f strd r5, r5, [r4, #316] ; 0x13c + 8007764: 9305 str r3, [sp, #20] + 8007766: f003 f945 bl 800a9f4 + 800776a: 6ee3 ldr r3, [r4, #108] ; 0x6c + 800776c: f8c6 33d4 str.w r3, [r6, #980] ; 0x3d4 + 8007770: f894 307d ldrb.w r3, [r4, #125] ; 0x7d + 8007774: f886 33e0 strb.w r3, [r6, #992] ; 0x3e0 + 8007778: f894 308c ldrb.w r3, [r4, #140] ; 0x8c + 800777c: f886 33e1 strb.w r3, [r6, #993] ; 0x3e1 + 8007780: f44f 7380 mov.w r3, #256 ; 0x100 + 8007784: f8a6 33e2 strh.w r3, [r6, #994] ; 0x3e2 + 8007788: f886 53d0 strb.w r5, [r6, #976] ; 0x3d0 + 800778c: f894 3130 ldrb.w r3, [r4, #304] ; 0x130 + 8007790: f886 33e4 strb.w r3, [r6, #996] ; 0x3e4 + 8007794: f506 7774 add.w r7, r6, #976 ; 0x3d0 + 8007798: cf0f ldmia r7!, {r0, r1, r2, r3} + 800779a: f506 747a add.w r4, r6, #1000 ; 0x3e8 + 800779e: c40f stmia r4!, {r0, r1, r2, r3} + 80077a0: e897 0003 ldmia.w r7, {r0, r1} + 80077a4: f240 2301 movw r3, #513 ; 0x201 + 80077a8: e884 0003 stmia.w r4, {r0, r1} + 80077ac: f8a6 33fa strh.w r3, [r6, #1018] ; 0x3fa + 80077b0: f8d6 3348 ldr.w r3, [r6, #840] ; 0x348 + 80077b4: f886 541b strb.w r5, [r6, #1051] ; 0x41b + 80077b8: e9cd 5501 strd r5, r5, [sp, #4] + 80077bc: b11b cbz r3, 80077c6 + 80077be: 685a ldr r2, [r3, #4] + 80077c0: 695b ldr r3, [r3, #20] + 80077c2: 9201 str r2, [sp, #4] + 80077c4: 9302 str r3, [sp, #8] + 80077c6: 4b12 ldr r3, [pc, #72] ; (8007810 ) + 80077c8: 9307 str r3, [sp, #28] + 80077ca: f1a3 0248 sub.w r2, r3, #72 ; 0x48 + 80077ce: 9208 str r2, [sp, #32] + 80077d0: f1a3 0214 sub.w r2, r3, #20 + 80077d4: 9209 str r2, [sp, #36] ; 0x24 + 80077d6: 4a0f ldr r2, [pc, #60] ; (8007814 ) + 80077d8: 920b str r2, [sp, #44] ; 0x2c + 80077da: 3329 adds r3, #41 ; 0x29 + 80077dc: 930a str r3, [sp, #40] ; 0x28 + 80077de: f1a2 039c sub.w r3, r2, #156 ; 0x9c + 80077e2: 930c str r3, [sp, #48] ; 0x30 + 80077e4: f1a2 0398 sub.w r3, r2, #152 ; 0x98 + 80077e8: 930d str r3, [sp, #52] ; 0x34 + 80077ea: 1d13 adds r3, r2, #4 + 80077ec: 930e str r3, [sp, #56] ; 0x38 + 80077ee: a901 add r1, sp, #4 + 80077f0: f102 034c add.w r3, r2, #76 ; 0x4c + 80077f4: a807 add r0, sp, #28 + 80077f6: f502 6299 add.w r2, r2, #1224 ; 0x4c8 + 80077fa: 930f str r3, [sp, #60] ; 0x3c + 80077fc: f002 fa5d bl 8009cba + 8007800: b011 add sp, #68 ; 0x44 + 8007802: bdf0 pop {r4, r5, r6, r7, pc} + 8007804: 20000c00 .word 0x20000c00 + 8007808: 200011c8 .word 0x200011c8 + 800780c: 200016e4 .word 0x200016e4 + 8007810: 20001630 .word 0x20001630 + 8007814: 20000ce4 .word 0x20000ce4 -08007804 : - 8007804: b5f8 push {r3, r4, r5, r6, r7, lr} - 8007806: 4f0d ldr r7, [pc, #52] ; (800783c ) - 8007808: 4c0d ldr r4, [pc, #52] ; (8007840 ) - 800780a: 4e0e ldr r6, [pc, #56] ; (8007844 ) - 800780c: 460d mov r5, r1 - 800780e: f007 fb89 bl 800ef24 - 8007812: 6b3b ldr r3, [r7, #48] ; 0x30 - 8007814: 4798 blx r3 - 8007816: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 800781a: f204 4224 addw r2, r4, #1060 ; 0x424 - 800781e: 4629 mov r1, r5 - 8007820: f003 f902 bl 800aa28 - 8007824: b148 cbz r0, 800783a - 8007826: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 - 800782a: f884 346a strb.w r3, [r4, #1130] ; 0x46a - 800782e: 6d70 ldr r0, [r6, #84] ; 0x54 - 8007830: 6b7b ldr r3, [r7, #52] ; 0x34 - 8007832: 4798 blx r3 - 8007834: 7ceb ldrb r3, [r5, #19] - 8007836: f884 3490 strb.w r3, [r4, #1168] ; 0x490 - 800783a: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800783c: 080101d4 .word 0x080101d4 - 8007840: 200011c8 .word 0x200011c8 - 8007844: 20000c00 .word 0x20000c00 +08007818 : + 8007818: b5f8 push {r3, r4, r5, r6, r7, lr} + 800781a: 4f0d ldr r7, [pc, #52] ; (8007850 ) + 800781c: 4c0d ldr r4, [pc, #52] ; (8007854 ) + 800781e: 4e0e ldr r6, [pc, #56] ; (8007858 ) + 8007820: 460d mov r5, r1 + 8007822: f007 fb89 bl 800ef38 + 8007826: 6b3b ldr r3, [r7, #48] ; 0x30 + 8007828: 4798 blx r3 + 800782a: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 800782e: f204 4224 addw r2, r4, #1060 ; 0x424 + 8007832: 4629 mov r1, r5 + 8007834: f003 f902 bl 800aa3c + 8007838: b148 cbz r0, 800784e + 800783a: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 + 800783e: f884 346a strb.w r3, [r4, #1130] ; 0x46a + 8007842: 6d70 ldr r0, [r6, #84] ; 0x54 + 8007844: 6b7b ldr r3, [r7, #52] ; 0x34 + 8007846: 4798 blx r3 + 8007848: 7ceb ldrb r3, [r5, #19] + 800784a: f884 3490 strb.w r3, [r4, #1168] ; 0x490 + 800784e: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8007850: 080101ec .word 0x080101ec + 8007854: 200011c8 .word 0x200011c8 + 8007858: 20000c00 .word 0x20000c00 -08007848 : - 8007848: 480f ldr r0, [pc, #60] ; (8007888 ) - 800784a: f890 341b ldrb.w r3, [r0, #1051] ; 0x41b - 800784e: f880 33b8 strb.w r3, [r0, #952] ; 0x3b8 - 8007852: 4b0e ldr r3, [pc, #56] ; (800788c ) - 8007854: f893 2069 ldrb.w r2, [r3, #105] ; 0x69 - 8007858: f880 23bb strb.w r2, [r0, #955] ; 0x3bb - 800785c: f893 207d ldrb.w r2, [r3, #125] ; 0x7d - 8007860: f880 23c8 strb.w r2, [r0, #968] ; 0x3c8 - 8007864: f893 208c ldrb.w r2, [r3, #140] ; 0x8c - 8007868: f880 23c9 strb.w r2, [r0, #969] ; 0x3c9 - 800786c: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 - 8007870: f880 33cc strb.w r3, [r0, #972] ; 0x3cc - 8007874: 2200 movs r2, #0 - 8007876: f8a0 23ca strh.w r2, [r0, #970] ; 0x3ca - 800787a: f500 716e add.w r1, r0, #952 ; 0x3b8 - 800787e: f500 7060 add.w r0, r0, #896 ; 0x380 - 8007882: f7ff bfbf b.w 8007804 - 8007886: bf00 nop - 8007888: 200011c8 .word 0x200011c8 - 800788c: 20000c00 .word 0x20000c00 +0800785c : + 800785c: 480f ldr r0, [pc, #60] ; (800789c ) + 800785e: f890 341b ldrb.w r3, [r0, #1051] ; 0x41b + 8007862: f880 33b8 strb.w r3, [r0, #952] ; 0x3b8 + 8007866: 4b0e ldr r3, [pc, #56] ; (80078a0 ) + 8007868: f893 2069 ldrb.w r2, [r3, #105] ; 0x69 + 800786c: f880 23bb strb.w r2, [r0, #955] ; 0x3bb + 8007870: f893 207d ldrb.w r2, [r3, #125] ; 0x7d + 8007874: f880 23c8 strb.w r2, [r0, #968] ; 0x3c8 + 8007878: f893 208c ldrb.w r2, [r3, #140] ; 0x8c + 800787c: f880 23c9 strb.w r2, [r0, #969] ; 0x3c9 + 8007880: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 + 8007884: f880 33cc strb.w r3, [r0, #972] ; 0x3cc + 8007888: 2200 movs r2, #0 + 800788a: f8a0 23ca strh.w r2, [r0, #970] ; 0x3ca + 800788e: f500 716e add.w r1, r0, #952 ; 0x3b8 + 8007892: f500 7060 add.w r0, r0, #896 ; 0x380 + 8007896: f7ff bfbf b.w 8007818 + 800789a: bf00 nop + 800789c: 200011c8 .word 0x200011c8 + 80078a0: 20000c00 .word 0x20000c00 -08007890 : - 8007890: 4811 ldr r0, [pc, #68] ; (80078d8 ) - 8007892: f890 3490 ldrb.w r3, [r0, #1168] ; 0x490 - 8007896: b1eb cbz r3, 80078d4 - 8007898: f890 341b ldrb.w r3, [r0, #1051] ; 0x41b - 800789c: f880 33d0 strb.w r3, [r0, #976] ; 0x3d0 - 80078a0: 4b0e ldr r3, [pc, #56] ; (80078dc ) - 80078a2: 6eda ldr r2, [r3, #108] ; 0x6c - 80078a4: f8c0 23d4 str.w r2, [r0, #980] ; 0x3d4 - 80078a8: f893 207d ldrb.w r2, [r3, #125] ; 0x7d - 80078ac: f880 23e0 strb.w r2, [r0, #992] ; 0x3e0 - 80078b0: f893 208c ldrb.w r2, [r3, #140] ; 0x8c - 80078b4: f880 23e1 strb.w r2, [r0, #993] ; 0x3e1 - 80078b8: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 - 80078bc: f880 33e4 strb.w r3, [r0, #996] ; 0x3e4 - 80078c0: f44f 7280 mov.w r2, #256 ; 0x100 - 80078c4: f8a0 23e2 strh.w r2, [r0, #994] ; 0x3e2 - 80078c8: f500 7174 add.w r1, r0, #976 ; 0x3d0 - 80078cc: f500 7066 add.w r0, r0, #920 ; 0x398 - 80078d0: f7ff bf98 b.w 8007804 - 80078d4: 4770 bx lr - 80078d6: bf00 nop - 80078d8: 200011c8 .word 0x200011c8 - 80078dc: 20000c00 .word 0x20000c00 +080078a4 : + 80078a4: 4811 ldr r0, [pc, #68] ; (80078ec ) + 80078a6: f890 3490 ldrb.w r3, [r0, #1168] ; 0x490 + 80078aa: b1eb cbz r3, 80078e8 + 80078ac: f890 341b ldrb.w r3, [r0, #1051] ; 0x41b + 80078b0: f880 33d0 strb.w r3, [r0, #976] ; 0x3d0 + 80078b4: 4b0e ldr r3, [pc, #56] ; (80078f0 ) + 80078b6: 6eda ldr r2, [r3, #108] ; 0x6c + 80078b8: f8c0 23d4 str.w r2, [r0, #980] ; 0x3d4 + 80078bc: f893 207d ldrb.w r2, [r3, #125] ; 0x7d + 80078c0: f880 23e0 strb.w r2, [r0, #992] ; 0x3e0 + 80078c4: f893 208c ldrb.w r2, [r3, #140] ; 0x8c + 80078c8: f880 23e1 strb.w r2, [r0, #993] ; 0x3e1 + 80078cc: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 + 80078d0: f880 33e4 strb.w r3, [r0, #996] ; 0x3e4 + 80078d4: f44f 7280 mov.w r2, #256 ; 0x100 + 80078d8: f8a0 23e2 strh.w r2, [r0, #994] ; 0x3e2 + 80078dc: f500 7174 add.w r1, r0, #976 ; 0x3d0 + 80078e0: f500 7066 add.w r0, r0, #920 ; 0x398 + 80078e4: f7ff bf98 b.w 8007818 + 80078e8: 4770 bx lr + 80078ea: bf00 nop + 80078ec: 200011c8 .word 0x200011c8 + 80078f0: 20000c00 .word 0x20000c00 -080078e0 : - 80078e0: b570 push {r4, r5, r6, lr} - 80078e2: 4c34 ldr r4, [pc, #208] ; (80079b4 ) - 80078e4: 2124 movs r1, #36 ; 0x24 - 80078e6: 4620 mov r0, r4 - 80078e8: f005 f80e bl 800c908 - 80078ec: 6a63 ldr r3, [r4, #36] ; 0x24 - 80078ee: 4298 cmp r0, r3 - 80078f0: bf18 it ne - 80078f2: 6260 strne r0, [r4, #36] ; 0x24 - 80078f4: f04f 011c mov.w r1, #28 - 80078f8: 482f ldr r0, [pc, #188] ; (80079b8 ) - 80078fa: bf14 ite ne - 80078fc: 2501 movne r5, #1 - 80078fe: 2500 moveq r5, #0 - 8007900: f005 f802 bl 800c908 - 8007904: 6c63 ldr r3, [r4, #68] ; 0x44 - 8007906: 4298 cmp r0, r3 - 8007908: bf18 it ne - 800790a: 6460 strne r0, [r4, #68] ; 0x44 - 800790c: f44f 7180 mov.w r1, #256 ; 0x100 - 8007910: 482a ldr r0, [pc, #168] ; (80079bc ) - 8007912: bf18 it ne - 8007914: f045 0502 orrne.w r5, r5, #2 - 8007918: f004 fff6 bl 800c908 - 800791c: f8d4 3148 ldr.w r3, [r4, #328] ; 0x148 - 8007920: 4298 cmp r0, r3 - 8007922: bf18 it ne - 8007924: f8c4 0148 strne.w r0, [r4, #328] ; 0x148 - 8007928: f04f 01d4 mov.w r1, #212 ; 0xd4 - 800792c: 4824 ldr r0, [pc, #144] ; (80079c0 ) - 800792e: bf18 it ne - 8007930: f045 0504 orrne.w r5, r5, #4 - 8007934: f004 ffe8 bl 800c908 - 8007938: f8d4 3220 ldr.w r3, [r4, #544] ; 0x220 - 800793c: 4298 cmp r0, r3 - 800793e: bf18 it ne - 8007940: f8c4 0220 strne.w r0, [r4, #544] ; 0x220 - 8007944: f04f 0100 mov.w r1, #0 - 8007948: 481e ldr r0, [pc, #120] ; (80079c4 ) - 800794a: bf18 it ne - 800794c: f045 0508 orrne.w r5, r5, #8 - 8007950: f004 ffda bl 800c908 - 8007954: f8d4 3224 ldr.w r3, [r4, #548] ; 0x224 - 8007958: 4298 cmp r0, r3 - 800795a: bf18 it ne - 800795c: f8c4 0224 strne.w r0, [r4, #548] ; 0x224 - 8007960: f44f 7160 mov.w r1, #896 ; 0x380 - 8007964: 4818 ldr r0, [pc, #96] ; (80079c8 ) - 8007966: bf18 it ne - 8007968: f045 0510 orrne.w r5, r5, #16 - 800796c: f004 ffcc bl 800c908 - 8007970: f8d4 35a8 ldr.w r3, [r4, #1448] ; 0x5a8 - 8007974: 4298 cmp r0, r3 - 8007976: bf18 it ne - 8007978: f8c4 05a8 strne.w r0, [r4, #1448] ; 0x5a8 - 800797c: f04f 0114 mov.w r1, #20 - 8007980: 4812 ldr r0, [pc, #72] ; (80079cc ) - 8007982: bf18 it ne - 8007984: f045 0520 orrne.w r5, r5, #32 - 8007988: f004 ffbe bl 800c908 - 800798c: f8d4 35c0 ldr.w r3, [r4, #1472] ; 0x5c0 - 8007990: 4298 cmp r0, r3 - 8007992: 4b0f ldr r3, [pc, #60] ; (80079d0 ) - 8007994: bf18 it ne - 8007996: f8c4 05c0 strne.w r0, [r4, #1472] ; 0x5c0 - 800799a: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 - 800799e: bf18 it ne - 80079a0: f045 0540 orrne.w r5, r5, #64 ; 0x40 - 80079a4: b12b cbz r3, 80079b2 - 80079a6: 691b ldr r3, [r3, #16] - 80079a8: b11b cbz r3, 80079b2 - 80079aa: 4628 mov r0, r5 - 80079ac: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 80079b0: 4718 bx r3 - 80079b2: bd70 pop {r4, r5, r6, pc} - 80079b4: 20000c00 .word 0x20000c00 - 80079b8: 20000c28 .word 0x20000c28 - 80079bc: 20000c48 .word 0x20000c48 - 80079c0: 20000d4c .word 0x20000d4c - 80079c4: 20000e24 .word 0x20000e24 - 80079c8: 20000e28 .word 0x20000e28 - 80079cc: 200011ac .word 0x200011ac - 80079d0: 200011c8 .word 0x200011c8 +080078f4 : + 80078f4: b570 push {r4, r5, r6, lr} + 80078f6: 4c34 ldr r4, [pc, #208] ; (80079c8 ) + 80078f8: 2124 movs r1, #36 ; 0x24 + 80078fa: 4620 mov r0, r4 + 80078fc: f005 f80e bl 800c91c + 8007900: 6a63 ldr r3, [r4, #36] ; 0x24 + 8007902: 4298 cmp r0, r3 + 8007904: bf18 it ne + 8007906: 6260 strne r0, [r4, #36] ; 0x24 + 8007908: f04f 011c mov.w r1, #28 + 800790c: 482f ldr r0, [pc, #188] ; (80079cc ) + 800790e: bf14 ite ne + 8007910: 2501 movne r5, #1 + 8007912: 2500 moveq r5, #0 + 8007914: f005 f802 bl 800c91c + 8007918: 6c63 ldr r3, [r4, #68] ; 0x44 + 800791a: 4298 cmp r0, r3 + 800791c: bf18 it ne + 800791e: 6460 strne r0, [r4, #68] ; 0x44 + 8007920: f44f 7180 mov.w r1, #256 ; 0x100 + 8007924: 482a ldr r0, [pc, #168] ; (80079d0 ) + 8007926: bf18 it ne + 8007928: f045 0502 orrne.w r5, r5, #2 + 800792c: f004 fff6 bl 800c91c + 8007930: f8d4 3148 ldr.w r3, [r4, #328] ; 0x148 + 8007934: 4298 cmp r0, r3 + 8007936: bf18 it ne + 8007938: f8c4 0148 strne.w r0, [r4, #328] ; 0x148 + 800793c: f04f 01d4 mov.w r1, #212 ; 0xd4 + 8007940: 4824 ldr r0, [pc, #144] ; (80079d4 ) + 8007942: bf18 it ne + 8007944: f045 0504 orrne.w r5, r5, #4 + 8007948: f004 ffe8 bl 800c91c + 800794c: f8d4 3220 ldr.w r3, [r4, #544] ; 0x220 + 8007950: 4298 cmp r0, r3 + 8007952: bf18 it ne + 8007954: f8c4 0220 strne.w r0, [r4, #544] ; 0x220 + 8007958: f04f 0100 mov.w r1, #0 + 800795c: 481e ldr r0, [pc, #120] ; (80079d8 ) + 800795e: bf18 it ne + 8007960: f045 0508 orrne.w r5, r5, #8 + 8007964: f004 ffda bl 800c91c + 8007968: f8d4 3224 ldr.w r3, [r4, #548] ; 0x224 + 800796c: 4298 cmp r0, r3 + 800796e: bf18 it ne + 8007970: f8c4 0224 strne.w r0, [r4, #548] ; 0x224 + 8007974: f44f 7160 mov.w r1, #896 ; 0x380 + 8007978: 4818 ldr r0, [pc, #96] ; (80079dc ) + 800797a: bf18 it ne + 800797c: f045 0510 orrne.w r5, r5, #16 + 8007980: f004 ffcc bl 800c91c + 8007984: f8d4 35a8 ldr.w r3, [r4, #1448] ; 0x5a8 + 8007988: 4298 cmp r0, r3 + 800798a: bf18 it ne + 800798c: f8c4 05a8 strne.w r0, [r4, #1448] ; 0x5a8 + 8007990: f04f 0114 mov.w r1, #20 + 8007994: 4812 ldr r0, [pc, #72] ; (80079e0 ) + 8007996: bf18 it ne + 8007998: f045 0520 orrne.w r5, r5, #32 + 800799c: f004 ffbe bl 800c91c + 80079a0: f8d4 35c0 ldr.w r3, [r4, #1472] ; 0x5c0 + 80079a4: 4298 cmp r0, r3 + 80079a6: 4b0f ldr r3, [pc, #60] ; (80079e4 ) + 80079a8: bf18 it ne + 80079aa: f8c4 05c0 strne.w r0, [r4, #1472] ; 0x5c0 + 80079ae: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 + 80079b2: bf18 it ne + 80079b4: f045 0540 orrne.w r5, r5, #64 ; 0x40 + 80079b8: b12b cbz r3, 80079c6 + 80079ba: 691b ldr r3, [r3, #16] + 80079bc: b11b cbz r3, 80079c6 + 80079be: 4628 mov r0, r5 + 80079c0: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 80079c4: 4718 bx r3 + 80079c6: bd70 pop {r4, r5, r6, pc} + 80079c8: 20000c00 .word 0x20000c00 + 80079cc: 20000c28 .word 0x20000c28 + 80079d0: 20000c48 .word 0x20000c48 + 80079d4: 20000d4c .word 0x20000d4c + 80079d8: 20000e24 .word 0x20000e24 + 80079dc: 20000e28 .word 0x20000e28 + 80079e0: 200011ac .word 0x200011ac + 80079e4: 200011c8 .word 0x200011c8 -080079d4 : - 80079d4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80079d8: b091 sub sp, #68 ; 0x44 - 80079da: f04f 0800 mov.w r8, #0 - 80079de: 2b01 cmp r3, #1 - 80079e0: 4605 mov r5, r0 - 80079e2: 460f mov r7, r1 - 80079e4: 9202 str r2, [sp, #8] - 80079e6: f88d 8015 strb.w r8, [sp, #21] - 80079ea: f8ad 8018 strh.w r8, [sp, #24] - 80079ee: d803 bhi.n 80079f8 - 80079f0: 4ec8 ldr r6, [pc, #800] ; (8007d14 ) - 80079f2: 46c1 mov r9, r8 - 80079f4: 45b9 cmp r9, r7 - 80079f6: d302 bcc.n 80079fe - 80079f8: b011 add sp, #68 ; 0x44 - 80079fa: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80079fe: f815 0009 ldrb.w r0, [r5, r9] - 8007a02: f002 fa77 bl 8009ef4 - 8007a06: 4448 add r0, r9 - 8007a08: 42b8 cmp r0, r7 - 8007a0a: dcf5 bgt.n 80079f8 - 8007a0c: f815 3009 ldrb.w r3, [r5, r9] - 8007a10: f109 0401 add.w r4, r9, #1 - 8007a14: 3b02 subs r3, #2 - 8007a16: b2e4 uxtb r4, r4 - 8007a18: 2b11 cmp r3, #17 - 8007a1a: d8ed bhi.n 80079f8 - 8007a1c: a201 add r2, pc, #4 ; (adr r2, 8007a24 ) - 8007a1e: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8007a22: bf00 nop - 8007a24: 08007a6d .word 0x08007a6d - 8007a28: 08007a9f .word 0x08007a9f - 8007a2c: 08007b9f .word 0x08007b9f - 8007a30: 08007bc9 .word 0x08007bc9 - 8007a34: 08007c51 .word 0x08007c51 - 8007a38: 08007c79 .word 0x08007c79 - 8007a3c: 08007ceb .word 0x08007ceb - 8007a40: 08007d1d .word 0x08007d1d - 8007a44: 08007d99 .word 0x08007d99 - 8007a48: 080079f9 .word 0x080079f9 - 8007a4c: 080079f9 .word 0x080079f9 - 8007a50: 08007df7 .word 0x08007df7 - 8007a54: 080079f9 .word 0x080079f9 - 8007a58: 080079f9 .word 0x080079f9 - 8007a5c: 08007eb5 .word 0x08007eb5 - 8007a60: 08007edd .word 0x08007edd - 8007a64: 08007f21 .word 0x08007f21 - 8007a68: 08007f5f .word 0x08007f5f - 8007a6c: 2005 movs r0, #5 - 8007a6e: f002 faed bl 800a04c - 8007a72: b190 cbz r0, 8007a9a - 8007a74: 2105 movs r1, #5 - 8007a76: 2000 movs r0, #0 - 8007a78: f002 faac bl 8009fd4 - 8007a7c: 5d2a ldrb r2, [r5, r4] - 8007a7e: 4ba6 ldr r3, [pc, #664] ; (8007d18 ) - 8007a80: f109 0403 add.w r4, r9, #3 - 8007a84: f109 0902 add.w r9, r9, #2 - 8007a88: fa5f f989 uxtb.w r9, r9 - 8007a8c: f883 245c strb.w r2, [r3, #1116] ; 0x45c - 8007a90: f815 2009 ldrb.w r2, [r5, r9] - 8007a94: f883 245d strb.w r2, [r3, #1117] ; 0x45d - 8007a98: b2e4 uxtb r4, r4 - 8007a9a: 46a1 mov r9, r4 - 8007a9c: e7aa b.n 80079f4 - 8007a9e: 2300 movs r3, #0 - 8007aa0: f88d 3016 strb.w r3, [sp, #22] - 8007aa4: f88d 3017 strb.w r3, [sp, #23] - 8007aa8: f88d 301c strb.w r3, [sp, #28] - 8007aac: f88d 3020 strb.w r3, [sp, #32] - 8007ab0: f1b8 0f00 cmp.w r8, #0 - 8007ab4: d16c bne.n 8007b90 - 8007ab6: f04f 0805 mov.w r8, #5 - 8007aba: f896 207c ldrb.w r2, [r6, #124] ; 0x7c - 8007abe: f88d 2039 strb.w r2, [sp, #57] ; 0x39 - 8007ac2: 1e63 subs r3, r4, #1 - 8007ac4: f896 2039 ldrb.w r2, [r6, #57] ; 0x39 - 8007ac8: f88d 203b strb.w r2, [sp, #59] ; 0x3b - 8007acc: 442b add r3, r5 - 8007ace: f896 2038 ldrb.w r2, [r6, #56] ; 0x38 - 8007ad2: 930d str r3, [sp, #52] ; 0x34 - 8007ad4: f88d 203c strb.w r2, [sp, #60] ; 0x3c - 8007ad8: f896 311a ldrb.w r3, [r6, #282] ; 0x11a - 8007adc: f896 2068 ldrb.w r2, [r6, #104] ; 0x68 - 8007ae0: f88d 203d strb.w r2, [sp, #61] ; 0x3d - 8007ae4: f8d6 212c ldr.w r2, [r6, #300] ; 0x12c - 8007ae8: f88d 303a strb.w r3, [sp, #58] ; 0x3a - 8007aec: 920c str r2, [sp, #48] ; 0x30 - 8007aee: b373 cbz r3, 8007b4e - 8007af0: 1c7b adds r3, r7, #1 - 8007af2: 1b1b subs r3, r3, r4 - 8007af4: b2db uxtb r3, r3 - 8007af6: f88d 3038 strb.w r3, [sp, #56] ; 0x38 - 8007afa: ab08 add r3, sp, #32 - 8007afc: 9301 str r3, [sp, #4] - 8007afe: ab07 add r3, sp, #28 - 8007b00: 9300 str r3, [sp, #0] - 8007b02: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8007b06: f10d 0317 add.w r3, sp, #23 - 8007b0a: f10d 0216 add.w r2, sp, #22 - 8007b0e: a90c add r1, sp, #48 ; 0x30 - 8007b10: f002 ff9e bl 800aa50 - 8007b14: f88d 0015 strb.w r0, [sp, #21] - 8007b18: f000 0007 and.w r0, r0, #7 - 8007b1c: 2807 cmp r0, #7 - 8007b1e: d113 bne.n 8007b48 - 8007b20: f996 2039 ldrsb.w r2, [r6, #57] ; 0x39 - 8007b24: f99d 3016 ldrsb.w r3, [sp, #22] - 8007b28: f886 3039 strb.w r3, [r6, #57] ; 0x39 - 8007b2c: 429a cmp r2, r3 - 8007b2e: f89d 3017 ldrb.w r3, [sp, #23] - 8007b32: f886 3038 strb.w r3, [r6, #56] ; 0x38 - 8007b36: bfb8 it lt - 8007b38: 2201 movlt r2, #1 - 8007b3a: f89d 301c ldrb.w r3, [sp, #28] - 8007b3e: bfb8 it lt - 8007b40: f886 211d strblt.w r2, [r6, #285] ; 0x11d - 8007b44: f886 3068 strb.w r3, [r6, #104] ; 0x68 - 8007b48: f04f 0900 mov.w r9, #0 - 8007b4c: e009 b.n 8007b62 - 8007b4e: 2305 movs r3, #5 - 8007b50: e7d1 b.n 8007af6 - 8007b52: 2201 movs r2, #1 - 8007b54: f10d 0115 add.w r1, sp, #21 - 8007b58: 2003 movs r0, #3 - 8007b5a: f002 f8db bl 8009d14 - 8007b5e: f109 0901 add.w r9, r9, #1 - 8007b62: fa5f f289 uxtb.w r2, r9 - 8007b66: f89d 3020 ldrb.w r3, [sp, #32] - 8007b6a: fbb3 f1f8 udiv r1, r3, r8 - 8007b6e: 4291 cmp r1, r2 - 8007b70: d8ef bhi.n 8007b52 - 8007b72: 4423 add r3, r4 - 8007b74: b2dc uxtb r4, r3 - 8007b76: 1e63 subs r3, r4, #1 - 8007b78: b2db uxtb r3, r3 - 8007b7a: 429f cmp r7, r3 - 8007b7c: d90d bls.n 8007b9a - 8007b7e: 5cea ldrb r2, [r5, r3] - 8007b80: 2a03 cmp r2, #3 - 8007b82: d09a beq.n 8007aba - 8007b84: 42a7 cmp r7, r4 - 8007b86: bf88 it hi - 8007b88: 461c movhi r4, r3 - 8007b8a: f04f 0801 mov.w r8, #1 - 8007b8e: e784 b.n 8007a9a - 8007b90: f109 0905 add.w r9, r9, #5 - 8007b94: fa5f f489 uxtb.w r4, r9 - 8007b98: e7f7 b.n 8007b8a - 8007b9a: 461c mov r4, r3 - 8007b9c: e7f5 b.n 8007b8a - 8007b9e: 5d2b ldrb r3, [r5, r4] - 8007ba0: 2201 movs r2, #1 - 8007ba2: f003 030f and.w r3, r3, #15 - 8007ba6: f109 0902 add.w r9, r9, #2 - 8007baa: f886 311b strb.w r3, [r6, #283] ; 0x11b - 8007bae: fa02 f303 lsl.w r3, r2, r3 - 8007bb2: fa5f f989 uxtb.w r9, r9 - 8007bb6: f8a6 3120 strh.w r3, [r6, #288] ; 0x120 - 8007bba: 2200 movs r2, #0 - 8007bbc: a906 add r1, sp, #24 - 8007bbe: 2004 movs r0, #4 - 8007bc0: f002 f8a8 bl 8009d14 - 8007bc4: 464c mov r4, r9 - 8007bc6: e768 b.n 8007a9a - 8007bc8: 2307 movs r3, #7 - 8007bca: f88d 3015 strb.w r3, [sp, #21] - 8007bce: 5d2b ldrb r3, [r5, r4] - 8007bd0: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8007bd4: f3c3 1202 ubfx r2, r3, #4, #3 - 8007bd8: f003 030f and.w r3, r3, #15 - 8007bdc: f88d 3030 strb.w r3, [sp, #48] ; 0x30 - 8007be0: f109 0303 add.w r3, r9, #3 - 8007be4: b2db uxtb r3, r3 - 8007be6: f88d 2031 strb.w r2, [sp, #49] ; 0x31 - 8007bea: 5cea ldrb r2, [r5, r3] - 8007bec: f109 0304 add.w r3, r9, #4 - 8007bf0: b2db uxtb r3, r3 - 8007bf2: f109 0405 add.w r4, r9, #5 - 8007bf6: 5ceb ldrb r3, [r5, r3] - 8007bf8: f109 0902 add.w r9, r9, #2 - 8007bfc: fa5f f989 uxtb.w r9, r9 - 8007c00: 041b lsls r3, r3, #16 - 8007c02: ea43 2302 orr.w r3, r3, r2, lsl #8 - 8007c06: f815 2009 ldrb.w r2, [r5, r9] - 8007c0a: 4313 orrs r3, r2 - 8007c0c: 2264 movs r2, #100 ; 0x64 - 8007c0e: 4353 muls r3, r2 - 8007c10: a90c add r1, sp, #48 ; 0x30 - 8007c12: 930d str r3, [sp, #52] ; 0x34 - 8007c14: f002 ff2b bl 800aa6e - 8007c18: f000 0307 and.w r3, r0, #7 - 8007c1c: 2b07 cmp r3, #7 - 8007c1e: b2e4 uxtb r4, r4 - 8007c20: f88d 0015 strb.w r0, [sp, #21] - 8007c24: d10c bne.n 8007c40 - 8007c26: f89d 3030 ldrb.w r3, [sp, #48] ; 0x30 - 8007c2a: f886 3070 strb.w r3, [r6, #112] ; 0x70 - 8007c2e: f886 3078 strb.w r3, [r6, #120] ; 0x78 - 8007c32: 9b0d ldr r3, [sp, #52] ; 0x34 - 8007c34: 66f3 str r3, [r6, #108] ; 0x6c - 8007c36: 6773 str r3, [r6, #116] ; 0x74 - 8007c38: f89d 3031 ldrb.w r3, [sp, #49] ; 0x31 - 8007c3c: f886 3069 strb.w r3, [r6, #105] ; 0x69 - 8007c40: f88d 0018 strb.w r0, [sp, #24] - 8007c44: 2201 movs r2, #1 - 8007c46: a906 add r1, sp, #24 - 8007c48: 2005 movs r0, #5 - 8007c4a: f002 f863 bl 8009d14 - 8007c4e: e724 b.n 8007a9a - 8007c50: 4b31 ldr r3, [pc, #196] ; (8007d18 ) - 8007c52: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 - 8007c56: b16b cbz r3, 8007c74 - 8007c58: 681b ldr r3, [r3, #0] - 8007c5a: b15b cbz r3, 8007c74 - 8007c5c: 4798 blx r3 - 8007c5e: 9b02 ldr r3, [sp, #8] - 8007c60: f88d 0018 strb.w r0, [sp, #24] - 8007c64: f003 033f and.w r3, r3, #63 ; 0x3f - 8007c68: f88d 3019 strb.w r3, [sp, #25] - 8007c6c: 2202 movs r2, #2 - 8007c6e: a906 add r1, sp, #24 - 8007c70: 2006 movs r0, #6 - 8007c72: e7ea b.n 8007c4a - 8007c74: 20ff movs r0, #255 ; 0xff - 8007c76: e7f2 b.n 8007c5e - 8007c78: 2303 movs r3, #3 - 8007c7a: f88d 3015 strb.w r3, [sp, #21] - 8007c7e: 5d2b ldrb r3, [r5, r4] - 8007c80: f88d 3024 strb.w r3, [sp, #36] ; 0x24 - 8007c84: ab0c add r3, sp, #48 ; 0x30 - 8007c86: 9308 str r3, [sp, #32] - 8007c88: f109 0303 add.w r3, r9, #3 - 8007c8c: b2db uxtb r3, r3 - 8007c8e: f109 0406 add.w r4, r9, #6 - 8007c92: 5cea ldrb r2, [r5, r3] - 8007c94: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8007c98: f109 0304 add.w r3, r9, #4 - 8007c9c: b2db uxtb r3, r3 - 8007c9e: a908 add r1, sp, #32 - 8007ca0: 5ceb ldrb r3, [r5, r3] - 8007ca2: 041b lsls r3, r3, #16 - 8007ca4: ea43 2302 orr.w r3, r3, r2, lsl #8 - 8007ca8: f109 0202 add.w r2, r9, #2 - 8007cac: b2d2 uxtb r2, r2 - 8007cae: f109 0905 add.w r9, r9, #5 - 8007cb2: 5caa ldrb r2, [r5, r2] - 8007cb4: 4313 orrs r3, r2 - 8007cb6: 2264 movs r2, #100 ; 0x64 - 8007cb8: 4353 muls r3, r2 - 8007cba: fa5f f989 uxtb.w r9, r9 - 8007cbe: 930c str r3, [sp, #48] ; 0x30 - 8007cc0: 2300 movs r3, #0 - 8007cc2: 930d str r3, [sp, #52] ; 0x34 - 8007cc4: f815 3009 ldrb.w r3, [r5, r9] - 8007cc8: f88d 3038 strb.w r3, [sp, #56] ; 0x38 - 8007ccc: f002 fed5 bl 800aa7a - 8007cd0: b2c3 uxtb r3, r0 - 8007cd2: 2800 cmp r0, #0 - 8007cd4: b2e4 uxtb r4, r4 - 8007cd6: f88d 3015 strb.w r3, [sp, #21] - 8007cda: f6ff aede blt.w 8007a9a - 8007cde: f88d 3018 strb.w r3, [sp, #24] - 8007ce2: 2201 movs r2, #1 - 8007ce4: a906 add r1, sp, #24 - 8007ce6: 2007 movs r0, #7 - 8007ce8: e7af b.n 8007c4a - 8007cea: 5d2b ldrb r3, [r5, r4] - 8007cec: f003 030f and.w r3, r3, #15 - 8007cf0: 2b01 cmp r3, #1 - 8007cf2: f44f 727a mov.w r2, #1000 ; 0x3e8 - 8007cf6: bf38 it cc - 8007cf8: 2301 movcc r3, #1 - 8007cfa: 4353 muls r3, r2 - 8007cfc: f109 0902 add.w r9, r9, #2 - 8007d00: 65b3 str r3, [r6, #88] ; 0x58 - 8007d02: 4413 add r3, r2 - 8007d04: fa5f f989 uxtb.w r9, r9 - 8007d08: 65f3 str r3, [r6, #92] ; 0x5c - 8007d0a: 2200 movs r2, #0 - 8007d0c: a906 add r1, sp, #24 - 8007d0e: 2008 movs r0, #8 - 8007d10: e756 b.n 8007bc0 - 8007d12: bf00 nop - 8007d14: 20000c00 .word 0x20000c00 - 8007d18: 200011c8 .word 0x200011c8 - 8007d1c: 5d2b ldrb r3, [r5, r4] - 8007d1e: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8007d22: f3c3 1240 ubfx r2, r3, #5, #1 - 8007d26: f88d 201d strb.w r2, [sp, #29] - 8007d2a: a907 add r1, sp, #28 - 8007d2c: f3c3 1200 ubfx r2, r3, #4, #1 - 8007d30: f003 030f and.w r3, r3, #15 - 8007d34: f88d 201c strb.w r2, [sp, #28] - 8007d38: f88d 301e strb.w r3, [sp, #30] - 8007d3c: f002 fea3 bl 800aa86 - 8007d40: f109 0902 add.w r9, r9, #2 - 8007d44: 3001 adds r0, #1 - 8007d46: fa5f f989 uxtb.w r9, r9 - 8007d4a: f43f af3b beq.w 8007bc4 - 8007d4e: f8bd 301c ldrh.w r3, [sp, #28] - 8007d52: 4a91 ldr r2, [pc, #580] ; (8007f98 ) - 8007d54: f8a6 307c strh.w r3, [r6, #124] ; 0x7c - 8007d58: f89d 301e ldrb.w r3, [sp, #30] - 8007d5c: f89d 401c ldrb.w r4, [sp, #28] - 8007d60: 5cd0 ldrb r0, [r2, r3] - 8007d62: f7f8 fd33 bl 80007cc <__aeabi_ui2f> - 8007d66: 2302 movs r3, #2 - 8007d68: f8c6 0080 str.w r0, [r6, #128] ; 0x80 - 8007d6c: a90c add r1, sp, #48 ; 0x30 - 8007d6e: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8007d72: f88d 3030 strb.w r3, [sp, #48] ; 0x30 - 8007d76: f88d 4032 strb.w r4, [sp, #50] ; 0x32 - 8007d7a: f002 fe23 bl 800a9c4 - 8007d7e: f996 3039 ldrsb.w r3, [r6, #57] ; 0x39 - 8007d82: 9008 str r0, [sp, #32] - 8007d84: b240 sxtb r0, r0 - 8007d86: 4298 cmp r0, r3 - 8007d88: bfb8 it lt - 8007d8a: 4618 movlt r0, r3 - 8007d8c: f886 0039 strb.w r0, [r6, #57] ; 0x39 - 8007d90: 2200 movs r2, #0 - 8007d92: a906 add r1, sp, #24 - 8007d94: 2009 movs r0, #9 - 8007d96: e713 b.n 8007bc0 - 8007d98: 2303 movs r3, #3 - 8007d9a: f88d 3015 strb.w r3, [sp, #21] - 8007d9e: 5d2b ldrb r3, [r5, r4] - 8007da0: f88d 3030 strb.w r3, [sp, #48] ; 0x30 - 8007da4: f109 0303 add.w r3, r9, #3 - 8007da8: b2db uxtb r3, r3 - 8007daa: f109 0405 add.w r4, r9, #5 - 8007dae: 5cea ldrb r2, [r5, r3] - 8007db0: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8007db4: f109 0304 add.w r3, r9, #4 - 8007db8: b2db uxtb r3, r3 - 8007dba: f109 0902 add.w r9, r9, #2 - 8007dbe: 5ceb ldrb r3, [r5, r3] - 8007dc0: fa5f f989 uxtb.w r9, r9 - 8007dc4: 041b lsls r3, r3, #16 - 8007dc6: ea43 2302 orr.w r3, r3, r2, lsl #8 - 8007dca: f815 2009 ldrb.w r2, [r5, r9] - 8007dce: 4313 orrs r3, r2 - 8007dd0: 2264 movs r2, #100 ; 0x64 - 8007dd2: 4353 muls r3, r2 - 8007dd4: a90c add r1, sp, #48 ; 0x30 - 8007dd6: 930d str r3, [sp, #52] ; 0x34 - 8007dd8: f002 fe5b bl 800aa92 - 8007ddc: b2c3 uxtb r3, r0 - 8007dde: 2800 cmp r0, #0 - 8007de0: b2e4 uxtb r4, r4 - 8007de2: f88d 3015 strb.w r3, [sp, #21] - 8007de6: f6ff ae58 blt.w 8007a9a - 8007dea: f88d 3018 strb.w r3, [sp, #24] - 8007dee: 2201 movs r2, #1 - 8007df0: a906 add r1, sp, #24 - 8007df2: 200a movs r0, #10 - 8007df4: e729 b.n 8007c4a - 8007df6: 2009 movs r0, #9 - 8007df8: f002 f928 bl 800a04c - 8007dfc: f8df a19c ldr.w sl, [pc, #412] ; 8007f9c - 8007e00: 2800 cmp r0, #0 - 8007e02: d054 beq.n 8007eae - 8007e04: 2109 movs r1, #9 - 8007e06: 2000 movs r0, #0 - 8007e08: f002 f8e4 bl 8009fd4 - 8007e0c: 2300 movs r3, #0 - 8007e0e: f8ad 3026 strh.w r3, [sp, #38] ; 0x26 - 8007e12: f109 0302 add.w r3, r9, #2 - 8007e16: b2db uxtb r3, r3 - 8007e18: f44f 717a mov.w r1, #1000 ; 0x3e8 - 8007e1c: 5cea ldrb r2, [r5, r3] - 8007e1e: f109 0303 add.w r3, r9, #3 - 8007e22: b2db uxtb r3, r3 - 8007e24: f10d 0b30 add.w fp, sp, #48 ; 0x30 - 8007e28: 5ceb ldrb r3, [r5, r3] - 8007e2a: 041b lsls r3, r3, #16 - 8007e2c: ea43 2302 orr.w r3, r3, r2, lsl #8 - 8007e30: 5d2a ldrb r2, [r5, r4] - 8007e32: 4313 orrs r3, r2 - 8007e34: f109 0204 add.w r2, r9, #4 - 8007e38: b2d2 uxtb r2, r2 - 8007e3a: f109 0406 add.w r4, r9, #6 - 8007e3e: f109 0905 add.w r9, r9, #5 - 8007e42: 5caa ldrb r2, [r5, r2] - 8007e44: fa5f f989 uxtb.w r9, r9 - 8007e48: ea43 6302 orr.w r3, r3, r2, lsl #24 - 8007e4c: f815 2009 ldrb.w r2, [r5, r9] - 8007e50: 9303 str r3, [sp, #12] - 8007e52: 434a muls r2, r1 - 8007e54: 1212 asrs r2, r2, #8 - 8007e56: 4658 mov r0, fp - 8007e58: f8ad 2024 strh.w r2, [sp, #36] ; 0x24 - 8007e5c: f006 ff72 bl 800ed44 - 8007e60: 9b03 ldr r3, [sp, #12] - 8007e62: f103 5396 add.w r3, r3, #314572800 ; 0x12c00000 - 8007e66: f503 13a9 add.w r3, r3, #1384448 ; 0x152000 - 8007e6a: f503 53ec add.w r3, r3, #7552 ; 0x1d80 - 8007e6e: 9308 str r3, [sp, #32] - 8007e70: f8da 333c ldr.w r3, [sl, #828] ; 0x33c - 8007e74: 9300 str r3, [sp, #0] - 8007e76: f10d 0920 add.w r9, sp, #32 - 8007e7a: e899 0006 ldmia.w r9, {r1, r2} - 8007e7e: f8da 3338 ldr.w r3, [sl, #824] ; 0x338 - 8007e82: a80a add r0, sp, #40 ; 0x28 - 8007e84: f006 ff1b bl 800ecbe - 8007e88: 9b0b ldr r3, [sp, #44] ; 0x2c - 8007e8a: 9300 str r3, [sp, #0] - 8007e8c: e89b 0006 ldmia.w fp, {r1, r2} - 8007e90: 9b0a ldr r3, [sp, #40] ; 0x28 - 8007e92: 4648 mov r0, r9 - 8007e94: f006 fef8 bl 800ec88 - 8007e98: e899 0003 ldmia.w r9, {r0, r1} - 8007e9c: f006 ff2a bl 800ecf4 - 8007ea0: f001 ff21 bl 8009ce6 - 8007ea4: 2301 movs r3, #1 - 8007ea6: b2e4 uxtb r4, r4 - 8007ea8: f88a 3438 strb.w r3, [sl, #1080] ; 0x438 - 8007eac: e5f5 b.n 8007a9a - 8007eae: f88a 0438 strb.w r0, [sl, #1080] ; 0x438 - 8007eb2: e5f2 b.n 8007a9a - 8007eb4: 200c movs r0, #12 - 8007eb6: f002 f8c9 bl 800a04c - 8007eba: 2800 cmp r0, #0 - 8007ebc: f43f aded beq.w 8007a9a - 8007ec0: 210c movs r1, #12 - 8007ec2: 2000 movs r0, #0 - 8007ec4: f002 f886 bl 8009fd4 - 8007ec8: 4b34 ldr r3, [pc, #208] ; (8007f9c ) - 8007eca: f893 3490 ldrb.w r3, [r3, #1168] ; 0x490 - 8007ece: 3b04 subs r3, #4 - 8007ed0: 2b01 cmp r3, #1 - 8007ed2: f67f ade2 bls.w 8007a9a - 8007ed6: f001 ff02 bl 8009cde - 8007eda: e5de b.n 8007a9a - 8007edc: f109 0302 add.w r3, r9, #2 - 8007ee0: b2db uxtb r3, r3 - 8007ee2: 5d2a ldrb r2, [r5, r4] - 8007ee4: 5ce9 ldrb r1, [r5, r3] - 8007ee6: f109 0303 add.w r3, r9, #3 - 8007eea: b2db uxtb r3, r3 - 8007eec: f109 0405 add.w r4, r9, #5 - 8007ef0: 5ceb ldrb r3, [r5, r3] - 8007ef2: f109 0904 add.w r9, r9, #4 - 8007ef6: fa5f f989 uxtb.w r9, r9 - 8007efa: 041b lsls r3, r3, #16 - 8007efc: f815 0009 ldrb.w r0, [r5, r9] - 8007f00: ea43 2301 orr.w r3, r3, r1, lsl #8 - 8007f04: 4313 orrs r3, r2 - 8007f06: 2164 movs r1, #100 ; 0x64 - 8007f08: 4359 muls r1, r3 - 8007f0a: f000 000f and.w r0, r0, #15 - 8007f0e: f001 fee7 bl 8009ce0 - 8007f12: b2e4 uxtb r4, r4 - 8007f14: f88d 0018 strb.w r0, [sp, #24] - 8007f18: 2201 movs r2, #1 - 8007f1a: a906 add r1, sp, #24 - 8007f1c: 2011 movs r0, #17 - 8007f1e: e694 b.n 8007c4a - 8007f20: 200d movs r0, #13 - 8007f22: f002 f893 bl 800a04c - 8007f26: 2800 cmp r0, #0 - 8007f28: f43f adb7 beq.w 8007a9a - 8007f2c: 210d movs r1, #13 - 8007f2e: 2000 movs r0, #0 - 8007f30: f002 f850 bl 8009fd4 - 8007f34: f109 0302 add.w r3, r9, #2 - 8007f38: b2db uxtb r3, r3 - 8007f3a: 4a19 ldr r2, [pc, #100] ; (8007fa0 ) - 8007f3c: 5ce8 ldrb r0, [r5, r3] - 8007f3e: 5d2b ldrb r3, [r5, r4] - 8007f40: 6812 ldr r2, [r2, #0] - 8007f42: f109 0404 add.w r4, r9, #4 - 8007f46: f109 0903 add.w r9, r9, #3 - 8007f4a: fa5f f989 uxtb.w r9, r9 - 8007f4e: ea43 2000 orr.w r0, r3, r0, lsl #8 - 8007f52: f815 1009 ldrb.w r1, [r5, r9] - 8007f56: b2e4 uxtb r4, r4 - 8007f58: f001 fec4 bl 8009ce4 - 8007f5c: e59d b.n 8007a9a - 8007f5e: 5d2a ldrb r2, [r5, r4] - 8007f60: f109 0302 add.w r3, r9, #2 - 8007f64: f109 0404 add.w r4, r9, #4 - 8007f68: f109 0903 add.w r9, r9, #3 - 8007f6c: b2db uxtb r3, r3 - 8007f6e: fa5f f989 uxtb.w r9, r9 - 8007f72: 5ce9 ldrb r1, [r5, r3] - 8007f74: f815 3009 ldrb.w r3, [r5, r9] - 8007f78: 041b lsls r3, r3, #16 - 8007f7a: ea43 2301 orr.w r3, r3, r1, lsl #8 - 8007f7e: 4313 orrs r3, r2 - 8007f80: 2064 movs r0, #100 ; 0x64 - 8007f82: 4358 muls r0, r3 - 8007f84: f001 feb0 bl 8009ce8 - 8007f88: b2e4 uxtb r4, r4 - 8007f8a: f88d 0018 strb.w r0, [sp, #24] - 8007f8e: 2201 movs r2, #1 - 8007f90: a906 add r1, sp, #24 - 8007f92: 2013 movs r0, #19 - 8007f94: e659 b.n 8007c4a - 8007f96: bf00 nop - 8007f98: 0800fad7 .word 0x0800fad7 - 8007f9c: 200011c8 .word 0x200011c8 - 8007fa0: 20001774 .word 0x20001774 +080079e8 : + 80079e8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80079ec: b091 sub sp, #68 ; 0x44 + 80079ee: f04f 0800 mov.w r8, #0 + 80079f2: 2b01 cmp r3, #1 + 80079f4: 4605 mov r5, r0 + 80079f6: 460f mov r7, r1 + 80079f8: 9202 str r2, [sp, #8] + 80079fa: f88d 8015 strb.w r8, [sp, #21] + 80079fe: f8ad 8018 strh.w r8, [sp, #24] + 8007a02: d803 bhi.n 8007a0c + 8007a04: 4ec8 ldr r6, [pc, #800] ; (8007d28 ) + 8007a06: 46c1 mov r9, r8 + 8007a08: 45b9 cmp r9, r7 + 8007a0a: d302 bcc.n 8007a12 + 8007a0c: b011 add sp, #68 ; 0x44 + 8007a0e: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8007a12: f815 0009 ldrb.w r0, [r5, r9] + 8007a16: f002 fa77 bl 8009f08 + 8007a1a: 4448 add r0, r9 + 8007a1c: 42b8 cmp r0, r7 + 8007a1e: dcf5 bgt.n 8007a0c + 8007a20: f815 3009 ldrb.w r3, [r5, r9] + 8007a24: f109 0401 add.w r4, r9, #1 + 8007a28: 3b02 subs r3, #2 + 8007a2a: b2e4 uxtb r4, r4 + 8007a2c: 2b11 cmp r3, #17 + 8007a2e: d8ed bhi.n 8007a0c + 8007a30: a201 add r2, pc, #4 ; (adr r2, 8007a38 ) + 8007a32: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8007a36: bf00 nop + 8007a38: 08007a81 .word 0x08007a81 + 8007a3c: 08007ab3 .word 0x08007ab3 + 8007a40: 08007bb3 .word 0x08007bb3 + 8007a44: 08007bdd .word 0x08007bdd + 8007a48: 08007c65 .word 0x08007c65 + 8007a4c: 08007c8d .word 0x08007c8d + 8007a50: 08007cff .word 0x08007cff + 8007a54: 08007d31 .word 0x08007d31 + 8007a58: 08007dad .word 0x08007dad + 8007a5c: 08007a0d .word 0x08007a0d + 8007a60: 08007a0d .word 0x08007a0d + 8007a64: 08007e0b .word 0x08007e0b + 8007a68: 08007a0d .word 0x08007a0d + 8007a6c: 08007a0d .word 0x08007a0d + 8007a70: 08007ec9 .word 0x08007ec9 + 8007a74: 08007ef1 .word 0x08007ef1 + 8007a78: 08007f35 .word 0x08007f35 + 8007a7c: 08007f73 .word 0x08007f73 + 8007a80: 2005 movs r0, #5 + 8007a82: f002 faed bl 800a060 + 8007a86: b190 cbz r0, 8007aae + 8007a88: 2105 movs r1, #5 + 8007a8a: 2000 movs r0, #0 + 8007a8c: f002 faac bl 8009fe8 + 8007a90: 5d2a ldrb r2, [r5, r4] + 8007a92: 4ba6 ldr r3, [pc, #664] ; (8007d2c ) + 8007a94: f109 0403 add.w r4, r9, #3 + 8007a98: f109 0902 add.w r9, r9, #2 + 8007a9c: fa5f f989 uxtb.w r9, r9 + 8007aa0: f883 245c strb.w r2, [r3, #1116] ; 0x45c + 8007aa4: f815 2009 ldrb.w r2, [r5, r9] + 8007aa8: f883 245d strb.w r2, [r3, #1117] ; 0x45d + 8007aac: b2e4 uxtb r4, r4 + 8007aae: 46a1 mov r9, r4 + 8007ab0: e7aa b.n 8007a08 + 8007ab2: 2300 movs r3, #0 + 8007ab4: f88d 3016 strb.w r3, [sp, #22] + 8007ab8: f88d 3017 strb.w r3, [sp, #23] + 8007abc: f88d 301c strb.w r3, [sp, #28] + 8007ac0: f88d 3020 strb.w r3, [sp, #32] + 8007ac4: f1b8 0f00 cmp.w r8, #0 + 8007ac8: d16c bne.n 8007ba4 + 8007aca: f04f 0805 mov.w r8, #5 + 8007ace: f896 207c ldrb.w r2, [r6, #124] ; 0x7c + 8007ad2: f88d 2039 strb.w r2, [sp, #57] ; 0x39 + 8007ad6: 1e63 subs r3, r4, #1 + 8007ad8: f896 2039 ldrb.w r2, [r6, #57] ; 0x39 + 8007adc: f88d 203b strb.w r2, [sp, #59] ; 0x3b + 8007ae0: 442b add r3, r5 + 8007ae2: f896 2038 ldrb.w r2, [r6, #56] ; 0x38 + 8007ae6: 930d str r3, [sp, #52] ; 0x34 + 8007ae8: f88d 203c strb.w r2, [sp, #60] ; 0x3c + 8007aec: f896 311a ldrb.w r3, [r6, #282] ; 0x11a + 8007af0: f896 2068 ldrb.w r2, [r6, #104] ; 0x68 + 8007af4: f88d 203d strb.w r2, [sp, #61] ; 0x3d + 8007af8: f8d6 212c ldr.w r2, [r6, #300] ; 0x12c + 8007afc: f88d 303a strb.w r3, [sp, #58] ; 0x3a + 8007b00: 920c str r2, [sp, #48] ; 0x30 + 8007b02: b373 cbz r3, 8007b62 + 8007b04: 1c7b adds r3, r7, #1 + 8007b06: 1b1b subs r3, r3, r4 + 8007b08: b2db uxtb r3, r3 + 8007b0a: f88d 3038 strb.w r3, [sp, #56] ; 0x38 + 8007b0e: ab08 add r3, sp, #32 + 8007b10: 9301 str r3, [sp, #4] + 8007b12: ab07 add r3, sp, #28 + 8007b14: 9300 str r3, [sp, #0] + 8007b16: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8007b1a: f10d 0317 add.w r3, sp, #23 + 8007b1e: f10d 0216 add.w r2, sp, #22 + 8007b22: a90c add r1, sp, #48 ; 0x30 + 8007b24: f002 ff9e bl 800aa64 + 8007b28: f88d 0015 strb.w r0, [sp, #21] + 8007b2c: f000 0007 and.w r0, r0, #7 + 8007b30: 2807 cmp r0, #7 + 8007b32: d113 bne.n 8007b5c + 8007b34: f996 2039 ldrsb.w r2, [r6, #57] ; 0x39 + 8007b38: f99d 3016 ldrsb.w r3, [sp, #22] + 8007b3c: f886 3039 strb.w r3, [r6, #57] ; 0x39 + 8007b40: 429a cmp r2, r3 + 8007b42: f89d 3017 ldrb.w r3, [sp, #23] + 8007b46: f886 3038 strb.w r3, [r6, #56] ; 0x38 + 8007b4a: bfb8 it lt + 8007b4c: 2201 movlt r2, #1 + 8007b4e: f89d 301c ldrb.w r3, [sp, #28] + 8007b52: bfb8 it lt + 8007b54: f886 211d strblt.w r2, [r6, #285] ; 0x11d + 8007b58: f886 3068 strb.w r3, [r6, #104] ; 0x68 + 8007b5c: f04f 0900 mov.w r9, #0 + 8007b60: e009 b.n 8007b76 + 8007b62: 2305 movs r3, #5 + 8007b64: e7d1 b.n 8007b0a + 8007b66: 2201 movs r2, #1 + 8007b68: f10d 0115 add.w r1, sp, #21 + 8007b6c: 2003 movs r0, #3 + 8007b6e: f002 f8db bl 8009d28 + 8007b72: f109 0901 add.w r9, r9, #1 + 8007b76: fa5f f289 uxtb.w r2, r9 + 8007b7a: f89d 3020 ldrb.w r3, [sp, #32] + 8007b7e: fbb3 f1f8 udiv r1, r3, r8 + 8007b82: 4291 cmp r1, r2 + 8007b84: d8ef bhi.n 8007b66 + 8007b86: 4423 add r3, r4 + 8007b88: b2dc uxtb r4, r3 + 8007b8a: 1e63 subs r3, r4, #1 + 8007b8c: b2db uxtb r3, r3 + 8007b8e: 429f cmp r7, r3 + 8007b90: d90d bls.n 8007bae + 8007b92: 5cea ldrb r2, [r5, r3] + 8007b94: 2a03 cmp r2, #3 + 8007b96: d09a beq.n 8007ace + 8007b98: 42a7 cmp r7, r4 + 8007b9a: bf88 it hi + 8007b9c: 461c movhi r4, r3 + 8007b9e: f04f 0801 mov.w r8, #1 + 8007ba2: e784 b.n 8007aae + 8007ba4: f109 0905 add.w r9, r9, #5 + 8007ba8: fa5f f489 uxtb.w r4, r9 + 8007bac: e7f7 b.n 8007b9e + 8007bae: 461c mov r4, r3 + 8007bb0: e7f5 b.n 8007b9e + 8007bb2: 5d2b ldrb r3, [r5, r4] + 8007bb4: 2201 movs r2, #1 + 8007bb6: f003 030f and.w r3, r3, #15 + 8007bba: f109 0902 add.w r9, r9, #2 + 8007bbe: f886 311b strb.w r3, [r6, #283] ; 0x11b + 8007bc2: fa02 f303 lsl.w r3, r2, r3 + 8007bc6: fa5f f989 uxtb.w r9, r9 + 8007bca: f8a6 3120 strh.w r3, [r6, #288] ; 0x120 + 8007bce: 2200 movs r2, #0 + 8007bd0: a906 add r1, sp, #24 + 8007bd2: 2004 movs r0, #4 + 8007bd4: f002 f8a8 bl 8009d28 + 8007bd8: 464c mov r4, r9 + 8007bda: e768 b.n 8007aae + 8007bdc: 2307 movs r3, #7 + 8007bde: f88d 3015 strb.w r3, [sp, #21] + 8007be2: 5d2b ldrb r3, [r5, r4] + 8007be4: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8007be8: f3c3 1202 ubfx r2, r3, #4, #3 + 8007bec: f003 030f and.w r3, r3, #15 + 8007bf0: f88d 3030 strb.w r3, [sp, #48] ; 0x30 + 8007bf4: f109 0303 add.w r3, r9, #3 + 8007bf8: b2db uxtb r3, r3 + 8007bfa: f88d 2031 strb.w r2, [sp, #49] ; 0x31 + 8007bfe: 5cea ldrb r2, [r5, r3] + 8007c00: f109 0304 add.w r3, r9, #4 + 8007c04: b2db uxtb r3, r3 + 8007c06: f109 0405 add.w r4, r9, #5 + 8007c0a: 5ceb ldrb r3, [r5, r3] + 8007c0c: f109 0902 add.w r9, r9, #2 + 8007c10: fa5f f989 uxtb.w r9, r9 + 8007c14: 041b lsls r3, r3, #16 + 8007c16: ea43 2302 orr.w r3, r3, r2, lsl #8 + 8007c1a: f815 2009 ldrb.w r2, [r5, r9] + 8007c1e: 4313 orrs r3, r2 + 8007c20: 2264 movs r2, #100 ; 0x64 + 8007c22: 4353 muls r3, r2 + 8007c24: a90c add r1, sp, #48 ; 0x30 + 8007c26: 930d str r3, [sp, #52] ; 0x34 + 8007c28: f002 ff2b bl 800aa82 + 8007c2c: f000 0307 and.w r3, r0, #7 + 8007c30: 2b07 cmp r3, #7 + 8007c32: b2e4 uxtb r4, r4 + 8007c34: f88d 0015 strb.w r0, [sp, #21] + 8007c38: d10c bne.n 8007c54 + 8007c3a: f89d 3030 ldrb.w r3, [sp, #48] ; 0x30 + 8007c3e: f886 3070 strb.w r3, [r6, #112] ; 0x70 + 8007c42: f886 3078 strb.w r3, [r6, #120] ; 0x78 + 8007c46: 9b0d ldr r3, [sp, #52] ; 0x34 + 8007c48: 66f3 str r3, [r6, #108] ; 0x6c + 8007c4a: 6773 str r3, [r6, #116] ; 0x74 + 8007c4c: f89d 3031 ldrb.w r3, [sp, #49] ; 0x31 + 8007c50: f886 3069 strb.w r3, [r6, #105] ; 0x69 + 8007c54: f88d 0018 strb.w r0, [sp, #24] + 8007c58: 2201 movs r2, #1 + 8007c5a: a906 add r1, sp, #24 + 8007c5c: 2005 movs r0, #5 + 8007c5e: f002 f863 bl 8009d28 + 8007c62: e724 b.n 8007aae + 8007c64: 4b31 ldr r3, [pc, #196] ; (8007d2c ) + 8007c66: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 + 8007c6a: b16b cbz r3, 8007c88 + 8007c6c: 681b ldr r3, [r3, #0] + 8007c6e: b15b cbz r3, 8007c88 + 8007c70: 4798 blx r3 + 8007c72: 9b02 ldr r3, [sp, #8] + 8007c74: f88d 0018 strb.w r0, [sp, #24] + 8007c78: f003 033f and.w r3, r3, #63 ; 0x3f + 8007c7c: f88d 3019 strb.w r3, [sp, #25] + 8007c80: 2202 movs r2, #2 + 8007c82: a906 add r1, sp, #24 + 8007c84: 2006 movs r0, #6 + 8007c86: e7ea b.n 8007c5e + 8007c88: 20ff movs r0, #255 ; 0xff + 8007c8a: e7f2 b.n 8007c72 + 8007c8c: 2303 movs r3, #3 + 8007c8e: f88d 3015 strb.w r3, [sp, #21] + 8007c92: 5d2b ldrb r3, [r5, r4] + 8007c94: f88d 3024 strb.w r3, [sp, #36] ; 0x24 + 8007c98: ab0c add r3, sp, #48 ; 0x30 + 8007c9a: 9308 str r3, [sp, #32] + 8007c9c: f109 0303 add.w r3, r9, #3 + 8007ca0: b2db uxtb r3, r3 + 8007ca2: f109 0406 add.w r4, r9, #6 + 8007ca6: 5cea ldrb r2, [r5, r3] + 8007ca8: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8007cac: f109 0304 add.w r3, r9, #4 + 8007cb0: b2db uxtb r3, r3 + 8007cb2: a908 add r1, sp, #32 + 8007cb4: 5ceb ldrb r3, [r5, r3] + 8007cb6: 041b lsls r3, r3, #16 + 8007cb8: ea43 2302 orr.w r3, r3, r2, lsl #8 + 8007cbc: f109 0202 add.w r2, r9, #2 + 8007cc0: b2d2 uxtb r2, r2 + 8007cc2: f109 0905 add.w r9, r9, #5 + 8007cc6: 5caa ldrb r2, [r5, r2] + 8007cc8: 4313 orrs r3, r2 + 8007cca: 2264 movs r2, #100 ; 0x64 + 8007ccc: 4353 muls r3, r2 + 8007cce: fa5f f989 uxtb.w r9, r9 + 8007cd2: 930c str r3, [sp, #48] ; 0x30 + 8007cd4: 2300 movs r3, #0 + 8007cd6: 930d str r3, [sp, #52] ; 0x34 + 8007cd8: f815 3009 ldrb.w r3, [r5, r9] + 8007cdc: f88d 3038 strb.w r3, [sp, #56] ; 0x38 + 8007ce0: f002 fed5 bl 800aa8e + 8007ce4: b2c3 uxtb r3, r0 + 8007ce6: 2800 cmp r0, #0 + 8007ce8: b2e4 uxtb r4, r4 + 8007cea: f88d 3015 strb.w r3, [sp, #21] + 8007cee: f6ff aede blt.w 8007aae + 8007cf2: f88d 3018 strb.w r3, [sp, #24] + 8007cf6: 2201 movs r2, #1 + 8007cf8: a906 add r1, sp, #24 + 8007cfa: 2007 movs r0, #7 + 8007cfc: e7af b.n 8007c5e + 8007cfe: 5d2b ldrb r3, [r5, r4] + 8007d00: f003 030f and.w r3, r3, #15 + 8007d04: 2b01 cmp r3, #1 + 8007d06: f44f 727a mov.w r2, #1000 ; 0x3e8 + 8007d0a: bf38 it cc + 8007d0c: 2301 movcc r3, #1 + 8007d0e: 4353 muls r3, r2 + 8007d10: f109 0902 add.w r9, r9, #2 + 8007d14: 65b3 str r3, [r6, #88] ; 0x58 + 8007d16: 4413 add r3, r2 + 8007d18: fa5f f989 uxtb.w r9, r9 + 8007d1c: 65f3 str r3, [r6, #92] ; 0x5c + 8007d1e: 2200 movs r2, #0 + 8007d20: a906 add r1, sp, #24 + 8007d22: 2008 movs r0, #8 + 8007d24: e756 b.n 8007bd4 + 8007d26: bf00 nop + 8007d28: 20000c00 .word 0x20000c00 + 8007d2c: 200011c8 .word 0x200011c8 + 8007d30: 5d2b ldrb r3, [r5, r4] + 8007d32: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8007d36: f3c3 1240 ubfx r2, r3, #5, #1 + 8007d3a: f88d 201d strb.w r2, [sp, #29] + 8007d3e: a907 add r1, sp, #28 + 8007d40: f3c3 1200 ubfx r2, r3, #4, #1 + 8007d44: f003 030f and.w r3, r3, #15 + 8007d48: f88d 201c strb.w r2, [sp, #28] + 8007d4c: f88d 301e strb.w r3, [sp, #30] + 8007d50: f002 fea3 bl 800aa9a + 8007d54: f109 0902 add.w r9, r9, #2 + 8007d58: 3001 adds r0, #1 + 8007d5a: fa5f f989 uxtb.w r9, r9 + 8007d5e: f43f af3b beq.w 8007bd8 + 8007d62: f8bd 301c ldrh.w r3, [sp, #28] + 8007d66: 4a91 ldr r2, [pc, #580] ; (8007fac ) + 8007d68: f8a6 307c strh.w r3, [r6, #124] ; 0x7c + 8007d6c: f89d 301e ldrb.w r3, [sp, #30] + 8007d70: f89d 401c ldrb.w r4, [sp, #28] + 8007d74: 5cd0 ldrb r0, [r2, r3] + 8007d76: f7f8 fd29 bl 80007cc <__aeabi_ui2f> + 8007d7a: 2302 movs r3, #2 + 8007d7c: f8c6 0080 str.w r0, [r6, #128] ; 0x80 + 8007d80: a90c add r1, sp, #48 ; 0x30 + 8007d82: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8007d86: f88d 3030 strb.w r3, [sp, #48] ; 0x30 + 8007d8a: f88d 4032 strb.w r4, [sp, #50] ; 0x32 + 8007d8e: f002 fe23 bl 800a9d8 + 8007d92: f996 3039 ldrsb.w r3, [r6, #57] ; 0x39 + 8007d96: 9008 str r0, [sp, #32] + 8007d98: b240 sxtb r0, r0 + 8007d9a: 4298 cmp r0, r3 + 8007d9c: bfb8 it lt + 8007d9e: 4618 movlt r0, r3 + 8007da0: f886 0039 strb.w r0, [r6, #57] ; 0x39 + 8007da4: 2200 movs r2, #0 + 8007da6: a906 add r1, sp, #24 + 8007da8: 2009 movs r0, #9 + 8007daa: e713 b.n 8007bd4 + 8007dac: 2303 movs r3, #3 + 8007dae: f88d 3015 strb.w r3, [sp, #21] + 8007db2: 5d2b ldrb r3, [r5, r4] + 8007db4: f88d 3030 strb.w r3, [sp, #48] ; 0x30 + 8007db8: f109 0303 add.w r3, r9, #3 + 8007dbc: b2db uxtb r3, r3 + 8007dbe: f109 0405 add.w r4, r9, #5 + 8007dc2: 5cea ldrb r2, [r5, r3] + 8007dc4: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8007dc8: f109 0304 add.w r3, r9, #4 + 8007dcc: b2db uxtb r3, r3 + 8007dce: f109 0902 add.w r9, r9, #2 + 8007dd2: 5ceb ldrb r3, [r5, r3] + 8007dd4: fa5f f989 uxtb.w r9, r9 + 8007dd8: 041b lsls r3, r3, #16 + 8007dda: ea43 2302 orr.w r3, r3, r2, lsl #8 + 8007dde: f815 2009 ldrb.w r2, [r5, r9] + 8007de2: 4313 orrs r3, r2 + 8007de4: 2264 movs r2, #100 ; 0x64 + 8007de6: 4353 muls r3, r2 + 8007de8: a90c add r1, sp, #48 ; 0x30 + 8007dea: 930d str r3, [sp, #52] ; 0x34 + 8007dec: f002 fe5b bl 800aaa6 + 8007df0: b2c3 uxtb r3, r0 + 8007df2: 2800 cmp r0, #0 + 8007df4: b2e4 uxtb r4, r4 + 8007df6: f88d 3015 strb.w r3, [sp, #21] + 8007dfa: f6ff ae58 blt.w 8007aae + 8007dfe: f88d 3018 strb.w r3, [sp, #24] + 8007e02: 2201 movs r2, #1 + 8007e04: a906 add r1, sp, #24 + 8007e06: 200a movs r0, #10 + 8007e08: e729 b.n 8007c5e + 8007e0a: 2009 movs r0, #9 + 8007e0c: f002 f928 bl 800a060 + 8007e10: f8df a19c ldr.w sl, [pc, #412] ; 8007fb0 + 8007e14: 2800 cmp r0, #0 + 8007e16: d054 beq.n 8007ec2 + 8007e18: 2109 movs r1, #9 + 8007e1a: 2000 movs r0, #0 + 8007e1c: f002 f8e4 bl 8009fe8 + 8007e20: 2300 movs r3, #0 + 8007e22: f8ad 3026 strh.w r3, [sp, #38] ; 0x26 + 8007e26: f109 0302 add.w r3, r9, #2 + 8007e2a: b2db uxtb r3, r3 + 8007e2c: f44f 717a mov.w r1, #1000 ; 0x3e8 + 8007e30: 5cea ldrb r2, [r5, r3] + 8007e32: f109 0303 add.w r3, r9, #3 + 8007e36: b2db uxtb r3, r3 + 8007e38: f10d 0b30 add.w fp, sp, #48 ; 0x30 + 8007e3c: 5ceb ldrb r3, [r5, r3] + 8007e3e: 041b lsls r3, r3, #16 + 8007e40: ea43 2302 orr.w r3, r3, r2, lsl #8 + 8007e44: 5d2a ldrb r2, [r5, r4] + 8007e46: 4313 orrs r3, r2 + 8007e48: f109 0204 add.w r2, r9, #4 + 8007e4c: b2d2 uxtb r2, r2 + 8007e4e: f109 0406 add.w r4, r9, #6 + 8007e52: f109 0905 add.w r9, r9, #5 + 8007e56: 5caa ldrb r2, [r5, r2] + 8007e58: fa5f f989 uxtb.w r9, r9 + 8007e5c: ea43 6302 orr.w r3, r3, r2, lsl #24 + 8007e60: f815 2009 ldrb.w r2, [r5, r9] + 8007e64: 9303 str r3, [sp, #12] + 8007e66: 434a muls r2, r1 + 8007e68: 1212 asrs r2, r2, #8 + 8007e6a: 4658 mov r0, fp + 8007e6c: f8ad 2024 strh.w r2, [sp, #36] ; 0x24 + 8007e70: f006 ff72 bl 800ed58 + 8007e74: 9b03 ldr r3, [sp, #12] + 8007e76: f103 5396 add.w r3, r3, #314572800 ; 0x12c00000 + 8007e7a: f503 13a9 add.w r3, r3, #1384448 ; 0x152000 + 8007e7e: f503 53ec add.w r3, r3, #7552 ; 0x1d80 + 8007e82: 9308 str r3, [sp, #32] + 8007e84: f8da 333c ldr.w r3, [sl, #828] ; 0x33c + 8007e88: 9300 str r3, [sp, #0] + 8007e8a: f10d 0920 add.w r9, sp, #32 + 8007e8e: e899 0006 ldmia.w r9, {r1, r2} + 8007e92: f8da 3338 ldr.w r3, [sl, #824] ; 0x338 + 8007e96: a80a add r0, sp, #40 ; 0x28 + 8007e98: f006 ff1b bl 800ecd2 + 8007e9c: 9b0b ldr r3, [sp, #44] ; 0x2c + 8007e9e: 9300 str r3, [sp, #0] + 8007ea0: e89b 0006 ldmia.w fp, {r1, r2} + 8007ea4: 9b0a ldr r3, [sp, #40] ; 0x28 + 8007ea6: 4648 mov r0, r9 + 8007ea8: f006 fef8 bl 800ec9c + 8007eac: e899 0003 ldmia.w r9, {r0, r1} + 8007eb0: f006 ff2a bl 800ed08 + 8007eb4: f001 ff21 bl 8009cfa + 8007eb8: 2301 movs r3, #1 + 8007eba: b2e4 uxtb r4, r4 + 8007ebc: f88a 3438 strb.w r3, [sl, #1080] ; 0x438 + 8007ec0: e5f5 b.n 8007aae + 8007ec2: f88a 0438 strb.w r0, [sl, #1080] ; 0x438 + 8007ec6: e5f2 b.n 8007aae + 8007ec8: 200c movs r0, #12 + 8007eca: f002 f8c9 bl 800a060 + 8007ece: 2800 cmp r0, #0 + 8007ed0: f43f aded beq.w 8007aae + 8007ed4: 210c movs r1, #12 + 8007ed6: 2000 movs r0, #0 + 8007ed8: f002 f886 bl 8009fe8 + 8007edc: 4b34 ldr r3, [pc, #208] ; (8007fb0 ) + 8007ede: f893 3490 ldrb.w r3, [r3, #1168] ; 0x490 + 8007ee2: 3b04 subs r3, #4 + 8007ee4: 2b01 cmp r3, #1 + 8007ee6: f67f ade2 bls.w 8007aae + 8007eea: f001 ff02 bl 8009cf2 + 8007eee: e5de b.n 8007aae + 8007ef0: f109 0302 add.w r3, r9, #2 + 8007ef4: b2db uxtb r3, r3 + 8007ef6: 5d2a ldrb r2, [r5, r4] + 8007ef8: 5ce9 ldrb r1, [r5, r3] + 8007efa: f109 0303 add.w r3, r9, #3 + 8007efe: b2db uxtb r3, r3 + 8007f00: f109 0405 add.w r4, r9, #5 + 8007f04: 5ceb ldrb r3, [r5, r3] + 8007f06: f109 0904 add.w r9, r9, #4 + 8007f0a: fa5f f989 uxtb.w r9, r9 + 8007f0e: 041b lsls r3, r3, #16 + 8007f10: f815 0009 ldrb.w r0, [r5, r9] + 8007f14: ea43 2301 orr.w r3, r3, r1, lsl #8 + 8007f18: 4313 orrs r3, r2 + 8007f1a: 2164 movs r1, #100 ; 0x64 + 8007f1c: 4359 muls r1, r3 + 8007f1e: f000 000f and.w r0, r0, #15 + 8007f22: f001 fee7 bl 8009cf4 + 8007f26: b2e4 uxtb r4, r4 + 8007f28: f88d 0018 strb.w r0, [sp, #24] + 8007f2c: 2201 movs r2, #1 + 8007f2e: a906 add r1, sp, #24 + 8007f30: 2011 movs r0, #17 + 8007f32: e694 b.n 8007c5e + 8007f34: 200d movs r0, #13 + 8007f36: f002 f893 bl 800a060 + 8007f3a: 2800 cmp r0, #0 + 8007f3c: f43f adb7 beq.w 8007aae + 8007f40: 210d movs r1, #13 + 8007f42: 2000 movs r0, #0 + 8007f44: f002 f850 bl 8009fe8 + 8007f48: f109 0302 add.w r3, r9, #2 + 8007f4c: b2db uxtb r3, r3 + 8007f4e: 4a19 ldr r2, [pc, #100] ; (8007fb4 ) + 8007f50: 5ce8 ldrb r0, [r5, r3] + 8007f52: 5d2b ldrb r3, [r5, r4] + 8007f54: 6812 ldr r2, [r2, #0] + 8007f56: f109 0404 add.w r4, r9, #4 + 8007f5a: f109 0903 add.w r9, r9, #3 + 8007f5e: fa5f f989 uxtb.w r9, r9 + 8007f62: ea43 2000 orr.w r0, r3, r0, lsl #8 + 8007f66: f815 1009 ldrb.w r1, [r5, r9] + 8007f6a: b2e4 uxtb r4, r4 + 8007f6c: f001 fec4 bl 8009cf8 + 8007f70: e59d b.n 8007aae + 8007f72: 5d2a ldrb r2, [r5, r4] + 8007f74: f109 0302 add.w r3, r9, #2 + 8007f78: f109 0404 add.w r4, r9, #4 + 8007f7c: f109 0903 add.w r9, r9, #3 + 8007f80: b2db uxtb r3, r3 + 8007f82: fa5f f989 uxtb.w r9, r9 + 8007f86: 5ce9 ldrb r1, [r5, r3] + 8007f88: f815 3009 ldrb.w r3, [r5, r9] + 8007f8c: 041b lsls r3, r3, #16 + 8007f8e: ea43 2301 orr.w r3, r3, r1, lsl #8 + 8007f92: 4313 orrs r3, r2 + 8007f94: 2064 movs r0, #100 ; 0x64 + 8007f96: 4358 muls r0, r3 + 8007f98: f001 feb0 bl 8009cfc + 8007f9c: b2e4 uxtb r4, r4 + 8007f9e: f88d 0018 strb.w r0, [sp, #24] + 8007fa2: 2201 movs r2, #1 + 8007fa4: a906 add r1, sp, #24 + 8007fa6: 2013 movs r0, #19 + 8007fa8: e659 b.n 8007c5e + 8007faa: bf00 nop + 8007fac: 0800faef .word 0x0800faef + 8007fb0: 200011c8 .word 0x200011c8 + 8007fb4: 20001774 .word 0x20001774 -08007fa4 : - 8007fa4: 4b0e ldr r3, [pc, #56] ; (8007fe0 ) - 8007fa6: f893 2491 ldrb.w r2, [r3, #1169] ; 0x491 - 8007faa: 0792 lsls r2, r2, #30 - 8007fac: d503 bpl.n 8007fb6 - 8007fae: f893 248f ldrb.w r2, [r3, #1167] ; 0x48f - 8007fb2: 2a01 cmp r2, #1 - 8007fb4: d908 bls.n 8007fc8 - 8007fb6: 490b ldr r1, [pc, #44] ; (8007fe4 ) - 8007fb8: f891 211a ldrb.w r2, [r1, #282] ; 0x11a - 8007fbc: b122 cbz r2, 8007fc8 - 8007fbe: 6a8a ldr r2, [r1, #40] ; 0x28 - 8007fc0: 1c50 adds r0, r2, #1 - 8007fc2: bf18 it ne - 8007fc4: 3201 addne r2, #1 - 8007fc6: 628a str r2, [r1, #40] ; 0x28 - 8007fc8: 2200 movs r2, #0 - 8007fca: f8a3 2418 strh.w r2, [r3, #1048] ; 0x418 - 8007fce: f883 241a strb.w r2, [r3, #1050] ; 0x41a - 8007fd2: f8d3 2340 ldr.w r2, [r3, #832] ; 0x340 - 8007fd6: f022 0202 bic.w r2, r2, #2 - 8007fda: f8c3 2340 str.w r2, [r3, #832] ; 0x340 - 8007fde: 4770 bx lr - 8007fe0: 200011c8 .word 0x200011c8 - 8007fe4: 20000c00 .word 0x20000c00 +08007fb8 : + 8007fb8: 4b0e ldr r3, [pc, #56] ; (8007ff4 ) + 8007fba: f893 2491 ldrb.w r2, [r3, #1169] ; 0x491 + 8007fbe: 0792 lsls r2, r2, #30 + 8007fc0: d503 bpl.n 8007fca + 8007fc2: f893 248f ldrb.w r2, [r3, #1167] ; 0x48f + 8007fc6: 2a01 cmp r2, #1 + 8007fc8: d908 bls.n 8007fdc + 8007fca: 490b ldr r1, [pc, #44] ; (8007ff8 ) + 8007fcc: f891 211a ldrb.w r2, [r1, #282] ; 0x11a + 8007fd0: b122 cbz r2, 8007fdc + 8007fd2: 6a8a ldr r2, [r1, #40] ; 0x28 + 8007fd4: 1c50 adds r0, r2, #1 + 8007fd6: bf18 it ne + 8007fd8: 3201 addne r2, #1 + 8007fda: 628a str r2, [r1, #40] ; 0x28 + 8007fdc: 2200 movs r2, #0 + 8007fde: f8a3 2418 strh.w r2, [r3, #1048] ; 0x418 + 8007fe2: f883 241a strb.w r2, [r3, #1050] ; 0x41a + 8007fe6: f8d3 2340 ldr.w r2, [r3, #832] ; 0x340 + 8007fea: f022 0202 bic.w r2, r2, #2 + 8007fee: f8c3 2340 str.w r2, [r3, #832] ; 0x340 + 8007ff2: 4770 bx lr + 8007ff4: 200011c8 .word 0x200011c8 + 8007ff8: 20000c00 .word 0x20000c00 -08007fe8 : - 8007fe8: b570 push {r4, r5, r6, lr} - 8007fea: 4c18 ldr r4, [pc, #96] ; (800804c ) - 8007fec: 4d18 ldr r5, [pc, #96] ; (8008050 ) - 8007fee: f504 705a add.w r0, r4, #872 ; 0x368 - 8007ff2: f006 ff97 bl 800ef24 - 8007ff6: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 8007ffa: f8d4 0498 ldr.w r0, [r4, #1176] ; 0x498 - 8007ffe: f8d5 6090 ldr.w r6, [r5, #144] ; 0x90 - 8008002: f023 0320 bic.w r3, r3, #32 - 8008006: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 800800a: b138 cbz r0, 800801c - 800800c: f006 ff50 bl 800eeb0 - 8008010: 4286 cmp r6, r0 - 8008012: d203 bcs.n 800801c - 8008014: 2300 movs r3, #0 - 8008016: f885 303a strb.w r3, [r5, #58] ; 0x3a - 800801a: bd70 pop {r4, r5, r6, pc} - 800801c: 2001 movs r0, #1 - 800801e: f7ff f9cd bl 80073bc - 8008022: 2800 cmp r0, #0 - 8008024: d0f9 beq.n 800801a - 8008026: 280b cmp r0, #11 - 8008028: d0f7 beq.n 800801a - 800802a: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 - 800802e: f884 3442 strb.w r3, [r4, #1090] ; 0x442 - 8008032: 2009 movs r0, #9 - 8008034: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 - 8008038: f884 3445 strb.w r3, [r4, #1093] ; 0x445 - 800803c: f884 0441 strb.w r0, [r4, #1089] ; 0x441 - 8008040: f001 ffea bl 800a018 - 8008044: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 8008048: f7ff bfac b.w 8007fa4 - 800804c: 200011c8 .word 0x200011c8 - 8008050: 20000c00 .word 0x20000c00 +08007ffc : + 8007ffc: b570 push {r4, r5, r6, lr} + 8007ffe: 4c18 ldr r4, [pc, #96] ; (8008060 ) + 8008000: 4d18 ldr r5, [pc, #96] ; (8008064 ) + 8008002: f504 705a add.w r0, r4, #872 ; 0x368 + 8008006: f006 ff97 bl 800ef38 + 800800a: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 800800e: f8d4 0498 ldr.w r0, [r4, #1176] ; 0x498 + 8008012: f8d5 6090 ldr.w r6, [r5, #144] ; 0x90 + 8008016: f023 0320 bic.w r3, r3, #32 + 800801a: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 800801e: b138 cbz r0, 8008030 + 8008020: f006 ff50 bl 800eec4 + 8008024: 4286 cmp r6, r0 + 8008026: d203 bcs.n 8008030 + 8008028: 2300 movs r3, #0 + 800802a: f885 303a strb.w r3, [r5, #58] ; 0x3a + 800802e: bd70 pop {r4, r5, r6, pc} + 8008030: 2001 movs r0, #1 + 8008032: f7ff f9cd bl 80073d0 + 8008036: 2800 cmp r0, #0 + 8008038: d0f9 beq.n 800802e + 800803a: 280b cmp r0, #11 + 800803c: d0f7 beq.n 800802e + 800803e: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 + 8008042: f884 3442 strb.w r3, [r4, #1090] ; 0x442 + 8008046: 2009 movs r0, #9 + 8008048: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 + 800804c: f884 3445 strb.w r3, [r4, #1093] ; 0x445 + 8008050: f884 0441 strb.w r0, [r4, #1089] ; 0x441 + 8008054: f001 ffea bl 800a02c + 8008058: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 800805c: f7ff bfac b.w 8007fb8 + 8008060: 200011c8 .word 0x200011c8 + 8008064: 20000c00 .word 0x20000c00 -08008054 : - 8008054: 4b09 ldr r3, [pc, #36] ; (800807c ) - 8008056: f8d3 2340 ldr.w r2, [r3, #832] ; 0x340 - 800805a: 2a01 cmp r2, #1 - 800805c: d00a beq.n 8008074 - 800805e: 4908 ldr r1, [pc, #32] ; (8008080 ) - 8008060: 7809 ldrb r1, [r1, #0] - 8008062: 07c9 lsls r1, r1, #31 - 8008064: d408 bmi.n 8008078 - 8008066: b93a cbnz r2, 8008078 - 8008068: f893 0492 ldrb.w r0, [r3, #1170] ; 0x492 - 800806c: 3801 subs r0, #1 - 800806e: bf18 it ne - 8008070: 2001 movne r0, #1 - 8008072: 4770 bx lr - 8008074: 2000 movs r0, #0 - 8008076: 4770 bx lr - 8008078: 2001 movs r0, #1 - 800807a: 4770 bx lr - 800807c: 200011c8 .word 0x200011c8 - 8008080: 200011c4 .word 0x200011c4 +08008068 : + 8008068: 4b09 ldr r3, [pc, #36] ; (8008090 ) + 800806a: f8d3 2340 ldr.w r2, [r3, #832] ; 0x340 + 800806e: 2a01 cmp r2, #1 + 8008070: d00a beq.n 8008088 + 8008072: 4908 ldr r1, [pc, #32] ; (8008094 ) + 8008074: 7809 ldrb r1, [r1, #0] + 8008076: 07c9 lsls r1, r1, #31 + 8008078: d408 bmi.n 800808c + 800807a: b93a cbnz r2, 800808c + 800807c: f893 0492 ldrb.w r0, [r3, #1170] ; 0x492 + 8008080: 3801 subs r0, #1 + 8008082: bf18 it ne + 8008084: 2001 movne r0, #1 + 8008086: 4770 bx lr + 8008088: 2000 movs r0, #0 + 800808a: 4770 bx lr + 800808c: 2001 movs r0, #1 + 800808e: 4770 bx lr + 8008090: 200011c8 .word 0x200011c8 + 8008094: 200011c4 .word 0x200011c4 -08008084 : - 8008084: 4b03 ldr r3, [pc, #12] ; (8008094 ) - 8008086: f8d3 0340 ldr.w r0, [r3, #832] ; 0x340 - 800808a: 1e43 subs r3, r0, #1 - 800808c: 4258 negs r0, r3 - 800808e: 4158 adcs r0, r3 - 8008090: 4770 bx lr - 8008092: bf00 nop - 8008094: 200011c8 .word 0x200011c8 +08008098 : + 8008098: 4b03 ldr r3, [pc, #12] ; (80080a8 ) + 800809a: f8d3 0340 ldr.w r0, [r3, #832] ; 0x340 + 800809e: 1e43 subs r3, r0, #1 + 80080a0: 4258 negs r0, r3 + 80080a2: 4158 adcs r0, r3 + 80080a4: 4770 bx lr + 80080a6: bf00 nop + 80080a8: 200011c8 .word 0x200011c8 -08008098 : - 8008098: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800809c: b0a9 sub sp, #164 ; 0xa4 - 800809e: f3ef 8210 mrs r2, PRIMASK - 80080a2: b672 cpsid i - 80080a4: f8df 82f4 ldr.w r8, [pc, #756] ; 800839c - 80080a8: 2100 movs r1, #0 - 80080aa: f8d8 3000 ldr.w r3, [r8] - 80080ae: f8c8 1000 str.w r1, [r8] - 80080b2: f382 8810 msr PRIMASK, r2 - 80080b6: 4cba ldr r4, [pc, #744] ; (80083a0 ) - 80080b8: 2b00 cmp r3, #0 - 80080ba: f000 80e4 beq.w 8008286 - 80080be: b2da uxtb r2, r3 - 80080c0: 069b lsls r3, r3, #26 - 80080c2: 9203 str r2, [sp, #12] - 80080c4: d564 bpl.n 8008190 - 80080c6: 4db7 ldr r5, [pc, #732] ; (80083a4 ) - 80080c8: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 - 80080cc: 2b02 cmp r3, #2 - 80080ce: d002 beq.n 80080d6 - 80080d0: 4bb5 ldr r3, [pc, #724] ; (80083a8 ) - 80080d2: 6adb ldr r3, [r3, #44] ; 0x2c - 80080d4: 4798 blx r3 - 80080d6: f3ef 8910 mrs r9, PRIMASK - 80080da: b672 cpsid i - 80080dc: 4fb3 ldr r7, [pc, #716] ; (80083ac ) - 80080de: f006 fedd bl 800ee9c - 80080e2: 683e ldr r6, [r7, #0] - 80080e4: f8d4 13b0 ldr.w r1, [r4, #944] ; 0x3b0 - 80080e8: 1a36 subs r6, r6, r0 - 80080ea: 4431 add r1, r6 - 80080ec: 48b0 ldr r0, [pc, #704] ; (80083b0 ) - 80080ee: f006 ffa1 bl 800f034 - 80080f2: 48af ldr r0, [pc, #700] ; (80083b0 ) - 80080f4: f006 ff64 bl 800efc0 - 80080f8: f8d4 13b4 ldr.w r1, [r4, #948] ; 0x3b4 - 80080fc: 48ad ldr r0, [pc, #692] ; (80083b4 ) +080080ac : + 80080ac: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80080b0: b0a9 sub sp, #164 ; 0xa4 + 80080b2: f3ef 8210 mrs r2, PRIMASK + 80080b6: b672 cpsid i + 80080b8: f8df 82f4 ldr.w r8, [pc, #756] ; 80083b0 + 80080bc: 2100 movs r1, #0 + 80080be: f8d8 3000 ldr.w r3, [r8] + 80080c2: f8c8 1000 str.w r1, [r8] + 80080c6: f382 8810 msr PRIMASK, r2 + 80080ca: 4cba ldr r4, [pc, #744] ; (80083b4 ) + 80080cc: 2b00 cmp r3, #0 + 80080ce: f000 80e4 beq.w 800829a + 80080d2: b2da uxtb r2, r3 + 80080d4: 069b lsls r3, r3, #26 + 80080d6: 9203 str r2, [sp, #12] + 80080d8: d564 bpl.n 80081a4 + 80080da: 4db7 ldr r5, [pc, #732] ; (80083b8 ) + 80080dc: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 + 80080e0: 2b02 cmp r3, #2 + 80080e2: d002 beq.n 80080ea + 80080e4: 4bb5 ldr r3, [pc, #724] ; (80083bc ) + 80080e6: 6adb ldr r3, [r3, #44] ; 0x2c + 80080e8: 4798 blx r3 + 80080ea: f3ef 8910 mrs r9, PRIMASK + 80080ee: b672 cpsid i + 80080f0: 4fb3 ldr r7, [pc, #716] ; (80083c0 ) + 80080f2: f006 fedd bl 800eeb0 + 80080f6: 683e ldr r6, [r7, #0] + 80080f8: f8d4 13b0 ldr.w r1, [r4, #944] ; 0x3b0 + 80080fc: 1a36 subs r6, r6, r0 80080fe: 4431 add r1, r6 - 8008100: f006 ff98 bl 800f034 - 8008104: 48ab ldr r0, [pc, #684] ; (80083b4 ) - 8008106: f006 ff5b bl 800efc0 - 800810a: f389 8810 msr PRIMASK, r9 - 800810e: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 8008112: 2b00 cmp r3, #0 - 8008114: f000 816d beq.w 80083f2 - 8008118: 2315 movs r3, #21 - 800811a: a912 add r1, sp, #72 ; 0x48 - 800811c: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8008120: f88d 3048 strb.w r3, [sp, #72] ; 0x48 - 8008124: f002 fc4e bl 800a9c4 - 8008128: f8d4 13b4 ldr.w r1, [r4, #948] ; 0x3b4 - 800812c: 900f str r0, [sp, #60] ; 0x3c - 800812e: 4401 add r1, r0 - 8008130: 48a1 ldr r0, [pc, #644] ; (80083b8 ) - 8008132: f006 ff7f bl 800f034 - 8008136: 48a0 ldr r0, [pc, #640] ; (80083b8 ) - 8008138: f006 ff42 bl 800efc0 - 800813c: 683b ldr r3, [r7, #0] - 800813e: f894 241b ldrb.w r2, [r4, #1051] ; 0x41b - 8008142: 62eb str r3, [r5, #44] ; 0x2c - 8008144: af0d add r7, sp, #52 ; 0x34 - 8008146: 4638 mov r0, r7 - 8008148: f88d 2070 strb.w r2, [sp, #112] ; 0x70 - 800814c: 931d str r3, [sp, #116] ; 0x74 - 800814e: f006 fe1f bl 800ed90 - 8008152: f8d5 3128 ldr.w r3, [r5, #296] ; 0x128 - 8008156: 9300 str r3, [sp, #0] - 8008158: ae06 add r6, sp, #24 - 800815a: e897 0006 ldmia.w r7, {r1, r2} - 800815e: f8d5 3124 ldr.w r3, [r5, #292] ; 0x124 - 8008162: 4630 mov r0, r6 - 8008164: f006 fdab bl 800ecbe - 8008168: e896 0003 ldmia.w r6, {r0, r1} - 800816c: ab1f add r3, sp, #124 ; 0x7c - 800816e: e883 0003 stmia.w r3, {r0, r1} - 8008172: f8d4 341c ldr.w r3, [r4, #1052] ; 0x41c - 8008176: 931e str r3, [sp, #120] ; 0x78 - 8008178: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 800817c: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8008180: 3b00 subs r3, #0 - 8008182: bf18 it ne - 8008184: 2301 movne r3, #1 - 8008186: a91c add r1, sp, #112 ; 0x70 - 8008188: f88d 3071 strb.w r3, [sp, #113] ; 0x71 - 800818c: f002 fc23 bl 800a9d6 - 8008190: 9b03 ldr r3, [sp, #12] - 8008192: 06df lsls r7, r3, #27 - 8008194: d54b bpl.n 800822e - 8008196: 4d83 ldr r5, [pc, #524] ; (80083a4 ) - 8008198: f8df a220 ldr.w sl, [pc, #544] ; 80083bc - 800819c: f8d5 20e4 ldr.w r2, [r5, #228] ; 0xe4 - 80081a0: f9ba 300a ldrsh.w r3, [sl, #10] - 80081a4: 9205 str r2, [sp, #20] - 80081a6: f898 2000 ldrb.w r2, [r8] - 80081aa: 9304 str r3, [sp, #16] - 80081ac: 2300 movs r3, #0 - 80081ae: f363 0200 bfi r2, r3, #0, #1 - 80081b2: 930a str r3, [sp, #40] ; 0x28 - 80081b4: f888 2000 strb.w r2, [r8] - 80081b8: f884 3444 strb.w r3, [r4, #1092] ; 0x444 - 80081bc: 9a04 ldr r2, [sp, #16] - 80081be: f8a4 3422 strh.w r3, [r4, #1058] ; 0x422 - 80081c2: f884 3425 strb.w r3, [r4, #1061] ; 0x425 - 80081c6: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 - 80081ca: f8a4 342c strh.w r3, [r4, #1068] ; 0x42c - 80081ce: f884 342e strb.w r3, [r4, #1070] ; 0x42e - 80081d2: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 - 80081d6: f884 3420 strb.w r3, [r4, #1056] ; 0x420 - 80081da: f8c4 3434 str.w r3, [r4, #1076] ; 0x434 - 80081de: f884 3438 strb.w r3, [r4, #1080] ; 0x438 - 80081e2: f8c4 343c str.w r3, [r4, #1084] ; 0x43c - 80081e6: 4b70 ldr r3, [pc, #448] ; (80083a8 ) - 80081e8: f99a 900c ldrsb.w r9, [sl, #12] - 80081ec: f8a4 248c strh.w r2, [r4, #1164] ; 0x48c - 80081f0: f894 2490 ldrb.w r2, [r4, #1168] ; 0x490 - 80081f4: 6adb ldr r3, [r3, #44] ; 0x2c - 80081f6: f884 948e strb.w r9, [r4, #1166] ; 0x48e - 80081fa: f884 248f strb.w r2, [r4, #1167] ; 0x48f - 80081fe: f8da 7004 ldr.w r7, [sl, #4] - 8008202: f8ba 6008 ldrh.w r6, [sl, #8] - 8008206: 4798 blx r3 - 8008208: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 800820c: b913 cbnz r3, 8008214 - 800820e: 4869 ldr r0, [pc, #420] ; (80083b4 ) - 8008210: f006 fe88 bl 800ef24 - 8008214: 4631 mov r1, r6 - 8008216: 4638 mov r0, r7 - 8008218: f001 fd4e bl 8009cb8 - 800821c: 4683 mov fp, r0 - 800821e: 2800 cmp r0, #0 - 8008220: f000 80ea beq.w 80083f8 - 8008224: 9b04 ldr r3, [sp, #16] - 8008226: f8a4 347e strh.w r3, [r4, #1150] ; 0x47e - 800822a: f884 9480 strb.w r9, [r4, #1152] ; 0x480 - 800822e: 9b03 ldr r3, [sp, #12] - 8008230: 0719 lsls r1, r3, #28 - 8008232: d51a bpl.n 800826a - 8008234: 4b5b ldr r3, [pc, #364] ; (80083a4 ) - 8008236: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 - 800823a: 2b02 cmp r3, #2 - 800823c: d002 beq.n 8008244 - 800823e: 4b5a ldr r3, [pc, #360] ; (80083a8 ) - 8008240: 6adb ldr r3, [r3, #44] ; 0x2c - 8008242: 4798 blx r3 - 8008244: 2002 movs r0, #2 - 8008246: f7fe fed9 bl 8006ffc - 800824a: f884 0441 strb.w r0, [r4, #1089] ; 0x441 - 800824e: f001 fee3 bl 800a018 - 8008252: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 8008256: b113 cbz r3, 800825e - 8008258: 2301 movs r3, #1 - 800825a: f884 3419 strb.w r3, [r4, #1049] ; 0x419 - 800825e: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8008262: f043 0310 orr.w r3, r3, #16 - 8008266: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 800826a: 9b03 ldr r3, [sp, #12] - 800826c: 075a lsls r2, r3, #29 - 800826e: d503 bpl.n 8008278 - 8008270: 2106 movs r1, #6 - 8008272: 2005 movs r0, #5 - 8008274: f7fe ff2a bl 80070cc - 8008278: 9b03 ldr r3, [sp, #12] - 800827a: 079b lsls r3, r3, #30 - 800827c: d503 bpl.n 8008286 - 800827e: 2104 movs r1, #4 - 8008280: 2003 movs r0, #3 - 8008282: f7fe ff23 bl 80070cc - 8008286: f001 fd35 bl 8009cf4 - 800828a: f894 2491 ldrb.w r2, [r4, #1169] ; 0x491 - 800828e: 06d7 lsls r7, r2, #27 - 8008290: d55f bpl.n 8008352 - 8008292: 2300 movs r3, #0 - 8008294: f884 3492 strb.w r3, [r4, #1170] ; 0x492 - 8008298: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 800829c: 061e lsls r6, r3, #24 - 800829e: bf44 itt mi - 80082a0: f023 0382 bicmi.w r3, r3, #130 ; 0x82 - 80082a4: f8c4 3340 strmi.w r3, [r4, #832] ; 0x340 - 80082a8: f012 0f05 tst.w r2, #5 - 80082ac: f000 82fc beq.w 80088a8 - 80082b0: 200b movs r0, #11 - 80082b2: f001 fecb bl 800a04c - 80082b6: 2800 cmp r0, #0 - 80082b8: f000 82f6 beq.w 80088a8 - 80082bc: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 80082c0: 07dd lsls r5, r3, #31 - 80082c2: f100 82f1 bmi.w 80088a8 - 80082c6: 0758 lsls r0, r3, #29 - 80082c8: f140 8308 bpl.w 80088dc - 80082cc: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 80082d0: f023 0302 bic.w r3, r3, #2 - 80082d4: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 80082d8: f8d4 2340 ldr.w r2, [r4, #832] ; 0x340 - 80082dc: bb82 cbnz r2, 8008340 - 80082de: f894 5491 ldrb.w r5, [r4, #1169] ; 0x491 - 80082e2: f015 0101 ands.w r1, r5, #1 - 80082e6: bf1e ittt ne - 80082e8: 462b movne r3, r5 - 80082ea: f362 0300 bfine r3, r2, #0, #1 - 80082ee: f884 3491 strbne.w r3, [r4, #1169] ; 0x491 - 80082f2: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 80082f6: 075e lsls r6, r3, #29 - 80082f8: bf44 itt mi - 80082fa: f36f 0382 bfcmi r3, #2, #1 - 80082fe: f884 3491 strbmi.w r3, [r4, #1169] ; 0x491 - 8008302: 2301 movs r3, #1 - 8008304: f884 3492 strb.w r3, [r4, #1170] ; 0x492 - 8008308: b121 cbz r1, 8008314 - 800830a: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 - 800830e: 482c ldr r0, [pc, #176] ; (80083c0 ) - 8008310: 681b ldr r3, [r3, #0] - 8008312: 4798 blx r3 - 8008314: 076d lsls r5, r5, #29 - 8008316: d50b bpl.n 8008330 - 8008318: 482a ldr r0, [pc, #168] ; (80083c4 ) - 800831a: f001 fea3 bl 800a064 - 800831e: f001 fed1 bl 800a0c4 - 8008322: b128 cbz r0, 8008330 - 8008324: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8008328: f043 0304 orr.w r3, r3, #4 - 800832c: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8008330: f001 fcce bl 8009cd0 - 8008334: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8008338: f36f 1304 bfc r3, #4, #1 - 800833c: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8008340: 2301 movs r3, #1 - 8008342: f884 3492 strb.w r3, [r4, #1170] ; 0x492 - 8008346: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 800834a: f043 0320 orr.w r3, r3, #32 - 800834e: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8008352: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8008356: 0718 lsls r0, r3, #28 - 8008358: d50a bpl.n 8008370 - 800835a: f36f 03c3 bfc r3, #3, #1 - 800835e: 491a ldr r1, [pc, #104] ; (80083c8 ) - 8008360: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8008364: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 - 8008368: f1a1 0024 sub.w r0, r1, #36 ; 0x24 - 800836c: 68db ldr r3, [r3, #12] - 800836e: 4798 blx r3 - 8008370: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8008374: 0799 lsls r1, r3, #30 - 8008376: d50a bpl.n 800838e - 8008378: f36f 0341 bfc r3, #1, #1 - 800837c: 4912 ldr r1, [pc, #72] ; (80083c8 ) - 800837e: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8008382: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 - 8008386: f1a1 006c sub.w r0, r1, #108 ; 0x6c - 800838a: 685b ldr r3, [r3, #4] - 800838c: 4798 blx r3 - 800838e: f894 3490 ldrb.w r3, [r4, #1168] ; 0x490 - 8008392: 2b02 cmp r3, #2 - 8008394: d11a bne.n 80083cc - 8008396: f7fe fefb bl 8007190 - 800839a: e017 b.n 80083cc - 800839c: 200011c4 .word 0x200011c4 - 80083a0: 200011c8 .word 0x200011c8 - 80083a4: 20000c00 .word 0x20000c00 - 80083a8: 080101d4 .word 0x080101d4 - 80083ac: 20001784 .word 0x20001784 - 80083b0: 20001548 .word 0x20001548 - 80083b4: 20001560 .word 0x20001560 - 80083b8: 200015c8 .word 0x200015c8 - 80083bc: 20001774 .word 0x20001774 - 80083c0: 20001608 .word 0x20001608 - 80083c4: 2000161c .word 0x2000161c - 80083c8: 20001654 .word 0x20001654 - 80083cc: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 80083d0: 069a lsls r2, r3, #26 - 80083d2: f140 82c6 bpl.w 8008962 - 80083d6: f36f 1345 bfc r3, #5, #1 - 80083da: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 80083de: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 80083e2: 2b00 cmp r3, #0 - 80083e4: f040 82bd bne.w 8008962 - 80083e8: b029 add sp, #164 ; 0xa4 - 80083ea: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80083ee: f7ff ba77 b.w 80078e0 - 80083f2: f884 3441 strb.w r3, [r4, #1089] ; 0x441 - 80083f6: e6a1 b.n 800813c - 80083f8: f895 2118 ldrb.w r2, [r5, #280] ; 0x118 - 80083fc: 2a01 cmp r2, #1 - 80083fe: d10c bne.n 800841a - 8008400: f001 fc5e bl 8009cc0 - 8008404: 4680 mov r8, r0 - 8008406: b168 cbz r0, 8008424 - 8008408: 4658 mov r0, fp - 800840a: f001 fc4e bl 8009caa - 800840e: 4658 mov r0, fp - 8008410: f001 fc50 bl 8009cb4 - 8008414: 2304 movs r3, #4 - 8008416: f884 348f strb.w r3, [r4, #1167] ; 0x48f - 800841a: b97e cbnz r6, 800843c - 800841c: 2301 movs r3, #1 - 800841e: f884 3421 strb.w r3, [r4, #1057] ; 0x421 - 8008422: e150 b.n 80086c6 - 8008424: f001 fc4e bl 8009cc4 - 8008428: 2800 cmp r0, #0 - 800842a: d0f6 beq.n 800841a - 800842c: 4640 mov r0, r8 - 800842e: f001 fc3d bl 8009cac - 8008432: 4640 mov r0, r8 - 8008434: f001 fc3f bl 8009cb6 - 8008438: 2305 movs r3, #5 - 800843a: e7ec b.n 8008416 - 800843c: 783b ldrb r3, [r7, #0] - 800843e: 9304 str r3, [sp, #16] - 8008440: 095b lsrs r3, r3, #5 - 8008442: 3b01 subs r3, #1 - 8008444: 2b06 cmp r3, #6 - 8008446: f200 8218 bhi.w 800887a - 800844a: e8df f013 tbh [pc, r3, lsl #1] - 800844e: 0007 .short 0x0007 - 8008450: 00950216 .word 0x00950216 - 8008454: 00920216 .word 0x00920216 - 8008458: 02070216 .word 0x02070216 - 800845c: 2e10 cmp r6, #16 - 800845e: d9dd bls.n 800841c - 8008460: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 8008464: 9712 str r7, [sp, #72] ; 0x48 - 8008466: b2f6 uxtb r6, r6 - 8008468: f88d 604c strb.w r6, [sp, #76] ; 0x4c - 800846c: 2b00 cmp r3, #0 - 800846e: d1d5 bne.n 800841c - 8008470: a81c add r0, sp, #112 ; 0x70 - 8008472: f004 f95d bl 800c730 - 8008476: aa12 add r2, sp, #72 ; 0x48 - 8008478: a91c add r1, sp, #112 ; 0x70 - 800847a: 20ff movs r0, #255 ; 0xff - 800847c: f002 f8b2 bl 800a5e4 - 8008480: f89d 3058 ldrb.w r3, [sp, #88] ; 0x58 - 8008484: f3c3 0303 ubfx r3, r3, #0, #4 - 8008488: 4607 mov r7, r0 - 800848a: f88d 302c strb.w r3, [sp, #44] ; 0x2c - 800848e: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8008492: f895 307d ldrb.w r3, [r5, #125] ; 0x7d - 8008496: f88d 302d strb.w r3, [sp, #45] ; 0x2d - 800849a: 2207 movs r2, #7 - 800849c: a90b add r1, sp, #44 ; 0x2c - 800849e: f002 faa4 bl 800a9ea - 80084a2: 2f00 cmp r7, #0 - 80084a4: d15d bne.n 8008562 - 80084a6: 2800 cmp r0, #0 - 80084a8: d05b beq.n 8008562 - 80084aa: f89d 3053 ldrb.w r3, [sp, #83] ; 0x53 - 80084ae: f89d 2052 ldrb.w r2, [sp, #82] ; 0x52 - 80084b2: 9915 ldr r1, [sp, #84] ; 0x54 - 80084b4: f8c5 10e4 str.w r1, [r5, #228] ; 0xe4 - 80084b8: 041b lsls r3, r3, #16 - 80084ba: ea43 2302 orr.w r3, r3, r2, lsl #8 - 80084be: f89d 2051 ldrb.w r2, [sp, #81] ; 0x51 - 80084c2: 2002 movs r0, #2 - 80084c4: 4313 orrs r3, r2 - 80084c6: f8c5 30e0 str.w r3, [r5, #224] ; 0xe0 - 80084ca: f004 f93f bl 800c74c - 80084ce: f89d 3058 ldrb.w r3, [sp, #88] ; 0x58 - 80084d2: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 80084d6: f885 712e strb.w r7, [r5, #302] ; 0x12e - 80084da: f3c3 1202 ubfx r2, r3, #4, #3 - 80084de: f3c3 0303 ubfx r3, r3, #0, #4 - 80084e2: f885 3070 strb.w r3, [r5, #112] ; 0x70 - 80084e6: f885 3078 strb.w r3, [r5, #120] ; 0x78 - 80084ea: f89d 3059 ldrb.w r3, [sp, #89] ; 0x59 - 80084ee: f885 2069 strb.w r2, [r5, #105] ; 0x69 - 80084f2: 2b01 cmp r3, #1 - 80084f4: bf38 it cc - 80084f6: 2301 movcc r3, #1 - 80084f8: f44f 727a mov.w r2, #1000 ; 0x3e8 - 80084fc: 4353 muls r3, r2 - 80084fe: 65ab str r3, [r5, #88] ; 0x58 - 8008500: 4413 add r3, r2 - 8008502: 65eb str r3, [r5, #92] ; 0x5c - 8008504: f10d 035a add.w r3, sp, #90 ; 0x5a - 8008508: f04f 0801 mov.w r8, #1 - 800850c: 9310 str r3, [sp, #64] ; 0x40 - 800850e: 3e11 subs r6, #17 - 8008510: f894 341b ldrb.w r3, [r4, #1051] ; 0x41b - 8008514: f88d 303c strb.w r3, [sp, #60] ; 0x3c - 8008518: a90f add r1, sp, #60 ; 0x3c - 800851a: f885 8068 strb.w r8, [r5, #104] ; 0x68 - 800851e: f88d 6044 strb.w r6, [sp, #68] ; 0x44 - 8008522: f002 fa6a bl 800a9fa - 8008526: 2302 movs r3, #2 - 8008528: 4640 mov r0, r8 - 800852a: f885 3130 strb.w r3, [r5, #304] ; 0x130 - 800852e: f001 fd8d bl 800a04c - 8008532: b118 cbz r0, 800853c - 8008534: 4641 mov r1, r8 - 8008536: 4638 mov r0, r7 - 8008538: f001 fd4c bl 8009fd4 - 800853c: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 8008540: 2b01 cmp r3, #1 - 8008542: f200 81a8 bhi.w 8008896 - 8008546: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 800854a: 2b00 cmp r3, #0 - 800854c: f040 819b bne.w 8008886 - 8008550: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8008554: f043 0310 orr.w r3, r3, #16 - 8008558: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 800855c: f7fe fd4e bl 8006ffc - 8008560: e665 b.n 800822e - 8008562: 2001 movs r0, #1 - 8008564: f001 fd72 bl 800a04c - 8008568: 2800 cmp r0, #0 - 800856a: d0e7 beq.n 800853c - 800856c: 2101 movs r1, #1 - 800856e: 2007 movs r0, #7 - 8008570: e7e2 b.n 8008538 - 8008572: 2301 movs r3, #1 - 8008574: f884 3420 strb.w r3, [r4, #1056] ; 0x420 - 8008578: f895 307d ldrb.w r3, [r5, #125] ; 0x7d - 800857c: f88d 302e strb.w r3, [sp, #46] ; 0x2e - 8008580: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 - 8008584: f88d 302d strb.w r3, [sp, #45] ; 0x2d - 8008588: f895 308c ldrb.w r3, [r5, #140] ; 0x8c - 800858c: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8008590: 330d adds r3, #13 - 8008592: a90b add r1, sp, #44 ; 0x2c - 8008594: f88d 302c strb.w r3, [sp, #44] ; 0x2c - 8008598: f002 fa14 bl 800a9c4 - 800859c: f1a6 030d sub.w r3, r6, #13 - 80085a0: b21b sxth r3, r3 - 80085a2: 9009 str r0, [sp, #36] ; 0x24 - 80085a4: ea23 73e3 bic.w r3, r3, r3, asr #31 - 80085a8: b200 sxth r0, r0 - 80085aa: 4283 cmp r3, r0 - 80085ac: f73f af36 bgt.w 800841c - 80085b0: 2e0b cmp r6, #11 - 80085b2: f67f af33 bls.w 800841c - 80085b6: 4bbb ldr r3, [pc, #748] ; (80088a4 ) - 80085b8: 9325 str r3, [sp, #148] ; 0x94 - 80085ba: a81c add r0, sp, #112 ; 0x70 - 80085bc: 23ff movs r3, #255 ; 0xff - 80085be: 971c str r7, [sp, #112] ; 0x70 - 80085c0: f88d 6074 strb.w r6, [sp, #116] ; 0x74 - 80085c4: f88d 3098 strb.w r3, [sp, #152] ; 0x98 - 80085c8: f002 f8d8 bl 800a77c - 80085cc: 4607 mov r7, r0 - 80085ce: 2800 cmp r0, #0 - 80085d0: f47f af24 bne.w 800841c - 80085d4: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 - 80085d8: 2b01 cmp r3, #1 - 80085da: d113 bne.n 8008604 - 80085dc: f001 fb70 bl 8009cc0 - 80085e0: 2800 cmp r0, #0 - 80085e2: d073 beq.n 80086cc - 80085e4: 4638 mov r0, r7 - 80085e6: f001 fb60 bl 8009caa - 80085ea: 4638 mov r0, r7 - 80085ec: f001 fb62 bl 8009cb4 - 80085f0: 2304 movs r3, #4 - 80085f2: f89d 107c ldrb.w r1, [sp, #124] ; 0x7c - 80085f6: 981e ldr r0, [sp, #120] ; 0x78 - 80085f8: f884 348f strb.w r3, [r4, #1167] ; 0x48f - 80085fc: f3c1 1100 ubfx r1, r1, #4, #1 - 8008600: f001 fb77 bl 8009cf2 - 8008604: f89d 307c ldrb.w r3, [sp, #124] ; 0x7c - 8008608: 991e ldr r1, [sp, #120] ; 0x78 - 800860a: f8c4 1434 str.w r1, [r4, #1076] ; 0x434 - 800860e: f013 020f ands.w r2, r3, #15 - 8008612: d003 beq.n 800861c - 8008614: f89d 0090 ldrb.w r0, [sp, #144] ; 0x90 - 8008618: 2800 cmp r0, #0 - 800861a: d163 bne.n 80086e4 - 800861c: f89d 0098 ldrb.w r0, [sp, #152] ; 0x98 - 8008620: 2800 cmp r0, #0 - 8008622: d062 beq.n 80086ea - 8008624: 2a00 cmp r2, #0 - 8008626: f47f aef9 bne.w 800841c - 800862a: f89d 2090 ldrb.w r2, [sp, #144] ; 0x90 - 800862e: 2a00 cmp r2, #0 - 8008630: bf0c ite eq - 8008632: f04f 0802 moveq.w r8, #2 - 8008636: f04f 0803 movne.w r8, #3 - 800863a: 2200 movs r2, #0 - 800863c: 920a str r2, [sp, #40] ; 0x28 - 800863e: f8d5 20ec ldr.w r2, [r5, #236] ; 0xec - 8008642: 4291 cmp r1, r2 - 8008644: d154 bne.n 80086f0 - 8008646: f895 10e9 ldrb.w r1, [r5, #233] ; 0xe9 - 800864a: 2900 cmp r1, #0 - 800864c: d050 beq.n 80086f0 - 800864e: f8d5 110c ldr.w r1, [r5, #268] ; 0x10c - 8008652: f895 b0ea ldrb.w fp, [r5, #234] ; 0xea - 8008656: 6809 ldr r1, [r1, #0] - 8008658: 910a str r1, [sp, #40] ; 0x28 - 800865a: f895 1118 ldrb.w r1, [r5, #280] ; 0x118 - 800865e: 2902 cmp r1, #2 - 8008660: d102 bne.n 8008668 - 8008662: 2103 movs r1, #3 - 8008664: f884 148f strb.w r1, [r4, #1167] ; 0x48f - 8008668: f1b8 0f03 cmp.w r8, #3 - 800866c: f47f aed6 bne.w 800841c - 8008670: f013 0f60 tst.w r3, #96 ; 0x60 - 8008674: f47f aed2 bne.w 800841c - 8008678: 9205 str r2, [sp, #20] - 800867a: 2701 movs r7, #1 - 800867c: f895 312e ldrb.w r3, [r5, #302] ; 0x12e - 8008680: f1bb 0f00 cmp.w fp, #0 - 8008684: d037 beq.n 80086f6 - 8008686: f1bb 0f01 cmp.w fp, #1 - 800868a: d138 bne.n 80086fe - 800868c: 2b01 cmp r3, #1 - 800868e: d134 bne.n 80086fa - 8008690: f06f 0609 mvn.w r6, #9 - 8008694: fa46 f608 asr.w r6, r6, r8 - 8008698: f006 0601 and.w r6, r6, #1 - 800869c: f1c6 0602 rsb r6, r6, #2 - 80086a0: b2f6 uxtb r6, r6 - 80086a2: f8bd 107e ldrh.w r1, [sp, #126] ; 0x7e - 80086a6: aa0a add r2, sp, #40 ; 0x28 - 80086a8: 4630 mov r0, r6 - 80086aa: f001 fe2d bl 800a308 - 80086ae: b340 cbz r0, 8008702 - 80086b0: 2807 cmp r0, #7 - 80086b2: bf0c ite eq - 80086b4: 2308 moveq r3, #8 - 80086b6: 2301 movne r3, #1 - 80086b8: f884 3421 strb.w r3, [r4, #1057] ; 0x421 - 80086bc: 9b0a ldr r3, [sp, #40] ; 0x28 - 80086be: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 - 80086c2: f8c4 346c str.w r3, [r4, #1132] ; 0x46c - 80086c6: f7fe fce5 bl 8007094 - 80086ca: e5b0 b.n 800822e - 80086cc: f001 fafa bl 8009cc4 - 80086d0: 2800 cmp r0, #0 - 80086d2: d097 beq.n 8008604 - 80086d4: 4638 mov r0, r7 - 80086d6: f001 fae9 bl 8009cac - 80086da: 4638 mov r0, r7 - 80086dc: f001 faeb bl 8009cb6 - 80086e0: 2305 movs r3, #5 - 80086e2: e786 b.n 80085f2 - 80086e4: f04f 0800 mov.w r8, #0 - 80086e8: e7a7 b.n 800863a - 80086ea: f04f 0801 mov.w r8, #1 - 80086ee: e7a4 b.n 800863a - 80086f0: f04f 0b01 mov.w fp, #1 - 80086f4: e7c2 b.n 800867c - 80086f6: 2604 movs r6, #4 - 80086f8: e7d3 b.n 80086a2 - 80086fa: 2603 movs r6, #3 - 80086fc: e7d1 b.n 80086a2 - 80086fe: 2301 movs r3, #1 - 8008700: e7da b.n 80086b8 - 8008702: ab1c add r3, sp, #112 ; 0x70 - 8008704: 9300 str r3, [sp, #0] - 8008706: 9905 ldr r1, [sp, #20] - 8008708: 9b0a ldr r3, [sp, #40] ; 0x28 - 800870a: 4632 mov r2, r6 - 800870c: 4658 mov r0, fp - 800870e: f001 febb bl 800a488 - 8008712: b120 cbz r0, 800871e - 8008714: 2802 cmp r0, #2 - 8008716: bf0c ite eq - 8008718: 230a moveq r3, #10 - 800871a: 230b movne r3, #11 - 800871c: e67f b.n 800841e - 800871e: 9b0a ldr r3, [sp, #40] ; 0x28 - 8008720: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 - 8008724: f8c4 346c str.w r3, [r4, #1132] ; 0x46c - 8008728: f89d 307c ldrb.w r3, [sp, #124] ; 0x7c - 800872c: f884 0421 strb.w r0, [r4, #1057] ; 0x421 - 8008730: f3c3 1340 ubfx r3, r3, #5, #1 - 8008734: f884 342e strb.w r3, [r4, #1070] ; 0x42e - 8008738: f884 3444 strb.w r3, [r4, #1092] ; 0x444 - 800873c: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 8008740: f884 7422 strb.w r7, [r4, #1058] ; 0x422 - 8008744: 2b01 cmp r3, #1 - 8008746: bf9e ittt ls - 8008748: 2201 movls r2, #1 - 800874a: 62a8 strls r0, [r5, #40] ; 0x28 - 800874c: f885 211e strbls.w r2, [r5, #286] ; 0x11e - 8008750: 2f01 cmp r7, #1 - 8008752: f8c4 0428 str.w r0, [r4, #1064] ; 0x428 - 8008756: f884 042c strb.w r0, [r4, #1068] ; 0x42c - 800875a: f884 0441 strb.w r0, [r4, #1089] ; 0x441 - 800875e: d138 bne.n 80087d2 - 8008760: 2202 movs r2, #2 - 8008762: f884 2420 strb.w r2, [r4, #1056] ; 0x420 - 8008766: f895 203a ldrb.w r2, [r5, #58] ; 0x3a - 800876a: 2a00 cmp r2, #0 - 800876c: d14a bne.n 8008804 - 800876e: f89d 207c ldrb.w r2, [sp, #124] ; 0x7c - 8008772: 06d6 lsls r6, r2, #27 - 8008774: d446 bmi.n 8008804 - 8008776: 2b01 cmp r3, #1 - 8008778: f894 1440 ldrb.w r1, [r4, #1088] ; 0x440 - 800877c: f89d 207c ldrb.w r2, [sp, #124] ; 0x7c - 8008780: d805 bhi.n 800878e - 8008782: 2901 cmp r1, #1 - 8008784: d101 bne.n 800878a - 8008786: 0690 lsls r0, r2, #26 - 8008788: d501 bpl.n 800878e - 800878a: f001 fb5f bl 8009e4c - 800878e: f1b8 0f02 cmp.w r8, #2 - 8008792: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 8008796: d043 beq.n 8008820 - 8008798: f1b8 0f03 cmp.w r8, #3 - 800879c: d00a beq.n 80087b4 - 800879e: f89d 107c ldrb.w r1, [sp, #124] ; 0x7c - 80087a2: f1b8 0f01 cmp.w r8, #1 - 80087a6: 464a mov r2, r9 - 80087a8: f001 010f and.w r1, r1, #15 - 80087ac: a820 add r0, sp, #128 ; 0x80 - 80087ae: d03b beq.n 8008828 - 80087b0: f7ff f910 bl 80079d4 - 80087b4: f89d 3090 ldrb.w r3, [sp, #144] ; 0x90 - 80087b8: f884 3423 strb.w r3, [r4, #1059] ; 0x423 - 80087bc: 9b25 ldr r3, [sp, #148] ; 0x94 - 80087be: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 - 80087c2: f89d 3098 ldrb.w r3, [sp, #152] ; 0x98 - 80087c6: f884 342c strb.w r3, [r4, #1068] ; 0x42c - 80087ca: 2301 movs r3, #1 - 80087cc: f884 342d strb.w r3, [r4, #1069] ; 0x42d - 80087d0: e030 b.n 8008834 - 80087d2: 9a04 ldr r2, [sp, #16] - 80087d4: f002 02e0 and.w r2, r2, #224 ; 0xe0 - 80087d8: 2aa0 cmp r2, #160 ; 0xa0 - 80087da: d11b bne.n 8008814 - 80087dc: f895 112e ldrb.w r1, [r5, #302] ; 0x12e - 80087e0: 2201 movs r2, #1 - 80087e2: f885 203a strb.w r2, [r5, #58] ; 0x3a - 80087e6: b909 cbnz r1, 80087ec - 80087e8: 9927 ldr r1, [sp, #156] ; 0x9c - 80087ea: 6369 str r1, [r5, #52] ; 0x34 - 80087ec: 2b01 cmp r3, #1 - 80087ee: f884 2420 strb.w r2, [r4, #1056] ; 0x420 - 80087f2: d907 bls.n 8008804 - 80087f4: f8d5 2090 ldr.w r2, [r5, #144] ; 0x90 - 80087f8: f8c4 243c str.w r2, [r4, #1084] ; 0x43c - 80087fc: f8da 2000 ldr.w r2, [sl] - 8008800: f8c4 2498 str.w r2, [r4, #1176] ; 0x498 - 8008804: f895 2118 ldrb.w r2, [r5, #280] ; 0x118 - 8008808: 2a00 cmp r2, #0 - 800880a: d1b4 bne.n 8008776 - 800880c: 2201 movs r2, #1 - 800880e: f884 2425 strb.w r2, [r4, #1061] ; 0x425 - 8008812: e7b0 b.n 8008776 - 8008814: 2200 movs r2, #0 - 8008816: f885 203a strb.w r2, [r5, #58] ; 0x3a - 800881a: f884 2420 strb.w r2, [r4, #1056] ; 0x420 - 800881e: e7a6 b.n 800876e - 8008820: f89d 1098 ldrb.w r1, [sp, #152] ; 0x98 - 8008824: 9825 ldr r0, [sp, #148] ; 0x94 - 8008826: 464a mov r2, r9 - 8008828: f7ff f8d4 bl 80079d4 - 800882c: f89d 3090 ldrb.w r3, [sp, #144] ; 0x90 - 8008830: f884 3423 strb.w r3, [r4, #1059] ; 0x423 - 8008834: f89d 2090 ldrb.w r2, [sp, #144] ; 0x90 - 8008838: 2ae0 cmp r2, #224 ; 0xe0 - 800883a: d108 bne.n 800884e - 800883c: f895 311f ldrb.w r3, [r5, #287] ; 0x11f - 8008840: b92b cbnz r3, 800884e - 8008842: f884 2423 strb.w r2, [r4, #1059] ; 0x423 - 8008846: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 - 800884a: f8a4 342c strh.w r3, [r4, #1068] ; 0x42c - 800884e: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8008852: f043 0302 orr.w r3, r3, #2 - 8008856: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 800885a: e66f b.n 800853c - 800885c: 4d11 ldr r5, [pc, #68] ; (80088a4 ) - 800885e: 3e01 subs r6, #1 - 8008860: b2b2 uxth r2, r6 - 8008862: 1c79 adds r1, r7, #1 - 8008864: 4628 mov r0, r5 - 8008866: f004 f839 bl 800c8dc - 800886a: 2303 movs r3, #3 - 800886c: f8a4 3420 strh.w r3, [r4, #1056] ; 0x420 - 8008870: f8c4 5428 str.w r5, [r4, #1064] ; 0x428 - 8008874: f884 642c strb.w r6, [r4, #1068] ; 0x42c - 8008878: e7e9 b.n 800884e - 800887a: 2301 movs r3, #1 - 800887c: f884 3421 strb.w r3, [r4, #1057] ; 0x421 - 8008880: f7fe fc08 bl 8007094 - 8008884: e65a b.n 800853c - 8008886: f894 3444 ldrb.w r3, [r4, #1092] ; 0x444 - 800888a: 2b00 cmp r3, #0 - 800888c: f43f ae60 beq.w 8008550 - 8008890: 2000 movs r0, #0 - 8008892: f7fe fbed bl 8007070 - 8008896: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 800889a: 2b02 cmp r3, #2 - 800889c: f43f ae5e beq.w 800855c - 80088a0: e656 b.n 8008550 - 80088a2: bf00 nop - 80088a4: 20001400 .word 0x20001400 - 80088a8: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 80088ac: 0759 lsls r1, r3, #29 - 80088ae: d515 bpl.n 80088dc - 80088b0: 2001 movs r0, #1 - 80088b2: f001 fbcb bl 800a04c - 80088b6: b160 cbz r0, 80088d2 - 80088b8: 2001 movs r0, #1 - 80088ba: f001 fb9d bl 8009ff8 - 80088be: b908 cbnz r0, 80088c4 - 80088c0: f884 0418 strb.w r0, [r4, #1048] ; 0x418 - 80088c4: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 80088c8: f023 0302 bic.w r3, r3, #2 - 80088cc: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 80088d0: e004 b.n 80088dc - 80088d2: 2006 movs r0, #6 - 80088d4: f001 fbba bl 800a04c - 80088d8: 2800 cmp r0, #0 - 80088da: d1f3 bne.n 80088c4 - 80088dc: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 80088e0: 07da lsls r2, r3, #31 - 80088e2: f57f acf9 bpl.w 80082d8 - 80088e6: f894 2440 ldrb.w r2, [r4, #1088] ; 0x440 - 80088ea: b10a cbz r2, 80088f0 - 80088ec: 2a03 cmp r2, #3 - 80088ee: d118 bne.n 8008922 - 80088f0: 4a1d ldr r2, [pc, #116] ; (8008968 ) - 80088f2: f894 1418 ldrb.w r1, [r4, #1048] ; 0x418 - 80088f6: f892 2068 ldrb.w r2, [r2, #104] ; 0x68 - 80088fa: 4291 cmp r1, r2 - 80088fc: d205 bcs.n 800890a - 80088fe: 079b lsls r3, r3, #30 - 8008900: d523 bpl.n 800894a - 8008902: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 8008906: 2b01 cmp r3, #1 - 8008908: d81f bhi.n 800894a - 800890a: 4818 ldr r0, [pc, #96] ; (800896c ) - 800890c: f006 fb0a bl 800ef24 - 8008910: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 8008914: f023 0320 bic.w r3, r3, #32 - 8008918: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 800891c: f7ff fb42 bl 8007fa4 - 8008920: e4da b.n 80082d8 - 8008922: 2a01 cmp r2, #1 - 8008924: d111 bne.n 800894a - 8008926: f894 2419 ldrb.w r2, [r4, #1049] ; 0x419 - 800892a: 2a00 cmp r2, #0 - 800892c: f43f acd4 beq.w 80082d8 - 8008930: 4a0d ldr r2, [pc, #52] ; (8008968 ) - 8008932: f894 1418 ldrb.w r1, [r4, #1048] ; 0x418 - 8008936: f892 2068 ldrb.w r2, [r2, #104] ; 0x68 - 800893a: 4291 cmp r1, r2 - 800893c: d2e5 bcs.n 800890a - 800893e: 079f lsls r7, r3, #30 - 8008940: d503 bpl.n 800894a - 8008942: f894 3444 ldrb.w r3, [r4, #1092] ; 0x444 - 8008946: 2b00 cmp r3, #0 - 8008948: d1df bne.n 800890a - 800894a: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 800894e: 2000 movs r0, #0 - 8008950: f36f 1304 bfc r3, #4, #1 - 8008954: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8008958: f884 0419 strb.w r0, [r4, #1049] ; 0x419 - 800895c: f7ff fb44 bl 8007fe8 - 8008960: e4ba b.n 80082d8 - 8008962: b029 add sp, #164 ; 0xa4 - 8008964: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8008968: 20000c00 .word 0x20000c00 - 800896c: 20001530 .word 0x20001530 + 8008100: 48b0 ldr r0, [pc, #704] ; (80083c4 ) + 8008102: f006 ffa1 bl 800f048 + 8008106: 48af ldr r0, [pc, #700] ; (80083c4 ) + 8008108: f006 ff64 bl 800efd4 + 800810c: f8d4 13b4 ldr.w r1, [r4, #948] ; 0x3b4 + 8008110: 48ad ldr r0, [pc, #692] ; (80083c8 ) + 8008112: 4431 add r1, r6 + 8008114: f006 ff98 bl 800f048 + 8008118: 48ab ldr r0, [pc, #684] ; (80083c8 ) + 800811a: f006 ff5b bl 800efd4 + 800811e: f389 8810 msr PRIMASK, r9 + 8008122: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 8008126: 2b00 cmp r3, #0 + 8008128: f000 816d beq.w 8008406 + 800812c: 2315 movs r3, #21 + 800812e: a912 add r1, sp, #72 ; 0x48 + 8008130: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 8008134: f88d 3048 strb.w r3, [sp, #72] ; 0x48 + 8008138: f002 fc4e bl 800a9d8 + 800813c: f8d4 13b4 ldr.w r1, [r4, #948] ; 0x3b4 + 8008140: 900f str r0, [sp, #60] ; 0x3c + 8008142: 4401 add r1, r0 + 8008144: 48a1 ldr r0, [pc, #644] ; (80083cc ) + 8008146: f006 ff7f bl 800f048 + 800814a: 48a0 ldr r0, [pc, #640] ; (80083cc ) + 800814c: f006 ff42 bl 800efd4 + 8008150: 683b ldr r3, [r7, #0] + 8008152: f894 241b ldrb.w r2, [r4, #1051] ; 0x41b + 8008156: 62eb str r3, [r5, #44] ; 0x2c + 8008158: af0d add r7, sp, #52 ; 0x34 + 800815a: 4638 mov r0, r7 + 800815c: f88d 2070 strb.w r2, [sp, #112] ; 0x70 + 8008160: 931d str r3, [sp, #116] ; 0x74 + 8008162: f006 fe1f bl 800eda4 + 8008166: f8d5 3128 ldr.w r3, [r5, #296] ; 0x128 + 800816a: 9300 str r3, [sp, #0] + 800816c: ae06 add r6, sp, #24 + 800816e: e897 0006 ldmia.w r7, {r1, r2} + 8008172: f8d5 3124 ldr.w r3, [r5, #292] ; 0x124 + 8008176: 4630 mov r0, r6 + 8008178: f006 fdab bl 800ecd2 + 800817c: e896 0003 ldmia.w r6, {r0, r1} + 8008180: ab1f add r3, sp, #124 ; 0x7c + 8008182: e883 0003 stmia.w r3, {r0, r1} + 8008186: f8d4 341c ldr.w r3, [r4, #1052] ; 0x41c + 800818a: 931e str r3, [sp, #120] ; 0x78 + 800818c: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 8008190: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 8008194: 3b00 subs r3, #0 + 8008196: bf18 it ne + 8008198: 2301 movne r3, #1 + 800819a: a91c add r1, sp, #112 ; 0x70 + 800819c: f88d 3071 strb.w r3, [sp, #113] ; 0x71 + 80081a0: f002 fc23 bl 800a9ea + 80081a4: 9b03 ldr r3, [sp, #12] + 80081a6: 06df lsls r7, r3, #27 + 80081a8: d54b bpl.n 8008242 + 80081aa: 4d83 ldr r5, [pc, #524] ; (80083b8 ) + 80081ac: f8df a220 ldr.w sl, [pc, #544] ; 80083d0 + 80081b0: f8d5 20e4 ldr.w r2, [r5, #228] ; 0xe4 + 80081b4: f9ba 300a ldrsh.w r3, [sl, #10] + 80081b8: 9205 str r2, [sp, #20] + 80081ba: f898 2000 ldrb.w r2, [r8] + 80081be: 9304 str r3, [sp, #16] + 80081c0: 2300 movs r3, #0 + 80081c2: f363 0200 bfi r2, r3, #0, #1 + 80081c6: 930a str r3, [sp, #40] ; 0x28 + 80081c8: f888 2000 strb.w r2, [r8] + 80081cc: f884 3444 strb.w r3, [r4, #1092] ; 0x444 + 80081d0: 9a04 ldr r2, [sp, #16] + 80081d2: f8a4 3422 strh.w r3, [r4, #1058] ; 0x422 + 80081d6: f884 3425 strb.w r3, [r4, #1061] ; 0x425 + 80081da: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 + 80081de: f8a4 342c strh.w r3, [r4, #1068] ; 0x42c + 80081e2: f884 342e strb.w r3, [r4, #1070] ; 0x42e + 80081e6: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 + 80081ea: f884 3420 strb.w r3, [r4, #1056] ; 0x420 + 80081ee: f8c4 3434 str.w r3, [r4, #1076] ; 0x434 + 80081f2: f884 3438 strb.w r3, [r4, #1080] ; 0x438 + 80081f6: f8c4 343c str.w r3, [r4, #1084] ; 0x43c + 80081fa: 4b70 ldr r3, [pc, #448] ; (80083bc ) + 80081fc: f99a 900c ldrsb.w r9, [sl, #12] + 8008200: f8a4 248c strh.w r2, [r4, #1164] ; 0x48c + 8008204: f894 2490 ldrb.w r2, [r4, #1168] ; 0x490 + 8008208: 6adb ldr r3, [r3, #44] ; 0x2c + 800820a: f884 948e strb.w r9, [r4, #1166] ; 0x48e + 800820e: f884 248f strb.w r2, [r4, #1167] ; 0x48f + 8008212: f8da 7004 ldr.w r7, [sl, #4] + 8008216: f8ba 6008 ldrh.w r6, [sl, #8] + 800821a: 4798 blx r3 + 800821c: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 8008220: b913 cbnz r3, 8008228 + 8008222: 4869 ldr r0, [pc, #420] ; (80083c8 ) + 8008224: f006 fe88 bl 800ef38 + 8008228: 4631 mov r1, r6 + 800822a: 4638 mov r0, r7 + 800822c: f001 fd4e bl 8009ccc + 8008230: 4683 mov fp, r0 + 8008232: 2800 cmp r0, #0 + 8008234: f000 80ea beq.w 800840c + 8008238: 9b04 ldr r3, [sp, #16] + 800823a: f8a4 347e strh.w r3, [r4, #1150] ; 0x47e + 800823e: f884 9480 strb.w r9, [r4, #1152] ; 0x480 + 8008242: 9b03 ldr r3, [sp, #12] + 8008244: 0719 lsls r1, r3, #28 + 8008246: d51a bpl.n 800827e + 8008248: 4b5b ldr r3, [pc, #364] ; (80083b8 ) + 800824a: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 + 800824e: 2b02 cmp r3, #2 + 8008250: d002 beq.n 8008258 + 8008252: 4b5a ldr r3, [pc, #360] ; (80083bc ) + 8008254: 6adb ldr r3, [r3, #44] ; 0x2c + 8008256: 4798 blx r3 + 8008258: 2002 movs r0, #2 + 800825a: f7fe fed9 bl 8007010 + 800825e: f884 0441 strb.w r0, [r4, #1089] ; 0x441 + 8008262: f001 fee3 bl 800a02c + 8008266: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 800826a: b113 cbz r3, 8008272 + 800826c: 2301 movs r3, #1 + 800826e: f884 3419 strb.w r3, [r4, #1049] ; 0x419 + 8008272: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8008276: f043 0310 orr.w r3, r3, #16 + 800827a: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 800827e: 9b03 ldr r3, [sp, #12] + 8008280: 075a lsls r2, r3, #29 + 8008282: d503 bpl.n 800828c + 8008284: 2106 movs r1, #6 + 8008286: 2005 movs r0, #5 + 8008288: f7fe ff2a bl 80070e0 + 800828c: 9b03 ldr r3, [sp, #12] + 800828e: 079b lsls r3, r3, #30 + 8008290: d503 bpl.n 800829a + 8008292: 2104 movs r1, #4 + 8008294: 2003 movs r0, #3 + 8008296: f7fe ff23 bl 80070e0 + 800829a: f001 fd35 bl 8009d08 + 800829e: f894 2491 ldrb.w r2, [r4, #1169] ; 0x491 + 80082a2: 06d7 lsls r7, r2, #27 + 80082a4: d55f bpl.n 8008366 + 80082a6: 2300 movs r3, #0 + 80082a8: f884 3492 strb.w r3, [r4, #1170] ; 0x492 + 80082ac: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 80082b0: 061e lsls r6, r3, #24 + 80082b2: bf44 itt mi + 80082b4: f023 0382 bicmi.w r3, r3, #130 ; 0x82 + 80082b8: f8c4 3340 strmi.w r3, [r4, #832] ; 0x340 + 80082bc: f012 0f05 tst.w r2, #5 + 80082c0: f000 82fc beq.w 80088bc + 80082c4: 200b movs r0, #11 + 80082c6: f001 fecb bl 800a060 + 80082ca: 2800 cmp r0, #0 + 80082cc: f000 82f6 beq.w 80088bc + 80082d0: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 80082d4: 07dd lsls r5, r3, #31 + 80082d6: f100 82f1 bmi.w 80088bc + 80082da: 0758 lsls r0, r3, #29 + 80082dc: f140 8308 bpl.w 80088f0 + 80082e0: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 80082e4: f023 0302 bic.w r3, r3, #2 + 80082e8: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 80082ec: f8d4 2340 ldr.w r2, [r4, #832] ; 0x340 + 80082f0: bb82 cbnz r2, 8008354 + 80082f2: f894 5491 ldrb.w r5, [r4, #1169] ; 0x491 + 80082f6: f015 0101 ands.w r1, r5, #1 + 80082fa: bf1e ittt ne + 80082fc: 462b movne r3, r5 + 80082fe: f362 0300 bfine r3, r2, #0, #1 + 8008302: f884 3491 strbne.w r3, [r4, #1169] ; 0x491 + 8008306: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 800830a: 075e lsls r6, r3, #29 + 800830c: bf44 itt mi + 800830e: f36f 0382 bfcmi r3, #2, #1 + 8008312: f884 3491 strbmi.w r3, [r4, #1169] ; 0x491 + 8008316: 2301 movs r3, #1 + 8008318: f884 3492 strb.w r3, [r4, #1170] ; 0x492 + 800831c: b121 cbz r1, 8008328 + 800831e: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 + 8008322: 482c ldr r0, [pc, #176] ; (80083d4 ) + 8008324: 681b ldr r3, [r3, #0] + 8008326: 4798 blx r3 + 8008328: 076d lsls r5, r5, #29 + 800832a: d50b bpl.n 8008344 + 800832c: 482a ldr r0, [pc, #168] ; (80083d8 ) + 800832e: f001 fea3 bl 800a078 + 8008332: f001 fed1 bl 800a0d8 + 8008336: b128 cbz r0, 8008344 + 8008338: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 800833c: f043 0304 orr.w r3, r3, #4 + 8008340: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8008344: f001 fcce bl 8009ce4 + 8008348: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 800834c: f36f 1304 bfc r3, #4, #1 + 8008350: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8008354: 2301 movs r3, #1 + 8008356: f884 3492 strb.w r3, [r4, #1170] ; 0x492 + 800835a: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 800835e: f043 0320 orr.w r3, r3, #32 + 8008362: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8008366: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 800836a: 0718 lsls r0, r3, #28 + 800836c: d50a bpl.n 8008384 + 800836e: f36f 03c3 bfc r3, #3, #1 + 8008372: 491a ldr r1, [pc, #104] ; (80083dc ) + 8008374: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8008378: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 + 800837c: f1a1 0024 sub.w r0, r1, #36 ; 0x24 + 8008380: 68db ldr r3, [r3, #12] + 8008382: 4798 blx r3 + 8008384: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8008388: 0799 lsls r1, r3, #30 + 800838a: d50a bpl.n 80083a2 + 800838c: f36f 0341 bfc r3, #1, #1 + 8008390: 4912 ldr r1, [pc, #72] ; (80083dc ) + 8008392: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8008396: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 + 800839a: f1a1 006c sub.w r0, r1, #108 ; 0x6c + 800839e: 685b ldr r3, [r3, #4] + 80083a0: 4798 blx r3 + 80083a2: f894 3490 ldrb.w r3, [r4, #1168] ; 0x490 + 80083a6: 2b02 cmp r3, #2 + 80083a8: d11a bne.n 80083e0 + 80083aa: f7fe fefb bl 80071a4 + 80083ae: e017 b.n 80083e0 + 80083b0: 200011c4 .word 0x200011c4 + 80083b4: 200011c8 .word 0x200011c8 + 80083b8: 20000c00 .word 0x20000c00 + 80083bc: 080101ec .word 0x080101ec + 80083c0: 20001784 .word 0x20001784 + 80083c4: 20001548 .word 0x20001548 + 80083c8: 20001560 .word 0x20001560 + 80083cc: 200015c8 .word 0x200015c8 + 80083d0: 20001774 .word 0x20001774 + 80083d4: 20001608 .word 0x20001608 + 80083d8: 2000161c .word 0x2000161c + 80083dc: 20001654 .word 0x20001654 + 80083e0: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 80083e4: 069a lsls r2, r3, #26 + 80083e6: f140 82c6 bpl.w 8008976 + 80083ea: f36f 1345 bfc r3, #5, #1 + 80083ee: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 80083f2: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 80083f6: 2b00 cmp r3, #0 + 80083f8: f040 82bd bne.w 8008976 + 80083fc: b029 add sp, #164 ; 0xa4 + 80083fe: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8008402: f7ff ba77 b.w 80078f4 + 8008406: f884 3441 strb.w r3, [r4, #1089] ; 0x441 + 800840a: e6a1 b.n 8008150 + 800840c: f895 2118 ldrb.w r2, [r5, #280] ; 0x118 + 8008410: 2a01 cmp r2, #1 + 8008412: d10c bne.n 800842e + 8008414: f001 fc5e bl 8009cd4 + 8008418: 4680 mov r8, r0 + 800841a: b168 cbz r0, 8008438 + 800841c: 4658 mov r0, fp + 800841e: f001 fc4e bl 8009cbe + 8008422: 4658 mov r0, fp + 8008424: f001 fc50 bl 8009cc8 + 8008428: 2304 movs r3, #4 + 800842a: f884 348f strb.w r3, [r4, #1167] ; 0x48f + 800842e: b97e cbnz r6, 8008450 + 8008430: 2301 movs r3, #1 + 8008432: f884 3421 strb.w r3, [r4, #1057] ; 0x421 + 8008436: e150 b.n 80086da + 8008438: f001 fc4e bl 8009cd8 + 800843c: 2800 cmp r0, #0 + 800843e: d0f6 beq.n 800842e + 8008440: 4640 mov r0, r8 + 8008442: f001 fc3d bl 8009cc0 + 8008446: 4640 mov r0, r8 + 8008448: f001 fc3f bl 8009cca + 800844c: 2305 movs r3, #5 + 800844e: e7ec b.n 800842a + 8008450: 783b ldrb r3, [r7, #0] + 8008452: 9304 str r3, [sp, #16] + 8008454: 095b lsrs r3, r3, #5 + 8008456: 3b01 subs r3, #1 + 8008458: 2b06 cmp r3, #6 + 800845a: f200 8218 bhi.w 800888e + 800845e: e8df f013 tbh [pc, r3, lsl #1] + 8008462: 0007 .short 0x0007 + 8008464: 00950216 .word 0x00950216 + 8008468: 00920216 .word 0x00920216 + 800846c: 02070216 .word 0x02070216 + 8008470: 2e10 cmp r6, #16 + 8008472: d9dd bls.n 8008430 + 8008474: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 8008478: 9712 str r7, [sp, #72] ; 0x48 + 800847a: b2f6 uxtb r6, r6 + 800847c: f88d 604c strb.w r6, [sp, #76] ; 0x4c + 8008480: 2b00 cmp r3, #0 + 8008482: d1d5 bne.n 8008430 + 8008484: a81c add r0, sp, #112 ; 0x70 + 8008486: f004 f95d bl 800c744 + 800848a: aa12 add r2, sp, #72 ; 0x48 + 800848c: a91c add r1, sp, #112 ; 0x70 + 800848e: 20ff movs r0, #255 ; 0xff + 8008490: f002 f8b2 bl 800a5f8 + 8008494: f89d 3058 ldrb.w r3, [sp, #88] ; 0x58 + 8008498: f3c3 0303 ubfx r3, r3, #0, #4 + 800849c: 4607 mov r7, r0 + 800849e: f88d 302c strb.w r3, [sp, #44] ; 0x2c + 80084a2: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80084a6: f895 307d ldrb.w r3, [r5, #125] ; 0x7d + 80084aa: f88d 302d strb.w r3, [sp, #45] ; 0x2d + 80084ae: 2207 movs r2, #7 + 80084b0: a90b add r1, sp, #44 ; 0x2c + 80084b2: f002 faa4 bl 800a9fe + 80084b6: 2f00 cmp r7, #0 + 80084b8: d15d bne.n 8008576 + 80084ba: 2800 cmp r0, #0 + 80084bc: d05b beq.n 8008576 + 80084be: f89d 3053 ldrb.w r3, [sp, #83] ; 0x53 + 80084c2: f89d 2052 ldrb.w r2, [sp, #82] ; 0x52 + 80084c6: 9915 ldr r1, [sp, #84] ; 0x54 + 80084c8: f8c5 10e4 str.w r1, [r5, #228] ; 0xe4 + 80084cc: 041b lsls r3, r3, #16 + 80084ce: ea43 2302 orr.w r3, r3, r2, lsl #8 + 80084d2: f89d 2051 ldrb.w r2, [sp, #81] ; 0x51 + 80084d6: 2002 movs r0, #2 + 80084d8: 4313 orrs r3, r2 + 80084da: f8c5 30e0 str.w r3, [r5, #224] ; 0xe0 + 80084de: f004 f93f bl 800c760 + 80084e2: f89d 3058 ldrb.w r3, [sp, #88] ; 0x58 + 80084e6: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80084ea: f885 712e strb.w r7, [r5, #302] ; 0x12e + 80084ee: f3c3 1202 ubfx r2, r3, #4, #3 + 80084f2: f3c3 0303 ubfx r3, r3, #0, #4 + 80084f6: f885 3070 strb.w r3, [r5, #112] ; 0x70 + 80084fa: f885 3078 strb.w r3, [r5, #120] ; 0x78 + 80084fe: f89d 3059 ldrb.w r3, [sp, #89] ; 0x59 + 8008502: f885 2069 strb.w r2, [r5, #105] ; 0x69 + 8008506: 2b01 cmp r3, #1 + 8008508: bf38 it cc + 800850a: 2301 movcc r3, #1 + 800850c: f44f 727a mov.w r2, #1000 ; 0x3e8 + 8008510: 4353 muls r3, r2 + 8008512: 65ab str r3, [r5, #88] ; 0x58 + 8008514: 4413 add r3, r2 + 8008516: 65eb str r3, [r5, #92] ; 0x5c + 8008518: f10d 035a add.w r3, sp, #90 ; 0x5a + 800851c: f04f 0801 mov.w r8, #1 + 8008520: 9310 str r3, [sp, #64] ; 0x40 + 8008522: 3e11 subs r6, #17 + 8008524: f894 341b ldrb.w r3, [r4, #1051] ; 0x41b + 8008528: f88d 303c strb.w r3, [sp, #60] ; 0x3c + 800852c: a90f add r1, sp, #60 ; 0x3c + 800852e: f885 8068 strb.w r8, [r5, #104] ; 0x68 + 8008532: f88d 6044 strb.w r6, [sp, #68] ; 0x44 + 8008536: f002 fa6a bl 800aa0e + 800853a: 2302 movs r3, #2 + 800853c: 4640 mov r0, r8 + 800853e: f885 3130 strb.w r3, [r5, #304] ; 0x130 + 8008542: f001 fd8d bl 800a060 + 8008546: b118 cbz r0, 8008550 + 8008548: 4641 mov r1, r8 + 800854a: 4638 mov r0, r7 + 800854c: f001 fd4c bl 8009fe8 + 8008550: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 8008554: 2b01 cmp r3, #1 + 8008556: f200 81a8 bhi.w 80088aa + 800855a: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 800855e: 2b00 cmp r3, #0 + 8008560: f040 819b bne.w 800889a + 8008564: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8008568: f043 0310 orr.w r3, r3, #16 + 800856c: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8008570: f7fe fd4e bl 8007010 + 8008574: e665 b.n 8008242 + 8008576: 2001 movs r0, #1 + 8008578: f001 fd72 bl 800a060 + 800857c: 2800 cmp r0, #0 + 800857e: d0e7 beq.n 8008550 + 8008580: 2101 movs r1, #1 + 8008582: 2007 movs r0, #7 + 8008584: e7e2 b.n 800854c + 8008586: 2301 movs r3, #1 + 8008588: f884 3420 strb.w r3, [r4, #1056] ; 0x420 + 800858c: f895 307d ldrb.w r3, [r5, #125] ; 0x7d + 8008590: f88d 302e strb.w r3, [sp, #46] ; 0x2e + 8008594: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 + 8008598: f88d 302d strb.w r3, [sp, #45] ; 0x2d + 800859c: f895 308c ldrb.w r3, [r5, #140] ; 0x8c + 80085a0: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80085a4: 330d adds r3, #13 + 80085a6: a90b add r1, sp, #44 ; 0x2c + 80085a8: f88d 302c strb.w r3, [sp, #44] ; 0x2c + 80085ac: f002 fa14 bl 800a9d8 + 80085b0: f1a6 030d sub.w r3, r6, #13 + 80085b4: b21b sxth r3, r3 + 80085b6: 9009 str r0, [sp, #36] ; 0x24 + 80085b8: ea23 73e3 bic.w r3, r3, r3, asr #31 + 80085bc: b200 sxth r0, r0 + 80085be: 4283 cmp r3, r0 + 80085c0: f73f af36 bgt.w 8008430 + 80085c4: 2e0b cmp r6, #11 + 80085c6: f67f af33 bls.w 8008430 + 80085ca: 4bbb ldr r3, [pc, #748] ; (80088b8 ) + 80085cc: 9325 str r3, [sp, #148] ; 0x94 + 80085ce: a81c add r0, sp, #112 ; 0x70 + 80085d0: 23ff movs r3, #255 ; 0xff + 80085d2: 971c str r7, [sp, #112] ; 0x70 + 80085d4: f88d 6074 strb.w r6, [sp, #116] ; 0x74 + 80085d8: f88d 3098 strb.w r3, [sp, #152] ; 0x98 + 80085dc: f002 f8d8 bl 800a790 + 80085e0: 4607 mov r7, r0 + 80085e2: 2800 cmp r0, #0 + 80085e4: f47f af24 bne.w 8008430 + 80085e8: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 + 80085ec: 2b01 cmp r3, #1 + 80085ee: d113 bne.n 8008618 + 80085f0: f001 fb70 bl 8009cd4 + 80085f4: 2800 cmp r0, #0 + 80085f6: d073 beq.n 80086e0 + 80085f8: 4638 mov r0, r7 + 80085fa: f001 fb60 bl 8009cbe + 80085fe: 4638 mov r0, r7 + 8008600: f001 fb62 bl 8009cc8 + 8008604: 2304 movs r3, #4 + 8008606: f89d 107c ldrb.w r1, [sp, #124] ; 0x7c + 800860a: 981e ldr r0, [sp, #120] ; 0x78 + 800860c: f884 348f strb.w r3, [r4, #1167] ; 0x48f + 8008610: f3c1 1100 ubfx r1, r1, #4, #1 + 8008614: f001 fb77 bl 8009d06 + 8008618: f89d 307c ldrb.w r3, [sp, #124] ; 0x7c + 800861c: 991e ldr r1, [sp, #120] ; 0x78 + 800861e: f8c4 1434 str.w r1, [r4, #1076] ; 0x434 + 8008622: f013 020f ands.w r2, r3, #15 + 8008626: d003 beq.n 8008630 + 8008628: f89d 0090 ldrb.w r0, [sp, #144] ; 0x90 + 800862c: 2800 cmp r0, #0 + 800862e: d163 bne.n 80086f8 + 8008630: f89d 0098 ldrb.w r0, [sp, #152] ; 0x98 + 8008634: 2800 cmp r0, #0 + 8008636: d062 beq.n 80086fe + 8008638: 2a00 cmp r2, #0 + 800863a: f47f aef9 bne.w 8008430 + 800863e: f89d 2090 ldrb.w r2, [sp, #144] ; 0x90 + 8008642: 2a00 cmp r2, #0 + 8008644: bf0c ite eq + 8008646: f04f 0802 moveq.w r8, #2 + 800864a: f04f 0803 movne.w r8, #3 + 800864e: 2200 movs r2, #0 + 8008650: 920a str r2, [sp, #40] ; 0x28 + 8008652: f8d5 20ec ldr.w r2, [r5, #236] ; 0xec + 8008656: 4291 cmp r1, r2 + 8008658: d154 bne.n 8008704 + 800865a: f895 10e9 ldrb.w r1, [r5, #233] ; 0xe9 + 800865e: 2900 cmp r1, #0 + 8008660: d050 beq.n 8008704 + 8008662: f8d5 110c ldr.w r1, [r5, #268] ; 0x10c + 8008666: f895 b0ea ldrb.w fp, [r5, #234] ; 0xea + 800866a: 6809 ldr r1, [r1, #0] + 800866c: 910a str r1, [sp, #40] ; 0x28 + 800866e: f895 1118 ldrb.w r1, [r5, #280] ; 0x118 + 8008672: 2902 cmp r1, #2 + 8008674: d102 bne.n 800867c + 8008676: 2103 movs r1, #3 + 8008678: f884 148f strb.w r1, [r4, #1167] ; 0x48f + 800867c: f1b8 0f03 cmp.w r8, #3 + 8008680: f47f aed6 bne.w 8008430 + 8008684: f013 0f60 tst.w r3, #96 ; 0x60 + 8008688: f47f aed2 bne.w 8008430 + 800868c: 9205 str r2, [sp, #20] + 800868e: 2701 movs r7, #1 + 8008690: f895 312e ldrb.w r3, [r5, #302] ; 0x12e + 8008694: f1bb 0f00 cmp.w fp, #0 + 8008698: d037 beq.n 800870a + 800869a: f1bb 0f01 cmp.w fp, #1 + 800869e: d138 bne.n 8008712 + 80086a0: 2b01 cmp r3, #1 + 80086a2: d134 bne.n 800870e + 80086a4: f06f 0609 mvn.w r6, #9 + 80086a8: fa46 f608 asr.w r6, r6, r8 + 80086ac: f006 0601 and.w r6, r6, #1 + 80086b0: f1c6 0602 rsb r6, r6, #2 + 80086b4: b2f6 uxtb r6, r6 + 80086b6: f8bd 107e ldrh.w r1, [sp, #126] ; 0x7e + 80086ba: aa0a add r2, sp, #40 ; 0x28 + 80086bc: 4630 mov r0, r6 + 80086be: f001 fe2d bl 800a31c + 80086c2: b340 cbz r0, 8008716 + 80086c4: 2807 cmp r0, #7 + 80086c6: bf0c ite eq + 80086c8: 2308 moveq r3, #8 + 80086ca: 2301 movne r3, #1 + 80086cc: f884 3421 strb.w r3, [r4, #1057] ; 0x421 + 80086d0: 9b0a ldr r3, [sp, #40] ; 0x28 + 80086d2: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 + 80086d6: f8c4 346c str.w r3, [r4, #1132] ; 0x46c + 80086da: f7fe fce5 bl 80070a8 + 80086de: e5b0 b.n 8008242 + 80086e0: f001 fafa bl 8009cd8 + 80086e4: 2800 cmp r0, #0 + 80086e6: d097 beq.n 8008618 + 80086e8: 4638 mov r0, r7 + 80086ea: f001 fae9 bl 8009cc0 + 80086ee: 4638 mov r0, r7 + 80086f0: f001 faeb bl 8009cca + 80086f4: 2305 movs r3, #5 + 80086f6: e786 b.n 8008606 + 80086f8: f04f 0800 mov.w r8, #0 + 80086fc: e7a7 b.n 800864e + 80086fe: f04f 0801 mov.w r8, #1 + 8008702: e7a4 b.n 800864e + 8008704: f04f 0b01 mov.w fp, #1 + 8008708: e7c2 b.n 8008690 + 800870a: 2604 movs r6, #4 + 800870c: e7d3 b.n 80086b6 + 800870e: 2603 movs r6, #3 + 8008710: e7d1 b.n 80086b6 + 8008712: 2301 movs r3, #1 + 8008714: e7da b.n 80086cc + 8008716: ab1c add r3, sp, #112 ; 0x70 + 8008718: 9300 str r3, [sp, #0] + 800871a: 9905 ldr r1, [sp, #20] + 800871c: 9b0a ldr r3, [sp, #40] ; 0x28 + 800871e: 4632 mov r2, r6 + 8008720: 4658 mov r0, fp + 8008722: f001 febb bl 800a49c + 8008726: b120 cbz r0, 8008732 + 8008728: 2802 cmp r0, #2 + 800872a: bf0c ite eq + 800872c: 230a moveq r3, #10 + 800872e: 230b movne r3, #11 + 8008730: e67f b.n 8008432 + 8008732: 9b0a ldr r3, [sp, #40] ; 0x28 + 8008734: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 + 8008738: f8c4 346c str.w r3, [r4, #1132] ; 0x46c + 800873c: f89d 307c ldrb.w r3, [sp, #124] ; 0x7c + 8008740: f884 0421 strb.w r0, [r4, #1057] ; 0x421 + 8008744: f3c3 1340 ubfx r3, r3, #5, #1 + 8008748: f884 342e strb.w r3, [r4, #1070] ; 0x42e + 800874c: f884 3444 strb.w r3, [r4, #1092] ; 0x444 + 8008750: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 8008754: f884 7422 strb.w r7, [r4, #1058] ; 0x422 + 8008758: 2b01 cmp r3, #1 + 800875a: bf9e ittt ls + 800875c: 2201 movls r2, #1 + 800875e: 62a8 strls r0, [r5, #40] ; 0x28 + 8008760: f885 211e strbls.w r2, [r5, #286] ; 0x11e + 8008764: 2f01 cmp r7, #1 + 8008766: f8c4 0428 str.w r0, [r4, #1064] ; 0x428 + 800876a: f884 042c strb.w r0, [r4, #1068] ; 0x42c + 800876e: f884 0441 strb.w r0, [r4, #1089] ; 0x441 + 8008772: d138 bne.n 80087e6 + 8008774: 2202 movs r2, #2 + 8008776: f884 2420 strb.w r2, [r4, #1056] ; 0x420 + 800877a: f895 203a ldrb.w r2, [r5, #58] ; 0x3a + 800877e: 2a00 cmp r2, #0 + 8008780: d14a bne.n 8008818 + 8008782: f89d 207c ldrb.w r2, [sp, #124] ; 0x7c + 8008786: 06d6 lsls r6, r2, #27 + 8008788: d446 bmi.n 8008818 + 800878a: 2b01 cmp r3, #1 + 800878c: f894 1440 ldrb.w r1, [r4, #1088] ; 0x440 + 8008790: f89d 207c ldrb.w r2, [sp, #124] ; 0x7c + 8008794: d805 bhi.n 80087a2 + 8008796: 2901 cmp r1, #1 + 8008798: d101 bne.n 800879e + 800879a: 0690 lsls r0, r2, #26 + 800879c: d501 bpl.n 80087a2 + 800879e: f001 fb5f bl 8009e60 + 80087a2: f1b8 0f02 cmp.w r8, #2 + 80087a6: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 80087aa: d043 beq.n 8008834 + 80087ac: f1b8 0f03 cmp.w r8, #3 + 80087b0: d00a beq.n 80087c8 + 80087b2: f89d 107c ldrb.w r1, [sp, #124] ; 0x7c + 80087b6: f1b8 0f01 cmp.w r8, #1 + 80087ba: 464a mov r2, r9 + 80087bc: f001 010f and.w r1, r1, #15 + 80087c0: a820 add r0, sp, #128 ; 0x80 + 80087c2: d03b beq.n 800883c + 80087c4: f7ff f910 bl 80079e8 + 80087c8: f89d 3090 ldrb.w r3, [sp, #144] ; 0x90 + 80087cc: f884 3423 strb.w r3, [r4, #1059] ; 0x423 + 80087d0: 9b25 ldr r3, [sp, #148] ; 0x94 + 80087d2: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 + 80087d6: f89d 3098 ldrb.w r3, [sp, #152] ; 0x98 + 80087da: f884 342c strb.w r3, [r4, #1068] ; 0x42c + 80087de: 2301 movs r3, #1 + 80087e0: f884 342d strb.w r3, [r4, #1069] ; 0x42d + 80087e4: e030 b.n 8008848 + 80087e6: 9a04 ldr r2, [sp, #16] + 80087e8: f002 02e0 and.w r2, r2, #224 ; 0xe0 + 80087ec: 2aa0 cmp r2, #160 ; 0xa0 + 80087ee: d11b bne.n 8008828 + 80087f0: f895 112e ldrb.w r1, [r5, #302] ; 0x12e + 80087f4: 2201 movs r2, #1 + 80087f6: f885 203a strb.w r2, [r5, #58] ; 0x3a + 80087fa: b909 cbnz r1, 8008800 + 80087fc: 9927 ldr r1, [sp, #156] ; 0x9c + 80087fe: 6369 str r1, [r5, #52] ; 0x34 + 8008800: 2b01 cmp r3, #1 + 8008802: f884 2420 strb.w r2, [r4, #1056] ; 0x420 + 8008806: d907 bls.n 8008818 + 8008808: f8d5 2090 ldr.w r2, [r5, #144] ; 0x90 + 800880c: f8c4 243c str.w r2, [r4, #1084] ; 0x43c + 8008810: f8da 2000 ldr.w r2, [sl] + 8008814: f8c4 2498 str.w r2, [r4, #1176] ; 0x498 + 8008818: f895 2118 ldrb.w r2, [r5, #280] ; 0x118 + 800881c: 2a00 cmp r2, #0 + 800881e: d1b4 bne.n 800878a + 8008820: 2201 movs r2, #1 + 8008822: f884 2425 strb.w r2, [r4, #1061] ; 0x425 + 8008826: e7b0 b.n 800878a + 8008828: 2200 movs r2, #0 + 800882a: f885 203a strb.w r2, [r5, #58] ; 0x3a + 800882e: f884 2420 strb.w r2, [r4, #1056] ; 0x420 + 8008832: e7a6 b.n 8008782 + 8008834: f89d 1098 ldrb.w r1, [sp, #152] ; 0x98 + 8008838: 9825 ldr r0, [sp, #148] ; 0x94 + 800883a: 464a mov r2, r9 + 800883c: f7ff f8d4 bl 80079e8 + 8008840: f89d 3090 ldrb.w r3, [sp, #144] ; 0x90 + 8008844: f884 3423 strb.w r3, [r4, #1059] ; 0x423 + 8008848: f89d 2090 ldrb.w r2, [sp, #144] ; 0x90 + 800884c: 2ae0 cmp r2, #224 ; 0xe0 + 800884e: d108 bne.n 8008862 + 8008850: f895 311f ldrb.w r3, [r5, #287] ; 0x11f + 8008854: b92b cbnz r3, 8008862 + 8008856: f884 2423 strb.w r2, [r4, #1059] ; 0x423 + 800885a: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 + 800885e: f8a4 342c strh.w r3, [r4, #1068] ; 0x42c + 8008862: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8008866: f043 0302 orr.w r3, r3, #2 + 800886a: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 800886e: e66f b.n 8008550 + 8008870: 4d11 ldr r5, [pc, #68] ; (80088b8 ) + 8008872: 3e01 subs r6, #1 + 8008874: b2b2 uxth r2, r6 + 8008876: 1c79 adds r1, r7, #1 + 8008878: 4628 mov r0, r5 + 800887a: f004 f839 bl 800c8f0 + 800887e: 2303 movs r3, #3 + 8008880: f8a4 3420 strh.w r3, [r4, #1056] ; 0x420 + 8008884: f8c4 5428 str.w r5, [r4, #1064] ; 0x428 + 8008888: f884 642c strb.w r6, [r4, #1068] ; 0x42c + 800888c: e7e9 b.n 8008862 + 800888e: 2301 movs r3, #1 + 8008890: f884 3421 strb.w r3, [r4, #1057] ; 0x421 + 8008894: f7fe fc08 bl 80070a8 + 8008898: e65a b.n 8008550 + 800889a: f894 3444 ldrb.w r3, [r4, #1092] ; 0x444 + 800889e: 2b00 cmp r3, #0 + 80088a0: f43f ae60 beq.w 8008564 + 80088a4: 2000 movs r0, #0 + 80088a6: f7fe fbed bl 8007084 + 80088aa: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 80088ae: 2b02 cmp r3, #2 + 80088b0: f43f ae5e beq.w 8008570 + 80088b4: e656 b.n 8008564 + 80088b6: bf00 nop + 80088b8: 20001400 .word 0x20001400 + 80088bc: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 80088c0: 0759 lsls r1, r3, #29 + 80088c2: d515 bpl.n 80088f0 + 80088c4: 2001 movs r0, #1 + 80088c6: f001 fbcb bl 800a060 + 80088ca: b160 cbz r0, 80088e6 + 80088cc: 2001 movs r0, #1 + 80088ce: f001 fb9d bl 800a00c + 80088d2: b908 cbnz r0, 80088d8 + 80088d4: f884 0418 strb.w r0, [r4, #1048] ; 0x418 + 80088d8: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 80088dc: f023 0302 bic.w r3, r3, #2 + 80088e0: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 80088e4: e004 b.n 80088f0 + 80088e6: 2006 movs r0, #6 + 80088e8: f001 fbba bl 800a060 + 80088ec: 2800 cmp r0, #0 + 80088ee: d1f3 bne.n 80088d8 + 80088f0: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 80088f4: 07da lsls r2, r3, #31 + 80088f6: f57f acf9 bpl.w 80082ec + 80088fa: f894 2440 ldrb.w r2, [r4, #1088] ; 0x440 + 80088fe: b10a cbz r2, 8008904 + 8008900: 2a03 cmp r2, #3 + 8008902: d118 bne.n 8008936 + 8008904: 4a1d ldr r2, [pc, #116] ; (800897c ) + 8008906: f894 1418 ldrb.w r1, [r4, #1048] ; 0x418 + 800890a: f892 2068 ldrb.w r2, [r2, #104] ; 0x68 + 800890e: 4291 cmp r1, r2 + 8008910: d205 bcs.n 800891e + 8008912: 079b lsls r3, r3, #30 + 8008914: d523 bpl.n 800895e + 8008916: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 800891a: 2b01 cmp r3, #1 + 800891c: d81f bhi.n 800895e + 800891e: 4818 ldr r0, [pc, #96] ; (8008980 ) + 8008920: f006 fb0a bl 800ef38 + 8008924: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 8008928: f023 0320 bic.w r3, r3, #32 + 800892c: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 8008930: f7ff fb42 bl 8007fb8 + 8008934: e4da b.n 80082ec + 8008936: 2a01 cmp r2, #1 + 8008938: d111 bne.n 800895e + 800893a: f894 2419 ldrb.w r2, [r4, #1049] ; 0x419 + 800893e: 2a00 cmp r2, #0 + 8008940: f43f acd4 beq.w 80082ec + 8008944: 4a0d ldr r2, [pc, #52] ; (800897c ) + 8008946: f894 1418 ldrb.w r1, [r4, #1048] ; 0x418 + 800894a: f892 2068 ldrb.w r2, [r2, #104] ; 0x68 + 800894e: 4291 cmp r1, r2 + 8008950: d2e5 bcs.n 800891e + 8008952: 079f lsls r7, r3, #30 + 8008954: d503 bpl.n 800895e + 8008956: f894 3444 ldrb.w r3, [r4, #1092] ; 0x444 + 800895a: 2b00 cmp r3, #0 + 800895c: d1df bne.n 800891e + 800895e: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8008962: 2000 movs r0, #0 + 8008964: f36f 1304 bfc r3, #4, #1 + 8008968: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 800896c: f884 0419 strb.w r0, [r4, #1049] ; 0x419 + 8008970: f7ff fb44 bl 8007ffc + 8008974: e4ba b.n 80082ec + 8008976: b029 add sp, #164 ; 0xa4 + 8008978: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800897c: 20000c00 .word 0x20000c00 + 8008980: 20001530 .word 0x20001530 -08008970 : - 8008970: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8008974: 4689 mov r9, r1 - 8008976: b08d sub sp, #52 ; 0x34 - 8008978: 4690 mov r8, r2 - 800897a: 4607 mov r7, r0 - 800897c: 2800 cmp r0, #0 - 800897e: f000 818f beq.w 8008ca0 - 8008982: 2900 cmp r1, #0 - 8008984: f000 818c beq.w 8008ca0 - 8008988: 6803 ldr r3, [r0, #0] - 800898a: 2b00 cmp r3, #0 - 800898c: f000 8188 beq.w 8008ca0 - 8008990: 6843 ldr r3, [r0, #4] - 8008992: 2b00 cmp r3, #0 - 8008994: f000 8184 beq.w 8008ca0 - 8008998: 6883 ldr r3, [r0, #8] - 800899a: 2b00 cmp r3, #0 - 800899c: f000 8180 beq.w 8008ca0 - 80089a0: 68c3 ldr r3, [r0, #12] - 80089a2: 2b00 cmp r3, #0 - 80089a4: f000 817c beq.w 8008ca0 - 80089a8: 4610 mov r0, r2 - 80089aa: f002 f807 bl 800a9bc - 80089ae: 2800 cmp r0, #0 - 80089b0: f000 8178 beq.w 8008ca4 - 80089b4: 4cbd ldr r4, [pc, #756] ; (8008cac ) - 80089b6: 4dbe ldr r5, [pc, #760] ; (8008cb0 ) - 80089b8: 4638 mov r0, r7 - 80089ba: f001 fac1 bl 8009f40 - 80089be: f240 52c4 movw r2, #1476 ; 0x5c4 - 80089c2: 2100 movs r1, #0 - 80089c4: 4620 mov r0, r4 - 80089c6: f003 ff9d bl 800c904 - 80089ca: f240 521c movw r2, #1308 ; 0x51c - 80089ce: 2100 movs r1, #0 - 80089d0: 4628 mov r0, r5 - 80089d2: f003 ff97 bl 800c904 - 80089d6: 4bb7 ldr r3, [pc, #732] ; (8008cb4 ) - 80089d8: f8c4 312c str.w r3, [r4, #300] ; 0x12c - 80089dc: f504 7309 add.w r3, r4, #548 ; 0x224 - 80089e0: 9308 str r3, [sp, #32] - 80089e2: f504 730a add.w r3, r4, #552 ; 0x228 - 80089e6: 2600 movs r6, #0 - 80089e8: 4640 mov r0, r8 - 80089ea: 9309 str r3, [sp, #36] ; 0x24 - 80089ec: a908 add r1, sp, #32 - 80089ee: 4bb2 ldr r3, [pc, #712] ; (8008cb8 ) - 80089f0: f884 8048 strb.w r8, [r4, #72] ; 0x48 - 80089f4: 930a str r3, [sp, #40] ; 0x28 - 80089f6: f884 6118 strb.w r6, [r4, #280] ; 0x118 - 80089fa: f884 608c strb.w r6, [r4, #140] ; 0x8c - 80089fe: f88d 602c strb.w r6, [sp, #44] ; 0x2c - 8008a02: f001 ffed bl 800a9e0 - 8008a06: 230f movs r3, #15 - 8008a08: a906 add r1, sp, #24 - 8008a0a: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008a0e: f88d 3018 strb.w r3, [sp, #24] - 8008a12: f001 ffd7 bl 800a9c4 - 8008a16: 1b80 subs r0, r0, r6 - 8008a18: bf18 it ne - 8008a1a: 2001 movne r0, #1 - 8008a1c: f04f 0b0a mov.w fp, #10 - 8008a20: f884 011c strb.w r0, [r4, #284] ; 0x11c - 8008a24: a906 add r1, sp, #24 - 8008a26: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008a2a: f88d b018 strb.w fp, [sp, #24] - 8008a2e: f001 ffc9 bl 800a9c4 - 8008a32: f04f 0a06 mov.w sl, #6 - 8008a36: f884 00dc strb.w r0, [r4, #220] ; 0xdc - 8008a3a: a906 add r1, sp, #24 - 8008a3c: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008a40: f88d a018 strb.w sl, [sp, #24] - 8008a44: f001 ffbe bl 800a9c4 - 8008a48: 2310 movs r3, #16 - 8008a4a: f884 00dd strb.w r0, [r4, #221] ; 0xdd +08008984 : + 8008984: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8008988: 4689 mov r9, r1 + 800898a: b08d sub sp, #52 ; 0x34 + 800898c: 4690 mov r8, r2 + 800898e: 4607 mov r7, r0 + 8008990: 2800 cmp r0, #0 + 8008992: f000 818f beq.w 8008cb4 + 8008996: 2900 cmp r1, #0 + 8008998: f000 818c beq.w 8008cb4 + 800899c: 6803 ldr r3, [r0, #0] + 800899e: 2b00 cmp r3, #0 + 80089a0: f000 8188 beq.w 8008cb4 + 80089a4: 6843 ldr r3, [r0, #4] + 80089a6: 2b00 cmp r3, #0 + 80089a8: f000 8184 beq.w 8008cb4 + 80089ac: 6883 ldr r3, [r0, #8] + 80089ae: 2b00 cmp r3, #0 + 80089b0: f000 8180 beq.w 8008cb4 + 80089b4: 68c3 ldr r3, [r0, #12] + 80089b6: 2b00 cmp r3, #0 + 80089b8: f000 817c beq.w 8008cb4 + 80089bc: 4610 mov r0, r2 + 80089be: f002 f807 bl 800a9d0 + 80089c2: 2800 cmp r0, #0 + 80089c4: f000 8178 beq.w 8008cb8 + 80089c8: 4cbd ldr r4, [pc, #756] ; (8008cc0 ) + 80089ca: 4dbe ldr r5, [pc, #760] ; (8008cc4 ) + 80089cc: 4638 mov r0, r7 + 80089ce: f001 fac1 bl 8009f54 + 80089d2: f240 52c4 movw r2, #1476 ; 0x5c4 + 80089d6: 2100 movs r1, #0 + 80089d8: 4620 mov r0, r4 + 80089da: f003 ff9d bl 800c918 + 80089de: f240 521c movw r2, #1308 ; 0x51c + 80089e2: 2100 movs r1, #0 + 80089e4: 4628 mov r0, r5 + 80089e6: f003 ff97 bl 800c918 + 80089ea: 4bb7 ldr r3, [pc, #732] ; (8008cc8 ) + 80089ec: f8c4 312c str.w r3, [r4, #300] ; 0x12c + 80089f0: f504 7309 add.w r3, r4, #548 ; 0x224 + 80089f4: 9308 str r3, [sp, #32] + 80089f6: f504 730a add.w r3, r4, #552 ; 0x228 + 80089fa: 2600 movs r6, #0 + 80089fc: 4640 mov r0, r8 + 80089fe: 9309 str r3, [sp, #36] ; 0x24 + 8008a00: a908 add r1, sp, #32 + 8008a02: 4bb2 ldr r3, [pc, #712] ; (8008ccc ) + 8008a04: f884 8048 strb.w r8, [r4, #72] ; 0x48 + 8008a08: 930a str r3, [sp, #40] ; 0x28 + 8008a0a: f884 6118 strb.w r6, [r4, #280] ; 0x118 + 8008a0e: f884 608c strb.w r6, [r4, #140] ; 0x8c + 8008a12: f88d 602c strb.w r6, [sp, #44] ; 0x2c + 8008a16: f001 ffed bl 800a9f4 + 8008a1a: 230f movs r3, #15 + 8008a1c: a906 add r1, sp, #24 + 8008a1e: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008a22: f88d 3018 strb.w r3, [sp, #24] + 8008a26: f001 ffd7 bl 800a9d8 + 8008a2a: 1b80 subs r0, r0, r6 + 8008a2c: bf18 it ne + 8008a2e: 2001 movne r0, #1 + 8008a30: f04f 0b0a mov.w fp, #10 + 8008a34: f884 011c strb.w r0, [r4, #284] ; 0x11c + 8008a38: a906 add r1, sp, #24 + 8008a3a: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008a3e: f88d b018 strb.w fp, [sp, #24] + 8008a42: f001 ffc9 bl 800a9d8 + 8008a46: f04f 0a06 mov.w sl, #6 + 8008a4a: f884 00dc strb.w r0, [r4, #220] ; 0xdc 8008a4e: a906 add r1, sp, #24 8008a50: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008a54: f88d 3018 strb.w r3, [sp, #24] - 8008a58: f001 ffb4 bl 800a9c4 - 8008a5c: 2311 movs r3, #17 - 8008a5e: f8c4 009c str.w r0, [r4, #156] ; 0x9c + 8008a54: f88d a018 strb.w sl, [sp, #24] + 8008a58: f001 ffbe bl 800a9d8 + 8008a5c: 2310 movs r3, #16 + 8008a5e: f884 00dd strb.w r0, [r4, #221] ; 0xdd 8008a62: a906 add r1, sp, #24 8008a64: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008a68: f88d 3018 strb.w r3, [sp, #24] - 8008a6c: f001 ffaa bl 800a9c4 - 8008a70: 2312 movs r3, #18 - 8008a72: f8c4 00a0 str.w r0, [r4, #160] ; 0xa0 + 8008a6c: f001 ffb4 bl 800a9d8 + 8008a70: 2311 movs r3, #17 + 8008a72: f8c4 009c str.w r0, [r4, #156] ; 0x9c 8008a76: a906 add r1, sp, #24 8008a78: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008a7c: f88d 3018 strb.w r3, [sp, #24] - 8008a80: f001 ffa0 bl 800a9c4 - 8008a84: 2313 movs r3, #19 - 8008a86: f8c4 00a4 str.w r0, [r4, #164] ; 0xa4 + 8008a80: f001 ffaa bl 800a9d8 + 8008a84: 2312 movs r3, #18 + 8008a86: f8c4 00a0 str.w r0, [r4, #160] ; 0xa0 8008a8a: a906 add r1, sp, #24 8008a8c: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008a90: f88d 3018 strb.w r3, [sp, #24] - 8008a94: f001 ff96 bl 800a9c4 - 8008a98: 2314 movs r3, #20 - 8008a9a: f8c4 00a8 str.w r0, [r4, #168] ; 0xa8 + 8008a94: f001 ffa0 bl 800a9d8 + 8008a98: 2313 movs r3, #19 + 8008a9a: f8c4 00a4 str.w r0, [r4, #164] ; 0xa4 8008a9e: a906 add r1, sp, #24 8008aa0: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008aa4: f88d 3018 strb.w r3, [sp, #24] - 8008aa8: f001 ff8c bl 800a9c4 - 8008aac: 2316 movs r3, #22 - 8008aae: f8c4 00ac str.w r0, [r4, #172] ; 0xac + 8008aa8: f001 ff96 bl 800a9d8 + 8008aac: 2314 movs r3, #20 + 8008aae: f8c4 00a8 str.w r0, [r4, #168] ; 0xa8 8008ab2: a906 add r1, sp, #24 8008ab4: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008ab8: f88d 3018 strb.w r3, [sp, #24] - 8008abc: f001 ff82 bl 800a9c4 - 8008ac0: 2317 movs r3, #23 - 8008ac2: f884 00b1 strb.w r0, [r4, #177] ; 0xb1 + 8008abc: f001 ff8c bl 800a9d8 + 8008ac0: 2316 movs r3, #22 + 8008ac2: f8c4 00ac str.w r0, [r4, #172] ; 0xac 8008ac6: a906 add r1, sp, #24 8008ac8: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008acc: f88d 3018 strb.w r3, [sp, #24] - 8008ad0: f001 ff78 bl 800a9c4 - 8008ad4: 2318 movs r3, #24 - 8008ad6: eb0d 0103 add.w r1, sp, r3 - 8008ada: f8c4 00b4 str.w r0, [r4, #180] ; 0xb4 - 8008ade: f8c4 00bc str.w r0, [r4, #188] ; 0xbc - 8008ae2: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008ae6: f88d 3018 strb.w r3, [sp, #24] - 8008aea: f001 ff6b bl 800a9c4 - 8008aee: b2c0 uxtb r0, r0 - 8008af0: 231d movs r3, #29 - 8008af2: f884 00b8 strb.w r0, [r4, #184] ; 0xb8 - 8008af6: f884 00c0 strb.w r0, [r4, #192] ; 0xc0 - 8008afa: a906 add r1, sp, #24 - 8008afc: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008b00: f88d 3018 strb.w r3, [sp, #24] - 8008b04: f001 ff5e bl 800a9c4 - 8008b08: 231e movs r3, #30 - 8008b0a: f884 00c4 strb.w r0, [r4, #196] ; 0xc4 + 8008ad0: f001 ff82 bl 800a9d8 + 8008ad4: 2317 movs r3, #23 + 8008ad6: f884 00b1 strb.w r0, [r4, #177] ; 0xb1 + 8008ada: a906 add r1, sp, #24 + 8008adc: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008ae0: f88d 3018 strb.w r3, [sp, #24] + 8008ae4: f001 ff78 bl 800a9d8 + 8008ae8: 2318 movs r3, #24 + 8008aea: eb0d 0103 add.w r1, sp, r3 + 8008aee: f8c4 00b4 str.w r0, [r4, #180] ; 0xb4 + 8008af2: f8c4 00bc str.w r0, [r4, #188] ; 0xbc + 8008af6: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008afa: f88d 3018 strb.w r3, [sp, #24] + 8008afe: f001 ff6b bl 800a9d8 + 8008b02: b2c0 uxtb r0, r0 + 8008b04: 231d movs r3, #29 + 8008b06: f884 00b8 strb.w r0, [r4, #184] ; 0xb8 + 8008b0a: f884 00c0 strb.w r0, [r4, #192] ; 0xc0 8008b0e: a906 add r1, sp, #24 8008b10: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008b14: f88d 3018 strb.w r3, [sp, #24] - 8008b18: f001 ff54 bl 800a9c4 - 8008b1c: 231f movs r3, #31 - 8008b1e: f884 00c5 strb.w r0, [r4, #197] ; 0xc5 + 8008b18: f001 ff5e bl 800a9d8 + 8008b1c: 231e movs r3, #30 + 8008b1e: f884 00c4 strb.w r0, [r4, #196] ; 0xc4 8008b22: a906 add r1, sp, #24 8008b24: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008b28: f88d 3018 strb.w r3, [sp, #24] - 8008b2c: f001 ff4a bl 800a9c4 - 8008b30: 2320 movs r3, #32 - 8008b32: f8c4 00c8 str.w r0, [r4, #200] ; 0xc8 + 8008b2c: f001 ff54 bl 800a9d8 + 8008b30: 231f movs r3, #31 + 8008b32: f884 00c5 strb.w r0, [r4, #197] ; 0xc5 8008b36: a906 add r1, sp, #24 8008b38: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008b3c: f88d 3018 strb.w r3, [sp, #24] - 8008b40: f001 ff40 bl 800a9c4 - 8008b44: 230b movs r3, #11 - 8008b46: f8c4 00cc str.w r0, [r4, #204] ; 0xcc + 8008b40: f001 ff4a bl 800a9d8 + 8008b44: 2320 movs r3, #32 + 8008b46: f8c4 00c8 str.w r0, [r4, #200] ; 0xc8 8008b4a: a906 add r1, sp, #24 8008b4c: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008b50: f88d 3018 strb.w r3, [sp, #24] - 8008b54: f001 ff36 bl 800a9c4 - 8008b58: 230c movs r3, #12 - 8008b5a: a906 add r1, sp, #24 - 8008b5c: f8a4 00d0 strh.w r0, [r4, #208] ; 0xd0 + 8008b54: f001 ff40 bl 800a9d8 + 8008b58: 230b movs r3, #11 + 8008b5a: f8c4 00cc str.w r0, [r4, #204] ; 0xcc + 8008b5e: a906 add r1, sp, #24 8008b60: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008b64: f88d 3018 strb.w r3, [sp, #24] - 8008b68: f001 ff2c bl 800a9c4 - 8008b6c: f8d4 309c ldr.w r3, [r4, #156] ; 0x9c - 8008b70: 6563 str r3, [r4, #84] ; 0x54 - 8008b72: f8d4 30a0 ldr.w r3, [r4, #160] ; 0xa0 - 8008b76: 65a3 str r3, [r4, #88] ; 0x58 - 8008b78: f8d4 30a4 ldr.w r3, [r4, #164] ; 0xa4 - 8008b7c: 65e3 str r3, [r4, #92] ; 0x5c - 8008b7e: f8d4 30a8 ldr.w r3, [r4, #168] ; 0xa8 - 8008b82: 6623 str r3, [r4, #96] ; 0x60 - 8008b84: f04f 0801 mov.w r8, #1 - 8008b88: f8d4 30ac ldr.w r3, [r4, #172] ; 0xac - 8008b8c: 9005 str r0, [sp, #20] - 8008b8e: f8a4 00d2 strh.w r0, [r4, #210] ; 0xd2 - 8008b92: 6663 str r3, [r4, #100] ; 0x64 - 8008b94: f884 80b0 strb.w r8, [r4, #176] ; 0xb0 - 8008b98: f8c4 b094 str.w fp, [r4, #148] ; 0x94 - 8008b9c: f884 a098 strb.w sl, [r4, #152] ; 0x98 - 8008ba0: f8c4 b04c str.w fp, [r4, #76] ; 0x4c - 8008ba4: f884 a050 strb.w sl, [r4, #80] ; 0x50 - 8008ba8: f884 8068 strb.w r8, [r4, #104] ; 0x68 - 8008bac: f884 811f strb.w r8, [r4, #287] ; 0x11f - 8008bb0: f8c5 9348 str.w r9, [r5, #840] ; 0x348 - 8008bb4: f7fe fd7a bl 80076ac - 8008bb8: 4b40 ldr r3, [pc, #256] ; (8008cbc ) - 8008bba: 9600 str r6, [sp, #0] - 8008bbc: 4632 mov r2, r6 - 8008bbe: f04f 31ff mov.w r1, #4294967295 - 8008bc2: f505 705a add.w r0, r5, #872 ; 0x368 - 8008bc6: f8c5 7344 str.w r7, [r5, #836] ; 0x344 - 8008bca: e9c4 660b strd r6, r6, [r4, #44] ; 0x2c - 8008bce: f884 8119 strb.w r8, [r4, #281] ; 0x119 - 8008bd2: f885 6491 strb.w r6, [r5, #1169] ; 0x491 - 8008bd6: f8c5 8340 str.w r8, [r5, #832] ; 0x340 - 8008bda: f006 f945 bl 800ee68 - 8008bde: 4b38 ldr r3, [pc, #224] ; (8008cc0 ) - 8008be0: 9600 str r6, [sp, #0] - 8008be2: 4632 mov r2, r6 - 8008be4: f04f 31ff mov.w r1, #4294967295 - 8008be8: f505 7060 add.w r0, r5, #896 ; 0x380 - 8008bec: f006 f93c bl 800ee68 - 8008bf0: 4b34 ldr r3, [pc, #208] ; (8008cc4 ) - 8008bf2: 9600 str r6, [sp, #0] - 8008bf4: 4632 mov r2, r6 - 8008bf6: f04f 31ff mov.w r1, #4294967295 - 8008bfa: f505 7066 add.w r0, r5, #920 ; 0x398 - 8008bfe: f006 f933 bl 800ee68 - 8008c02: af02 add r7, sp, #8 - 8008c04: 4b30 ldr r3, [pc, #192] ; (8008cc8 ) + 8008b68: f001 ff36 bl 800a9d8 + 8008b6c: 230c movs r3, #12 + 8008b6e: a906 add r1, sp, #24 + 8008b70: f8a4 00d0 strh.w r0, [r4, #208] ; 0xd0 + 8008b74: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008b78: f88d 3018 strb.w r3, [sp, #24] + 8008b7c: f001 ff2c bl 800a9d8 + 8008b80: f8d4 309c ldr.w r3, [r4, #156] ; 0x9c + 8008b84: 6563 str r3, [r4, #84] ; 0x54 + 8008b86: f8d4 30a0 ldr.w r3, [r4, #160] ; 0xa0 + 8008b8a: 65a3 str r3, [r4, #88] ; 0x58 + 8008b8c: f8d4 30a4 ldr.w r3, [r4, #164] ; 0xa4 + 8008b90: 65e3 str r3, [r4, #92] ; 0x5c + 8008b92: f8d4 30a8 ldr.w r3, [r4, #168] ; 0xa8 + 8008b96: 6623 str r3, [r4, #96] ; 0x60 + 8008b98: f04f 0801 mov.w r8, #1 + 8008b9c: f8d4 30ac ldr.w r3, [r4, #172] ; 0xac + 8008ba0: 9005 str r0, [sp, #20] + 8008ba2: f8a4 00d2 strh.w r0, [r4, #210] ; 0xd2 + 8008ba6: 6663 str r3, [r4, #100] ; 0x64 + 8008ba8: f884 80b0 strb.w r8, [r4, #176] ; 0xb0 + 8008bac: f8c4 b094 str.w fp, [r4, #148] ; 0x94 + 8008bb0: f884 a098 strb.w sl, [r4, #152] ; 0x98 + 8008bb4: f8c4 b04c str.w fp, [r4, #76] ; 0x4c + 8008bb8: f884 a050 strb.w sl, [r4, #80] ; 0x50 + 8008bbc: f884 8068 strb.w r8, [r4, #104] ; 0x68 + 8008bc0: f884 811f strb.w r8, [r4, #287] ; 0x11f + 8008bc4: f8c5 9348 str.w r9, [r5, #840] ; 0x348 + 8008bc8: f7fe fd7a bl 80076c0 + 8008bcc: 4b40 ldr r3, [pc, #256] ; (8008cd0 ) + 8008bce: 9600 str r6, [sp, #0] + 8008bd0: 4632 mov r2, r6 + 8008bd2: f04f 31ff mov.w r1, #4294967295 + 8008bd6: f505 705a add.w r0, r5, #872 ; 0x368 + 8008bda: f8c5 7344 str.w r7, [r5, #836] ; 0x344 + 8008bde: e9c4 660b strd r6, r6, [r4, #44] ; 0x2c + 8008be2: f884 8119 strb.w r8, [r4, #281] ; 0x119 + 8008be6: f885 6491 strb.w r6, [r5, #1169] ; 0x491 + 8008bea: f8c5 8340 str.w r8, [r5, #832] ; 0x340 + 8008bee: f006 f945 bl 800ee7c + 8008bf2: 4b38 ldr r3, [pc, #224] ; (8008cd4 ) + 8008bf4: 9600 str r6, [sp, #0] + 8008bf6: 4632 mov r2, r6 + 8008bf8: f04f 31ff mov.w r1, #4294967295 + 8008bfc: f505 7060 add.w r0, r5, #896 ; 0x380 + 8008c00: f006 f93c bl 800ee7c + 8008c04: 4b34 ldr r3, [pc, #208] ; (8008cd8 ) 8008c06: 9600 str r6, [sp, #0] 8008c08: 4632 mov r2, r6 8008c0a: f04f 31ff mov.w r1, #4294967295 - 8008c0e: f505 6080 add.w r0, r5, #1024 ; 0x400 - 8008c12: f006 f929 bl 800ee68 - 8008c16: 4638 mov r0, r7 - 8008c18: f006 f8ba bl 800ed90 - 8008c1c: e897 0003 ldmia.w r7, {r0, r1} - 8008c20: f504 7392 add.w r3, r4, #292 ; 0x124 - 8008c24: e883 0003 stmia.w r3, {r0, r1} - 8008c28: 4b28 ldr r3, [pc, #160] ; (8008ccc ) - 8008c2a: 4f29 ldr r7, [pc, #164] ; (8008cd0 ) - 8008c2c: 601e str r6, [r3, #0] - 8008c2e: 4b29 ldr r3, [pc, #164] ; (8008cd4 ) - 8008c30: f8c5 334c str.w r3, [r5, #844] ; 0x34c - 8008c34: 4b28 ldr r3, [pc, #160] ; (8008cd8 ) - 8008c36: f8c5 3354 str.w r3, [r5, #852] ; 0x354 - 8008c3a: 4b28 ldr r3, [pc, #160] ; (8008cdc ) - 8008c3c: f8c5 335c str.w r3, [r5, #860] ; 0x35c - 8008c40: 4b27 ldr r3, [pc, #156] ; (8008ce0 ) - 8008c42: f8c5 3350 str.w r3, [r5, #848] ; 0x350 - 8008c46: 4b27 ldr r3, [pc, #156] ; (8008ce4 ) - 8008c48: f8c5 3358 str.w r3, [r5, #856] ; 0x358 - 8008c4c: f505 7053 add.w r0, r5, #844 ; 0x34c - 8008c50: 683b ldr r3, [r7, #0] - 8008c52: 4798 blx r3 - 8008c54: f504 70a6 add.w r0, r4, #332 ; 0x14c - 8008c58: f003 fb88 bl 800c36c - 8008c5c: b120 cbz r0, 8008c68 - 8008c5e: 2611 movs r6, #17 - 8008c60: 4630 mov r0, r6 - 8008c62: b00d add sp, #52 ; 0x34 - 8008c64: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8008c68: 4620 mov r0, r4 - 8008c6a: f001 fb1d bl 800a2a8 - 8008c6e: 2800 cmp r0, #0 - 8008c70: d1f5 bne.n 8008c5e - 8008c72: f001 f841 bl 8009cf8 - 8008c76: b9b8 cbnz r0, 8008ca8 - 8008c78: 481b ldr r0, [pc, #108] ; (8008ce8 ) - 8008c7a: f001 fb67 bl 800a34c - 8008c7e: 4606 mov r6, r0 - 8008c80: 2800 cmp r0, #0 - 8008c82: d1ec bne.n 8008c5e - 8008c84: 697b ldr r3, [r7, #20] - 8008c86: 4798 blx r3 - 8008c88: f003 fe06 bl 800c898 - 8008c8c: 6dbb ldr r3, [r7, #88] ; 0x58 - 8008c8e: f894 0119 ldrb.w r0, [r4, #281] ; 0x119 - 8008c92: 4798 blx r3 - 8008c94: 6afb ldr r3, [r7, #44] ; 0x2c - 8008c96: 4798 blx r3 - 8008c98: 2301 movs r3, #1 - 8008c9a: f885 3492 strb.w r3, [r5, #1170] ; 0x492 - 8008c9e: e7df b.n 8008c60 - 8008ca0: 2603 movs r6, #3 - 8008ca2: e7dd b.n 8008c60 - 8008ca4: 2609 movs r6, #9 - 8008ca6: e7db b.n 8008c60 - 8008ca8: 2613 movs r6, #19 - 8008caa: e7d9 b.n 8008c60 - 8008cac: 20000c00 .word 0x20000c00 - 8008cb0: 200011c8 .word 0x200011c8 - 8008cb4: 01000400 .word 0x01000400 - 8008cb8: 200016e4 .word 0x200016e4 - 8008cbc: 08007fe9 .word 0x08007fe9 - 8008cc0: 08007849 .word 0x08007849 - 8008cc4: 08007891 .word 0x08007891 - 8008cc8: 08007071 .word 0x08007071 - 8008ccc: 200011c4 .word 0x200011c4 - 8008cd0: 080101d4 .word 0x080101d4 - 8008cd4: 08007295 .word 0x08007295 - 8008cd8: 08007249 .word 0x08007249 - 8008cdc: 0800702d .word 0x0800702d - 8008ce0: 08007221 .word 0x08007221 - 8008ce4: 080071f9 .word 0x080071f9 - 8008ce8: 20000ce8 .word 0x20000ce8 + 8008c0e: f505 7066 add.w r0, r5, #920 ; 0x398 + 8008c12: f006 f933 bl 800ee7c + 8008c16: af02 add r7, sp, #8 + 8008c18: 4b30 ldr r3, [pc, #192] ; (8008cdc ) + 8008c1a: 9600 str r6, [sp, #0] + 8008c1c: 4632 mov r2, r6 + 8008c1e: f04f 31ff mov.w r1, #4294967295 + 8008c22: f505 6080 add.w r0, r5, #1024 ; 0x400 + 8008c26: f006 f929 bl 800ee7c + 8008c2a: 4638 mov r0, r7 + 8008c2c: f006 f8ba bl 800eda4 + 8008c30: e897 0003 ldmia.w r7, {r0, r1} + 8008c34: f504 7392 add.w r3, r4, #292 ; 0x124 + 8008c38: e883 0003 stmia.w r3, {r0, r1} + 8008c3c: 4b28 ldr r3, [pc, #160] ; (8008ce0 ) + 8008c3e: 4f29 ldr r7, [pc, #164] ; (8008ce4 ) + 8008c40: 601e str r6, [r3, #0] + 8008c42: 4b29 ldr r3, [pc, #164] ; (8008ce8 ) + 8008c44: f8c5 334c str.w r3, [r5, #844] ; 0x34c + 8008c48: 4b28 ldr r3, [pc, #160] ; (8008cec ) + 8008c4a: f8c5 3354 str.w r3, [r5, #852] ; 0x354 + 8008c4e: 4b28 ldr r3, [pc, #160] ; (8008cf0 ) + 8008c50: f8c5 335c str.w r3, [r5, #860] ; 0x35c + 8008c54: 4b27 ldr r3, [pc, #156] ; (8008cf4 ) + 8008c56: f8c5 3350 str.w r3, [r5, #848] ; 0x350 + 8008c5a: 4b27 ldr r3, [pc, #156] ; (8008cf8 ) + 8008c5c: f8c5 3358 str.w r3, [r5, #856] ; 0x358 + 8008c60: f505 7053 add.w r0, r5, #844 ; 0x34c + 8008c64: 683b ldr r3, [r7, #0] + 8008c66: 4798 blx r3 + 8008c68: f504 70a6 add.w r0, r4, #332 ; 0x14c + 8008c6c: f003 fb88 bl 800c380 + 8008c70: b120 cbz r0, 8008c7c + 8008c72: 2611 movs r6, #17 + 8008c74: 4630 mov r0, r6 + 8008c76: b00d add sp, #52 ; 0x34 + 8008c78: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8008c7c: 4620 mov r0, r4 + 8008c7e: f001 fb1d bl 800a2bc + 8008c82: 2800 cmp r0, #0 + 8008c84: d1f5 bne.n 8008c72 + 8008c86: f001 f841 bl 8009d0c + 8008c8a: b9b8 cbnz r0, 8008cbc + 8008c8c: 481b ldr r0, [pc, #108] ; (8008cfc ) + 8008c8e: f001 fb67 bl 800a360 + 8008c92: 4606 mov r6, r0 + 8008c94: 2800 cmp r0, #0 + 8008c96: d1ec bne.n 8008c72 + 8008c98: 697b ldr r3, [r7, #20] + 8008c9a: 4798 blx r3 + 8008c9c: f003 fe06 bl 800c8ac + 8008ca0: 6dbb ldr r3, [r7, #88] ; 0x58 + 8008ca2: f894 0119 ldrb.w r0, [r4, #281] ; 0x119 + 8008ca6: 4798 blx r3 + 8008ca8: 6afb ldr r3, [r7, #44] ; 0x2c + 8008caa: 4798 blx r3 + 8008cac: 2301 movs r3, #1 + 8008cae: f885 3492 strb.w r3, [r5, #1170] ; 0x492 + 8008cb2: e7df b.n 8008c74 + 8008cb4: 2603 movs r6, #3 + 8008cb6: e7dd b.n 8008c74 + 8008cb8: 2609 movs r6, #9 + 8008cba: e7db b.n 8008c74 + 8008cbc: 2613 movs r6, #19 + 8008cbe: e7d9 b.n 8008c74 + 8008cc0: 20000c00 .word 0x20000c00 + 8008cc4: 200011c8 .word 0x200011c8 + 8008cc8: 01000400 .word 0x01000400 + 8008ccc: 200016e4 .word 0x200016e4 + 8008cd0: 08007ffd .word 0x08007ffd + 8008cd4: 0800785d .word 0x0800785d + 8008cd8: 080078a5 .word 0x080078a5 + 8008cdc: 08007085 .word 0x08007085 + 8008ce0: 200011c4 .word 0x200011c4 + 8008ce4: 080101ec .word 0x080101ec + 8008ce8: 080072a9 .word 0x080072a9 + 8008cec: 0800725d .word 0x0800725d + 8008cf0: 08007041 .word 0x08007041 + 8008cf4: 08007235 .word 0x08007235 + 8008cf8: 0800720d .word 0x0800720d + 8008cfc: 20000ce8 .word 0x20000ce8 -08008cec : - 8008cec: b508 push {r3, lr} - 8008cee: 4b03 ldr r3, [pc, #12] ; (8008cfc ) - 8008cf0: 2000 movs r0, #0 - 8008cf2: f8c3 0340 str.w r0, [r3, #832] ; 0x340 - 8008cf6: f7fe f981 bl 8006ffc - 8008cfa: bd08 pop {r3, pc} - 8008cfc: 200011c8 .word 0x200011c8 +08008d00 : + 8008d00: b508 push {r3, lr} + 8008d02: 4b03 ldr r3, [pc, #12] ; (8008d10 ) + 8008d04: 2000 movs r0, #0 + 8008d06: f8c3 0340 str.w r0, [r3, #832] ; 0x340 + 8008d0a: f7fe f981 bl 8007010 + 8008d0e: bd08 pop {r3, pc} + 8008d10: 200011c8 .word 0x200011c8 -08008d00 : - 8008d00: b510 push {r4, lr} - 8008d02: f7ff f9a7 bl 8008054 - 8008d06: 4c0a ldr r4, [pc, #40] ; (8008d30 ) - 8008d08: b960 cbnz r0, 8008d24 - 8008d0a: 4b0a ldr r3, [pc, #40] ; (8008d34 ) - 8008d0c: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 - 8008d10: 2b02 cmp r3, #2 - 8008d12: d102 bne.n 8008d1a - 8008d14: 4b08 ldr r3, [pc, #32] ; (8008d38 ) - 8008d16: 6adb ldr r3, [r3, #44] ; 0x2c - 8008d18: 4798 blx r3 - 8008d1a: 2301 movs r3, #1 - 8008d1c: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 8008d20: 2000 movs r0, #0 - 8008d22: bd10 pop {r4, pc} - 8008d24: f8d4 0340 ldr.w r0, [r4, #832] ; 0x340 - 8008d28: 3801 subs r0, #1 - 8008d2a: bf18 it ne - 8008d2c: 2001 movne r0, #1 - 8008d2e: e7f8 b.n 8008d22 - 8008d30: 200011c8 .word 0x200011c8 - 8008d34: 20000c00 .word 0x20000c00 - 8008d38: 080101d4 .word 0x080101d4 +08008d14 : + 8008d14: b510 push {r4, lr} + 8008d16: f7ff f9a7 bl 8008068 + 8008d1a: 4c0a ldr r4, [pc, #40] ; (8008d44 ) + 8008d1c: b960 cbnz r0, 8008d38 + 8008d1e: 4b0a ldr r3, [pc, #40] ; (8008d48 ) + 8008d20: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 + 8008d24: 2b02 cmp r3, #2 + 8008d26: d102 bne.n 8008d2e + 8008d28: 4b08 ldr r3, [pc, #32] ; (8008d4c ) + 8008d2a: 6adb ldr r3, [r3, #44] ; 0x2c + 8008d2c: 4798 blx r3 + 8008d2e: 2301 movs r3, #1 + 8008d30: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 8008d34: 2000 movs r0, #0 + 8008d36: bd10 pop {r4, pc} + 8008d38: f8d4 0340 ldr.w r0, [r4, #832] ; 0x340 + 8008d3c: 3801 subs r0, #1 + 8008d3e: bf18 it ne + 8008d40: 2001 movne r0, #1 + 8008d42: e7f8 b.n 8008d36 + 8008d44: 200011c8 .word 0x200011c8 + 8008d48: 20000c00 .word 0x20000c00 + 8008d4c: 080101ec .word 0x080101ec -08008d3c : - 8008d3c: b538 push {r3, r4, r5, lr} - 8008d3e: 4c13 ldr r4, [pc, #76] ; (8008d8c ) - 8008d40: f504 705a add.w r0, r4, #872 ; 0x368 - 8008d44: f006 f8ee bl 800ef24 - 8008d48: f504 7060 add.w r0, r4, #896 ; 0x380 - 8008d4c: f006 f8ea bl 800ef24 - 8008d50: f504 7066 add.w r0, r4, #920 ; 0x398 - 8008d54: f006 f8e6 bl 800ef24 - 8008d58: f504 6080 add.w r0, r4, #1024 ; 0x400 - 8008d5c: f006 f8e2 bl 800ef24 - 8008d60: f000 ffb5 bl 8009cce - 8008d64: 4b0a ldr r3, [pc, #40] ; (8008d90 ) - 8008d66: 2500 movs r5, #0 - 8008d68: 6adb ldr r3, [r3, #44] ; 0x2c - 8008d6a: 4798 blx r3 - 8008d6c: f8c4 5340 str.w r5, [r4, #832] ; 0x340 - 8008d70: f7fe fdb6 bl 80078e0 - 8008d74: 4907 ldr r1, [pc, #28] ; (8008d94 ) - 8008d76: 4808 ldr r0, [pc, #32] ; (8008d98 ) - 8008d78: f240 52c4 movw r2, #1476 ; 0x5c4 - 8008d7c: f003 fdae bl 800c8dc - 8008d80: 2301 movs r3, #1 - 8008d82: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 8008d86: 4628 mov r0, r5 - 8008d88: bd38 pop {r3, r4, r5, pc} - 8008d8a: bf00 nop - 8008d8c: 200011c8 .word 0x200011c8 - 8008d90: 080101d4 .word 0x080101d4 - 8008d94: 20000c00 .word 0x20000c00 - 8008d98: 2000063c .word 0x2000063c +08008d50 : + 8008d50: b538 push {r3, r4, r5, lr} + 8008d52: 4c13 ldr r4, [pc, #76] ; (8008da0 ) + 8008d54: f504 705a add.w r0, r4, #872 ; 0x368 + 8008d58: f006 f8ee bl 800ef38 + 8008d5c: f504 7060 add.w r0, r4, #896 ; 0x380 + 8008d60: f006 f8ea bl 800ef38 + 8008d64: f504 7066 add.w r0, r4, #920 ; 0x398 + 8008d68: f006 f8e6 bl 800ef38 + 8008d6c: f504 6080 add.w r0, r4, #1024 ; 0x400 + 8008d70: f006 f8e2 bl 800ef38 + 8008d74: f000 ffb5 bl 8009ce2 + 8008d78: 4b0a ldr r3, [pc, #40] ; (8008da4 ) + 8008d7a: 2500 movs r5, #0 + 8008d7c: 6adb ldr r3, [r3, #44] ; 0x2c + 8008d7e: 4798 blx r3 + 8008d80: f8c4 5340 str.w r5, [r4, #832] ; 0x340 + 8008d84: f7fe fdb6 bl 80078f4 + 8008d88: 4907 ldr r1, [pc, #28] ; (8008da8 ) + 8008d8a: 4808 ldr r0, [pc, #32] ; (8008dac ) + 8008d8c: f240 52c4 movw r2, #1476 ; 0x5c4 + 8008d90: f003 fdae bl 800c8f0 + 8008d94: 2301 movs r3, #1 + 8008d96: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 8008d9a: 4628 mov r0, r5 + 8008d9c: bd38 pop {r3, r4, r5, pc} + 8008d9e: bf00 nop + 8008da0: 200011c8 .word 0x200011c8 + 8008da4: 080101ec .word 0x080101ec + 8008da8: 20000c00 .word 0x20000c00 + 8008dac: 2000063c .word 0x2000063c -08008d9c : - 8008d9c: b570 push {r4, r5, r6, lr} - 8008d9e: 4b2e ldr r3, [pc, #184] ; (8008e58 ) - 8008da0: b08a sub sp, #40 ; 0x28 - 8008da2: 4605 mov r5, r0 - 8008da4: f893 00dd ldrb.w r0, [r3, #221] ; 0xdd - 8008da8: f88d 0009 strb.w r0, [sp, #9] - 8008dac: f893 00dc ldrb.w r0, [r3, #220] ; 0xdc - 8008db0: f88d 000a strb.w r0, [sp, #10] - 8008db4: 4829 ldr r0, [pc, #164] ; (8008e5c ) - 8008db6: 6a9a ldr r2, [r3, #40] ; 0x28 - 8008db8: f890 0418 ldrb.w r0, [r0, #1048] ; 0x418 - 8008dbc: 9203 str r2, [sp, #12] - 8008dbe: 2600 movs r6, #0 - 8008dc0: f88d 000b strb.w r0, [sp, #11] - 8008dc4: 9604 str r6, [sp, #16] - 8008dc6: 460c mov r4, r1 - 8008dc8: 2900 cmp r1, #0 - 8008dca: d040 beq.n 8008e4e - 8008dcc: 9206 str r2, [sp, #24] - 8008dce: f8d3 2088 ldr.w r2, [r3, #136] ; 0x88 - 8008dd2: 9207 str r2, [sp, #28] - 8008dd4: 8f1a ldrh r2, [r3, #56] ; 0x38 - 8008dd6: f893 111a ldrb.w r1, [r3, #282] ; 0x11a - 8008dda: f88d 1015 strb.w r1, [sp, #21] - 8008dde: ba52 rev16 r2, r2 - 8008de0: f8ad 2020 strh.w r2, [sp, #32] - 8008de4: f893 207c ldrb.w r2, [r3, #124] ; 0x7c - 8008de8: f893 3048 ldrb.w r3, [r3, #72] ; 0x48 - 8008dec: f88d 3024 strb.w r3, [sp, #36] ; 0x24 - 8008df0: ab03 add r3, sp, #12 - 8008df2: f88d 0022 strb.w r0, [sp, #34] ; 0x22 - 8008df6: f88d 2023 strb.w r2, [sp, #35] ; 0x23 - 8008dfa: 9300 str r3, [sp, #0] - 8008dfc: f10d 020a add.w r2, sp, #10 - 8008e00: f10d 030b add.w r3, sp, #11 - 8008e04: f10d 0109 add.w r1, sp, #9 - 8008e08: a805 add r0, sp, #20 - 8008e0a: f88d 6014 strb.w r6, [sp, #20] - 8008e0e: f000 fedd bl 8009bcc - 8008e12: f99d 0009 ldrsb.w r0, [sp, #9] - 8008e16: f7fe f913 bl 8007040 - 8008e1a: 7060 strb r0, [r4, #1] - 8008e1c: a804 add r0, sp, #16 - 8008e1e: f001 f82b bl 8009e78 - 8008e22: b9b0 cbnz r0, 8008e52 - 8008e24: 9a04 ldr r2, [sp, #16] - 8008e26: 2a0f cmp r2, #15 - 8008e28: d80d bhi.n 8008e46 - 8008e2a: 7863 ldrb r3, [r4, #1] - 8008e2c: 429a cmp r2, r3 - 8008e2e: d80a bhi.n 8008e46 - 8008e30: 4415 add r5, r2 - 8008e32: 42ab cmp r3, r5 - 8008e34: eba3 0102 sub.w r1, r3, r2 - 8008e38: bf2c ite cs - 8008e3a: 2000 movcs r0, #0 - 8008e3c: 2001 movcc r0, #1 - 8008e3e: 7021 strb r1, [r4, #0] - 8008e40: 00c0 lsls r0, r0, #3 - 8008e42: b00a add sp, #40 ; 0x28 - 8008e44: bd70 pop {r4, r5, r6, pc} - 8008e46: 2300 movs r3, #0 - 8008e48: 7023 strb r3, [r4, #0] - 8008e4a: 2008 movs r0, #8 - 8008e4c: e7f9 b.n 8008e42 - 8008e4e: 2003 movs r0, #3 - 8008e50: e7f7 b.n 8008e42 - 8008e52: 2013 movs r0, #19 - 8008e54: e7f5 b.n 8008e42 - 8008e56: bf00 nop - 8008e58: 20000c00 .word 0x20000c00 - 8008e5c: 200011c8 .word 0x200011c8 +08008db0 : + 8008db0: b570 push {r4, r5, r6, lr} + 8008db2: 4b2e ldr r3, [pc, #184] ; (8008e6c ) + 8008db4: b08a sub sp, #40 ; 0x28 + 8008db6: 4605 mov r5, r0 + 8008db8: f893 00dd ldrb.w r0, [r3, #221] ; 0xdd + 8008dbc: f88d 0009 strb.w r0, [sp, #9] + 8008dc0: f893 00dc ldrb.w r0, [r3, #220] ; 0xdc + 8008dc4: f88d 000a strb.w r0, [sp, #10] + 8008dc8: 4829 ldr r0, [pc, #164] ; (8008e70 ) + 8008dca: 6a9a ldr r2, [r3, #40] ; 0x28 + 8008dcc: f890 0418 ldrb.w r0, [r0, #1048] ; 0x418 + 8008dd0: 9203 str r2, [sp, #12] + 8008dd2: 2600 movs r6, #0 + 8008dd4: f88d 000b strb.w r0, [sp, #11] + 8008dd8: 9604 str r6, [sp, #16] + 8008dda: 460c mov r4, r1 + 8008ddc: 2900 cmp r1, #0 + 8008dde: d040 beq.n 8008e62 + 8008de0: 9206 str r2, [sp, #24] + 8008de2: f8d3 2088 ldr.w r2, [r3, #136] ; 0x88 + 8008de6: 9207 str r2, [sp, #28] + 8008de8: 8f1a ldrh r2, [r3, #56] ; 0x38 + 8008dea: f893 111a ldrb.w r1, [r3, #282] ; 0x11a + 8008dee: f88d 1015 strb.w r1, [sp, #21] + 8008df2: ba52 rev16 r2, r2 + 8008df4: f8ad 2020 strh.w r2, [sp, #32] + 8008df8: f893 207c ldrb.w r2, [r3, #124] ; 0x7c + 8008dfc: f893 3048 ldrb.w r3, [r3, #72] ; 0x48 + 8008e00: f88d 3024 strb.w r3, [sp, #36] ; 0x24 + 8008e04: ab03 add r3, sp, #12 + 8008e06: f88d 0022 strb.w r0, [sp, #34] ; 0x22 + 8008e0a: f88d 2023 strb.w r2, [sp, #35] ; 0x23 + 8008e0e: 9300 str r3, [sp, #0] + 8008e10: f10d 020a add.w r2, sp, #10 + 8008e14: f10d 030b add.w r3, sp, #11 + 8008e18: f10d 0109 add.w r1, sp, #9 + 8008e1c: a805 add r0, sp, #20 + 8008e1e: f88d 6014 strb.w r6, [sp, #20] + 8008e22: f000 fedd bl 8009be0 + 8008e26: f99d 0009 ldrsb.w r0, [sp, #9] + 8008e2a: f7fe f913 bl 8007054 + 8008e2e: 7060 strb r0, [r4, #1] + 8008e30: a804 add r0, sp, #16 + 8008e32: f001 f82b bl 8009e8c + 8008e36: b9b0 cbnz r0, 8008e66 + 8008e38: 9a04 ldr r2, [sp, #16] + 8008e3a: 2a0f cmp r2, #15 + 8008e3c: d80d bhi.n 8008e5a + 8008e3e: 7863 ldrb r3, [r4, #1] + 8008e40: 429a cmp r2, r3 + 8008e42: d80a bhi.n 8008e5a + 8008e44: 4415 add r5, r2 + 8008e46: 42ab cmp r3, r5 + 8008e48: eba3 0102 sub.w r1, r3, r2 + 8008e4c: bf2c ite cs + 8008e4e: 2000 movcs r0, #0 + 8008e50: 2001 movcc r0, #1 + 8008e52: 7021 strb r1, [r4, #0] + 8008e54: 00c0 lsls r0, r0, #3 + 8008e56: b00a add sp, #40 ; 0x28 + 8008e58: bd70 pop {r4, r5, r6, pc} + 8008e5a: 2300 movs r3, #0 + 8008e5c: 7023 strb r3, [r4, #0] + 8008e5e: 2008 movs r0, #8 + 8008e60: e7f9 b.n 8008e56 + 8008e62: 2003 movs r0, #3 + 8008e64: e7f7 b.n 8008e56 + 8008e66: 2013 movs r0, #19 + 8008e68: e7f5 b.n 8008e56 + 8008e6a: bf00 nop + 8008e6c: 20000c00 .word 0x20000c00 + 8008e70: 200011c8 .word 0x200011c8 -08008e60 : - 8008e60: b51f push {r0, r1, r2, r3, r4, lr} - 8008e62: 4604 mov r4, r0 - 8008e64: 2800 cmp r0, #0 - 8008e66: f000 8112 beq.w 800908e - 8008e6a: 7800 ldrb r0, [r0, #0] - 8008e6c: 2841 cmp r0, #65 ; 0x41 - 8008e6e: f200 8108 bhi.w 8009082 - 8008e72: e8df f010 tbh [pc, r0, lsl #1] - 8008e76: 0042 .short 0x0042 - 8008e78: 004d0048 .word 0x004d0048 - 8008e7c: 00560052 .word 0x00560052 - 8008e80: 005f005a .word 0x005f005a - 8008e84: 01060106 .word 0x01060106 - 8008e88: 01060106 .word 0x01060106 - 8008e8c: 01060106 .word 0x01060106 - 8008e90: 01060106 .word 0x01060106 - 8008e94: 006a0066 .word 0x006a0066 - 8008e98: 0079006e .word 0x0079006e - 8008e9c: 00830080 .word 0x00830080 - 8008ea0: 008b0086 .word 0x008b0086 - 8008ea4: 008d0089 .word 0x008d0089 - 8008ea8: 00940091 .word 0x00940091 - 8008eac: 009a0097 .word 0x009a0097 - 8008eb0: 00a0009d .word 0x00a0009d - 8008eb4: 00b300af .word 0x00b300af - 8008eb8: 00b700bb .word 0x00b700bb - 8008ebc: 00c200bf .word 0x00c200bf - 8008ec0: 00cf00c6 .word 0x00cf00c6 - 8008ec4: 00cd00cb .word 0x00cd00cb - 8008ec8: 00d30106 .word 0x00d30106 - 8008ecc: 01060106 .word 0x01060106 - 8008ed0: 01060106 .word 0x01060106 - 8008ed4: 01060106 .word 0x01060106 - 8008ed8: 01060106 .word 0x01060106 - 8008edc: 01060106 .word 0x01060106 +08008e74 : + 8008e74: b51f push {r0, r1, r2, r3, r4, lr} + 8008e76: 4604 mov r4, r0 + 8008e78: 2800 cmp r0, #0 + 8008e7a: f000 8112 beq.w 80090a2 + 8008e7e: 7800 ldrb r0, [r0, #0] + 8008e80: 2841 cmp r0, #65 ; 0x41 + 8008e82: f200 8108 bhi.w 8009096 + 8008e86: e8df f010 tbh [pc, r0, lsl #1] + 8008e8a: 0042 .short 0x0042 + 8008e8c: 004d0048 .word 0x004d0048 + 8008e90: 00560052 .word 0x00560052 + 8008e94: 005f005a .word 0x005f005a + 8008e98: 01060106 .word 0x01060106 + 8008e9c: 01060106 .word 0x01060106 + 8008ea0: 01060106 .word 0x01060106 + 8008ea4: 01060106 .word 0x01060106 + 8008ea8: 006a0066 .word 0x006a0066 + 8008eac: 0079006e .word 0x0079006e + 8008eb0: 00830080 .word 0x00830080 + 8008eb4: 008b0086 .word 0x008b0086 + 8008eb8: 008d0089 .word 0x008d0089 + 8008ebc: 00940091 .word 0x00940091 + 8008ec0: 009a0097 .word 0x009a0097 + 8008ec4: 00a0009d .word 0x00a0009d + 8008ec8: 00b300af .word 0x00b300af + 8008ecc: 00b700bb .word 0x00b700bb + 8008ed0: 00c200bf .word 0x00c200bf + 8008ed4: 00cf00c6 .word 0x00cf00c6 + 8008ed8: 00cd00cb .word 0x00cd00cb + 8008edc: 00d30106 .word 0x00d30106 8008ee0: 01060106 .word 0x01060106 8008ee4: 01060106 .word 0x01060106 - 8008ee8: 00db0106 .word 0x00db0106 - 8008eec: 00e300df .word 0x00e300df - 8008ef0: 00ec00e8 .word 0x00ec00e8 - 8008ef4: 00f400f0 .word 0x00f400f0 - 8008ef8: 00fd .short 0x00fd - 8008efa: 4b67 ldr r3, [pc, #412] ; (8009098 ) - 8008efc: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 - 8008f00: 7123 strb r3, [r4, #4] - 8008f02: b004 add sp, #16 - 8008f04: bd10 pop {r4, pc} - 8008f06: 4b64 ldr r3, [pc, #400] ; (8009098 ) - 8008f08: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 - 8008f0c: 7123 strb r3, [r4, #4] - 8008f0e: e002 b.n 8008f16 - 8008f10: 6860 ldr r0, [r4, #4] - 8008f12: f003 fbc7 bl 800c6a4 - 8008f16: 2000 movs r0, #0 - 8008f18: e7f3 b.n 8008f02 - 8008f1a: 6860 ldr r0, [r4, #4] - 8008f1c: f003 fc08 bl 800c730 - 8008f20: e7f9 b.n 8008f16 - 8008f22: 4b5d ldr r3, [pc, #372] ; (8009098 ) - 8008f24: f893 311a ldrb.w r3, [r3, #282] ; 0x11a - 8008f28: e7f0 b.n 8008f0c - 8008f2a: 4b5b ldr r3, [pc, #364] ; (8009098 ) - 8008f2c: f8d3 30e0 ldr.w r3, [r3, #224] ; 0xe0 - 8008f30: 6063 str r3, [r4, #4] - 8008f32: e7f0 b.n 8008f16 - 8008f34: 4b58 ldr r3, [pc, #352] ; (8009098 ) - 8008f36: 1d21 adds r1, r4, #4 - 8008f38: f893 0130 ldrb.w r0, [r3, #304] ; 0x130 - 8008f3c: f003 fc10 bl 800c760 - 8008f40: e7e9 b.n 8008f16 - 8008f42: 4b55 ldr r3, [pc, #340] ; (8009098 ) - 8008f44: f893 3119 ldrb.w r3, [r3, #281] ; 0x119 - 8008f48: e7e0 b.n 8008f0c - 8008f4a: 4b53 ldr r3, [pc, #332] ; (8009098 ) - 8008f4c: f893 308c ldrb.w r3, [r3, #140] ; 0x8c - 8008f50: e7dc b.n 8008f0c - 8008f52: 231c movs r3, #28 - 8008f54: f88d 3008 strb.w r3, [sp, #8] - 8008f58: 4b4f ldr r3, [pc, #316] ; (8009098 ) - 8008f5a: a902 add r1, sp, #8 - 8008f5c: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 - 8008f60: f001 fd30 bl 800a9c4 - 8008f64: 6060 str r0, [r4, #4] - 8008f66: e7d6 b.n 8008f16 - 8008f68: 4b4c ldr r3, [pc, #304] ; (800909c ) - 8008f6a: 3404 adds r4, #4 - 8008f6c: e893 0003 ldmia.w r3, {r0, r1} - 8008f70: e884 0003 stmia.w r4, {r0, r1} - 8008f74: e7cf b.n 8008f16 - 8008f76: 4b4a ldr r3, [pc, #296] ; (80090a0 ) - 8008f78: 3404 adds r4, #4 - 8008f7a: e7f7 b.n 8008f6c - 8008f7c: 4b49 ldr r3, [pc, #292] ; (80090a4 ) + 8008ee8: 01060106 .word 0x01060106 + 8008eec: 01060106 .word 0x01060106 + 8008ef0: 01060106 .word 0x01060106 + 8008ef4: 01060106 .word 0x01060106 + 8008ef8: 01060106 .word 0x01060106 + 8008efc: 00db0106 .word 0x00db0106 + 8008f00: 00e300df .word 0x00e300df + 8008f04: 00ec00e8 .word 0x00ec00e8 + 8008f08: 00f400f0 .word 0x00f400f0 + 8008f0c: 00fd .short 0x00fd + 8008f0e: 4b67 ldr r3, [pc, #412] ; (80090ac ) + 8008f10: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 + 8008f14: 7123 strb r3, [r4, #4] + 8008f16: b004 add sp, #16 + 8008f18: bd10 pop {r4, pc} + 8008f1a: 4b64 ldr r3, [pc, #400] ; (80090ac ) + 8008f1c: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 + 8008f20: 7123 strb r3, [r4, #4] + 8008f22: e002 b.n 8008f2a + 8008f24: 6860 ldr r0, [r4, #4] + 8008f26: f003 fbc7 bl 800c6b8 + 8008f2a: 2000 movs r0, #0 + 8008f2c: e7f3 b.n 8008f16 + 8008f2e: 6860 ldr r0, [r4, #4] + 8008f30: f003 fc08 bl 800c744 + 8008f34: e7f9 b.n 8008f2a + 8008f36: 4b5d ldr r3, [pc, #372] ; (80090ac ) + 8008f38: f893 311a ldrb.w r3, [r3, #282] ; 0x11a + 8008f3c: e7f0 b.n 8008f20 + 8008f3e: 4b5b ldr r3, [pc, #364] ; (80090ac ) + 8008f40: f8d3 30e0 ldr.w r3, [r3, #224] ; 0xe0 + 8008f44: 6063 str r3, [r4, #4] + 8008f46: e7f0 b.n 8008f2a + 8008f48: 4b58 ldr r3, [pc, #352] ; (80090ac ) + 8008f4a: 1d21 adds r1, r4, #4 + 8008f4c: f893 0130 ldrb.w r0, [r3, #304] ; 0x130 + 8008f50: f003 fc10 bl 800c774 + 8008f54: e7e9 b.n 8008f2a + 8008f56: 4b55 ldr r3, [pc, #340] ; (80090ac ) + 8008f58: f893 3119 ldrb.w r3, [r3, #281] ; 0x119 + 8008f5c: e7e0 b.n 8008f20 + 8008f5e: 4b53 ldr r3, [pc, #332] ; (80090ac ) + 8008f60: f893 308c ldrb.w r3, [r3, #140] ; 0x8c + 8008f64: e7dc b.n 8008f20 + 8008f66: 231c movs r3, #28 + 8008f68: f88d 3008 strb.w r3, [sp, #8] + 8008f6c: 4b4f ldr r3, [pc, #316] ; (80090ac ) + 8008f6e: a902 add r1, sp, #8 + 8008f70: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 + 8008f74: f001 fd30 bl 800a9d8 + 8008f78: 6060 str r0, [r4, #4] + 8008f7a: e7d6 b.n 8008f2a + 8008f7c: 4b4c ldr r3, [pc, #304] ; (80090b0 ) 8008f7e: 3404 adds r4, #4 - 8008f80: e7f4 b.n 8008f6c - 8008f82: 4b49 ldr r3, [pc, #292] ; (80090a8 ) - 8008f84: 3404 adds r4, #4 - 8008f86: e7f1 b.n 8008f6c - 8008f88: 231a movs r3, #26 - 8008f8a: e7e3 b.n 8008f54 - 8008f8c: 2319 movs r3, #25 - 8008f8e: e7e1 b.n 8008f54 - 8008f90: 4b41 ldr r3, [pc, #260] ; (8009098 ) - 8008f92: f893 3068 ldrb.w r3, [r3, #104] ; 0x68 - 8008f96: e7b9 b.n 8008f0c - 8008f98: 4b3f ldr r3, [pc, #252] ; (8009098 ) - 8008f9a: 6d5b ldr r3, [r3, #84] ; 0x54 - 8008f9c: e7c8 b.n 8008f30 - 8008f9e: 4b3e ldr r3, [pc, #248] ; (8009098 ) - 8008fa0: 6d9b ldr r3, [r3, #88] ; 0x58 - 8008fa2: e7c5 b.n 8008f30 - 8008fa4: 4b3c ldr r3, [pc, #240] ; (8009098 ) - 8008fa6: 6ddb ldr r3, [r3, #92] ; 0x5c - 8008fa8: e7c2 b.n 8008f30 - 8008faa: 4b3b ldr r3, [pc, #236] ; (8009098 ) - 8008fac: 6e1b ldr r3, [r3, #96] ; 0x60 - 8008fae: e7bf b.n 8008f30 - 8008fb0: 4b39 ldr r3, [pc, #228] ; (8009098 ) - 8008fb2: 6e5b ldr r3, [r3, #100] ; 0x64 - 8008fb4: e7bc b.n 8008f30 - 8008fb6: 2302 movs r3, #2 - 8008fb8: f88d 3008 strb.w r3, [sp, #8] - 8008fbc: 4b36 ldr r3, [pc, #216] ; (8009098 ) - 8008fbe: a902 add r1, sp, #8 - 8008fc0: f893 207c ldrb.w r2, [r3, #124] ; 0x7c - 8008fc4: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 - 8008fc8: f88d 200a strb.w r2, [sp, #10] - 8008fcc: f001 fcfa bl 800a9c4 - 8008fd0: 7120 strb r0, [r4, #4] - 8008fd2: e7a0 b.n 8008f16 - 8008fd4: 4b30 ldr r3, [pc, #192] ; (8009098 ) - 8008fd6: f893 30dd ldrb.w r3, [r3, #221] ; 0xdd - 8008fda: e797 b.n 8008f0c - 8008fdc: 4b2e ldr r3, [pc, #184] ; (8009098 ) - 8008fde: f893 3039 ldrb.w r3, [r3, #57] ; 0x39 - 8008fe2: e793 b.n 8008f0c - 8008fe4: 4b2c ldr r3, [pc, #176] ; (8009098 ) - 8008fe6: f893 30dc ldrb.w r3, [r3, #220] ; 0xdc - 8008fea: e78f b.n 8008f0c - 8008fec: 4b2a ldr r3, [pc, #168] ; (8009098 ) - 8008fee: f893 3038 ldrb.w r3, [r3, #56] ; 0x38 - 8008ff2: e78b b.n 8008f0c - 8008ff4: 4b28 ldr r3, [pc, #160] ; (8009098 ) - 8008ff6: 6cdb ldr r3, [r3, #76] ; 0x4c - 8008ff8: e79a b.n 8008f30 - 8008ffa: 4b27 ldr r3, [pc, #156] ; (8009098 ) - 8008ffc: f893 3050 ldrb.w r3, [r3, #80] ; 0x50 - 8009000: e784 b.n 8008f0c - 8009002: 4b25 ldr r3, [pc, #148] ; (8009098 ) - 8009004: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 - 8009008: 6063 str r3, [r4, #4] - 800900a: e784 b.n 8008f16 - 800900c: 4b22 ldr r3, [pc, #136] ; (8009098 ) - 800900e: e78f b.n 8008f30 - 8009010: 4b26 ldr r3, [pc, #152] ; (80090ac ) - 8009012: e78d b.n 8008f30 - 8009014: 4b20 ldr r3, [pc, #128] ; (8009098 ) - 8009016: f8d3 30cc ldr.w r3, [r3, #204] ; 0xcc - 800901a: e7f5 b.n 8009008 - 800901c: 4b1e ldr r3, [pc, #120] ; (8009098 ) - 800901e: f8d3 312c ldr.w r3, [r3, #300] ; 0x12c - 8009022: 6063 str r3, [r4, #4] - 8009024: f001 fd5c bl 800aae0 - 8009028: 60a0 str r0, [r4, #8] - 800902a: e774 b.n 8008f16 - 800902c: 4b1a ldr r3, [pc, #104] ; (8009098 ) - 800902e: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8009032: e77d b.n 8008f30 - 8009034: 4b18 ldr r3, [pc, #96] ; (8009098 ) - 8009036: f893 311f ldrb.w r3, [r3, #287] ; 0x11f - 800903a: e767 b.n 8008f0c - 800903c: 4b16 ldr r3, [pc, #88] ; (8009098 ) - 800903e: f8b3 3088 ldrh.w r3, [r3, #136] ; 0x88 - 8009042: 80a3 strh r3, [r4, #4] - 8009044: e767 b.n 8008f16 - 8009046: 4b14 ldr r3, [pc, #80] ; (8009098 ) - 8009048: f8b3 308a ldrh.w r3, [r3, #138] ; 0x8a - 800904c: e7f9 b.n 8009042 - 800904e: 4b12 ldr r3, [pc, #72] ; (8009098 ) - 8009050: f8b3 30d0 ldrh.w r3, [r3, #208] ; 0xd0 - 8009054: e7f5 b.n 8009042 - 8009056: 4b10 ldr r3, [pc, #64] ; (8009098 ) - 8009058: f8b3 30d2 ldrh.w r3, [r3, #210] ; 0xd2 - 800905c: e7f1 b.n 8009042 - 800905e: 4b0e ldr r3, [pc, #56] ; (8009098 ) - 8009060: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 8009064: b10a cbz r2, 800906a - 8009066: 2a06 cmp r2, #6 - 8009068: d113 bne.n 8009092 - 800906a: f8b3 35a0 ldrh.w r3, [r3, #1440] ; 0x5a0 - 800906e: e7e8 b.n 8009042 - 8009070: 4b09 ldr r3, [pc, #36] ; (8009098 ) - 8009072: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 8009076: b10a cbz r2, 800907c - 8009078: 2a06 cmp r2, #6 - 800907a: d10a bne.n 8009092 - 800907c: f8d3 35a4 ldr.w r3, [r3, #1444] ; 0x5a4 - 8009080: e756 b.n 8008f30 - 8009082: 4620 mov r0, r4 - 8009084: b004 add sp, #16 - 8009086: e8bd 4010 ldmia.w sp!, {r4, lr} - 800908a: f000 be24 b.w 8009cd6 - 800908e: 2003 movs r0, #3 - 8009090: e737 b.n 8008f02 - 8009092: 2018 movs r0, #24 - 8009094: e735 b.n 8008f02 - 8009096: bf00 nop - 8009098: 20000c00 .word 0x20000c00 - 800909c: 20000c6c .word 0x20000c6c - 80090a0: 20000cb4 .word 0x20000cb4 - 80090a4: 20000c74 .word 0x20000c74 - 80090a8: 20000cbc .word 0x20000cbc - 80090ac: 2000063c .word 0x2000063c + 8008f80: e893 0003 ldmia.w r3, {r0, r1} + 8008f84: e884 0003 stmia.w r4, {r0, r1} + 8008f88: e7cf b.n 8008f2a + 8008f8a: 4b4a ldr r3, [pc, #296] ; (80090b4 ) + 8008f8c: 3404 adds r4, #4 + 8008f8e: e7f7 b.n 8008f80 + 8008f90: 4b49 ldr r3, [pc, #292] ; (80090b8 ) + 8008f92: 3404 adds r4, #4 + 8008f94: e7f4 b.n 8008f80 + 8008f96: 4b49 ldr r3, [pc, #292] ; (80090bc ) + 8008f98: 3404 adds r4, #4 + 8008f9a: e7f1 b.n 8008f80 + 8008f9c: 231a movs r3, #26 + 8008f9e: e7e3 b.n 8008f68 + 8008fa0: 2319 movs r3, #25 + 8008fa2: e7e1 b.n 8008f68 + 8008fa4: 4b41 ldr r3, [pc, #260] ; (80090ac ) + 8008fa6: f893 3068 ldrb.w r3, [r3, #104] ; 0x68 + 8008faa: e7b9 b.n 8008f20 + 8008fac: 4b3f ldr r3, [pc, #252] ; (80090ac ) + 8008fae: 6d5b ldr r3, [r3, #84] ; 0x54 + 8008fb0: e7c8 b.n 8008f44 + 8008fb2: 4b3e ldr r3, [pc, #248] ; (80090ac ) + 8008fb4: 6d9b ldr r3, [r3, #88] ; 0x58 + 8008fb6: e7c5 b.n 8008f44 + 8008fb8: 4b3c ldr r3, [pc, #240] ; (80090ac ) + 8008fba: 6ddb ldr r3, [r3, #92] ; 0x5c + 8008fbc: e7c2 b.n 8008f44 + 8008fbe: 4b3b ldr r3, [pc, #236] ; (80090ac ) + 8008fc0: 6e1b ldr r3, [r3, #96] ; 0x60 + 8008fc2: e7bf b.n 8008f44 + 8008fc4: 4b39 ldr r3, [pc, #228] ; (80090ac ) + 8008fc6: 6e5b ldr r3, [r3, #100] ; 0x64 + 8008fc8: e7bc b.n 8008f44 + 8008fca: 2302 movs r3, #2 + 8008fcc: f88d 3008 strb.w r3, [sp, #8] + 8008fd0: 4b36 ldr r3, [pc, #216] ; (80090ac ) + 8008fd2: a902 add r1, sp, #8 + 8008fd4: f893 207c ldrb.w r2, [r3, #124] ; 0x7c + 8008fd8: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 + 8008fdc: f88d 200a strb.w r2, [sp, #10] + 8008fe0: f001 fcfa bl 800a9d8 + 8008fe4: 7120 strb r0, [r4, #4] + 8008fe6: e7a0 b.n 8008f2a + 8008fe8: 4b30 ldr r3, [pc, #192] ; (80090ac ) + 8008fea: f893 30dd ldrb.w r3, [r3, #221] ; 0xdd + 8008fee: e797 b.n 8008f20 + 8008ff0: 4b2e ldr r3, [pc, #184] ; (80090ac ) + 8008ff2: f893 3039 ldrb.w r3, [r3, #57] ; 0x39 + 8008ff6: e793 b.n 8008f20 + 8008ff8: 4b2c ldr r3, [pc, #176] ; (80090ac ) + 8008ffa: f893 30dc ldrb.w r3, [r3, #220] ; 0xdc + 8008ffe: e78f b.n 8008f20 + 8009000: 4b2a ldr r3, [pc, #168] ; (80090ac ) + 8009002: f893 3038 ldrb.w r3, [r3, #56] ; 0x38 + 8009006: e78b b.n 8008f20 + 8009008: 4b28 ldr r3, [pc, #160] ; (80090ac ) + 800900a: 6cdb ldr r3, [r3, #76] ; 0x4c + 800900c: e79a b.n 8008f44 + 800900e: 4b27 ldr r3, [pc, #156] ; (80090ac ) + 8009010: f893 3050 ldrb.w r3, [r3, #80] ; 0x50 + 8009014: e784 b.n 8008f20 + 8009016: 4b25 ldr r3, [pc, #148] ; (80090ac ) + 8009018: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 + 800901c: 6063 str r3, [r4, #4] + 800901e: e784 b.n 8008f2a + 8009020: 4b22 ldr r3, [pc, #136] ; (80090ac ) + 8009022: e78f b.n 8008f44 + 8009024: 4b26 ldr r3, [pc, #152] ; (80090c0 ) + 8009026: e78d b.n 8008f44 + 8009028: 4b20 ldr r3, [pc, #128] ; (80090ac ) + 800902a: f8d3 30cc ldr.w r3, [r3, #204] ; 0xcc + 800902e: e7f5 b.n 800901c + 8009030: 4b1e ldr r3, [pc, #120] ; (80090ac ) + 8009032: f8d3 312c ldr.w r3, [r3, #300] ; 0x12c + 8009036: 6063 str r3, [r4, #4] + 8009038: f001 fd5c bl 800aaf4 + 800903c: 60a0 str r0, [r4, #8] + 800903e: e774 b.n 8008f2a + 8009040: 4b1a ldr r3, [pc, #104] ; (80090ac ) + 8009042: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 8009046: e77d b.n 8008f44 + 8009048: 4b18 ldr r3, [pc, #96] ; (80090ac ) + 800904a: f893 311f ldrb.w r3, [r3, #287] ; 0x11f + 800904e: e767 b.n 8008f20 + 8009050: 4b16 ldr r3, [pc, #88] ; (80090ac ) + 8009052: f8b3 3088 ldrh.w r3, [r3, #136] ; 0x88 + 8009056: 80a3 strh r3, [r4, #4] + 8009058: e767 b.n 8008f2a + 800905a: 4b14 ldr r3, [pc, #80] ; (80090ac ) + 800905c: f8b3 308a ldrh.w r3, [r3, #138] ; 0x8a + 8009060: e7f9 b.n 8009056 + 8009062: 4b12 ldr r3, [pc, #72] ; (80090ac ) + 8009064: f8b3 30d0 ldrh.w r3, [r3, #208] ; 0xd0 + 8009068: e7f5 b.n 8009056 + 800906a: 4b10 ldr r3, [pc, #64] ; (80090ac ) + 800906c: f8b3 30d2 ldrh.w r3, [r3, #210] ; 0xd2 + 8009070: e7f1 b.n 8009056 + 8009072: 4b0e ldr r3, [pc, #56] ; (80090ac ) + 8009074: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 8009078: b10a cbz r2, 800907e + 800907a: 2a06 cmp r2, #6 + 800907c: d113 bne.n 80090a6 + 800907e: f8b3 35a0 ldrh.w r3, [r3, #1440] ; 0x5a0 + 8009082: e7e8 b.n 8009056 + 8009084: 4b09 ldr r3, [pc, #36] ; (80090ac ) + 8009086: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 800908a: b10a cbz r2, 8009090 + 800908c: 2a06 cmp r2, #6 + 800908e: d10a bne.n 80090a6 + 8009090: f8d3 35a4 ldr.w r3, [r3, #1444] ; 0x5a4 + 8009094: e756 b.n 8008f44 + 8009096: 4620 mov r0, r4 + 8009098: b004 add sp, #16 + 800909a: e8bd 4010 ldmia.w sp!, {r4, lr} + 800909e: f000 be24 b.w 8009cea + 80090a2: 2003 movs r0, #3 + 80090a4: e737 b.n 8008f16 + 80090a6: 2018 movs r0, #24 + 80090a8: e735 b.n 8008f16 + 80090aa: bf00 nop + 80090ac: 20000c00 .word 0x20000c00 + 80090b0: 20000c6c .word 0x20000c6c + 80090b4: 20000cb4 .word 0x20000cb4 + 80090b8: 20000c74 .word 0x20000c74 + 80090bc: 20000cbc .word 0x20000cbc + 80090c0: 2000063c .word 0x2000063c -080090b0 : - 80090b0: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 80090b2: 4604 mov r4, r0 - 80090b4: b910 cbnz r0, 80090bc - 80090b6: 2003 movs r0, #3 - 80090b8: b004 add sp, #16 - 80090ba: bd70 pop {r4, r5, r6, pc} - 80090bc: 4da4 ldr r5, [pc, #656] ; (8009350 ) - 80090be: f8d5 3340 ldr.w r3, [r5, #832] ; 0x340 - 80090c2: 079a lsls r2, r3, #30 - 80090c4: f100 8271 bmi.w 80095aa - 80090c8: 7802 ldrb r2, [r0, #0] - 80090ca: 2a41 cmp r2, #65 ; 0x41 - 80090cc: f200 826a bhi.w 80095a4 - 80090d0: e8df f012 tbh [pc, r2, lsl #1] - 80090d4: 00480042 .word 0x00480042 - 80090d8: 005c0056 .word 0x005c0056 - 80090dc: 00650060 .word 0x00650060 - 80090e0: 0077006a .word 0x0077006a - 80090e4: 00880082 .word 0x00880082 - 80090e8: 0094008e .word 0x0094008e - 80090ec: 00a0009a .word 0x00a0009a - 80090f0: 00ac00a6 .word 0x00ac00a6 - 80090f4: 026800b6 .word 0x026800b6 - 80090f8: 00dd00bb .word 0x00dd00bb - 80090fc: 011700f0 .word 0x011700f0 - 8009100: 012a0139 .word 0x012a0139 - 8009104: 014d0144 .word 0x014d0144 - 8009108: 01550151 .word 0x01550151 - 800910c: 015d0159 .word 0x015d0159 - 8009110: 01610268 .word 0x01610268 - 8009114: 019b0173 .word 0x019b0173 - 8009118: 01ad0189 .word 0x01ad0189 - 800911c: 01ba01b3 .word 0x01ba01b3 - 8009120: 01c401bf .word 0x01c401bf - 8009124: 022a0268 .word 0x022a0268 - 8009128: 02680268 .word 0x02680268 - 800912c: 02680268 .word 0x02680268 - 8009130: 02680268 .word 0x02680268 - 8009134: 02680268 .word 0x02680268 - 8009138: 02680268 .word 0x02680268 +080090c4 : + 80090c4: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 80090c6: 4604 mov r4, r0 + 80090c8: b910 cbnz r0, 80090d0 + 80090ca: 2003 movs r0, #3 + 80090cc: b004 add sp, #16 + 80090ce: bd70 pop {r4, r5, r6, pc} + 80090d0: 4da4 ldr r5, [pc, #656] ; (8009364 ) + 80090d2: f8d5 3340 ldr.w r3, [r5, #832] ; 0x340 + 80090d6: 079a lsls r2, r3, #30 + 80090d8: f100 8271 bmi.w 80095be + 80090dc: 7802 ldrb r2, [r0, #0] + 80090de: 2a41 cmp r2, #65 ; 0x41 + 80090e0: f200 826a bhi.w 80095b8 + 80090e4: e8df f012 tbh [pc, r2, lsl #1] + 80090e8: 00480042 .word 0x00480042 + 80090ec: 005c0056 .word 0x005c0056 + 80090f0: 00650060 .word 0x00650060 + 80090f4: 0077006a .word 0x0077006a + 80090f8: 00880082 .word 0x00880082 + 80090fc: 0094008e .word 0x0094008e + 8009100: 00a0009a .word 0x00a0009a + 8009104: 00ac00a6 .word 0x00ac00a6 + 8009108: 026800b6 .word 0x026800b6 + 800910c: 00dd00bb .word 0x00dd00bb + 8009110: 011700f0 .word 0x011700f0 + 8009114: 012a0139 .word 0x012a0139 + 8009118: 014d0144 .word 0x014d0144 + 800911c: 01550151 .word 0x01550151 + 8009120: 015d0159 .word 0x015d0159 + 8009124: 01610268 .word 0x01610268 + 8009128: 019b0173 .word 0x019b0173 + 800912c: 01ad0189 .word 0x01ad0189 + 8009130: 01ba01b3 .word 0x01ba01b3 + 8009134: 01c401bf .word 0x01c401bf + 8009138: 022a0268 .word 0x022a0268 800913c: 02680268 .word 0x02680268 8009140: 02680268 .word 0x02680268 8009144: 02680268 .word 0x02680268 - 8009148: 023b0236 .word 0x023b0236 - 800914c: 02450240 .word 0x02450240 - 8009150: 024f024a .word 0x024f024a - 8009154: 025e0254 .word 0x025e0254 - 8009158: 7900 ldrb r0, [r0, #4] - 800915a: f7fe f8c1 bl 80072e0 - 800915e: 2800 cmp r0, #0 - 8009160: d1aa bne.n 80090b8 - 8009162: e005 b.n 8009170 - 8009164: 7903 ldrb r3, [r0, #4] - 8009166: 2b02 cmp r3, #2 - 8009168: d0a5 beq.n 80090b6 - 800916a: 4a7a ldr r2, [pc, #488] ; (8009354 ) - 800916c: f882 3130 strb.w r3, [r2, #304] ; 0x130 - 8009170: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 - 8009174: f043 0320 orr.w r3, r3, #32 - 8009178: f885 3491 strb.w r3, [r5, #1169] ; 0x491 - 800917c: 2000 movs r0, #0 - 800917e: e79b b.n 80090b8 - 8009180: 6840 ldr r0, [r0, #4] - 8009182: f003 fa81 bl 800c688 - 8009186: 2800 cmp r0, #0 - 8009188: d0f2 beq.n 8009170 - 800918a: e794 b.n 80090b6 - 800918c: 6840 ldr r0, [r0, #4] - 800918e: f003 fabf bl 800c710 - 8009192: e7f8 b.n 8009186 - 8009194: 4b6f ldr r3, [pc, #444] ; (8009354 ) - 8009196: 7902 ldrb r2, [r0, #4] - 8009198: f883 211a strb.w r2, [r3, #282] ; 0x11a - 800919c: e7e8 b.n 8009170 - 800919e: 4b6d ldr r3, [pc, #436] ; (8009354 ) - 80091a0: 6842 ldr r2, [r0, #4] - 80091a2: f8c3 20e0 str.w r2, [r3, #224] ; 0xe0 - 80091a6: e7e3 b.n 8009170 - 80091a8: 4e6a ldr r6, [pc, #424] ; (8009354 ) - 80091aa: 6841 ldr r1, [r0, #4] - 80091ac: f896 0130 ldrb.w r0, [r6, #304] ; 0x130 - 80091b0: f003 facc bl 800c74c - 80091b4: 2800 cmp r0, #0 - 80091b6: f47f af7e bne.w 80090b6 - 80091ba: 6863 ldr r3, [r4, #4] - 80091bc: f8c6 30e4 str.w r3, [r6, #228] ; 0xe4 - 80091c0: e7d6 b.n 8009170 - 80091c2: 6841 ldr r1, [r0, #4] - 80091c4: 2900 cmp r1, #0 - 80091c6: f43f af76 beq.w 80090b6 - 80091ca: 2000 movs r0, #0 - 80091cc: f001 f9ee bl 800a5ac - 80091d0: 2800 cmp r0, #0 - 80091d2: d0cd beq.n 8009170 - 80091d4: 2011 movs r0, #17 - 80091d6: e76f b.n 80090b8 - 80091d8: 6841 ldr r1, [r0, #4] - 80091da: 2900 cmp r1, #0 - 80091dc: f43f af6b beq.w 80090b6 - 80091e0: 2001 movs r0, #1 - 80091e2: e7f3 b.n 80091cc - 80091e4: 6841 ldr r1, [r0, #4] - 80091e6: 2900 cmp r1, #0 - 80091e8: f43f af65 beq.w 80090b6 - 80091ec: 2008 movs r0, #8 - 80091ee: e7ed b.n 80091cc - 80091f0: 6841 ldr r1, [r0, #4] - 80091f2: 2900 cmp r1, #0 - 80091f4: f43f af5f beq.w 80090b6 - 80091f8: 2009 movs r0, #9 - 80091fa: e7e7 b.n 80091cc - 80091fc: 6841 ldr r1, [r0, #4] - 80091fe: 2900 cmp r1, #0 - 8009200: f43f af59 beq.w 80090b6 - 8009204: 200c movs r0, #12 - 8009206: e7e1 b.n 80091cc - 8009208: 6841 ldr r1, [r0, #4] - 800920a: 2900 cmp r1, #0 - 800920c: f43f af53 beq.w 80090b6 - 8009210: 200d movs r0, #13 - 8009212: e7db b.n 80091cc - 8009214: 6841 ldr r1, [r0, #4] - 8009216: 2900 cmp r1, #0 - 8009218: f43f af4d beq.w 80090b6 - 800921c: 200e movs r0, #14 - 800921e: e7d5 b.n 80091cc - 8009220: 6841 ldr r1, [r0, #4] - 8009222: 2900 cmp r1, #0 - 8009224: f43f af47 beq.w 80090b6 - 8009228: 200f movs r0, #15 - 800922a: e7cf b.n 80091cc - 800922c: 4c4a ldr r4, [pc, #296] ; (8009358 ) - 800922e: 4b49 ldr r3, [pc, #292] ; (8009354 ) - 8009230: 7900 ldrb r0, [r0, #4] - 8009232: f883 0119 strb.w r0, [r3, #281] ; 0x119 - 8009236: 6da3 ldr r3, [r4, #88] ; 0x58 - 8009238: 4798 blx r3 - 800923a: 6ae3 ldr r3, [r4, #44] ; 0x2c - 800923c: 4798 blx r3 - 800923e: e797 b.n 8009170 - 8009240: 4b44 ldr r3, [pc, #272] ; (8009354 ) - 8009242: 7902 ldrb r2, [r0, #4] - 8009244: f883 208c strb.w r2, [r3, #140] ; 0x8c - 8009248: e792 b.n 8009170 - 800924a: 4e42 ldr r6, [pc, #264] ; (8009354 ) - 800924c: 7a03 ldrb r3, [r0, #8] - 800924e: f88d 3004 strb.w r3, [sp, #4] - 8009252: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8009256: f896 307d ldrb.w r3, [r6, #125] ; 0x7d - 800925a: f88d 3005 strb.w r3, [sp, #5] - 800925e: 2207 movs r2, #7 - 8009260: a901 add r1, sp, #4 - 8009262: f001 fbc2 bl 800a9ea - 8009266: 2800 cmp r0, #0 - 8009268: f43f af25 beq.w 80090b6 - 800926c: 6863 ldr r3, [r4, #4] - 800926e: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8009272: 9301 str r3, [sp, #4] - 8009274: 2200 movs r2, #0 - 8009276: a901 add r1, sp, #4 - 8009278: f001 fbb7 bl 800a9ea - 800927c: 2800 cmp r0, #0 - 800927e: f43f af1a beq.w 80090b6 - 8009282: 366c adds r6, #108 ; 0x6c - 8009284: e9d4 0101 ldrd r0, r1, [r4, #4] - 8009288: e886 0003 stmia.w r6, {r0, r1} - 800928c: e770 b.n 8009170 - 800928e: 4e31 ldr r6, [pc, #196] ; (8009354 ) - 8009290: 7a03 ldrb r3, [r0, #8] - 8009292: f88d 3004 strb.w r3, [sp, #4] - 8009296: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 800929a: f896 307d ldrb.w r3, [r6, #125] ; 0x7d - 800929e: f88d 3005 strb.w r3, [sp, #5] - 80092a2: 2207 movs r2, #7 - 80092a4: a901 add r1, sp, #4 - 80092a6: f001 fba0 bl 800a9ea - 80092aa: 2800 cmp r0, #0 - 80092ac: f43f af03 beq.w 80090b6 - 80092b0: 36b4 adds r6, #180 ; 0xb4 - 80092b2: e7e7 b.n 8009284 - 80092b4: 4e27 ldr r6, [pc, #156] ; (8009354 ) - 80092b6: 7a03 ldrb r3, [r0, #8] - 80092b8: f88d 3004 strb.w r3, [sp, #4] - 80092bc: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 80092c0: f896 307d ldrb.w r3, [r6, #125] ; 0x7d - 80092c4: f88d 3005 strb.w r3, [sp, #5] - 80092c8: 2207 movs r2, #7 - 80092ca: a901 add r1, sp, #4 - 80092cc: f001 fb8d bl 800a9ea - 80092d0: 2800 cmp r0, #0 - 80092d2: f43f aef0 beq.w 80090b6 - 80092d6: e9d4 0101 ldrd r0, r1, [r4, #4] - 80092da: f106 0374 add.w r3, r6, #116 ; 0x74 - 80092de: e883 0003 stmia.w r3, {r0, r1} - 80092e2: f896 3118 ldrb.w r3, [r6, #280] ; 0x118 - 80092e6: 2b02 cmp r3, #2 - 80092e8: f47f af42 bne.w 8009170 - 80092ec: f896 3130 ldrb.w r3, [r6, #304] ; 0x130 - 80092f0: 2b00 cmp r3, #0 - 80092f2: f43f af3d beq.w 8009170 - 80092f6: 4b18 ldr r3, [pc, #96] ; (8009358 ) - 80092f8: 6adb ldr r3, [r3, #44] ; 0x2c - 80092fa: 4798 blx r3 - 80092fc: f7fd ff48 bl 8007190 - 8009300: e736 b.n 8009170 - 8009302: 4e14 ldr r6, [pc, #80] ; (8009354 ) - 8009304: 7a03 ldrb r3, [r0, #8] - 8009306: f88d 3004 strb.w r3, [sp, #4] - 800930a: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 800930e: f896 307d ldrb.w r3, [r6, #125] ; 0x7d - 8009312: f88d 3005 strb.w r3, [sp, #5] - 8009316: 2207 movs r2, #7 - 8009318: a901 add r1, sp, #4 - 800931a: f001 fb66 bl 800a9ea - 800931e: 2800 cmp r0, #0 - 8009320: f43f aec9 beq.w 80090b6 - 8009324: 36bc adds r6, #188 ; 0xbc - 8009326: e7ad b.n 8009284 - 8009328: 6843 ldr r3, [r0, #4] - 800932a: 9302 str r3, [sp, #8] - 800932c: 2301 movs r3, #1 - 800932e: f88d 300c strb.w r3, [sp, #12] - 8009332: 4b08 ldr r3, [pc, #32] ; (8009354 ) - 8009334: a902 add r1, sp, #8 - 8009336: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 - 800933a: f001 fb63 bl 800aa04 - 800933e: 2800 cmp r0, #0 - 8009340: f47f af16 bne.w 8009170 - 8009344: e6b7 b.n 80090b6 - 8009346: 6843 ldr r3, [r0, #4] - 8009348: 9302 str r3, [sp, #8] - 800934a: 2300 movs r3, #0 - 800934c: e7ef b.n 800932e - 800934e: bf00 nop - 8009350: 200011c8 .word 0x200011c8 - 8009354: 20000c00 .word 0x20000c00 - 8009358: 080101d4 .word 0x080101d4 - 800935c: 7903 ldrb r3, [r0, #4] - 800935e: 1e5a subs r2, r3, #1 - 8009360: 2a0e cmp r2, #14 - 8009362: f63f aea8 bhi.w 80090b6 - 8009366: 4a93 ldr r2, [pc, #588] ; (80095b4 ) - 8009368: f882 3068 strb.w r3, [r2, #104] ; 0x68 - 800936c: e700 b.n 8009170 - 800936e: 4b91 ldr r3, [pc, #580] ; (80095b4 ) - 8009370: 6842 ldr r2, [r0, #4] - 8009372: 655a str r2, [r3, #84] ; 0x54 - 8009374: e6fc b.n 8009170 - 8009376: 4b8f ldr r3, [pc, #572] ; (80095b4 ) - 8009378: 6842 ldr r2, [r0, #4] - 800937a: 659a str r2, [r3, #88] ; 0x58 - 800937c: e6f8 b.n 8009170 - 800937e: 4b8d ldr r3, [pc, #564] ; (80095b4 ) - 8009380: 6842 ldr r2, [r0, #4] - 8009382: 65da str r2, [r3, #92] ; 0x5c - 8009384: e6f4 b.n 8009170 - 8009386: 4b8b ldr r3, [pc, #556] ; (80095b4 ) - 8009388: 6842 ldr r2, [r0, #4] - 800938a: 661a str r2, [r3, #96] ; 0x60 - 800938c: e6f0 b.n 8009170 - 800938e: 4b89 ldr r3, [pc, #548] ; (80095b4 ) - 8009390: 6842 ldr r2, [r0, #4] - 8009392: 665a str r2, [r3, #100] ; 0x64 - 8009394: e6ec b.n 8009170 - 8009396: 4c87 ldr r4, [pc, #540] ; (80095b4 ) - 8009398: 7903 ldrb r3, [r0, #4] - 800939a: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 800939e: f88d 3004 strb.w r3, [sp, #4] - 80093a2: 2206 movs r2, #6 - 80093a4: a901 add r1, sp, #4 - 80093a6: f001 fb20 bl 800a9ea - 80093aa: 2800 cmp r0, #0 - 80093ac: f43f ae83 beq.w 80090b6 - 80093b0: f89d 3004 ldrb.w r3, [sp, #4] - 80093b4: f884 30dd strb.w r3, [r4, #221] ; 0xdd - 80093b8: e6da b.n 8009170 - 80093ba: 4c7e ldr r4, [pc, #504] ; (80095b4 ) - 80093bc: 7903 ldrb r3, [r0, #4] - 80093be: f88d 3004 strb.w r3, [sp, #4] - 80093c2: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 80093c6: f894 307c ldrb.w r3, [r4, #124] ; 0x7c - 80093ca: f88d 3006 strb.w r3, [sp, #6] - 80093ce: 2205 movs r2, #5 - 80093d0: a901 add r1, sp, #4 - 80093d2: f001 fb0a bl 800a9ea - 80093d6: 2800 cmp r0, #0 - 80093d8: f43f ae6d beq.w 80090b6 - 80093dc: f89d 3004 ldrb.w r3, [sp, #4] - 80093e0: f884 3039 strb.w r3, [r4, #57] ; 0x39 - 80093e4: e6c4 b.n 8009170 - 80093e6: 4c73 ldr r4, [pc, #460] ; (80095b4 ) - 80093e8: 7903 ldrb r3, [r0, #4] - 80093ea: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 80093ee: f88d 3004 strb.w r3, [sp, #4] - 80093f2: 220a movs r2, #10 - 80093f4: a901 add r1, sp, #4 - 80093f6: f001 faf8 bl 800a9ea - 80093fa: 2800 cmp r0, #0 - 80093fc: f43f ae5b beq.w 80090b6 - 8009400: f89d 3004 ldrb.w r3, [sp, #4] - 8009404: f884 30dc strb.w r3, [r4, #220] ; 0xdc - 8009408: e6b2 b.n 8009170 - 800940a: 4c6a ldr r4, [pc, #424] ; (80095b4 ) - 800940c: 7903 ldrb r3, [r0, #4] - 800940e: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8009412: f88d 3004 strb.w r3, [sp, #4] - 8009416: 2209 movs r2, #9 - 8009418: a901 add r1, sp, #4 - 800941a: f001 fae6 bl 800a9ea - 800941e: 2800 cmp r0, #0 - 8009420: f43f ae49 beq.w 80090b6 - 8009424: f89d 3004 ldrb.w r3, [sp, #4] - 8009428: f884 3038 strb.w r3, [r4, #56] ; 0x38 - 800942c: e6a0 b.n 8009170 - 800942e: 4b61 ldr r3, [pc, #388] ; (80095b4 ) - 8009430: 6842 ldr r2, [r0, #4] - 8009432: f8c3 2094 str.w r2, [r3, #148] ; 0x94 - 8009436: 64da str r2, [r3, #76] ; 0x4c - 8009438: e69a b.n 8009170 - 800943a: 4b5e ldr r3, [pc, #376] ; (80095b4 ) - 800943c: 7902 ldrb r2, [r0, #4] - 800943e: f883 2098 strb.w r2, [r3, #152] ; 0x98 - 8009442: f883 2050 strb.w r2, [r3, #80] ; 0x50 - 8009446: e693 b.n 8009170 - 8009448: 4b5a ldr r3, [pc, #360] ; (80095b4 ) - 800944a: 6842 ldr r2, [r0, #4] - 800944c: f8c3 2084 str.w r2, [r3, #132] ; 0x84 - 8009450: e68e b.n 8009170 - 8009452: 4b58 ldr r3, [pc, #352] ; (80095b4 ) - 8009454: 6842 ldr r2, [r0, #4] - 8009456: f8c3 20cc str.w r2, [r3, #204] ; 0xcc - 800945a: e689 b.n 8009170 - 800945c: 2b01 cmp r3, #1 - 800945e: f040 80a4 bne.w 80095aa - 8009462: 4c55 ldr r4, [pc, #340] ; (80095b8 ) - 8009464: 2124 movs r1, #36 ; 0x24 - 8009466: 4620 mov r0, r4 - 8009468: f003 fa4e bl 800c908 - 800946c: 6a63 ldr r3, [r4, #36] ; 0x24 - 800946e: 4298 cmp r0, r3 - 8009470: d001 beq.n 8009476 - 8009472: 2017 movs r0, #23 - 8009474: e620 b.n 80090b8 - 8009476: 211c movs r1, #28 - 8009478: f104 0028 add.w r0, r4, #40 ; 0x28 - 800947c: f003 fa44 bl 800c908 - 8009480: 6c63 ldr r3, [r4, #68] ; 0x44 + 8009148: 02680268 .word 0x02680268 + 800914c: 02680268 .word 0x02680268 + 8009150: 02680268 .word 0x02680268 + 8009154: 02680268 .word 0x02680268 + 8009158: 02680268 .word 0x02680268 + 800915c: 023b0236 .word 0x023b0236 + 8009160: 02450240 .word 0x02450240 + 8009164: 024f024a .word 0x024f024a + 8009168: 025e0254 .word 0x025e0254 + 800916c: 7900 ldrb r0, [r0, #4] + 800916e: f7fe f8c1 bl 80072f4 + 8009172: 2800 cmp r0, #0 + 8009174: d1aa bne.n 80090cc + 8009176: e005 b.n 8009184 + 8009178: 7903 ldrb r3, [r0, #4] + 800917a: 2b02 cmp r3, #2 + 800917c: d0a5 beq.n 80090ca + 800917e: 4a7a ldr r2, [pc, #488] ; (8009368 ) + 8009180: f882 3130 strb.w r3, [r2, #304] ; 0x130 + 8009184: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 + 8009188: f043 0320 orr.w r3, r3, #32 + 800918c: f885 3491 strb.w r3, [r5, #1169] ; 0x491 + 8009190: 2000 movs r0, #0 + 8009192: e79b b.n 80090cc + 8009194: 6840 ldr r0, [r0, #4] + 8009196: f003 fa81 bl 800c69c + 800919a: 2800 cmp r0, #0 + 800919c: d0f2 beq.n 8009184 + 800919e: e794 b.n 80090ca + 80091a0: 6840 ldr r0, [r0, #4] + 80091a2: f003 fabf bl 800c724 + 80091a6: e7f8 b.n 800919a + 80091a8: 4b6f ldr r3, [pc, #444] ; (8009368 ) + 80091aa: 7902 ldrb r2, [r0, #4] + 80091ac: f883 211a strb.w r2, [r3, #282] ; 0x11a + 80091b0: e7e8 b.n 8009184 + 80091b2: 4b6d ldr r3, [pc, #436] ; (8009368 ) + 80091b4: 6842 ldr r2, [r0, #4] + 80091b6: f8c3 20e0 str.w r2, [r3, #224] ; 0xe0 + 80091ba: e7e3 b.n 8009184 + 80091bc: 4e6a ldr r6, [pc, #424] ; (8009368 ) + 80091be: 6841 ldr r1, [r0, #4] + 80091c0: f896 0130 ldrb.w r0, [r6, #304] ; 0x130 + 80091c4: f003 facc bl 800c760 + 80091c8: 2800 cmp r0, #0 + 80091ca: f47f af7e bne.w 80090ca + 80091ce: 6863 ldr r3, [r4, #4] + 80091d0: f8c6 30e4 str.w r3, [r6, #228] ; 0xe4 + 80091d4: e7d6 b.n 8009184 + 80091d6: 6841 ldr r1, [r0, #4] + 80091d8: 2900 cmp r1, #0 + 80091da: f43f af76 beq.w 80090ca + 80091de: 2000 movs r0, #0 + 80091e0: f001 f9ee bl 800a5c0 + 80091e4: 2800 cmp r0, #0 + 80091e6: d0cd beq.n 8009184 + 80091e8: 2011 movs r0, #17 + 80091ea: e76f b.n 80090cc + 80091ec: 6841 ldr r1, [r0, #4] + 80091ee: 2900 cmp r1, #0 + 80091f0: f43f af6b beq.w 80090ca + 80091f4: 2001 movs r0, #1 + 80091f6: e7f3 b.n 80091e0 + 80091f8: 6841 ldr r1, [r0, #4] + 80091fa: 2900 cmp r1, #0 + 80091fc: f43f af65 beq.w 80090ca + 8009200: 2008 movs r0, #8 + 8009202: e7ed b.n 80091e0 + 8009204: 6841 ldr r1, [r0, #4] + 8009206: 2900 cmp r1, #0 + 8009208: f43f af5f beq.w 80090ca + 800920c: 2009 movs r0, #9 + 800920e: e7e7 b.n 80091e0 + 8009210: 6841 ldr r1, [r0, #4] + 8009212: 2900 cmp r1, #0 + 8009214: f43f af59 beq.w 80090ca + 8009218: 200c movs r0, #12 + 800921a: e7e1 b.n 80091e0 + 800921c: 6841 ldr r1, [r0, #4] + 800921e: 2900 cmp r1, #0 + 8009220: f43f af53 beq.w 80090ca + 8009224: 200d movs r0, #13 + 8009226: e7db b.n 80091e0 + 8009228: 6841 ldr r1, [r0, #4] + 800922a: 2900 cmp r1, #0 + 800922c: f43f af4d beq.w 80090ca + 8009230: 200e movs r0, #14 + 8009232: e7d5 b.n 80091e0 + 8009234: 6841 ldr r1, [r0, #4] + 8009236: 2900 cmp r1, #0 + 8009238: f43f af47 beq.w 80090ca + 800923c: 200f movs r0, #15 + 800923e: e7cf b.n 80091e0 + 8009240: 4c4a ldr r4, [pc, #296] ; (800936c ) + 8009242: 4b49 ldr r3, [pc, #292] ; (8009368 ) + 8009244: 7900 ldrb r0, [r0, #4] + 8009246: f883 0119 strb.w r0, [r3, #281] ; 0x119 + 800924a: 6da3 ldr r3, [r4, #88] ; 0x58 + 800924c: 4798 blx r3 + 800924e: 6ae3 ldr r3, [r4, #44] ; 0x2c + 8009250: 4798 blx r3 + 8009252: e797 b.n 8009184 + 8009254: 4b44 ldr r3, [pc, #272] ; (8009368 ) + 8009256: 7902 ldrb r2, [r0, #4] + 8009258: f883 208c strb.w r2, [r3, #140] ; 0x8c + 800925c: e792 b.n 8009184 + 800925e: 4e42 ldr r6, [pc, #264] ; (8009368 ) + 8009260: 7a03 ldrb r3, [r0, #8] + 8009262: f88d 3004 strb.w r3, [sp, #4] + 8009266: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 800926a: f896 307d ldrb.w r3, [r6, #125] ; 0x7d + 800926e: f88d 3005 strb.w r3, [sp, #5] + 8009272: 2207 movs r2, #7 + 8009274: a901 add r1, sp, #4 + 8009276: f001 fbc2 bl 800a9fe + 800927a: 2800 cmp r0, #0 + 800927c: f43f af25 beq.w 80090ca + 8009280: 6863 ldr r3, [r4, #4] + 8009282: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8009286: 9301 str r3, [sp, #4] + 8009288: 2200 movs r2, #0 + 800928a: a901 add r1, sp, #4 + 800928c: f001 fbb7 bl 800a9fe + 8009290: 2800 cmp r0, #0 + 8009292: f43f af1a beq.w 80090ca + 8009296: 366c adds r6, #108 ; 0x6c + 8009298: e9d4 0101 ldrd r0, r1, [r4, #4] + 800929c: e886 0003 stmia.w r6, {r0, r1} + 80092a0: e770 b.n 8009184 + 80092a2: 4e31 ldr r6, [pc, #196] ; (8009368 ) + 80092a4: 7a03 ldrb r3, [r0, #8] + 80092a6: f88d 3004 strb.w r3, [sp, #4] + 80092aa: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 80092ae: f896 307d ldrb.w r3, [r6, #125] ; 0x7d + 80092b2: f88d 3005 strb.w r3, [sp, #5] + 80092b6: 2207 movs r2, #7 + 80092b8: a901 add r1, sp, #4 + 80092ba: f001 fba0 bl 800a9fe + 80092be: 2800 cmp r0, #0 + 80092c0: f43f af03 beq.w 80090ca + 80092c4: 36b4 adds r6, #180 ; 0xb4 + 80092c6: e7e7 b.n 8009298 + 80092c8: 4e27 ldr r6, [pc, #156] ; (8009368 ) + 80092ca: 7a03 ldrb r3, [r0, #8] + 80092cc: f88d 3004 strb.w r3, [sp, #4] + 80092d0: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 80092d4: f896 307d ldrb.w r3, [r6, #125] ; 0x7d + 80092d8: f88d 3005 strb.w r3, [sp, #5] + 80092dc: 2207 movs r2, #7 + 80092de: a901 add r1, sp, #4 + 80092e0: f001 fb8d bl 800a9fe + 80092e4: 2800 cmp r0, #0 + 80092e6: f43f aef0 beq.w 80090ca + 80092ea: e9d4 0101 ldrd r0, r1, [r4, #4] + 80092ee: f106 0374 add.w r3, r6, #116 ; 0x74 + 80092f2: e883 0003 stmia.w r3, {r0, r1} + 80092f6: f896 3118 ldrb.w r3, [r6, #280] ; 0x118 + 80092fa: 2b02 cmp r3, #2 + 80092fc: f47f af42 bne.w 8009184 + 8009300: f896 3130 ldrb.w r3, [r6, #304] ; 0x130 + 8009304: 2b00 cmp r3, #0 + 8009306: f43f af3d beq.w 8009184 + 800930a: 4b18 ldr r3, [pc, #96] ; (800936c ) + 800930c: 6adb ldr r3, [r3, #44] ; 0x2c + 800930e: 4798 blx r3 + 8009310: f7fd ff48 bl 80071a4 + 8009314: e736 b.n 8009184 + 8009316: 4e14 ldr r6, [pc, #80] ; (8009368 ) + 8009318: 7a03 ldrb r3, [r0, #8] + 800931a: f88d 3004 strb.w r3, [sp, #4] + 800931e: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8009322: f896 307d ldrb.w r3, [r6, #125] ; 0x7d + 8009326: f88d 3005 strb.w r3, [sp, #5] + 800932a: 2207 movs r2, #7 + 800932c: a901 add r1, sp, #4 + 800932e: f001 fb66 bl 800a9fe + 8009332: 2800 cmp r0, #0 + 8009334: f43f aec9 beq.w 80090ca + 8009338: 36bc adds r6, #188 ; 0xbc + 800933a: e7ad b.n 8009298 + 800933c: 6843 ldr r3, [r0, #4] + 800933e: 9302 str r3, [sp, #8] + 8009340: 2301 movs r3, #1 + 8009342: f88d 300c strb.w r3, [sp, #12] + 8009346: 4b08 ldr r3, [pc, #32] ; (8009368 ) + 8009348: a902 add r1, sp, #8 + 800934a: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 + 800934e: f001 fb63 bl 800aa18 + 8009352: 2800 cmp r0, #0 + 8009354: f47f af16 bne.w 8009184 + 8009358: e6b7 b.n 80090ca + 800935a: 6843 ldr r3, [r0, #4] + 800935c: 9302 str r3, [sp, #8] + 800935e: 2300 movs r3, #0 + 8009360: e7ef b.n 8009342 + 8009362: bf00 nop + 8009364: 200011c8 .word 0x200011c8 + 8009368: 20000c00 .word 0x20000c00 + 800936c: 080101ec .word 0x080101ec + 8009370: 7903 ldrb r3, [r0, #4] + 8009372: 1e5a subs r2, r3, #1 + 8009374: 2a0e cmp r2, #14 + 8009376: f63f aea8 bhi.w 80090ca + 800937a: 4a93 ldr r2, [pc, #588] ; (80095c8 ) + 800937c: f882 3068 strb.w r3, [r2, #104] ; 0x68 + 8009380: e700 b.n 8009184 + 8009382: 4b91 ldr r3, [pc, #580] ; (80095c8 ) + 8009384: 6842 ldr r2, [r0, #4] + 8009386: 655a str r2, [r3, #84] ; 0x54 + 8009388: e6fc b.n 8009184 + 800938a: 4b8f ldr r3, [pc, #572] ; (80095c8 ) + 800938c: 6842 ldr r2, [r0, #4] + 800938e: 659a str r2, [r3, #88] ; 0x58 + 8009390: e6f8 b.n 8009184 + 8009392: 4b8d ldr r3, [pc, #564] ; (80095c8 ) + 8009394: 6842 ldr r2, [r0, #4] + 8009396: 65da str r2, [r3, #92] ; 0x5c + 8009398: e6f4 b.n 8009184 + 800939a: 4b8b ldr r3, [pc, #556] ; (80095c8 ) + 800939c: 6842 ldr r2, [r0, #4] + 800939e: 661a str r2, [r3, #96] ; 0x60 + 80093a0: e6f0 b.n 8009184 + 80093a2: 4b89 ldr r3, [pc, #548] ; (80095c8 ) + 80093a4: 6842 ldr r2, [r0, #4] + 80093a6: 665a str r2, [r3, #100] ; 0x64 + 80093a8: e6ec b.n 8009184 + 80093aa: 4c87 ldr r4, [pc, #540] ; (80095c8 ) + 80093ac: 7903 ldrb r3, [r0, #4] + 80093ae: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 80093b2: f88d 3004 strb.w r3, [sp, #4] + 80093b6: 2206 movs r2, #6 + 80093b8: a901 add r1, sp, #4 + 80093ba: f001 fb20 bl 800a9fe + 80093be: 2800 cmp r0, #0 + 80093c0: f43f ae83 beq.w 80090ca + 80093c4: f89d 3004 ldrb.w r3, [sp, #4] + 80093c8: f884 30dd strb.w r3, [r4, #221] ; 0xdd + 80093cc: e6da b.n 8009184 + 80093ce: 4c7e ldr r4, [pc, #504] ; (80095c8 ) + 80093d0: 7903 ldrb r3, [r0, #4] + 80093d2: f88d 3004 strb.w r3, [sp, #4] + 80093d6: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 80093da: f894 307c ldrb.w r3, [r4, #124] ; 0x7c + 80093de: f88d 3006 strb.w r3, [sp, #6] + 80093e2: 2205 movs r2, #5 + 80093e4: a901 add r1, sp, #4 + 80093e6: f001 fb0a bl 800a9fe + 80093ea: 2800 cmp r0, #0 + 80093ec: f43f ae6d beq.w 80090ca + 80093f0: f89d 3004 ldrb.w r3, [sp, #4] + 80093f4: f884 3039 strb.w r3, [r4, #57] ; 0x39 + 80093f8: e6c4 b.n 8009184 + 80093fa: 4c73 ldr r4, [pc, #460] ; (80095c8 ) + 80093fc: 7903 ldrb r3, [r0, #4] + 80093fe: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8009402: f88d 3004 strb.w r3, [sp, #4] + 8009406: 220a movs r2, #10 + 8009408: a901 add r1, sp, #4 + 800940a: f001 faf8 bl 800a9fe + 800940e: 2800 cmp r0, #0 + 8009410: f43f ae5b beq.w 80090ca + 8009414: f89d 3004 ldrb.w r3, [sp, #4] + 8009418: f884 30dc strb.w r3, [r4, #220] ; 0xdc + 800941c: e6b2 b.n 8009184 + 800941e: 4c6a ldr r4, [pc, #424] ; (80095c8 ) + 8009420: 7903 ldrb r3, [r0, #4] + 8009422: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8009426: f88d 3004 strb.w r3, [sp, #4] + 800942a: 2209 movs r2, #9 + 800942c: a901 add r1, sp, #4 + 800942e: f001 fae6 bl 800a9fe + 8009432: 2800 cmp r0, #0 + 8009434: f43f ae49 beq.w 80090ca + 8009438: f89d 3004 ldrb.w r3, [sp, #4] + 800943c: f884 3038 strb.w r3, [r4, #56] ; 0x38 + 8009440: e6a0 b.n 8009184 + 8009442: 4b61 ldr r3, [pc, #388] ; (80095c8 ) + 8009444: 6842 ldr r2, [r0, #4] + 8009446: f8c3 2094 str.w r2, [r3, #148] ; 0x94 + 800944a: 64da str r2, [r3, #76] ; 0x4c + 800944c: e69a b.n 8009184 + 800944e: 4b5e ldr r3, [pc, #376] ; (80095c8 ) + 8009450: 7902 ldrb r2, [r0, #4] + 8009452: f883 2098 strb.w r2, [r3, #152] ; 0x98 + 8009456: f883 2050 strb.w r2, [r3, #80] ; 0x50 + 800945a: e693 b.n 8009184 + 800945c: 4b5a ldr r3, [pc, #360] ; (80095c8 ) + 800945e: 6842 ldr r2, [r0, #4] + 8009460: f8c3 2084 str.w r2, [r3, #132] ; 0x84 + 8009464: e68e b.n 8009184 + 8009466: 4b58 ldr r3, [pc, #352] ; (80095c8 ) + 8009468: 6842 ldr r2, [r0, #4] + 800946a: f8c3 20cc str.w r2, [r3, #204] ; 0xcc + 800946e: e689 b.n 8009184 + 8009470: 2b01 cmp r3, #1 + 8009472: f040 80a4 bne.w 80095be + 8009476: 4c55 ldr r4, [pc, #340] ; (80095cc ) + 8009478: 2124 movs r1, #36 ; 0x24 + 800947a: 4620 mov r0, r4 + 800947c: f003 fa4e bl 800c91c + 8009480: 6a63 ldr r3, [r4, #36] ; 0x24 8009482: 4298 cmp r0, r3 - 8009484: d1f5 bne.n 8009472 - 8009486: f44f 7180 mov.w r1, #256 ; 0x100 - 800948a: f104 0048 add.w r0, r4, #72 ; 0x48 - 800948e: f003 fa3b bl 800c908 - 8009492: f8d4 3148 ldr.w r3, [r4, #328] ; 0x148 + 8009484: d001 beq.n 800948a + 8009486: 2017 movs r0, #23 + 8009488: e620 b.n 80090cc + 800948a: 211c movs r1, #28 + 800948c: f104 0028 add.w r0, r4, #40 ; 0x28 + 8009490: f003 fa44 bl 800c91c + 8009494: 6c63 ldr r3, [r4, #68] ; 0x44 8009496: 4298 cmp r0, r3 - 8009498: d1eb bne.n 8009472 - 800949a: 21d4 movs r1, #212 ; 0xd4 - 800949c: f504 70a6 add.w r0, r4, #332 ; 0x14c - 80094a0: f003 fa32 bl 800c908 - 80094a4: f8d4 3220 ldr.w r3, [r4, #544] ; 0x220 - 80094a8: 4298 cmp r0, r3 - 80094aa: d1e2 bne.n 8009472 - 80094ac: 2100 movs r1, #0 - 80094ae: f504 7009 add.w r0, r4, #548 ; 0x224 - 80094b2: f003 fa29 bl 800c908 - 80094b6: f8d4 3224 ldr.w r3, [r4, #548] ; 0x224 - 80094ba: 4298 cmp r0, r3 - 80094bc: d1d9 bne.n 8009472 - 80094be: f44f 7160 mov.w r1, #896 ; 0x380 - 80094c2: f504 700a add.w r0, r4, #552 ; 0x228 - 80094c6: f003 fa1f bl 800c908 - 80094ca: f8d4 35a8 ldr.w r3, [r4, #1448] ; 0x5a8 + 8009498: d1f5 bne.n 8009486 + 800949a: f44f 7180 mov.w r1, #256 ; 0x100 + 800949e: f104 0048 add.w r0, r4, #72 ; 0x48 + 80094a2: f003 fa3b bl 800c91c + 80094a6: f8d4 3148 ldr.w r3, [r4, #328] ; 0x148 + 80094aa: 4298 cmp r0, r3 + 80094ac: d1eb bne.n 8009486 + 80094ae: 21d4 movs r1, #212 ; 0xd4 + 80094b0: f504 70a6 add.w r0, r4, #332 ; 0x14c + 80094b4: f003 fa32 bl 800c91c + 80094b8: f8d4 3220 ldr.w r3, [r4, #544] ; 0x220 + 80094bc: 4298 cmp r0, r3 + 80094be: d1e2 bne.n 8009486 + 80094c0: 2100 movs r1, #0 + 80094c2: f504 7009 add.w r0, r4, #548 ; 0x224 + 80094c6: f003 fa29 bl 800c91c + 80094ca: f8d4 3224 ldr.w r3, [r4, #548] ; 0x224 80094ce: 4298 cmp r0, r3 - 80094d0: d1cf bne.n 8009472 - 80094d2: 2114 movs r1, #20 - 80094d4: f204 50ac addw r0, r4, #1452 ; 0x5ac - 80094d8: f003 fa16 bl 800c908 - 80094dc: f8d4 35c0 ldr.w r3, [r4, #1472] ; 0x5c0 - 80094e0: 4298 cmp r0, r3 - 80094e2: d1c6 bne.n 8009472 - 80094e4: 4e33 ldr r6, [pc, #204] ; (80095b4 ) - 80094e6: 4621 mov r1, r4 - 80094e8: 4630 mov r0, r6 - 80094ea: f240 52c4 movw r2, #1476 ; 0x5c4 - 80094ee: f003 f9f5 bl 800c8dc - 80094f2: 4620 mov r0, r4 - 80094f4: f240 52c4 movw r2, #1476 ; 0x5c4 - 80094f8: 2100 movs r1, #0 - 80094fa: f003 fa03 bl 800c904 - 80094fe: f895 341b ldrb.w r3, [r5, #1051] ; 0x41b - 8009502: f885 33e8 strb.w r3, [r5, #1000] ; 0x3e8 - 8009506: 6f73 ldr r3, [r6, #116] ; 0x74 - 8009508: f8c5 33ec str.w r3, [r5, #1004] ; 0x3ec - 800950c: f896 307d ldrb.w r3, [r6, #125] ; 0x7d - 8009510: f885 33f8 strb.w r3, [r5, #1016] ; 0x3f8 - 8009514: f240 2301 movw r3, #513 ; 0x201 - 8009518: f8a5 33fa strh.w r3, [r5, #1018] ; 0x3fa - 800951c: 4b27 ldr r3, [pc, #156] ; (80095bc ) - 800951e: f896 0119 ldrb.w r0, [r6, #281] ; 0x119 - 8009522: 6d9b ldr r3, [r3, #88] ; 0x58 - 8009524: 4798 blx r3 - 8009526: e623 b.n 8009170 - 8009528: 7983 ldrb r3, [r0, #6] - 800952a: 2b01 cmp r3, #1 - 800952c: f63f adc3 bhi.w 80090b6 - 8009530: 4b20 ldr r3, [pc, #128] ; (80095b4 ) - 8009532: 6842 ldr r2, [r0, #4] - 8009534: 6840 ldr r0, [r0, #4] - 8009536: f8c3 212c str.w r2, [r3, #300] ; 0x12c - 800953a: f000 fed1 bl 800a2e0 - 800953e: e647 b.n 80091d0 - 8009540: 4b1c ldr r3, [pc, #112] ; (80095b4 ) - 8009542: 6842 ldr r2, [r0, #4] - 8009544: f8c3 2090 str.w r2, [r3, #144] ; 0x90 - 8009548: e612 b.n 8009170 - 800954a: 4b1a ldr r3, [pc, #104] ; (80095b4 ) - 800954c: 7902 ldrb r2, [r0, #4] - 800954e: f883 211f strb.w r2, [r3, #287] ; 0x11f - 8009552: e60d b.n 8009170 - 8009554: 4b17 ldr r3, [pc, #92] ; (80095b4 ) - 8009556: 8882 ldrh r2, [r0, #4] - 8009558: f8a3 2088 strh.w r2, [r3, #136] ; 0x88 - 800955c: e608 b.n 8009170 - 800955e: 4b15 ldr r3, [pc, #84] ; (80095b4 ) - 8009560: 8882 ldrh r2, [r0, #4] - 8009562: f8a3 208a strh.w r2, [r3, #138] ; 0x8a - 8009566: e603 b.n 8009170 - 8009568: 4b12 ldr r3, [pc, #72] ; (80095b4 ) + 80094d0: d1d9 bne.n 8009486 + 80094d2: f44f 7160 mov.w r1, #896 ; 0x380 + 80094d6: f504 700a add.w r0, r4, #552 ; 0x228 + 80094da: f003 fa1f bl 800c91c + 80094de: f8d4 35a8 ldr.w r3, [r4, #1448] ; 0x5a8 + 80094e2: 4298 cmp r0, r3 + 80094e4: d1cf bne.n 8009486 + 80094e6: 2114 movs r1, #20 + 80094e8: f204 50ac addw r0, r4, #1452 ; 0x5ac + 80094ec: f003 fa16 bl 800c91c + 80094f0: f8d4 35c0 ldr.w r3, [r4, #1472] ; 0x5c0 + 80094f4: 4298 cmp r0, r3 + 80094f6: d1c6 bne.n 8009486 + 80094f8: 4e33 ldr r6, [pc, #204] ; (80095c8 ) + 80094fa: 4621 mov r1, r4 + 80094fc: 4630 mov r0, r6 + 80094fe: f240 52c4 movw r2, #1476 ; 0x5c4 + 8009502: f003 f9f5 bl 800c8f0 + 8009506: 4620 mov r0, r4 + 8009508: f240 52c4 movw r2, #1476 ; 0x5c4 + 800950c: 2100 movs r1, #0 + 800950e: f003 fa03 bl 800c918 + 8009512: f895 341b ldrb.w r3, [r5, #1051] ; 0x41b + 8009516: f885 33e8 strb.w r3, [r5, #1000] ; 0x3e8 + 800951a: 6f73 ldr r3, [r6, #116] ; 0x74 + 800951c: f8c5 33ec str.w r3, [r5, #1004] ; 0x3ec + 8009520: f896 307d ldrb.w r3, [r6, #125] ; 0x7d + 8009524: f885 33f8 strb.w r3, [r5, #1016] ; 0x3f8 + 8009528: f240 2301 movw r3, #513 ; 0x201 + 800952c: f8a5 33fa strh.w r3, [r5, #1018] ; 0x3fa + 8009530: 4b27 ldr r3, [pc, #156] ; (80095d0 ) + 8009532: f896 0119 ldrb.w r0, [r6, #281] ; 0x119 + 8009536: 6d9b ldr r3, [r3, #88] ; 0x58 + 8009538: 4798 blx r3 + 800953a: e623 b.n 8009184 + 800953c: 7983 ldrb r3, [r0, #6] + 800953e: 2b01 cmp r3, #1 + 8009540: f63f adc3 bhi.w 80090ca + 8009544: 4b20 ldr r3, [pc, #128] ; (80095c8 ) + 8009546: 6842 ldr r2, [r0, #4] + 8009548: 6840 ldr r0, [r0, #4] + 800954a: f8c3 212c str.w r2, [r3, #300] ; 0x12c + 800954e: f000 fed1 bl 800a2f4 + 8009552: e647 b.n 80091e4 + 8009554: 4b1c ldr r3, [pc, #112] ; (80095c8 ) + 8009556: 6842 ldr r2, [r0, #4] + 8009558: f8c3 2090 str.w r2, [r3, #144] ; 0x90 + 800955c: e612 b.n 8009184 + 800955e: 4b1a ldr r3, [pc, #104] ; (80095c8 ) + 8009560: 7902 ldrb r2, [r0, #4] + 8009562: f883 211f strb.w r2, [r3, #287] ; 0x11f + 8009566: e60d b.n 8009184 + 8009568: 4b17 ldr r3, [pc, #92] ; (80095c8 ) 800956a: 8882 ldrh r2, [r0, #4] - 800956c: f8a3 20d0 strh.w r2, [r3, #208] ; 0xd0 - 8009570: e5fe b.n 8009170 - 8009572: 4b10 ldr r3, [pc, #64] ; (80095b4 ) + 800956c: f8a3 2088 strh.w r2, [r3, #136] ; 0x88 + 8009570: e608 b.n 8009184 + 8009572: 4b15 ldr r3, [pc, #84] ; (80095c8 ) 8009574: 8882 ldrh r2, [r0, #4] - 8009576: f8a3 20d2 strh.w r2, [r3, #210] ; 0xd2 - 800957a: e5f9 b.n 8009170 - 800957c: 4b0d ldr r3, [pc, #52] ; (80095b4 ) - 800957e: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 8009582: b10a cbz r2, 8009588 - 8009584: 2a06 cmp r2, #6 - 8009586: d112 bne.n 80095ae - 8009588: 88a2 ldrh r2, [r4, #4] - 800958a: f8a3 25a0 strh.w r2, [r3, #1440] ; 0x5a0 - 800958e: e5ef b.n 8009170 - 8009590: 4b08 ldr r3, [pc, #32] ; (80095b4 ) + 8009576: f8a3 208a strh.w r2, [r3, #138] ; 0x8a + 800957a: e603 b.n 8009184 + 800957c: 4b12 ldr r3, [pc, #72] ; (80095c8 ) + 800957e: 8882 ldrh r2, [r0, #4] + 8009580: f8a3 20d0 strh.w r2, [r3, #208] ; 0xd0 + 8009584: e5fe b.n 8009184 + 8009586: 4b10 ldr r3, [pc, #64] ; (80095c8 ) + 8009588: 8882 ldrh r2, [r0, #4] + 800958a: f8a3 20d2 strh.w r2, [r3, #210] ; 0xd2 + 800958e: e5f9 b.n 8009184 + 8009590: 4b0d ldr r3, [pc, #52] ; (80095c8 ) 8009592: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 8009596: b10a cbz r2, 800959c + 8009596: b10a cbz r2, 800959c 8009598: 2a06 cmp r2, #6 - 800959a: d108 bne.n 80095ae - 800959c: 6862 ldr r2, [r4, #4] - 800959e: f8c3 25a4 str.w r2, [r3, #1444] ; 0x5a4 - 80095a2: e5e5 b.n 8009170 - 80095a4: f000 fb99 bl 8009cda - 80095a8: e5d9 b.n 800915e - 80095aa: 2001 movs r0, #1 - 80095ac: e584 b.n 80090b8 - 80095ae: 2018 movs r0, #24 - 80095b0: e582 b.n 80090b8 - 80095b2: bf00 nop - 80095b4: 20000c00 .word 0x20000c00 - 80095b8: 2000063c .word 0x2000063c - 80095bc: 080101d4 .word 0x080101d4 + 800959a: d112 bne.n 80095c2 + 800959c: 88a2 ldrh r2, [r4, #4] + 800959e: f8a3 25a0 strh.w r2, [r3, #1440] ; 0x5a0 + 80095a2: e5ef b.n 8009184 + 80095a4: 4b08 ldr r3, [pc, #32] ; (80095c8 ) + 80095a6: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 80095aa: b10a cbz r2, 80095b0 + 80095ac: 2a06 cmp r2, #6 + 80095ae: d108 bne.n 80095c2 + 80095b0: 6862 ldr r2, [r4, #4] + 80095b2: f8c3 25a4 str.w r2, [r3, #1444] ; 0x5a4 + 80095b6: e5e5 b.n 8009184 + 80095b8: f000 fb99 bl 8009cee + 80095bc: e5d9 b.n 8009172 + 80095be: 2001 movs r0, #1 + 80095c0: e584 b.n 80090cc + 80095c2: 2018 movs r0, #24 + 80095c4: e582 b.n 80090cc + 80095c6: bf00 nop + 80095c8: 20000c00 .word 0x20000c00 + 80095cc: 2000063c .word 0x2000063c + 80095d0: 080101ec .word 0x080101ec -080095c0 : - 80095c0: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 80095c4: b087 sub sp, #28 - 80095c6: 2300 movs r3, #0 - 80095c8: f8ad 3000 strh.w r3, [sp] - 80095cc: 4606 mov r6, r0 - 80095ce: 2800 cmp r0, #0 - 80095d0: f000 80ed beq.w 80097ae - 80095d4: 6103 str r3, [r0, #16] - 80095d6: f7fe fd3d bl 8008054 - 80095da: b120 cbz r0, 80095e6 - 80095dc: 2401 movs r4, #1 - 80095de: 4620 mov r0, r4 - 80095e0: b007 add sp, #28 - 80095e2: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 80095e6: f000 fd73 bl 800a0d0 - 80095ea: 2800 cmp r0, #0 - 80095ec: d1f6 bne.n 80095dc - 80095ee: f000 fd69 bl 800a0c4 - 80095f2: 4601 mov r1, r0 - 80095f4: b918 cbnz r0, 80095fe - 80095f6: 486f ldr r0, [pc, #444] ; (80097b4 ) - 80095f8: 2214 movs r2, #20 - 80095fa: f003 f983 bl 800c904 - 80095fe: 4d6e ldr r5, [pc, #440] ; (80097b8 ) - 8009600: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 - 8009604: 2201 movs r2, #1 - 8009606: f043 0304 orr.w r3, r3, #4 - 800960a: f885 2455 strb.w r2, [r5, #1109] ; 0x455 - 800960e: f885 3491 strb.w r3, [r5, #1169] ; 0x491 - 8009612: 7833 ldrb r3, [r6, #0] - 8009614: f88d 3004 strb.w r3, [sp, #4] - 8009618: 2100 movs r1, #0 - 800961a: 3b01 subs r3, #1 - 800961c: f88d 2005 strb.w r2, [sp, #5] - 8009620: f8ad 1006 strh.w r1, [sp, #6] - 8009624: 2b0c cmp r3, #12 - 8009626: f200 80ba bhi.w 800979e - 800962a: e8df f003 tbb [pc, r3] - 800962e: b807 .short 0xb807 - 8009630: 8178b8b8 .word 0x8178b8b8 - 8009634: b88fb8b8 .word 0xb88fb8b8 - 8009638: 99ac .short 0x99ac - 800963a: a8 .byte 0xa8 - 800963b: 00 .byte 0x00 - 800963c: f8d5 7340 ldr.w r7, [r5, #832] ; 0x340 - 8009640: f017 0720 ands.w r7, r7, #32 - 8009644: d1ca bne.n 80095dc - 8009646: f896 8004 ldrb.w r8, [r6, #4] - 800964a: f1b8 0f02 cmp.w r8, #2 - 800964e: d145 bne.n 80096dc - 8009650: f8df 8168 ldr.w r8, [pc, #360] ; 80097bc - 8009654: 4c5a ldr r4, [pc, #360] ; (80097c0 ) - 8009656: f7fe f829 bl 80076ac - 800965a: f996 1005 ldrsb.w r1, [r6, #5] - 800965e: f898 0048 ldrb.w r0, [r8, #72] ; 0x48 - 8009662: 463a mov r2, r7 - 8009664: f001 fa1b bl 800aa9e - 8009668: f888 0039 strb.w r0, [r8, #57] ; 0x39 - 800966c: 79b3 ldrb r3, [r6, #6] - 800966e: f888 3038 strb.w r3, [r8, #56] ; 0x38 - 8009672: 4638 mov r0, r7 - 8009674: 2307 movs r3, #7 - 8009676: f88d 3005 strb.w r3, [sp, #5] - 800967a: f7fd fe31 bl 80072e0 - 800967e: 23ff movs r3, #255 ; 0xff - 8009680: f504 7086 add.w r0, r4, #268 ; 0x10c - 8009684: f8a5 310c strh.w r3, [r5, #268] ; 0x10c - 8009688: f8c5 4108 str.w r4, [r5, #264] ; 0x108 - 800968c: f885 7104 strb.w r7, [r5, #260] ; 0x104 - 8009690: f003 f84e bl 800c730 - 8009694: f504 708a add.w r0, r4, #276 ; 0x114 - 8009698: f003 f804 bl 800c6a4 - 800969c: 4638 mov r0, r7 - 800969e: f7fd fe8d bl 80073bc - 80096a2: 4604 mov r4, r0 - 80096a4: b140 cbz r0, 80096b8 - 80096a6: f996 1005 ldrsb.w r1, [r6, #5] - 80096aa: f898 0048 ldrb.w r0, [r8, #72] ; 0x48 - 80096ae: 2201 movs r2, #1 - 80096b0: f001 f9f5 bl 800aa9e - 80096b4: f888 0039 strb.w r0, [r8, #57] ; 0x39 - 80096b8: f8d5 3494 ldr.w r3, [r5, #1172] ; 0x494 - 80096bc: 6133 str r3, [r6, #16] - 80096be: 2c00 cmp r4, #0 - 80096c0: d071 beq.n 80097a6 - 80096c2: f000 fcff bl 800a0c4 - 80096c6: 2800 cmp r0, #0 - 80096c8: d189 bne.n 80095de - 80096ca: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 - 80096ce: f885 041a strb.w r0, [r5, #1050] ; 0x41a - 80096d2: f360 0382 bfi r3, r0, #2, #1 - 80096d6: f885 3491 strb.w r3, [r5, #1169] ; 0x491 - 80096da: e780 b.n 80095de - 80096dc: f1b8 0f01 cmp.w r8, #1 - 80096e0: f04f 0402 mov.w r4, #2 - 80096e4: d1e8 bne.n 80096b8 - 80096e6: f8df 90d4 ldr.w r9, [pc, #212] ; 80097bc - 80096ea: f88d 4014 strb.w r4, [sp, #20] - 80096ee: f899 0048 ldrb.w r0, [r9, #72] ; 0x48 - 80096f2: f889 711d strb.w r7, [r9, #285] ; 0x11d - 80096f6: a902 add r1, sp, #8 - 80096f8: f001 f972 bl 800a9e0 - 80096fc: 7933 ldrb r3, [r6, #4] - 80096fe: f889 3130 strb.w r3, [r9, #304] ; 0x130 - 8009702: f88d 7005 strb.w r7, [sp, #5] - 8009706: f88d 8006 strb.w r8, [sp, #6] - 800970a: f7fd fc85 bl 8007018 - 800970e: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 - 8009712: f043 0310 orr.w r3, r3, #16 - 8009716: f885 3491 strb.w r3, [r5, #1169] ; 0x491 - 800971a: 2400 movs r4, #0 - 800971c: e7cc b.n 80096b8 - 800971e: 2200 movs r2, #0 - 8009720: 4669 mov r1, sp - 8009722: 2002 movs r0, #2 - 8009724: f000 faf6 bl 8009d14 - 8009728: 2800 cmp r0, #0 - 800972a: d0f6 beq.n 800971a - 800972c: 2413 movs r4, #19 - 800972e: e7c3 b.n 80096b8 - 8009730: 4b24 ldr r3, [pc, #144] ; (80097c4 ) - 8009732: 88b2 ldrh r2, [r6, #4] - 8009734: 6bdb ldr r3, [r3, #60] ; 0x3c - 8009736: f996 100c ldrsb.w r1, [r6, #12] - 800973a: 68b0 ldr r0, [r6, #8] - 800973c: 4798 blx r3 - 800973e: f8d5 3340 ldr.w r3, [r5, #832] ; 0x340 - 8009742: f043 0302 orr.w r3, r3, #2 - 8009746: f8c5 3340 str.w r3, [r5, #832] ; 0x340 - 800974a: e7e6 b.n 800971a - 800974c: a902 add r1, sp, #8 - 800974e: 200d movs r0, #13 - 8009750: f000 fb60 bl 8009e14 - 8009754: 2800 cmp r0, #0 - 8009756: d0e0 beq.n 800971a - 8009758: 2200 movs r2, #0 - 800975a: 4669 mov r1, sp - 800975c: 200d movs r0, #13 - 800975e: e7e1 b.n 8009724 - 8009760: 4b16 ldr r3, [pc, #88] ; (80097bc ) - 8009762: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 - 8009766: b9d3 cbnz r3, 800979e - 8009768: 7934 ldrb r4, [r6, #4] - 800976a: f004 0007 and.w r0, r4, #7 - 800976e: f000 faad bl 8009ccc - 8009772: f88d 4000 strb.w r4, [sp] - 8009776: 2201 movs r2, #1 - 8009778: 4669 mov r1, sp - 800977a: 2010 movs r0, #16 - 800977c: e7d2 b.n 8009724 - 800977e: 2200 movs r2, #0 - 8009780: 4669 mov r1, sp - 8009782: 2012 movs r0, #18 - 8009784: e7ce b.n 8009724 - 8009786: f88d 2007 strb.w r2, [sp, #7] - 800978a: f000 fa90 bl 8009cae - 800978e: 4604 mov r4, r0 - 8009790: b938 cbnz r0, 80097a2 - 8009792: f000 fa89 bl 8009ca8 - 8009796: 4620 mov r0, r4 - 8009798: f000 fa8b bl 8009cb2 - 800979c: e78c b.n 80096b8 - 800979e: 2402 movs r4, #2 - 80097a0: e78a b.n 80096b8 - 80097a2: 2401 movs r4, #1 - 80097a4: e788 b.n 80096b8 - 80097a6: a801 add r0, sp, #4 - 80097a8: f000 fbde bl 8009f68 - 80097ac: e717 b.n 80095de - 80097ae: 2403 movs r4, #3 - 80097b0: e715 b.n 80095de - 80097b2: bf00 nop - 80097b4: 2000161c .word 0x2000161c - 80097b8: 200011c8 .word 0x200011c8 - 80097bc: 20000c00 .word 0x20000c00 - 80097c0: 200011ca .word 0x200011ca - 80097c4: 080101d4 .word 0x080101d4 +080095d4 : + 80095d4: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 80095d8: b087 sub sp, #28 + 80095da: 2300 movs r3, #0 + 80095dc: f8ad 3000 strh.w r3, [sp] + 80095e0: 4606 mov r6, r0 + 80095e2: 2800 cmp r0, #0 + 80095e4: f000 80ed beq.w 80097c2 + 80095e8: 6103 str r3, [r0, #16] + 80095ea: f7fe fd3d bl 8008068 + 80095ee: b120 cbz r0, 80095fa + 80095f0: 2401 movs r4, #1 + 80095f2: 4620 mov r0, r4 + 80095f4: b007 add sp, #28 + 80095f6: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 80095fa: f000 fd73 bl 800a0e4 + 80095fe: 2800 cmp r0, #0 + 8009600: d1f6 bne.n 80095f0 + 8009602: f000 fd69 bl 800a0d8 + 8009606: 4601 mov r1, r0 + 8009608: b918 cbnz r0, 8009612 + 800960a: 486f ldr r0, [pc, #444] ; (80097c8 ) + 800960c: 2214 movs r2, #20 + 800960e: f003 f983 bl 800c918 + 8009612: 4d6e ldr r5, [pc, #440] ; (80097cc ) + 8009614: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 + 8009618: 2201 movs r2, #1 + 800961a: f043 0304 orr.w r3, r3, #4 + 800961e: f885 2455 strb.w r2, [r5, #1109] ; 0x455 + 8009622: f885 3491 strb.w r3, [r5, #1169] ; 0x491 + 8009626: 7833 ldrb r3, [r6, #0] + 8009628: f88d 3004 strb.w r3, [sp, #4] + 800962c: 2100 movs r1, #0 + 800962e: 3b01 subs r3, #1 + 8009630: f88d 2005 strb.w r2, [sp, #5] + 8009634: f8ad 1006 strh.w r1, [sp, #6] + 8009638: 2b0c cmp r3, #12 + 800963a: f200 80ba bhi.w 80097b2 + 800963e: e8df f003 tbb [pc, r3] + 8009642: b807 .short 0xb807 + 8009644: 8178b8b8 .word 0x8178b8b8 + 8009648: b88fb8b8 .word 0xb88fb8b8 + 800964c: 99ac .short 0x99ac + 800964e: a8 .byte 0xa8 + 800964f: 00 .byte 0x00 + 8009650: f8d5 7340 ldr.w r7, [r5, #832] ; 0x340 + 8009654: f017 0720 ands.w r7, r7, #32 + 8009658: d1ca bne.n 80095f0 + 800965a: f896 8004 ldrb.w r8, [r6, #4] + 800965e: f1b8 0f02 cmp.w r8, #2 + 8009662: d145 bne.n 80096f0 + 8009664: f8df 8168 ldr.w r8, [pc, #360] ; 80097d0 + 8009668: 4c5a ldr r4, [pc, #360] ; (80097d4 ) + 800966a: f7fe f829 bl 80076c0 + 800966e: f996 1005 ldrsb.w r1, [r6, #5] + 8009672: f898 0048 ldrb.w r0, [r8, #72] ; 0x48 + 8009676: 463a mov r2, r7 + 8009678: f001 fa1b bl 800aab2 + 800967c: f888 0039 strb.w r0, [r8, #57] ; 0x39 + 8009680: 79b3 ldrb r3, [r6, #6] + 8009682: f888 3038 strb.w r3, [r8, #56] ; 0x38 + 8009686: 4638 mov r0, r7 + 8009688: 2307 movs r3, #7 + 800968a: f88d 3005 strb.w r3, [sp, #5] + 800968e: f7fd fe31 bl 80072f4 + 8009692: 23ff movs r3, #255 ; 0xff + 8009694: f504 7086 add.w r0, r4, #268 ; 0x10c + 8009698: f8a5 310c strh.w r3, [r5, #268] ; 0x10c + 800969c: f8c5 4108 str.w r4, [r5, #264] ; 0x108 + 80096a0: f885 7104 strb.w r7, [r5, #260] ; 0x104 + 80096a4: f003 f84e bl 800c744 + 80096a8: f504 708a add.w r0, r4, #276 ; 0x114 + 80096ac: f003 f804 bl 800c6b8 + 80096b0: 4638 mov r0, r7 + 80096b2: f7fd fe8d bl 80073d0 + 80096b6: 4604 mov r4, r0 + 80096b8: b140 cbz r0, 80096cc + 80096ba: f996 1005 ldrsb.w r1, [r6, #5] + 80096be: f898 0048 ldrb.w r0, [r8, #72] ; 0x48 + 80096c2: 2201 movs r2, #1 + 80096c4: f001 f9f5 bl 800aab2 + 80096c8: f888 0039 strb.w r0, [r8, #57] ; 0x39 + 80096cc: f8d5 3494 ldr.w r3, [r5, #1172] ; 0x494 + 80096d0: 6133 str r3, [r6, #16] + 80096d2: 2c00 cmp r4, #0 + 80096d4: d071 beq.n 80097ba + 80096d6: f000 fcff bl 800a0d8 + 80096da: 2800 cmp r0, #0 + 80096dc: d189 bne.n 80095f2 + 80096de: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 + 80096e2: f885 041a strb.w r0, [r5, #1050] ; 0x41a + 80096e6: f360 0382 bfi r3, r0, #2, #1 + 80096ea: f885 3491 strb.w r3, [r5, #1169] ; 0x491 + 80096ee: e780 b.n 80095f2 + 80096f0: f1b8 0f01 cmp.w r8, #1 + 80096f4: f04f 0402 mov.w r4, #2 + 80096f8: d1e8 bne.n 80096cc + 80096fa: f8df 90d4 ldr.w r9, [pc, #212] ; 80097d0 + 80096fe: f88d 4014 strb.w r4, [sp, #20] + 8009702: f899 0048 ldrb.w r0, [r9, #72] ; 0x48 + 8009706: f889 711d strb.w r7, [r9, #285] ; 0x11d + 800970a: a902 add r1, sp, #8 + 800970c: f001 f972 bl 800a9f4 + 8009710: 7933 ldrb r3, [r6, #4] + 8009712: f889 3130 strb.w r3, [r9, #304] ; 0x130 + 8009716: f88d 7005 strb.w r7, [sp, #5] + 800971a: f88d 8006 strb.w r8, [sp, #6] + 800971e: f7fd fc85 bl 800702c + 8009722: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 + 8009726: f043 0310 orr.w r3, r3, #16 + 800972a: f885 3491 strb.w r3, [r5, #1169] ; 0x491 + 800972e: 2400 movs r4, #0 + 8009730: e7cc b.n 80096cc + 8009732: 2200 movs r2, #0 + 8009734: 4669 mov r1, sp + 8009736: 2002 movs r0, #2 + 8009738: f000 faf6 bl 8009d28 + 800973c: 2800 cmp r0, #0 + 800973e: d0f6 beq.n 800972e + 8009740: 2413 movs r4, #19 + 8009742: e7c3 b.n 80096cc + 8009744: 4b24 ldr r3, [pc, #144] ; (80097d8 ) + 8009746: 88b2 ldrh r2, [r6, #4] + 8009748: 6bdb ldr r3, [r3, #60] ; 0x3c + 800974a: f996 100c ldrsb.w r1, [r6, #12] + 800974e: 68b0 ldr r0, [r6, #8] + 8009750: 4798 blx r3 + 8009752: f8d5 3340 ldr.w r3, [r5, #832] ; 0x340 + 8009756: f043 0302 orr.w r3, r3, #2 + 800975a: f8c5 3340 str.w r3, [r5, #832] ; 0x340 + 800975e: e7e6 b.n 800972e + 8009760: a902 add r1, sp, #8 + 8009762: 200d movs r0, #13 + 8009764: f000 fb60 bl 8009e28 + 8009768: 2800 cmp r0, #0 + 800976a: d0e0 beq.n 800972e + 800976c: 2200 movs r2, #0 + 800976e: 4669 mov r1, sp + 8009770: 200d movs r0, #13 + 8009772: e7e1 b.n 8009738 + 8009774: 4b16 ldr r3, [pc, #88] ; (80097d0 ) + 8009776: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 + 800977a: b9d3 cbnz r3, 80097b2 + 800977c: 7934 ldrb r4, [r6, #4] + 800977e: f004 0007 and.w r0, r4, #7 + 8009782: f000 faad bl 8009ce0 + 8009786: f88d 4000 strb.w r4, [sp] + 800978a: 2201 movs r2, #1 + 800978c: 4669 mov r1, sp + 800978e: 2010 movs r0, #16 + 8009790: e7d2 b.n 8009738 + 8009792: 2200 movs r2, #0 + 8009794: 4669 mov r1, sp + 8009796: 2012 movs r0, #18 + 8009798: e7ce b.n 8009738 + 800979a: f88d 2007 strb.w r2, [sp, #7] + 800979e: f000 fa90 bl 8009cc2 + 80097a2: 4604 mov r4, r0 + 80097a4: b938 cbnz r0, 80097b6 + 80097a6: f000 fa89 bl 8009cbc + 80097aa: 4620 mov r0, r4 + 80097ac: f000 fa8b bl 8009cc6 + 80097b0: e78c b.n 80096cc + 80097b2: 2402 movs r4, #2 + 80097b4: e78a b.n 80096cc + 80097b6: 2401 movs r4, #1 + 80097b8: e788 b.n 80096cc + 80097ba: a801 add r0, sp, #4 + 80097bc: f000 fbde bl 8009f7c + 80097c0: e717 b.n 80095f2 + 80097c2: 2403 movs r4, #3 + 80097c4: e715 b.n 80095f2 + 80097c6: bf00 nop + 80097c8: 2000161c .word 0x2000161c + 80097cc: 200011c8 .word 0x200011c8 + 80097d0: 20000c00 .word 0x20000c00 + 80097d4: 200011ca .word 0x200011ca + 80097d8: 080101ec .word 0x080101ec -080097c8 : - 80097c8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80097cc: b099 sub sp, #100 ; 0x64 - 80097ce: 4680 mov r8, r0 - 80097d0: 9105 str r1, [sp, #20] - 80097d2: b918 cbnz r0, 80097dc - 80097d4: 2003 movs r0, #3 - 80097d6: b019 add sp, #100 ; 0x64 - 80097d8: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80097dc: 2300 movs r3, #0 - 80097de: 6103 str r3, [r0, #16] - 80097e0: f7fe fc38 bl 8008054 - 80097e4: 4606 mov r6, r0 - 80097e6: 2800 cmp r0, #0 - 80097e8: f040 80ab bne.w 8009942 - 80097ec: 4645 mov r5, r8 - 80097ee: cd0f ldmia r5!, {r0, r1, r2, r3} - 80097f0: ac0e add r4, sp, #56 ; 0x38 - 80097f2: c40f stmia r4!, {r0, r1, r2, r3} - 80097f4: 4c5a ldr r4, [pc, #360] ; (8009960 ) - 80097f6: f898 a000 ldrb.w sl, [r8] - 80097fa: f8b8 700c ldrh.w r7, [r8, #12] - 80097fe: f998 b00e ldrsb.w fp, [r8, #14] - 8009802: 2214 movs r2, #20 - 8009804: f504 6088 add.w r0, r4, #1088 ; 0x440 - 8009808: 4631 mov r1, r6 - 800980a: f003 f87b bl 800c904 - 800980e: 2201 movs r2, #1 - 8009810: f884 2441 strb.w r2, [r4, #1089] ; 0x441 - 8009814: 4c53 ldr r4, [pc, #332] ; (8009964 ) - 8009816: f894 2130 ldrb.w r2, [r4, #304] ; 0x130 - 800981a: 2a02 cmp r2, #2 - 800981c: 4635 mov r5, r6 - 800981e: d10b bne.n 8009838 - 8009820: f894 2118 ldrb.w r2, [r4, #280] ; 0x118 - 8009824: 2a02 cmp r2, #2 - 8009826: d107 bne.n 8009838 - 8009828: f894 211e ldrb.w r2, [r4, #286] ; 0x11e - 800982c: b922 cbnz r2, 8009838 - 800982e: f1ba 0f01 cmp.w sl, #1 - 8009832: bf38 it cc - 8009834: f04f 0a01 movcc.w sl, #1 - 8009838: f1ba 0f01 cmp.w sl, #1 - 800983c: d02d beq.n 800989a - 800983e: f1ba 0f03 cmp.w sl, #3 - 8009842: d02c beq.n 800989e - 8009844: f1ba 0f00 cmp.w sl, #0 - 8009848: d135 bne.n 80098b6 - 800984a: 2202 movs r2, #2 - 800984c: f89d 303c ldrb.w r3, [sp, #60] ; 0x3c - 8009850: f8dd 9040 ldr.w r9, [sp, #64] ; 0x40 - 8009854: 9302 str r3, [sp, #8] - 8009856: f362 1547 bfi r5, r2, #5, #3 - 800985a: 2601 movs r6, #1 - 800985c: f894 107c ldrb.w r1, [r4, #124] ; 0x7c - 8009860: f88d 1032 strb.w r1, [sp, #50] ; 0x32 - 8009864: 2202 movs r2, #2 - 8009866: a90c add r1, sp, #48 ; 0x30 - 8009868: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 800986c: f88d 2030 strb.w r2, [sp, #48] ; 0x30 - 8009870: f001 f8a8 bl 800a9c4 - 8009874: f894 311a ldrb.w r3, [r4, #282] ; 0x11a - 8009878: f894 c130 ldrb.w ip, [r4, #304] ; 0x130 - 800987c: f894 111d ldrb.w r1, [r4, #285] ; 0x11d - 8009880: b240 sxtb r0, r0 - 8009882: 2202 movs r2, #2 - 8009884: 2b00 cmp r3, #0 - 8009886: d06f beq.n 8009968 - 8009888: f1bc 0f01 cmp.w ip, #1 - 800988c: d165 bne.n 800995a - 800988e: 2900 cmp r1, #0 - 8009890: d163 bne.n 800995a - 8009892: 2e00 cmp r6, #0 - 8009894: d16d bne.n 8009972 - 8009896: 4610 mov r0, r2 - 8009898: e027 b.n 80098ea - 800989a: 2204 movs r2, #4 - 800989c: e7d6 b.n 800984c - 800989e: 2300 movs r3, #0 - 80098a0: f8dd 903c ldr.w r9, [sp, #60] ; 0x3c - 80098a4: f8bd 7040 ldrh.w r7, [sp, #64] ; 0x40 - 80098a8: f99d b042 ldrsb.w fp, [sp, #66] ; 0x42 - 80098ac: 9302 str r3, [sp, #8] - 80098ae: f065 051f orn r5, r5, #31 - 80098b2: 2601 movs r6, #1 - 80098b4: e7d2 b.n 800985c - 80098b6: f04f 0b00 mov.w fp, #0 - 80098ba: 46d9 mov r9, fp - 80098bc: f8cd b008 str.w fp, [sp, #8] - 80098c0: e7cc b.n 800985c - 80098c2: f04f 0001 mov.w r0, #1 - 80098c6: f884 041a strb.w r0, [r4, #1050] ; 0x41a - 80098ca: e0dd b.n 8009a88 - 80098cc: f205 429a addw r2, r5, #1178 ; 0x49a - 80098d0: a90b add r1, sp, #44 ; 0x2c - 80098d2: f000 fadd bl 8009e90 - 80098d6: 2800 cmp r0, #0 - 80098d8: f000 8120 beq.w 8009b1c - 80098dc: 2013 movs r0, #19 - 80098de: 9b04 ldr r3, [sp, #16] - 80098e0: 8733 strh r3, [r6, #56] ; 0x38 - 80098e2: 4b1f ldr r3, [pc, #124] ; (8009960 ) - 80098e4: 2200 movs r2, #0 - 80098e6: f883 241a strb.w r2, [r3, #1050] ; 0x41a - 80098ea: 4b1d ldr r3, [pc, #116] ; (8009960 ) - 80098ec: f8d3 3494 ldr.w r3, [r3, #1172] ; 0x494 - 80098f0: f8c8 3010 str.w r3, [r8, #16] - 80098f4: e76f b.n 80097d6 - 80098f6: f205 459a addw r5, r5, #1178 ; 0x49a - 80098fa: 462a mov r2, r5 - 80098fc: a90b add r1, sp, #44 ; 0x2c - 80098fe: f000 fac7 bl 8009e90 - 8009902: 2800 cmp r0, #0 - 8009904: d1ea bne.n 80098dc - 8009906: 9b0b ldr r3, [sp, #44] ; 0x2c - 8009908: f884 0128 strb.w r0, [r4, #296] ; 0x128 - 800990c: f8c4 512c str.w r5, [r4, #300] ; 0x12c - 8009910: f884 3130 strb.w r3, [r4, #304] ; 0x130 - 8009914: e102 b.n 8009b1c - 8009916: f1b9 0f00 cmp.w r9, #0 - 800991a: f000 80ff beq.w 8009b1c - 800991e: 2a00 cmp r2, #0 - 8009920: f000 80fc beq.w 8009b1c - 8009924: 4649 mov r1, r9 - 8009926: 1ce0 adds r0, r4, #3 - 8009928: f002 ffd8 bl 800c8dc - 800992c: f894 3237 ldrb.w r3, [r4, #567] ; 0x237 - 8009930: 3301 adds r3, #1 - 8009932: 8023 strh r3, [r4, #0] - 8009934: e0f2 b.n 8009b1c - 8009936: 2012 movs r0, #18 - 8009938: e7d1 b.n 80098de - 800993a: 2002 movs r0, #2 - 800993c: e7cf b.n 80098de - 800993e: 2007 movs r0, #7 - 8009940: e7cf b.n 80098e2 - 8009942: 2001 movs r0, #1 - 8009944: e747 b.n 80097d6 - 8009946: 4b06 ldr r3, [pc, #24] ; (8009960 ) - 8009948: f893 2491 ldrb.w r2, [r3, #1169] ; 0x491 - 800994c: f883 a440 strb.w sl, [r3, #1088] ; 0x440 - 8009950: f042 0201 orr.w r2, r2, #1 - 8009954: f883 2491 strb.w r2, [r3, #1169] ; 0x491 - 8009958: e7c7 b.n 80098ea - 800995a: b9ee cbnz r6, 8009998 - 800995c: 2002 movs r0, #2 - 800995e: e7c4 b.n 80098ea - 8009960: 200011c8 .word 0x200011c8 - 8009964: 20000c00 .word 0x20000c00 - 8009968: 2e00 cmp r6, #0 - 800996a: d094 beq.n 8009896 - 800996c: 4558 cmp r0, fp - 800996e: bfb8 it lt - 8009970: 4658 movlt r0, fp - 8009972: f894 307c ldrb.w r3, [r4, #124] ; 0x7c - 8009976: f88d 0020 strb.w r0, [sp, #32] - 800997a: 2205 movs r2, #5 - 800997c: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8009980: f88d 3022 strb.w r3, [sp, #34] ; 0x22 - 8009984: a908 add r1, sp, #32 - 8009986: f001 f830 bl 800a9ea - 800998a: 2800 cmp r0, #0 - 800998c: f43f af22 beq.w 80097d4 - 8009990: f89d 3020 ldrb.w r3, [sp, #32] - 8009994: f884 3039 strb.w r3, [r4, #57] ; 0x39 - 8009998: 4a69 ldr r2, [pc, #420] ; (8009b40 ) - 800999a: 4b6a ldr r3, [pc, #424] ; (8009b44 ) - 800999c: f8d2 0498 ldr.w r0, [r2, #1176] ; 0x498 - 80099a0: f8d3 4090 ldr.w r4, [r3, #144] ; 0x90 - 80099a4: b138 cbz r0, 80099b6 - 80099a6: f005 fa83 bl 800eeb0 - 80099aa: 4b66 ldr r3, [pc, #408] ; (8009b44 ) - 80099ac: 4284 cmp r4, r0 - 80099ae: bf3c itt cc - 80099b0: 2200 movcc r2, #0 - 80099b2: f883 203a strbcc.w r2, [r3, #58] ; 0x3a - 80099b6: 8f19 ldrh r1, [r3, #56] ; 0x38 - 80099b8: 8f1a ldrh r2, [r3, #56] ; 0x38 - 80099ba: f893 0130 ldrb.w r0, [r3, #304] ; 0x130 - 80099be: 9104 str r1, [sp, #16] - 80099c0: 6a99 ldr r1, [r3, #40] ; 0x28 - 80099c2: 9109 str r1, [sp, #36] ; 0x24 - 80099c4: ba52 rev16 r2, r2 - 80099c6: 2800 cmp r0, #0 - 80099c8: d0b9 beq.n 800993e - 80099ca: f893 011b ldrb.w r0, [r3, #283] ; 0x11b - 80099ce: b900 cbnz r0, 80099d2 - 80099d0: 6318 str r0, [r3, #48] ; 0x30 - 80099d2: f893 0118 ldrb.w r0, [r3, #280] ; 0x118 - 80099d6: f8ad 2058 strh.w r2, [sp, #88] ; 0x58 - 80099da: 3801 subs r0, #1 - 80099dc: f893 207c ldrb.w r2, [r3, #124] ; 0x7c - 80099e0: f893 411a ldrb.w r4, [r3, #282] ; 0x11a - 80099e4: 9114 str r1, [sp, #80] ; 0x50 - 80099e6: f1d0 0b00 rsbs fp, r0, #0 - 80099ea: f8d3 1088 ldr.w r1, [r3, #136] ; 0x88 - 80099ee: f88d 205b strb.w r2, [sp, #91] ; 0x5b - 80099f2: eb4b 0b00 adc.w fp, fp, r0 - 80099f6: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 80099fa: f893 003a ldrb.w r0, [r3, #58] ; 0x3a - 80099fe: f893 3068 ldrb.w r3, [r3, #104] ; 0x68 - 8009a02: f88d 305a strb.w r3, [sp, #90] ; 0x5a - 8009a06: ab09 add r3, sp, #36 ; 0x24 - 8009a08: 9300 str r3, [sp, #0] - 8009a0a: 4b4f ldr r3, [pc, #316] ; (8009b48 ) - 8009a0c: 9003 str r0, [sp, #12] - 8009a0e: f04f 0001 mov.w r0, #1 - 8009a12: f88d 004c strb.w r0, [sp, #76] ; 0x4c - 8009a16: 9115 str r1, [sp, #84] ; 0x54 - 8009a18: f88d 205c strb.w r2, [sp, #92] ; 0x5c - 8009a1c: f1a3 012f sub.w r1, r3, #47 ; 0x2f - 8009a20: f1a3 0230 sub.w r2, r3, #48 ; 0x30 - 8009a24: a813 add r0, sp, #76 ; 0x4c - 8009a26: f88d 404d strb.w r4, [sp, #77] ; 0x4d - 8009a2a: f000 f8cf bl 8009bcc - 8009a2e: 9b03 ldr r3, [sp, #12] - 8009a30: ea4f 1b0b mov.w fp, fp, lsl #4 - 8009a34: ea4b 1b43 orr.w fp, fp, r3, lsl #5 - 8009a38: 2600 movs r6, #0 - 8009a3a: ea4b 1b80 orr.w fp, fp, r0, lsl #6 - 8009a3e: ea4b 13c4 orr.w r3, fp, r4, lsl #7 - 8009a42: 45b1 cmp r9, r6 - 8009a44: 4c3e ldr r4, [pc, #248] ; (8009b40 ) - 8009a46: 9303 str r3, [sp, #12] - 8009a48: bf08 it eq - 8009a4a: 4637 moveq r7, r6 - 8009a4c: 463a mov r2, r7 - 8009a4e: 4649 mov r1, r9 - 8009a50: f504 709c add.w r0, r4, #312 ; 0x138 - 8009a54: e9cd 660a strd r6, r6, [sp, #40] ; 0x28 - 8009a58: 469b mov fp, r3 - 8009a5a: 8026 strh r6, [r4, #0] - 8009a5c: f884 641a strb.w r6, [r4, #1050] ; 0x41a - 8009a60: f002 ff3c bl 800c8dc - 8009a64: b2e9 uxtb r1, r5 - 8009a66: 70a5 strb r5, [r4, #2] - 8009a68: f3c5 1542 ubfx r5, r5, #5, #3 - 8009a6c: b2fa uxtb r2, r7 - 8009a6e: 2d04 cmp r5, #4 - 8009a70: 4e34 ldr r6, [pc, #208] ; (8009b44 ) - 8009a72: 9b03 ldr r3, [sp, #12] - 8009a74: f884 2237 strb.w r2, [r4, #567] ; 0x237 - 8009a78: f43f af23 beq.w 80098c2 - 8009a7c: 2d07 cmp r5, #7 - 8009a7e: f43f af4a beq.w 8009916 - 8009a82: 2d02 cmp r5, #2 - 8009a84: f47f af59 bne.w 800993a - 8009a88: 4d30 ldr r5, [pc, #192] ; (8009b4c ) - 8009a8a: f884 110d strb.w r1, [r4, #269] ; 0x10d - 8009a8e: 2004 movs r0, #4 - 8009a90: 9902 ldr r1, [sp, #8] - 8009a92: f884 0104 strb.w r0, [r4, #260] ; 0x104 - 8009a96: 20ff movs r0, #255 ; 0xff - 8009a98: f884 010c strb.w r0, [r4, #268] ; 0x10c - 8009a9c: f884 1128 strb.w r1, [r4, #296] ; 0x128 - 8009aa0: f884 3114 strb.w r3, [r4, #276] ; 0x114 - 8009aa4: f8d6 10e4 ldr.w r1, [r6, #228] ; 0xe4 - 8009aa8: f8c4 5108 str.w r5, [r4, #264] ; 0x108 - 8009aac: f505 739b add.w r3, r5, #310 ; 0x136 - 8009ab0: a80a add r0, sp, #40 ; 0x28 - 8009ab2: f8c4 1110 str.w r1, [r4, #272] ; 0x110 - 8009ab6: f884 2130 strb.w r2, [r4, #304] ; 0x130 - 8009aba: f8c4 312c str.w r3, [r4, #300] ; 0x12c - 8009abe: f000 fc17 bl 800a2f0 - 8009ac2: 2800 cmp r0, #0 - 8009ac4: f47f af37 bne.w 8009936 - 8009ac8: 9b0a ldr r3, [sp, #40] ; 0x28 - 8009aca: f8a4 0444 strh.w r0, [r4, #1092] ; 0x444 - 8009ace: a80b add r0, sp, #44 ; 0x2c - 8009ad0: f8a4 3116 strh.w r3, [r4, #278] ; 0x116 - 8009ad4: f8c4 344c str.w r3, [r4, #1100] ; 0x44c - 8009ad8: f000 f9ce bl 8009e78 - 8009adc: 2800 cmp r0, #0 - 8009ade: f47f aefd bne.w 80098dc - 8009ae2: 9b0b ldr r3, [sp, #44] ; 0x2c - 8009ae4: b1d3 cbz r3, 8009b1c - 8009ae6: f996 0039 ldrsb.w r0, [r6, #57] ; 0x39 - 8009aea: f7fd faa9 bl 8007040 - 8009aee: f894 3237 ldrb.w r3, [r4, #567] ; 0x237 - 8009af2: 2b00 cmp r3, #0 - 8009af4: f43f aeff beq.w 80098f6 - 8009af8: 9b0b ldr r3, [sp, #44] ; 0x2c - 8009afa: 2b0f cmp r3, #15 - 8009afc: f63f aee6 bhi.w 80098cc - 8009b00: f505 728b add.w r2, r5, #278 ; 0x116 - 8009b04: a90b add r1, sp, #44 ; 0x2c - 8009b06: 200f movs r0, #15 - 8009b08: f000 f9c2 bl 8009e90 - 8009b0c: 2800 cmp r0, #0 - 8009b0e: f47f aee5 bne.w 80098dc - 8009b12: 9b0b ldr r3, [sp, #44] ; 0x2c - 8009b14: f363 0b03 bfi fp, r3, #0, #4 - 8009b18: f884 b114 strb.w fp, [r4, #276] ; 0x114 - 8009b1c: 9805 ldr r0, [sp, #20] - 8009b1e: f7fd fc4d bl 80073bc - 8009b22: 2800 cmp r0, #0 - 8009b24: f47f aedb bne.w 80098de - 8009b28: 9b09 ldr r3, [sp, #36] ; 0x24 - 8009b2a: f886 003a strb.w r0, [r6, #58] ; 0x3a - 8009b2e: 62b3 str r3, [r6, #40] ; 0x28 - 8009b30: f000 f97e bl 8009e30 - 8009b34: 2800 cmp r0, #0 - 8009b36: f43f af06 beq.w 8009946 - 8009b3a: 2013 movs r0, #19 - 8009b3c: e6d1 b.n 80098e2 - 8009b3e: bf00 nop - 8009b40: 200011c8 .word 0x200011c8 - 8009b44: 20000c00 .word 0x20000c00 - 8009b48: 20000c68 .word 0x20000c68 - 8009b4c: 200011ca .word 0x200011ca +080097dc : + 80097dc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80097e0: b099 sub sp, #100 ; 0x64 + 80097e2: 4680 mov r8, r0 + 80097e4: 9105 str r1, [sp, #20] + 80097e6: b918 cbnz r0, 80097f0 + 80097e8: 2003 movs r0, #3 + 80097ea: b019 add sp, #100 ; 0x64 + 80097ec: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80097f0: 2300 movs r3, #0 + 80097f2: 6103 str r3, [r0, #16] + 80097f4: f7fe fc38 bl 8008068 + 80097f8: 4606 mov r6, r0 + 80097fa: 2800 cmp r0, #0 + 80097fc: f040 80ab bne.w 8009956 + 8009800: 4645 mov r5, r8 + 8009802: cd0f ldmia r5!, {r0, r1, r2, r3} + 8009804: ac0e add r4, sp, #56 ; 0x38 + 8009806: c40f stmia r4!, {r0, r1, r2, r3} + 8009808: 4c5a ldr r4, [pc, #360] ; (8009974 ) + 800980a: f898 a000 ldrb.w sl, [r8] + 800980e: f8b8 700c ldrh.w r7, [r8, #12] + 8009812: f998 b00e ldrsb.w fp, [r8, #14] + 8009816: 2214 movs r2, #20 + 8009818: f504 6088 add.w r0, r4, #1088 ; 0x440 + 800981c: 4631 mov r1, r6 + 800981e: f003 f87b bl 800c918 + 8009822: 2201 movs r2, #1 + 8009824: f884 2441 strb.w r2, [r4, #1089] ; 0x441 + 8009828: 4c53 ldr r4, [pc, #332] ; (8009978 ) + 800982a: f894 2130 ldrb.w r2, [r4, #304] ; 0x130 + 800982e: 2a02 cmp r2, #2 + 8009830: 4635 mov r5, r6 + 8009832: d10b bne.n 800984c + 8009834: f894 2118 ldrb.w r2, [r4, #280] ; 0x118 + 8009838: 2a02 cmp r2, #2 + 800983a: d107 bne.n 800984c + 800983c: f894 211e ldrb.w r2, [r4, #286] ; 0x11e + 8009840: b922 cbnz r2, 800984c + 8009842: f1ba 0f01 cmp.w sl, #1 + 8009846: bf38 it cc + 8009848: f04f 0a01 movcc.w sl, #1 + 800984c: f1ba 0f01 cmp.w sl, #1 + 8009850: d02d beq.n 80098ae + 8009852: f1ba 0f03 cmp.w sl, #3 + 8009856: d02c beq.n 80098b2 + 8009858: f1ba 0f00 cmp.w sl, #0 + 800985c: d135 bne.n 80098ca + 800985e: 2202 movs r2, #2 + 8009860: f89d 303c ldrb.w r3, [sp, #60] ; 0x3c + 8009864: f8dd 9040 ldr.w r9, [sp, #64] ; 0x40 + 8009868: 9302 str r3, [sp, #8] + 800986a: f362 1547 bfi r5, r2, #5, #3 + 800986e: 2601 movs r6, #1 + 8009870: f894 107c ldrb.w r1, [r4, #124] ; 0x7c + 8009874: f88d 1032 strb.w r1, [sp, #50] ; 0x32 + 8009878: 2202 movs r2, #2 + 800987a: a90c add r1, sp, #48 ; 0x30 + 800987c: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8009880: f88d 2030 strb.w r2, [sp, #48] ; 0x30 + 8009884: f001 f8a8 bl 800a9d8 + 8009888: f894 311a ldrb.w r3, [r4, #282] ; 0x11a + 800988c: f894 c130 ldrb.w ip, [r4, #304] ; 0x130 + 8009890: f894 111d ldrb.w r1, [r4, #285] ; 0x11d + 8009894: b240 sxtb r0, r0 + 8009896: 2202 movs r2, #2 + 8009898: 2b00 cmp r3, #0 + 800989a: d06f beq.n 800997c + 800989c: f1bc 0f01 cmp.w ip, #1 + 80098a0: d165 bne.n 800996e + 80098a2: 2900 cmp r1, #0 + 80098a4: d163 bne.n 800996e + 80098a6: 2e00 cmp r6, #0 + 80098a8: d16d bne.n 8009986 + 80098aa: 4610 mov r0, r2 + 80098ac: e027 b.n 80098fe + 80098ae: 2204 movs r2, #4 + 80098b0: e7d6 b.n 8009860 + 80098b2: 2300 movs r3, #0 + 80098b4: f8dd 903c ldr.w r9, [sp, #60] ; 0x3c + 80098b8: f8bd 7040 ldrh.w r7, [sp, #64] ; 0x40 + 80098bc: f99d b042 ldrsb.w fp, [sp, #66] ; 0x42 + 80098c0: 9302 str r3, [sp, #8] + 80098c2: f065 051f orn r5, r5, #31 + 80098c6: 2601 movs r6, #1 + 80098c8: e7d2 b.n 8009870 + 80098ca: f04f 0b00 mov.w fp, #0 + 80098ce: 46d9 mov r9, fp + 80098d0: f8cd b008 str.w fp, [sp, #8] + 80098d4: e7cc b.n 8009870 + 80098d6: f04f 0001 mov.w r0, #1 + 80098da: f884 041a strb.w r0, [r4, #1050] ; 0x41a + 80098de: e0dd b.n 8009a9c + 80098e0: f205 429a addw r2, r5, #1178 ; 0x49a + 80098e4: a90b add r1, sp, #44 ; 0x2c + 80098e6: f000 fadd bl 8009ea4 + 80098ea: 2800 cmp r0, #0 + 80098ec: f000 8120 beq.w 8009b30 + 80098f0: 2013 movs r0, #19 + 80098f2: 9b04 ldr r3, [sp, #16] + 80098f4: 8733 strh r3, [r6, #56] ; 0x38 + 80098f6: 4b1f ldr r3, [pc, #124] ; (8009974 ) + 80098f8: 2200 movs r2, #0 + 80098fa: f883 241a strb.w r2, [r3, #1050] ; 0x41a + 80098fe: 4b1d ldr r3, [pc, #116] ; (8009974 ) + 8009900: f8d3 3494 ldr.w r3, [r3, #1172] ; 0x494 + 8009904: f8c8 3010 str.w r3, [r8, #16] + 8009908: e76f b.n 80097ea + 800990a: f205 459a addw r5, r5, #1178 ; 0x49a + 800990e: 462a mov r2, r5 + 8009910: a90b add r1, sp, #44 ; 0x2c + 8009912: f000 fac7 bl 8009ea4 + 8009916: 2800 cmp r0, #0 + 8009918: d1ea bne.n 80098f0 + 800991a: 9b0b ldr r3, [sp, #44] ; 0x2c + 800991c: f884 0128 strb.w r0, [r4, #296] ; 0x128 + 8009920: f8c4 512c str.w r5, [r4, #300] ; 0x12c + 8009924: f884 3130 strb.w r3, [r4, #304] ; 0x130 + 8009928: e102 b.n 8009b30 + 800992a: f1b9 0f00 cmp.w r9, #0 + 800992e: f000 80ff beq.w 8009b30 + 8009932: 2a00 cmp r2, #0 + 8009934: f000 80fc beq.w 8009b30 + 8009938: 4649 mov r1, r9 + 800993a: 1ce0 adds r0, r4, #3 + 800993c: f002 ffd8 bl 800c8f0 + 8009940: f894 3237 ldrb.w r3, [r4, #567] ; 0x237 + 8009944: 3301 adds r3, #1 + 8009946: 8023 strh r3, [r4, #0] + 8009948: e0f2 b.n 8009b30 + 800994a: 2012 movs r0, #18 + 800994c: e7d1 b.n 80098f2 + 800994e: 2002 movs r0, #2 + 8009950: e7cf b.n 80098f2 + 8009952: 2007 movs r0, #7 + 8009954: e7cf b.n 80098f6 + 8009956: 2001 movs r0, #1 + 8009958: e747 b.n 80097ea + 800995a: 4b06 ldr r3, [pc, #24] ; (8009974 ) + 800995c: f893 2491 ldrb.w r2, [r3, #1169] ; 0x491 + 8009960: f883 a440 strb.w sl, [r3, #1088] ; 0x440 + 8009964: f042 0201 orr.w r2, r2, #1 + 8009968: f883 2491 strb.w r2, [r3, #1169] ; 0x491 + 800996c: e7c7 b.n 80098fe + 800996e: b9ee cbnz r6, 80099ac + 8009970: 2002 movs r0, #2 + 8009972: e7c4 b.n 80098fe + 8009974: 200011c8 .word 0x200011c8 + 8009978: 20000c00 .word 0x20000c00 + 800997c: 2e00 cmp r6, #0 + 800997e: d094 beq.n 80098aa + 8009980: 4558 cmp r0, fp + 8009982: bfb8 it lt + 8009984: 4658 movlt r0, fp + 8009986: f894 307c ldrb.w r3, [r4, #124] ; 0x7c + 800998a: f88d 0020 strb.w r0, [sp, #32] + 800998e: 2205 movs r2, #5 + 8009990: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8009994: f88d 3022 strb.w r3, [sp, #34] ; 0x22 + 8009998: a908 add r1, sp, #32 + 800999a: f001 f830 bl 800a9fe + 800999e: 2800 cmp r0, #0 + 80099a0: f43f af22 beq.w 80097e8 + 80099a4: f89d 3020 ldrb.w r3, [sp, #32] + 80099a8: f884 3039 strb.w r3, [r4, #57] ; 0x39 + 80099ac: 4a69 ldr r2, [pc, #420] ; (8009b54 ) + 80099ae: 4b6a ldr r3, [pc, #424] ; (8009b58 ) + 80099b0: f8d2 0498 ldr.w r0, [r2, #1176] ; 0x498 + 80099b4: f8d3 4090 ldr.w r4, [r3, #144] ; 0x90 + 80099b8: b138 cbz r0, 80099ca + 80099ba: f005 fa83 bl 800eec4 + 80099be: 4b66 ldr r3, [pc, #408] ; (8009b58 ) + 80099c0: 4284 cmp r4, r0 + 80099c2: bf3c itt cc + 80099c4: 2200 movcc r2, #0 + 80099c6: f883 203a strbcc.w r2, [r3, #58] ; 0x3a + 80099ca: 8f19 ldrh r1, [r3, #56] ; 0x38 + 80099cc: 8f1a ldrh r2, [r3, #56] ; 0x38 + 80099ce: f893 0130 ldrb.w r0, [r3, #304] ; 0x130 + 80099d2: 9104 str r1, [sp, #16] + 80099d4: 6a99 ldr r1, [r3, #40] ; 0x28 + 80099d6: 9109 str r1, [sp, #36] ; 0x24 + 80099d8: ba52 rev16 r2, r2 + 80099da: 2800 cmp r0, #0 + 80099dc: d0b9 beq.n 8009952 + 80099de: f893 011b ldrb.w r0, [r3, #283] ; 0x11b + 80099e2: b900 cbnz r0, 80099e6 + 80099e4: 6318 str r0, [r3, #48] ; 0x30 + 80099e6: f893 0118 ldrb.w r0, [r3, #280] ; 0x118 + 80099ea: f8ad 2058 strh.w r2, [sp, #88] ; 0x58 + 80099ee: 3801 subs r0, #1 + 80099f0: f893 207c ldrb.w r2, [r3, #124] ; 0x7c + 80099f4: f893 411a ldrb.w r4, [r3, #282] ; 0x11a + 80099f8: 9114 str r1, [sp, #80] ; 0x50 + 80099fa: f1d0 0b00 rsbs fp, r0, #0 + 80099fe: f8d3 1088 ldr.w r1, [r3, #136] ; 0x88 + 8009a02: f88d 205b strb.w r2, [sp, #91] ; 0x5b + 8009a06: eb4b 0b00 adc.w fp, fp, r0 + 8009a0a: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 8009a0e: f893 003a ldrb.w r0, [r3, #58] ; 0x3a + 8009a12: f893 3068 ldrb.w r3, [r3, #104] ; 0x68 + 8009a16: f88d 305a strb.w r3, [sp, #90] ; 0x5a + 8009a1a: ab09 add r3, sp, #36 ; 0x24 + 8009a1c: 9300 str r3, [sp, #0] + 8009a1e: 4b4f ldr r3, [pc, #316] ; (8009b5c ) + 8009a20: 9003 str r0, [sp, #12] + 8009a22: f04f 0001 mov.w r0, #1 + 8009a26: f88d 004c strb.w r0, [sp, #76] ; 0x4c + 8009a2a: 9115 str r1, [sp, #84] ; 0x54 + 8009a2c: f88d 205c strb.w r2, [sp, #92] ; 0x5c + 8009a30: f1a3 012f sub.w r1, r3, #47 ; 0x2f + 8009a34: f1a3 0230 sub.w r2, r3, #48 ; 0x30 + 8009a38: a813 add r0, sp, #76 ; 0x4c + 8009a3a: f88d 404d strb.w r4, [sp, #77] ; 0x4d + 8009a3e: f000 f8cf bl 8009be0 + 8009a42: 9b03 ldr r3, [sp, #12] + 8009a44: ea4f 1b0b mov.w fp, fp, lsl #4 + 8009a48: ea4b 1b43 orr.w fp, fp, r3, lsl #5 + 8009a4c: 2600 movs r6, #0 + 8009a4e: ea4b 1b80 orr.w fp, fp, r0, lsl #6 + 8009a52: ea4b 13c4 orr.w r3, fp, r4, lsl #7 + 8009a56: 45b1 cmp r9, r6 + 8009a58: 4c3e ldr r4, [pc, #248] ; (8009b54 ) + 8009a5a: 9303 str r3, [sp, #12] + 8009a5c: bf08 it eq + 8009a5e: 4637 moveq r7, r6 + 8009a60: 463a mov r2, r7 + 8009a62: 4649 mov r1, r9 + 8009a64: f504 709c add.w r0, r4, #312 ; 0x138 + 8009a68: e9cd 660a strd r6, r6, [sp, #40] ; 0x28 + 8009a6c: 469b mov fp, r3 + 8009a6e: 8026 strh r6, [r4, #0] + 8009a70: f884 641a strb.w r6, [r4, #1050] ; 0x41a + 8009a74: f002 ff3c bl 800c8f0 + 8009a78: b2e9 uxtb r1, r5 + 8009a7a: 70a5 strb r5, [r4, #2] + 8009a7c: f3c5 1542 ubfx r5, r5, #5, #3 + 8009a80: b2fa uxtb r2, r7 + 8009a82: 2d04 cmp r5, #4 + 8009a84: 4e34 ldr r6, [pc, #208] ; (8009b58 ) + 8009a86: 9b03 ldr r3, [sp, #12] + 8009a88: f884 2237 strb.w r2, [r4, #567] ; 0x237 + 8009a8c: f43f af23 beq.w 80098d6 + 8009a90: 2d07 cmp r5, #7 + 8009a92: f43f af4a beq.w 800992a + 8009a96: 2d02 cmp r5, #2 + 8009a98: f47f af59 bne.w 800994e + 8009a9c: 4d30 ldr r5, [pc, #192] ; (8009b60 ) + 8009a9e: f884 110d strb.w r1, [r4, #269] ; 0x10d + 8009aa2: 2004 movs r0, #4 + 8009aa4: 9902 ldr r1, [sp, #8] + 8009aa6: f884 0104 strb.w r0, [r4, #260] ; 0x104 + 8009aaa: 20ff movs r0, #255 ; 0xff + 8009aac: f884 010c strb.w r0, [r4, #268] ; 0x10c + 8009ab0: f884 1128 strb.w r1, [r4, #296] ; 0x128 + 8009ab4: f884 3114 strb.w r3, [r4, #276] ; 0x114 + 8009ab8: f8d6 10e4 ldr.w r1, [r6, #228] ; 0xe4 + 8009abc: f8c4 5108 str.w r5, [r4, #264] ; 0x108 + 8009ac0: f505 739b add.w r3, r5, #310 ; 0x136 + 8009ac4: a80a add r0, sp, #40 ; 0x28 + 8009ac6: f8c4 1110 str.w r1, [r4, #272] ; 0x110 + 8009aca: f884 2130 strb.w r2, [r4, #304] ; 0x130 + 8009ace: f8c4 312c str.w r3, [r4, #300] ; 0x12c + 8009ad2: f000 fc17 bl 800a304 + 8009ad6: 2800 cmp r0, #0 + 8009ad8: f47f af37 bne.w 800994a + 8009adc: 9b0a ldr r3, [sp, #40] ; 0x28 + 8009ade: f8a4 0444 strh.w r0, [r4, #1092] ; 0x444 + 8009ae2: a80b add r0, sp, #44 ; 0x2c + 8009ae4: f8a4 3116 strh.w r3, [r4, #278] ; 0x116 + 8009ae8: f8c4 344c str.w r3, [r4, #1100] ; 0x44c + 8009aec: f000 f9ce bl 8009e8c + 8009af0: 2800 cmp r0, #0 + 8009af2: f47f aefd bne.w 80098f0 + 8009af6: 9b0b ldr r3, [sp, #44] ; 0x2c + 8009af8: b1d3 cbz r3, 8009b30 + 8009afa: f996 0039 ldrsb.w r0, [r6, #57] ; 0x39 + 8009afe: f7fd faa9 bl 8007054 + 8009b02: f894 3237 ldrb.w r3, [r4, #567] ; 0x237 + 8009b06: 2b00 cmp r3, #0 + 8009b08: f43f aeff beq.w 800990a + 8009b0c: 9b0b ldr r3, [sp, #44] ; 0x2c + 8009b0e: 2b0f cmp r3, #15 + 8009b10: f63f aee6 bhi.w 80098e0 + 8009b14: f505 728b add.w r2, r5, #278 ; 0x116 + 8009b18: a90b add r1, sp, #44 ; 0x2c + 8009b1a: 200f movs r0, #15 + 8009b1c: f000 f9c2 bl 8009ea4 + 8009b20: 2800 cmp r0, #0 + 8009b22: f47f aee5 bne.w 80098f0 + 8009b26: 9b0b ldr r3, [sp, #44] ; 0x2c + 8009b28: f363 0b03 bfi fp, r3, #0, #4 + 8009b2c: f884 b114 strb.w fp, [r4, #276] ; 0x114 + 8009b30: 9805 ldr r0, [sp, #20] + 8009b32: f7fd fc4d bl 80073d0 + 8009b36: 2800 cmp r0, #0 + 8009b38: f47f aedb bne.w 80098f2 + 8009b3c: 9b09 ldr r3, [sp, #36] ; 0x24 + 8009b3e: f886 003a strb.w r0, [r6, #58] ; 0x3a + 8009b42: 62b3 str r3, [r6, #40] ; 0x28 + 8009b44: f000 f97e bl 8009e44 + 8009b48: 2800 cmp r0, #0 + 8009b4a: f43f af06 beq.w 800995a + 8009b4e: 2013 movs r0, #19 + 8009b50: e6d1 b.n 80098f6 + 8009b52: bf00 nop + 8009b54: 200011c8 .word 0x200011c8 + 8009b58: 20000c00 .word 0x20000c00 + 8009b5c: 20000c68 .word 0x20000c68 + 8009b60: 200011ca .word 0x200011ca -08009b50 : - 8009b50: b537 push {r0, r1, r2, r4, r5, lr} - 8009b52: 4d0b ldr r5, [pc, #44] ; (8009b80 ) - 8009b54: f88d 0004 strb.w r0, [sp, #4] - 8009b58: 4604 mov r4, r0 - 8009b5a: 220f movs r2, #15 - 8009b5c: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8009b60: a901 add r1, sp, #4 - 8009b62: f000 ff42 bl 800a9ea - 8009b66: b140 cbz r0, 8009b7a - 8009b68: 4a06 ldr r2, [pc, #24] ; (8009b84 ) - 8009b6a: f885 411c strb.w r4, [r5, #284] ; 0x11c - 8009b6e: f892 3491 ldrb.w r3, [r2, #1169] ; 0x491 - 8009b72: f043 0320 orr.w r3, r3, #32 - 8009b76: f882 3491 strb.w r3, [r2, #1169] ; 0x491 - 8009b7a: b003 add sp, #12 - 8009b7c: bd30 pop {r4, r5, pc} - 8009b7e: bf00 nop - 8009b80: 20000c00 .word 0x20000c00 - 8009b84: 200011c8 .word 0x200011c8 +08009b64 : + 8009b64: b537 push {r0, r1, r2, r4, r5, lr} + 8009b66: 4d0b ldr r5, [pc, #44] ; (8009b94 ) + 8009b68: f88d 0004 strb.w r0, [sp, #4] + 8009b6c: 4604 mov r4, r0 + 8009b6e: 220f movs r2, #15 + 8009b70: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 8009b74: a901 add r1, sp, #4 + 8009b76: f000 ff42 bl 800a9fe + 8009b7a: b140 cbz r0, 8009b8e + 8009b7c: 4a06 ldr r2, [pc, #24] ; (8009b98 ) + 8009b7e: f885 411c strb.w r4, [r5, #284] ; 0x11c + 8009b82: f892 3491 ldrb.w r3, [r2, #1169] ; 0x491 + 8009b86: f043 0320 orr.w r3, r3, #32 + 8009b8a: f882 3491 strb.w r3, [r2, #1169] ; 0x491 + 8009b8e: b003 add sp, #12 + 8009b90: bd30 pop {r4, r5, pc} + 8009b92: bf00 nop + 8009b94: 20000c00 .word 0x20000c00 + 8009b98: 200011c8 .word 0x200011c8 -08009b88 : - 8009b88: b510 push {r4, lr} - 8009b8a: f7ff f8b9 bl 8008d00 - 8009b8e: 4604 mov r4, r0 - 8009b90: b988 cbnz r0, 8009bb6 - 8009b92: 480a ldr r0, [pc, #40] ; (8009bbc ) - 8009b94: f005 f9c6 bl 800ef24 - 8009b98: 4809 ldr r0, [pc, #36] ; (8009bc0 ) - 8009b9a: f005 f9c3 bl 800ef24 - 8009b9e: 4809 ldr r0, [pc, #36] ; (8009bc4 ) - 8009ba0: f005 f9c0 bl 800ef24 - 8009ba4: f000 f893 bl 8009cce - 8009ba8: f7fd fd80 bl 80076ac - 8009bac: 4b06 ldr r3, [pc, #24] ; (8009bc8 ) - 8009bae: 6adb ldr r3, [r3, #44] ; 0x2c - 8009bb0: 4798 blx r3 - 8009bb2: 4620 mov r0, r4 - 8009bb4: bd10 pop {r4, pc} - 8009bb6: 2401 movs r4, #1 - 8009bb8: e7fb b.n 8009bb2 - 8009bba: bf00 nop - 8009bbc: 20001530 .word 0x20001530 - 8009bc0: 20001548 .word 0x20001548 - 8009bc4: 20001560 .word 0x20001560 - 8009bc8: 080101d4 .word 0x080101d4 +08009b9c : + 8009b9c: b510 push {r4, lr} + 8009b9e: f7ff f8b9 bl 8008d14 + 8009ba2: 4604 mov r4, r0 + 8009ba4: b988 cbnz r0, 8009bca + 8009ba6: 480a ldr r0, [pc, #40] ; (8009bd0 ) + 8009ba8: f005 f9c6 bl 800ef38 + 8009bac: 4809 ldr r0, [pc, #36] ; (8009bd4 ) + 8009bae: f005 f9c3 bl 800ef38 + 8009bb2: 4809 ldr r0, [pc, #36] ; (8009bd8 ) + 8009bb4: f005 f9c0 bl 800ef38 + 8009bb8: f000 f893 bl 8009ce2 + 8009bbc: f7fd fd80 bl 80076c0 + 8009bc0: 4b06 ldr r3, [pc, #24] ; (8009bdc ) + 8009bc2: 6adb ldr r3, [r3, #44] ; 0x2c + 8009bc4: 4798 blx r3 + 8009bc6: 4620 mov r0, r4 + 8009bc8: bd10 pop {r4, pc} + 8009bca: 2401 movs r4, #1 + 8009bcc: e7fb b.n 8009bc6 + 8009bce: bf00 nop + 8009bd0: 20001530 .word 0x20001530 + 8009bd4: 20001548 .word 0x20001548 + 8009bd8: 20001560 .word 0x20001560 + 8009bdc: 080101ec .word 0x080101ec -08009bcc : - 8009bcc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8009bd0: b08b sub sp, #44 ; 0x2c - 8009bd2: 7847 ldrb r7, [r0, #1] - 8009bd4: 9300 str r3, [sp, #0] - 8009bd6: 9b14 ldr r3, [sp, #80] ; 0x50 - 8009bd8: f990 800c ldrsb.w r8, [r0, #12] - 8009bdc: f990 600d ldrsb.w r6, [r0, #13] - 8009be0: f890 900e ldrb.w r9, [r0, #14] - 8009be4: 468b mov fp, r1 - 8009be6: 6841 ldr r1, [r0, #4] - 8009be8: 6019 str r1, [r3, #0] - 8009bea: 4604 mov r4, r0 - 8009bec: 4692 mov sl, r2 - 8009bee: 2f00 cmp r7, #0 - 8009bf0: d057 beq.n 8009ca2 - 8009bf2: 2302 movs r3, #2 - 8009bf4: f88d 3010 strb.w r3, [sp, #16] - 8009bf8: a904 add r1, sp, #16 - 8009bfa: 7bc3 ldrb r3, [r0, #15] - 8009bfc: 7c00 ldrb r0, [r0, #16] - 8009bfe: f88d 3012 strb.w r3, [sp, #18] - 8009c02: f000 fedf bl 800a9c4 - 8009c06: f8b4 c008 ldrh.w ip, [r4, #8] - 8009c0a: 8961 ldrh r1, [r4, #10] - 8009c0c: b243 sxtb r3, r0 - 8009c0e: 6860 ldr r0, [r4, #4] - 8009c10: 4598 cmp r8, r3 - 8009c12: 4645 mov r5, r8 - 8009c14: 4461 add r1, ip - 8009c16: bfb8 it lt - 8009c18: 461d movlt r5, r3 - 8009c1a: 4560 cmp r0, ip - 8009c1c: bf34 ite cc - 8009c1e: 2700 movcc r7, #0 - 8009c20: 2701 movcs r7, #1 - 8009c22: 4288 cmp r0, r1 - 8009c24: d309 bcc.n 8009c3a - 8009c26: 210a movs r1, #10 - 8009c28: f88d 1010 strb.w r1, [sp, #16] - 8009c2c: 7c20 ldrb r0, [r4, #16] - 8009c2e: 9301 str r3, [sp, #4] - 8009c30: a904 add r1, sp, #16 - 8009c32: f000 fec7 bl 800a9c4 - 8009c36: 9b01 ldr r3, [sp, #4] - 8009c38: b246 sxtb r6, r0 - 8009c3a: f8b4 c008 ldrh.w ip, [r4, #8] - 8009c3e: 8960 ldrh r0, [r4, #10] - 8009c40: 6861 ldr r1, [r4, #4] - 8009c42: eb0c 0e40 add.w lr, ip, r0, lsl #1 - 8009c46: 4571 cmp r1, lr - 8009c48: d320 bcc.n 8009c8c - 8009c4a: eba1 010c sub.w r1, r1, ip - 8009c4e: fbb1 fcf0 udiv ip, r1, r0 - 8009c52: fb00 111c mls r1, r0, ip, r1 - 8009c56: b9c9 cbnz r1, 8009c8c - 8009c58: 4598 cmp r8, r3 - 8009c5a: dc0a bgt.n 8009c72 - 8009c5c: 7823 ldrb r3, [r4, #0] - 8009c5e: b133 cbz r3, 8009c6e - 8009c60: 2302 movs r3, #2 - 8009c62: 7c20 ldrb r0, [r4, #16] - 8009c64: f88d 3024 strb.w r3, [sp, #36] ; 0x24 - 8009c68: a906 add r1, sp, #24 - 8009c6a: f000 feb9 bl 800a9e0 - 8009c6e: f04f 0901 mov.w r9, #1 - 8009c72: 2321 movs r3, #33 ; 0x21 - 8009c74: f88d 3010 strb.w r3, [sp, #16] - 8009c78: 7c20 ldrb r0, [r4, #16] - 8009c7a: 7be3 ldrb r3, [r4, #15] - 8009c7c: f88d 5011 strb.w r5, [sp, #17] - 8009c80: a904 add r1, sp, #16 - 8009c82: f88d 3012 strb.w r3, [sp, #18] - 8009c86: f000 fe9d bl 800a9c4 - 8009c8a: b245 sxtb r5, r0 - 8009c8c: 9b00 ldr r3, [sp, #0] - 8009c8e: f88b 5000 strb.w r5, [fp] - 8009c92: 4638 mov r0, r7 - 8009c94: f88a 6000 strb.w r6, [sl] - 8009c98: f883 9000 strb.w r9, [r3] - 8009c9c: b00b add sp, #44 ; 0x2c - 8009c9e: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8009ca2: 4645 mov r5, r8 - 8009ca4: e7f2 b.n 8009c8c +08009be0 : + 8009be0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8009be4: b08b sub sp, #44 ; 0x2c + 8009be6: 7847 ldrb r7, [r0, #1] + 8009be8: 9300 str r3, [sp, #0] + 8009bea: 9b14 ldr r3, [sp, #80] ; 0x50 + 8009bec: f990 800c ldrsb.w r8, [r0, #12] + 8009bf0: f990 600d ldrsb.w r6, [r0, #13] + 8009bf4: f890 900e ldrb.w r9, [r0, #14] + 8009bf8: 468b mov fp, r1 + 8009bfa: 6841 ldr r1, [r0, #4] + 8009bfc: 6019 str r1, [r3, #0] + 8009bfe: 4604 mov r4, r0 + 8009c00: 4692 mov sl, r2 + 8009c02: 2f00 cmp r7, #0 + 8009c04: d057 beq.n 8009cb6 + 8009c06: 2302 movs r3, #2 + 8009c08: f88d 3010 strb.w r3, [sp, #16] + 8009c0c: a904 add r1, sp, #16 + 8009c0e: 7bc3 ldrb r3, [r0, #15] + 8009c10: 7c00 ldrb r0, [r0, #16] + 8009c12: f88d 3012 strb.w r3, [sp, #18] + 8009c16: f000 fedf bl 800a9d8 + 8009c1a: f8b4 c008 ldrh.w ip, [r4, #8] + 8009c1e: 8961 ldrh r1, [r4, #10] + 8009c20: b243 sxtb r3, r0 + 8009c22: 6860 ldr r0, [r4, #4] + 8009c24: 4598 cmp r8, r3 + 8009c26: 4645 mov r5, r8 + 8009c28: 4461 add r1, ip + 8009c2a: bfb8 it lt + 8009c2c: 461d movlt r5, r3 + 8009c2e: 4560 cmp r0, ip + 8009c30: bf34 ite cc + 8009c32: 2700 movcc r7, #0 + 8009c34: 2701 movcs r7, #1 + 8009c36: 4288 cmp r0, r1 + 8009c38: d309 bcc.n 8009c4e + 8009c3a: 210a movs r1, #10 + 8009c3c: f88d 1010 strb.w r1, [sp, #16] + 8009c40: 7c20 ldrb r0, [r4, #16] + 8009c42: 9301 str r3, [sp, #4] + 8009c44: a904 add r1, sp, #16 + 8009c46: f000 fec7 bl 800a9d8 + 8009c4a: 9b01 ldr r3, [sp, #4] + 8009c4c: b246 sxtb r6, r0 + 8009c4e: f8b4 c008 ldrh.w ip, [r4, #8] + 8009c52: 8960 ldrh r0, [r4, #10] + 8009c54: 6861 ldr r1, [r4, #4] + 8009c56: eb0c 0e40 add.w lr, ip, r0, lsl #1 + 8009c5a: 4571 cmp r1, lr + 8009c5c: d320 bcc.n 8009ca0 + 8009c5e: eba1 010c sub.w r1, r1, ip + 8009c62: fbb1 fcf0 udiv ip, r1, r0 + 8009c66: fb00 111c mls r1, r0, ip, r1 + 8009c6a: b9c9 cbnz r1, 8009ca0 + 8009c6c: 4598 cmp r8, r3 + 8009c6e: dc0a bgt.n 8009c86 + 8009c70: 7823 ldrb r3, [r4, #0] + 8009c72: b133 cbz r3, 8009c82 + 8009c74: 2302 movs r3, #2 + 8009c76: 7c20 ldrb r0, [r4, #16] + 8009c78: f88d 3024 strb.w r3, [sp, #36] ; 0x24 + 8009c7c: a906 add r1, sp, #24 + 8009c7e: f000 feb9 bl 800a9f4 + 8009c82: f04f 0901 mov.w r9, #1 + 8009c86: 2321 movs r3, #33 ; 0x21 + 8009c88: f88d 3010 strb.w r3, [sp, #16] + 8009c8c: 7c20 ldrb r0, [r4, #16] + 8009c8e: 7be3 ldrb r3, [r4, #15] + 8009c90: f88d 5011 strb.w r5, [sp, #17] + 8009c94: a904 add r1, sp, #16 + 8009c96: f88d 3012 strb.w r3, [sp, #18] + 8009c9a: f000 fe9d bl 800a9d8 + 8009c9e: b245 sxtb r5, r0 + 8009ca0: 9b00 ldr r3, [sp, #0] + 8009ca2: f88b 5000 strb.w r5, [fp] + 8009ca6: 4638 mov r0, r7 + 8009ca8: f88a 6000 strb.w r6, [sl] + 8009cac: f883 9000 strb.w r9, [r3] + 8009cb0: b00b add sp, #44 ; 0x2c + 8009cb2: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8009cb6: 4645 mov r5, r8 + 8009cb8: e7f2 b.n 8009ca0 -08009ca6 : - 8009ca6: 4770 bx lr - -08009ca8 : - 8009ca8: 4770 bx lr - -08009caa : - 8009caa: 4770 bx lr - -08009cac : - 8009cac: 4770 bx lr - -08009cae : - 8009cae: 2000 movs r0, #0 - 8009cb0: 4770 bx lr - -08009cb2 : - 8009cb2: 4770 bx lr - -08009cb4 : - 8009cb4: 4770 bx lr - -08009cb6 : - 8009cb6: 4770 bx lr - -08009cb8 : - 8009cb8: 2000 movs r0, #0 +08009cba : 8009cba: 4770 bx lr -08009cbc : - 8009cbc: 2000 movs r0, #0 +08009cbc : + 8009cbc: 4770 bx lr + +08009cbe : 8009cbe: 4770 bx lr -08009cc0 : - 8009cc0: 2000 movs r0, #0 - 8009cc2: 4770 bx lr +08009cc0 : + 8009cc0: 4770 bx lr -08009cc4 : - 8009cc4: 2000 movs r0, #0 +08009cc2 : + 8009cc2: 2000 movs r0, #0 + 8009cc4: 4770 bx lr + +08009cc6 : 8009cc6: 4770 bx lr -08009cc8 : - 8009cc8: 2000 movs r0, #0 +08009cc8 : + 8009cc8: 4770 bx lr + +08009cca : 8009cca: 4770 bx lr -08009ccc : - 8009ccc: 4770 bx lr - -08009cce : +08009ccc : + 8009ccc: 2000 movs r0, #0 8009cce: 4770 bx lr -08009cd0 : - 8009cd0: 4770 bx lr +08009cd0 : + 8009cd0: 2000 movs r0, #0 + 8009cd2: 4770 bx lr -08009cd2 : - 8009cd2: 2002 movs r0, #2 - 8009cd4: 4770 bx lr +08009cd4 : + 8009cd4: 2000 movs r0, #0 + 8009cd6: 4770 bx lr -08009cd6 : - 8009cd6: 2002 movs r0, #2 - 8009cd8: 4770 bx lr +08009cd8 : + 8009cd8: 2000 movs r0, #0 + 8009cda: 4770 bx lr -08009cda : - 8009cda: 2002 movs r0, #2 - 8009cdc: 4770 bx lr - -08009cde : +08009cdc : + 8009cdc: 2000 movs r0, #0 8009cde: 4770 bx lr -08009ce0 : - 8009ce0: 2000 movs r0, #0 +08009ce0 : + 8009ce0: 4770 bx lr + +08009ce2 : 8009ce2: 4770 bx lr -08009ce4 : +08009ce4 : 8009ce4: 4770 bx lr -08009ce6 : - 8009ce6: 4770 bx lr +08009ce6 : + 8009ce6: 2002 movs r0, #2 + 8009ce8: 4770 bx lr -08009ce8 : - 8009ce8: 2000 movs r0, #0 - 8009cea: 4770 bx lr +08009cea : + 8009cea: 2002 movs r0, #2 + 8009cec: 4770 bx lr -08009cec : - 8009cec: 2000 movs r0, #0 - 8009cee: 4770 bx lr - -08009cf0 : +08009cee : + 8009cee: 2002 movs r0, #2 8009cf0: 4770 bx lr -08009cf2 : +08009cf2 : 8009cf2: 4770 bx lr -08009cf4 : - 8009cf4: 4770 bx lr +08009cf4 : + 8009cf4: 2000 movs r0, #0 + 8009cf6: 4770 bx lr + +08009cf8 : + 8009cf8: 4770 bx lr + +08009cfa : + 8009cfa: 4770 bx lr + +08009cfc : + 8009cfc: 2000 movs r0, #0 + 8009cfe: 4770 bx lr + +08009d00 : + 8009d00: 2000 movs r0, #0 + 8009d02: 4770 bx lr + +08009d04 : + 8009d04: 4770 bx lr + +08009d06 : + 8009d06: 4770 bx lr + +08009d08 : + 8009d08: 4770 bx lr ... -08009cf8 : - 8009cf8: b510 push {r4, lr} - 8009cfa: 4c05 ldr r4, [pc, #20] ; (8009d10 ) - 8009cfc: f44f 7203 mov.w r2, #524 ; 0x20c - 8009d00: 4620 mov r0, r4 - 8009d02: 2100 movs r1, #0 - 8009d04: f002 fdfe bl 800c904 - 8009d08: 2000 movs r0, #0 - 8009d0a: e9c4 0000 strd r0, r0, [r4] - 8009d0e: bd10 pop {r4, pc} - 8009d10: 20001788 .word 0x20001788 +08009d0c : + 8009d0c: b510 push {r4, lr} + 8009d0e: 4c05 ldr r4, [pc, #20] ; (8009d24 ) + 8009d10: f44f 7203 mov.w r2, #524 ; 0x20c + 8009d14: 4620 mov r0, r4 + 8009d16: 2100 movs r1, #0 + 8009d18: f002 fdfe bl 800c918 + 8009d1c: 2000 movs r0, #0 + 8009d1e: e9c4 0000 strd r0, r0, [r4] + 8009d22: bd10 pop {r4, pc} + 8009d24: 20001788 .word 0x20001788 -08009d14 : - 8009d14: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 8009d18: 4681 mov r9, r0 - 8009d1a: 4617 mov r7, r2 - 8009d1c: 2900 cmp r1, #0 - 8009d1e: d03f beq.n 8009da0 - 8009d20: 4b24 ldr r3, [pc, #144] ; (8009db4 ) - 8009d22: 2500 movs r5, #0 - 8009d24: f103 0c01 add.w ip, r3, #1 - 8009d28: 461a mov r2, r3 - 8009d2a: 0128 lsls r0, r5, #4 - 8009d2c: 3310 adds r3, #16 - 8009d2e: f812 8f01 ldrb.w r8, [r2, #1]! - 8009d32: f1b8 0f00 cmp.w r8, #0 - 8009d36: d136 bne.n 8009da6 - 8009d38: 429a cmp r2, r3 - 8009d3a: d1f8 bne.n 8009d2e - 8009d3c: 4e1e ldr r6, [pc, #120] ; (8009db8 ) - 8009d3e: 6833 ldr r3, [r6, #0] - 8009d40: b90b cbnz r3, 8009d46 - 8009d42: f8c6 c000 str.w ip, [r6] - 8009d46: 6873 ldr r3, [r6, #4] - 8009d48: b10b cbz r3, 8009d4e - 8009d4a: f8c3 c000 str.w ip, [r3] - 8009d4e: 1833 adds r3, r6, r0 - 8009d50: 2400 movs r4, #0 - 8009d52: 3501 adds r5, #1 - 8009d54: 609c str r4, [r3, #8] - 8009d56: f883 900c strb.w r9, [r3, #12] - 8009d5a: 300d adds r0, #13 - 8009d5c: 012b lsls r3, r5, #4 - 8009d5e: b2ba uxth r2, r7 - 8009d60: eb06 1505 add.w r5, r6, r5, lsl #4 - 8009d64: 4430 add r0, r6 - 8009d66: 50f7 str r7, [r6, r3] - 8009d68: f8c6 c004 str.w ip, [r6, #4] - 8009d6c: f002 fdb6 bl 800c8dc - 8009d70: f1b9 0f11 cmp.w r9, #17 - 8009d74: f04f 0300 mov.w r3, #0 - 8009d78: bf98 it ls - 8009d7a: 4c10 ldrls r4, [pc, #64] ; (8009dbc ) - 8009d7c: 716b strb r3, [r5, #5] - 8009d7e: f8d6 3208 ldr.w r3, [r6, #520] ; 0x208 - 8009d82: bf98 it ls - 8009d84: fa24 f409 lsrls.w r4, r4, r9 - 8009d88: f103 0301 add.w r3, r3, #1 +08009d28 : + 8009d28: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 8009d2c: 4681 mov r9, r0 + 8009d2e: 4617 mov r7, r2 + 8009d30: 2900 cmp r1, #0 + 8009d32: d03f beq.n 8009db4 + 8009d34: 4b24 ldr r3, [pc, #144] ; (8009dc8 ) + 8009d36: 2500 movs r5, #0 + 8009d38: f103 0c01 add.w ip, r3, #1 + 8009d3c: 461a mov r2, r3 + 8009d3e: 0128 lsls r0, r5, #4 + 8009d40: 3310 adds r3, #16 + 8009d42: f812 8f01 ldrb.w r8, [r2, #1]! + 8009d46: f1b8 0f00 cmp.w r8, #0 + 8009d4a: d136 bne.n 8009dba + 8009d4c: 429a cmp r2, r3 + 8009d4e: d1f8 bne.n 8009d42 + 8009d50: 4e1e ldr r6, [pc, #120] ; (8009dcc ) + 8009d52: 6833 ldr r3, [r6, #0] + 8009d54: b90b cbnz r3, 8009d5a + 8009d56: f8c6 c000 str.w ip, [r6] + 8009d5a: 6873 ldr r3, [r6, #4] + 8009d5c: b10b cbz r3, 8009d62 + 8009d5e: f8c3 c000 str.w ip, [r3] + 8009d62: 1833 adds r3, r6, r0 + 8009d64: 2400 movs r4, #0 + 8009d66: 3501 adds r5, #1 + 8009d68: 609c str r4, [r3, #8] + 8009d6a: f883 900c strb.w r9, [r3, #12] + 8009d6e: 300d adds r0, #13 + 8009d70: 012b lsls r3, r5, #4 + 8009d72: b2ba uxth r2, r7 + 8009d74: eb06 1505 add.w r5, r6, r5, lsl #4 + 8009d78: 4430 add r0, r6 + 8009d7a: 50f7 str r7, [r6, r3] + 8009d7c: f8c6 c004 str.w ip, [r6, #4] + 8009d80: f002 fdb6 bl 800c8f0 + 8009d84: f1b9 0f11 cmp.w r9, #17 + 8009d88: f04f 0300 mov.w r3, #0 8009d8c: bf98 it ls - 8009d8e: f004 0401 andls.w r4, r4, #1 - 8009d92: 443b add r3, r7 - 8009d94: 712c strb r4, [r5, #4] - 8009d96: f8c6 3208 str.w r3, [r6, #520] ; 0x208 - 8009d9a: 4640 mov r0, r8 - 8009d9c: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 8009da0: f04f 0801 mov.w r8, #1 - 8009da4: e7f9 b.n 8009d9a - 8009da6: 3501 adds r5, #1 - 8009da8: 2d20 cmp r5, #32 - 8009daa: d1bb bne.n 8009d24 - 8009dac: f04f 0802 mov.w r8, #2 - 8009db0: e7f3 b.n 8009d9a - 8009db2: bf00 nop - 8009db4: 2000178f .word 0x2000178f - 8009db8: 20001788 .word 0x20001788 - 8009dbc: 00020720 .word 0x00020720 + 8009d8e: 4c10 ldrls r4, [pc, #64] ; (8009dd0 ) + 8009d90: 716b strb r3, [r5, #5] + 8009d92: f8d6 3208 ldr.w r3, [r6, #520] ; 0x208 + 8009d96: bf98 it ls + 8009d98: fa24 f409 lsrls.w r4, r4, r9 + 8009d9c: f103 0301 add.w r3, r3, #1 + 8009da0: bf98 it ls + 8009da2: f004 0401 andls.w r4, r4, #1 + 8009da6: 443b add r3, r7 + 8009da8: 712c strb r4, [r5, #4] + 8009daa: f8c6 3208 str.w r3, [r6, #520] ; 0x208 + 8009dae: 4640 mov r0, r8 + 8009db0: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 8009db4: f04f 0801 mov.w r8, #1 + 8009db8: e7f9 b.n 8009dae + 8009dba: 3501 adds r5, #1 + 8009dbc: 2d20 cmp r5, #32 + 8009dbe: d1bb bne.n 8009d38 + 8009dc0: f04f 0802 mov.w r8, #2 + 8009dc4: e7f3 b.n 8009dae + 8009dc6: bf00 nop + 8009dc8: 2000178f .word 0x2000178f + 8009dcc: 20001788 .word 0x20001788 + 8009dd0: 00020720 .word 0x00020720 -08009dc0 : - 8009dc0: b510 push {r4, lr} - 8009dc2: b310 cbz r0, 8009e0a - 8009dc4: 4a12 ldr r2, [pc, #72] ; (8009e10 ) - 8009dc6: 6813 ldr r3, [r2, #0] - 8009dc8: 4298 cmp r0, r3 - 8009dca: d104 bne.n 8009dd6 - 8009dcc: 6803 ldr r3, [r0, #0] - 8009dce: 6013 str r3, [r2, #0] - 8009dd0: 2300 movs r3, #0 - 8009dd2: e004 b.n 8009dde - 8009dd4: 460b mov r3, r1 - 8009dd6: b113 cbz r3, 8009dde - 8009dd8: 6819 ldr r1, [r3, #0] - 8009dda: 4288 cmp r0, r1 - 8009ddc: d1fa bne.n 8009dd4 - 8009dde: 6851 ldr r1, [r2, #4] - 8009de0: 4288 cmp r0, r1 - 8009de2: bf08 it eq - 8009de4: 6053 streq r3, [r2, #4] - 8009de6: b10b cbz r3, 8009dec - 8009de8: 6801 ldr r1, [r0, #0] - 8009dea: 6019 str r1, [r3, #0] - 8009dec: f8d2 3208 ldr.w r3, [r2, #520] ; 0x208 - 8009df0: 6881 ldr r1, [r0, #8] - 8009df2: 3b01 subs r3, #1 - 8009df4: 2400 movs r4, #0 - 8009df6: 1a5b subs r3, r3, r1 - 8009df8: 6004 str r4, [r0, #0] - 8009dfa: 4621 mov r1, r4 - 8009dfc: f8c2 3208 str.w r3, [r2, #520] ; 0x208 - 8009e00: 2210 movs r2, #16 - 8009e02: f002 fd7f bl 800c904 - 8009e06: 4620 mov r0, r4 - 8009e08: bd10 pop {r4, pc} - 8009e0a: 2001 movs r0, #1 - 8009e0c: e7fc b.n 8009e08 - 8009e0e: bf00 nop - 8009e10: 20001788 .word 0x20001788 +08009dd4 : + 8009dd4: b510 push {r4, lr} + 8009dd6: b310 cbz r0, 8009e1e + 8009dd8: 4a12 ldr r2, [pc, #72] ; (8009e24 ) + 8009dda: 6813 ldr r3, [r2, #0] + 8009ddc: 4298 cmp r0, r3 + 8009dde: d104 bne.n 8009dea + 8009de0: 6803 ldr r3, [r0, #0] + 8009de2: 6013 str r3, [r2, #0] + 8009de4: 2300 movs r3, #0 + 8009de6: e004 b.n 8009df2 + 8009de8: 460b mov r3, r1 + 8009dea: b113 cbz r3, 8009df2 + 8009dec: 6819 ldr r1, [r3, #0] + 8009dee: 4288 cmp r0, r1 + 8009df0: d1fa bne.n 8009de8 + 8009df2: 6851 ldr r1, [r2, #4] + 8009df4: 4288 cmp r0, r1 + 8009df6: bf08 it eq + 8009df8: 6053 streq r3, [r2, #4] + 8009dfa: b10b cbz r3, 8009e00 + 8009dfc: 6801 ldr r1, [r0, #0] + 8009dfe: 6019 str r1, [r3, #0] + 8009e00: f8d2 3208 ldr.w r3, [r2, #520] ; 0x208 + 8009e04: 6881 ldr r1, [r0, #8] + 8009e06: 3b01 subs r3, #1 + 8009e08: 2400 movs r4, #0 + 8009e0a: 1a5b subs r3, r3, r1 + 8009e0c: 6004 str r4, [r0, #0] + 8009e0e: 4621 mov r1, r4 + 8009e10: f8c2 3208 str.w r3, [r2, #520] ; 0x208 + 8009e14: 2210 movs r2, #16 + 8009e16: f002 fd7f bl 800c918 + 8009e1a: 4620 mov r0, r4 + 8009e1c: bd10 pop {r4, pc} + 8009e1e: 2001 movs r0, #1 + 8009e20: e7fc b.n 8009e1c + 8009e22: bf00 nop + 8009e24: 20001788 .word 0x20001788 -08009e14 : - 8009e14: 4b05 ldr r3, [pc, #20] ; (8009e2c ) - 8009e16: 681b ldr r3, [r3, #0] - 8009e18: b113 cbz r3, 8009e20 - 8009e1a: 791a ldrb r2, [r3, #4] - 8009e1c: 4282 cmp r2, r0 - 8009e1e: d1fa bne.n 8009e16 - 8009e20: 2b00 cmp r3, #0 - 8009e22: 600b str r3, [r1, #0] - 8009e24: bf0c ite eq - 8009e26: 2003 moveq r0, #3 - 8009e28: 2000 movne r0, #0 - 8009e2a: 4770 bx lr - 8009e2c: 20001788 .word 0x20001788 +08009e28 : + 8009e28: 4b05 ldr r3, [pc, #20] ; (8009e40 ) + 8009e2a: 681b ldr r3, [r3, #0] + 8009e2c: b113 cbz r3, 8009e34 + 8009e2e: 791a ldrb r2, [r3, #4] + 8009e30: 4282 cmp r2, r0 + 8009e32: d1fa bne.n 8009e2a + 8009e34: 2b00 cmp r3, #0 + 8009e36: 600b str r3, [r1, #0] + 8009e38: bf0c ite eq + 8009e3a: 2003 moveq r0, #3 + 8009e3c: 2000 movne r0, #0 + 8009e3e: 4770 bx lr + 8009e40: 20001788 .word 0x20001788 -08009e30 : - 8009e30: b510 push {r4, lr} - 8009e32: 4b05 ldr r3, [pc, #20] ; (8009e48 ) - 8009e34: 6818 ldr r0, [r3, #0] - 8009e36: b900 cbnz r0, 8009e3a - 8009e38: bd10 pop {r4, pc} - 8009e3a: 7b03 ldrb r3, [r0, #12] - 8009e3c: 6804 ldr r4, [r0, #0] - 8009e3e: b90b cbnz r3, 8009e44 - 8009e40: f7ff ffbe bl 8009dc0 - 8009e44: 4620 mov r0, r4 - 8009e46: e7f6 b.n 8009e36 - 8009e48: 20001788 .word 0x20001788 +08009e44 : + 8009e44: b510 push {r4, lr} + 8009e46: 4b05 ldr r3, [pc, #20] ; (8009e5c ) + 8009e48: 6818 ldr r0, [r3, #0] + 8009e4a: b900 cbnz r0, 8009e4e + 8009e4c: bd10 pop {r4, pc} + 8009e4e: 7b03 ldrb r3, [r0, #12] + 8009e50: 6804 ldr r4, [r0, #0] + 8009e52: b90b cbnz r3, 8009e58 + 8009e54: f7ff ffbe bl 8009dd4 + 8009e58: 4620 mov r0, r4 + 8009e5a: e7f6 b.n 8009e4a + 8009e5c: 20001788 .word 0x20001788 -08009e4c : - 8009e4c: b538 push {r3, r4, r5, lr} - 8009e4e: 4b08 ldr r3, [pc, #32] ; (8009e70 ) - 8009e50: 4c08 ldr r4, [pc, #32] ; (8009e74 ) - 8009e52: 6818 ldr r0, [r3, #0] - 8009e54: b900 cbnz r0, 8009e58 - 8009e56: bd38 pop {r3, r4, r5, pc} - 8009e58: 7903 ldrb r3, [r0, #4] - 8009e5a: 6805 ldr r5, [r0, #0] - 8009e5c: 2b11 cmp r3, #17 - 8009e5e: d805 bhi.n 8009e6c - 8009e60: fa24 f303 lsr.w r3, r4, r3 - 8009e64: 07db lsls r3, r3, #31 - 8009e66: d501 bpl.n 8009e6c - 8009e68: f7ff ffaa bl 8009dc0 - 8009e6c: 4628 mov r0, r5 - 8009e6e: e7f1 b.n 8009e54 - 8009e70: 20001788 .word 0x20001788 - 8009e74: 00020720 .word 0x00020720 +08009e60 : + 8009e60: b538 push {r3, r4, r5, lr} + 8009e62: 4b08 ldr r3, [pc, #32] ; (8009e84 ) + 8009e64: 4c08 ldr r4, [pc, #32] ; (8009e88 ) + 8009e66: 6818 ldr r0, [r3, #0] + 8009e68: b900 cbnz r0, 8009e6c + 8009e6a: bd38 pop {r3, r4, r5, pc} + 8009e6c: 7903 ldrb r3, [r0, #4] + 8009e6e: 6805 ldr r5, [r0, #0] + 8009e70: 2b11 cmp r3, #17 + 8009e72: d805 bhi.n 8009e80 + 8009e74: fa24 f303 lsr.w r3, r4, r3 + 8009e78: 07db lsls r3, r3, #31 + 8009e7a: d501 bpl.n 8009e80 + 8009e7c: f7ff ffaa bl 8009dd4 + 8009e80: 4628 mov r0, r5 + 8009e82: e7f1 b.n 8009e68 + 8009e84: 20001788 .word 0x20001788 + 8009e88: 00020720 .word 0x00020720 -08009e78 : - 8009e78: b128 cbz r0, 8009e86 - 8009e7a: 4b04 ldr r3, [pc, #16] ; (8009e8c ) - 8009e7c: f8d3 3208 ldr.w r3, [r3, #520] ; 0x208 - 8009e80: 6003 str r3, [r0, #0] - 8009e82: 2000 movs r0, #0 - 8009e84: 4770 bx lr - 8009e86: 2001 movs r0, #1 - 8009e88: 4770 bx lr - 8009e8a: bf00 nop - 8009e8c: 20001788 .word 0x20001788 +08009e8c : + 8009e8c: b128 cbz r0, 8009e9a + 8009e8e: 4b04 ldr r3, [pc, #16] ; (8009ea0 ) + 8009e90: f8d3 3208 ldr.w r3, [r3, #520] ; 0x208 + 8009e94: 6003 str r3, [r0, #0] + 8009e96: 2000 movs r0, #0 + 8009e98: 4770 bx lr + 8009e9a: 2001 movs r0, #1 + 8009e9c: 4770 bx lr + 8009e9e: bf00 nop + 8009ea0: 20001788 .word 0x20001788 -08009e90 : - 8009e90: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8009e94: 4607 mov r7, r0 - 8009e96: 460e mov r6, r1 - 8009e98: 4615 mov r5, r2 - 8009e9a: b33a cbz r2, 8009eec - 8009e9c: b331 cbz r1, 8009eec - 8009e9e: 4b14 ldr r3, [pc, #80] ; (8009ef0 ) - 8009ea0: 681c ldr r4, [r3, #0] - 8009ea2: 2300 movs r3, #0 - 8009ea4: b92c cbnz r4, 8009eb2 - 8009ea6: 4630 mov r0, r6 - 8009ea8: f7ff ffe6 bl 8009e78 - 8009eac: 2000 movs r0, #0 - 8009eae: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8009eb2: 68a2 ldr r2, [r4, #8] - 8009eb4: 1af9 subs r1, r7, r3 - 8009eb6: 3201 adds r2, #1 - 8009eb8: 4291 cmp r1, r2 - 8009eba: d310 bcc.n 8009ede - 8009ebc: 7922 ldrb r2, [r4, #4] - 8009ebe: 54ea strb r2, [r5, r3] - 8009ec0: 1c58 adds r0, r3, #1 - 8009ec2: 8922 ldrh r2, [r4, #8] - 8009ec4: fa5f f880 uxtb.w r8, r0 - 8009ec8: 1d61 adds r1, r4, #5 - 8009eca: fa55 f080 uxtab r0, r5, r0 - 8009ece: f002 fd05 bl 800c8dc - 8009ed2: 68a3 ldr r3, [r4, #8] - 8009ed4: 6824 ldr r4, [r4, #0] - 8009ed6: 4498 add r8, r3 - 8009ed8: fa5f f388 uxtb.w r3, r8 - 8009edc: e7e2 b.n 8009ea4 - 8009ede: 4620 mov r0, r4 - 8009ee0: 6824 ldr r4, [r4, #0] - 8009ee2: f7ff ff6d bl 8009dc0 - 8009ee6: 2c00 cmp r4, #0 - 8009ee8: d1f9 bne.n 8009ede - 8009eea: e7dc b.n 8009ea6 - 8009eec: 2001 movs r0, #1 - 8009eee: e7de b.n 8009eae - 8009ef0: 20001788 .word 0x20001788 +08009ea4 : + 8009ea4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8009ea8: 4607 mov r7, r0 + 8009eaa: 460e mov r6, r1 + 8009eac: 4615 mov r5, r2 + 8009eae: b33a cbz r2, 8009f00 + 8009eb0: b331 cbz r1, 8009f00 + 8009eb2: 4b14 ldr r3, [pc, #80] ; (8009f04 ) + 8009eb4: 681c ldr r4, [r3, #0] + 8009eb6: 2300 movs r3, #0 + 8009eb8: b92c cbnz r4, 8009ec6 + 8009eba: 4630 mov r0, r6 + 8009ebc: f7ff ffe6 bl 8009e8c + 8009ec0: 2000 movs r0, #0 + 8009ec2: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8009ec6: 68a2 ldr r2, [r4, #8] + 8009ec8: 1af9 subs r1, r7, r3 + 8009eca: 3201 adds r2, #1 + 8009ecc: 4291 cmp r1, r2 + 8009ece: d310 bcc.n 8009ef2 + 8009ed0: 7922 ldrb r2, [r4, #4] + 8009ed2: 54ea strb r2, [r5, r3] + 8009ed4: 1c58 adds r0, r3, #1 + 8009ed6: 8922 ldrh r2, [r4, #8] + 8009ed8: fa5f f880 uxtb.w r8, r0 + 8009edc: 1d61 adds r1, r4, #5 + 8009ede: fa55 f080 uxtab r0, r5, r0 + 8009ee2: f002 fd05 bl 800c8f0 + 8009ee6: 68a3 ldr r3, [r4, #8] + 8009ee8: 6824 ldr r4, [r4, #0] + 8009eea: 4498 add r8, r3 + 8009eec: fa5f f388 uxtb.w r3, r8 + 8009ef0: e7e2 b.n 8009eb8 + 8009ef2: 4620 mov r0, r4 + 8009ef4: 6824 ldr r4, [r4, #0] + 8009ef6: f7ff ff6d bl 8009dd4 + 8009efa: 2c00 cmp r4, #0 + 8009efc: d1f9 bne.n 8009ef2 + 8009efe: e7dc b.n 8009eba + 8009f00: 2001 movs r0, #1 + 8009f02: e7de b.n 8009ec2 + 8009f04: 20001788 .word 0x20001788 -08009ef4 : - 8009ef4: 3802 subs r0, #2 - 8009ef6: b2c0 uxtb r0, r0 - 8009ef8: 2811 cmp r0, #17 - 8009efa: bf9a itte ls - 8009efc: 4b01 ldrls r3, [pc, #4] ; (8009f04 ) - 8009efe: 5c18 ldrbls r0, [r3, r0] - 8009f00: 2000 movhi r0, #0 - 8009f02: 4770 bx lr - 8009f04: 0800fae7 .word 0x0800fae7 +08009f08 : + 8009f08: 3802 subs r0, #2 + 8009f0a: b2c0 uxtb r0, r0 + 8009f0c: 2811 cmp r0, #17 + 8009f0e: bf9a itte ls + 8009f10: 4b01 ldrls r3, [pc, #4] ; (8009f18 ) + 8009f12: 5c18 ldrbls r0, [r3, r0] + 8009f14: 2000 movhi r0, #0 + 8009f16: 4770 bx lr + 8009f18: 0800faff .word 0x0800faff -08009f08 : - 8009f08: b530 push {r4, r5, lr} - 8009f0a: 4b0b ldr r3, [pc, #44] ; (8009f38 ) - 8009f0c: f893 2020 ldrb.w r2, [r3, #32] - 8009f10: 4604 mov r4, r0 - 8009f12: 4608 mov r0, r1 - 8009f14: b172 cbz r2, 8009f34 - 8009f16: 2100 movs r1, #0 - 8009f18: 331c adds r3, #28 - 8009f1a: 7805 ldrb r5, [r0, #0] - 8009f1c: 42a5 cmp r5, r4 - 8009f1e: d008 beq.n 8009f32 - 8009f20: 3101 adds r1, #1 - 8009f22: 4298 cmp r0, r3 - 8009f24: b2cd uxtb r5, r1 - 8009f26: bf0c ite eq - 8009f28: 4804 ldreq r0, [pc, #16] ; (8009f3c ) - 8009f2a: 3004 addne r0, #4 - 8009f2c: 42aa cmp r2, r5 - 8009f2e: d8f4 bhi.n 8009f1a - 8009f30: 2000 movs r0, #0 - 8009f32: bd30 pop {r4, r5, pc} - 8009f34: 4610 mov r0, r2 - 8009f36: e7fc b.n 8009f32 - 8009f38: 20001994 .word 0x20001994 - 8009f3c: 200019a0 .word 0x200019a0 +08009f1c : + 8009f1c: b530 push {r4, r5, lr} + 8009f1e: 4b0b ldr r3, [pc, #44] ; (8009f4c ) + 8009f20: f893 2020 ldrb.w r2, [r3, #32] + 8009f24: 4604 mov r4, r0 + 8009f26: 4608 mov r0, r1 + 8009f28: b172 cbz r2, 8009f48 + 8009f2a: 2100 movs r1, #0 + 8009f2c: 331c adds r3, #28 + 8009f2e: 7805 ldrb r5, [r0, #0] + 8009f30: 42a5 cmp r5, r4 + 8009f32: d008 beq.n 8009f46 + 8009f34: 3101 adds r1, #1 + 8009f36: 4298 cmp r0, r3 + 8009f38: b2cd uxtb r5, r1 + 8009f3a: bf0c ite eq + 8009f3c: 4804 ldreq r0, [pc, #16] ; (8009f50 ) + 8009f3e: 3004 addne r0, #4 + 8009f40: 42aa cmp r2, r5 + 8009f42: d8f4 bhi.n 8009f2e + 8009f44: 2000 movs r0, #0 + 8009f46: bd30 pop {r4, r5, pc} + 8009f48: 4610 mov r0, r2 + 8009f4a: e7fc b.n 8009f46 + 8009f4c: 20001994 .word 0x20001994 + 8009f50: 200019a0 .word 0x200019a0 -08009f40 : - 8009f40: b510 push {r4, lr} - 8009f42: 4c08 ldr r4, [pc, #32] ; (8009f64 ) - 8009f44: 2300 movs r3, #0 - 8009f46: 6020 str r0, [r4, #0] - 8009f48: 2214 movs r2, #20 - 8009f4a: f104 000c add.w r0, r4, #12 - 8009f4e: 21ff movs r1, #255 ; 0xff - 8009f50: f884 3020 strb.w r3, [r4, #32] - 8009f54: e9c4 0001 strd r0, r0, [r4, #4] - 8009f58: f002 fcd4 bl 800c904 - 8009f5c: 2301 movs r3, #1 - 8009f5e: f884 3021 strb.w r3, [r4, #33] ; 0x21 - 8009f62: bd10 pop {r4, pc} - 8009f64: 20001994 .word 0x20001994 +08009f54 : + 8009f54: b510 push {r4, lr} + 8009f56: 4c08 ldr r4, [pc, #32] ; (8009f78 ) + 8009f58: 2300 movs r3, #0 + 8009f5a: 6020 str r0, [r4, #0] + 8009f5c: 2214 movs r2, #20 + 8009f5e: f104 000c add.w r0, r4, #12 + 8009f62: 21ff movs r1, #255 ; 0xff + 8009f64: f884 3020 strb.w r3, [r4, #32] + 8009f68: e9c4 0001 strd r0, r0, [r4, #4] + 8009f6c: f002 fcd4 bl 800c918 + 8009f70: 2301 movs r3, #1 + 8009f72: f884 3021 strb.w r3, [r4, #33] ; 0x21 + 8009f76: bd10 pop {r4, pc} + 8009f78: 20001994 .word 0x20001994 -08009f68 : - 8009f68: b510 push {r4, lr} - 8009f6a: 4a0e ldr r2, [pc, #56] ; (8009fa4 ) - 8009f6c: f892 1020 ldrb.w r1, [r2, #32] - 8009f70: 2904 cmp r1, #4 - 8009f72: d815 bhi.n 8009fa0 - 8009f74: 6893 ldr r3, [r2, #8] - 8009f76: 7804 ldrb r4, [r0, #0] - 8009f78: 701c strb r4, [r3, #0] - 8009f7a: 7844 ldrb r4, [r0, #1] - 8009f7c: 705c strb r4, [r3, #1] - 8009f7e: 78c4 ldrb r4, [r0, #3] - 8009f80: 7880 ldrb r0, [r0, #2] - 8009f82: 7098 strb r0, [r3, #2] - 8009f84: 3101 adds r1, #1 - 8009f86: 70dc strb r4, [r3, #3] - 8009f88: f882 1020 strb.w r1, [r2, #32] - 8009f8c: f102 011c add.w r1, r2, #28 - 8009f90: 428b cmp r3, r1 - 8009f92: bf14 ite ne - 8009f94: 3304 addne r3, #4 - 8009f96: f102 030c addeq.w r3, r2, #12 - 8009f9a: 6093 str r3, [r2, #8] - 8009f9c: 2001 movs r0, #1 - 8009f9e: bd10 pop {r4, pc} - 8009fa0: 2000 movs r0, #0 - 8009fa2: e7fc b.n 8009f9e - 8009fa4: 20001994 .word 0x20001994 +08009f7c : + 8009f7c: b510 push {r4, lr} + 8009f7e: 4a0e ldr r2, [pc, #56] ; (8009fb8 ) + 8009f80: f892 1020 ldrb.w r1, [r2, #32] + 8009f84: 2904 cmp r1, #4 + 8009f86: d815 bhi.n 8009fb4 + 8009f88: 6893 ldr r3, [r2, #8] + 8009f8a: 7804 ldrb r4, [r0, #0] + 8009f8c: 701c strb r4, [r3, #0] + 8009f8e: 7844 ldrb r4, [r0, #1] + 8009f90: 705c strb r4, [r3, #1] + 8009f92: 78c4 ldrb r4, [r0, #3] + 8009f94: 7880 ldrb r0, [r0, #2] + 8009f96: 7098 strb r0, [r3, #2] + 8009f98: 3101 adds r1, #1 + 8009f9a: 70dc strb r4, [r3, #3] + 8009f9c: f882 1020 strb.w r1, [r2, #32] + 8009fa0: f102 011c add.w r1, r2, #28 + 8009fa4: 428b cmp r3, r1 + 8009fa6: bf14 ite ne + 8009fa8: 3304 addne r3, #4 + 8009faa: f102 030c addeq.w r3, r2, #12 + 8009fae: 6093 str r3, [r2, #8] + 8009fb0: 2001 movs r0, #1 + 8009fb2: bd10 pop {r4, pc} + 8009fb4: 2000 movs r0, #0 + 8009fb6: e7fc b.n 8009fb2 + 8009fb8: 20001994 .word 0x20001994 -08009fa8 : - 8009fa8: 4b09 ldr r3, [pc, #36] ; (8009fd0 ) - 8009faa: f893 0020 ldrb.w r0, [r3, #32] - 8009fae: b168 cbz r0, 8009fcc - 8009fb0: 685a ldr r2, [r3, #4] - 8009fb2: f103 011c add.w r1, r3, #28 - 8009fb6: 428a cmp r2, r1 - 8009fb8: f100 30ff add.w r0, r0, #4294967295 - 8009fbc: bf14 ite ne - 8009fbe: 3204 addne r2, #4 - 8009fc0: f103 020c addeq.w r2, r3, #12 - 8009fc4: f883 0020 strb.w r0, [r3, #32] - 8009fc8: 605a str r2, [r3, #4] - 8009fca: 2001 movs r0, #1 - 8009fcc: 4770 bx lr - 8009fce: bf00 nop - 8009fd0: 20001994 .word 0x20001994 +08009fbc : + 8009fbc: 4b09 ldr r3, [pc, #36] ; (8009fe4 ) + 8009fbe: f893 0020 ldrb.w r0, [r3, #32] + 8009fc2: b168 cbz r0, 8009fe0 + 8009fc4: 685a ldr r2, [r3, #4] + 8009fc6: f103 011c add.w r1, r3, #28 + 8009fca: 428a cmp r2, r1 + 8009fcc: f100 30ff add.w r0, r0, #4294967295 + 8009fd0: bf14 ite ne + 8009fd2: 3204 addne r2, #4 + 8009fd4: f103 020c addeq.w r2, r3, #12 + 8009fd8: f883 0020 strb.w r0, [r3, #32] + 8009fdc: 605a str r2, [r3, #4] + 8009fde: 2001 movs r0, #1 + 8009fe0: 4770 bx lr + 8009fe2: bf00 nop + 8009fe4: 20001994 .word 0x20001994 -08009fd4 : - 8009fd4: b510 push {r4, lr} - 8009fd6: 4b07 ldr r3, [pc, #28] ; (8009ff4 ) - 8009fd8: f893 2020 ldrb.w r2, [r3, #32] - 8009fdc: 4604 mov r4, r0 - 8009fde: 4608 mov r0, r1 - 8009fe0: b132 cbz r2, 8009ff0 - 8009fe2: 6859 ldr r1, [r3, #4] - 8009fe4: f7ff ff90 bl 8009f08 - 8009fe8: b110 cbz r0, 8009ff0 - 8009fea: 2301 movs r3, #1 - 8009fec: 7044 strb r4, [r0, #1] - 8009fee: 7083 strb r3, [r0, #2] - 8009ff0: bd10 pop {r4, pc} - 8009ff2: bf00 nop - 8009ff4: 20001994 .word 0x20001994 +08009fe8 : + 8009fe8: b510 push {r4, lr} + 8009fea: 4b07 ldr r3, [pc, #28] ; (800a008 ) + 8009fec: f893 2020 ldrb.w r2, [r3, #32] + 8009ff0: 4604 mov r4, r0 + 8009ff2: 4608 mov r0, r1 + 8009ff4: b132 cbz r2, 800a004 + 8009ff6: 6859 ldr r1, [r3, #4] + 8009ff8: f7ff ff90 bl 8009f1c + 8009ffc: b110 cbz r0, 800a004 + 8009ffe: 2301 movs r3, #1 + 800a000: 7044 strb r4, [r0, #1] + 800a002: 7083 strb r3, [r0, #2] + 800a004: bd10 pop {r4, pc} + 800a006: bf00 nop + 800a008: 20001994 .word 0x20001994 -08009ff8 : - 8009ff8: b508 push {r3, lr} - 8009ffa: 4b06 ldr r3, [pc, #24] ; (800a014 ) - 8009ffc: f893 2020 ldrb.w r2, [r3, #32] - 800a000: b12a cbz r2, 800a00e - 800a002: 6859 ldr r1, [r3, #4] - 800a004: f7ff ff80 bl 8009f08 - 800a008: b108 cbz r0, 800a00e - 800a00a: 7840 ldrb r0, [r0, #1] - 800a00c: bd08 pop {r3, pc} - 800a00e: 2001 movs r0, #1 - 800a010: e7fc b.n 800a00c - 800a012: bf00 nop - 800a014: 20001994 .word 0x20001994 +0800a00c : + 800a00c: b508 push {r3, lr} + 800a00e: 4b06 ldr r3, [pc, #24] ; (800a028 ) + 800a010: f893 2020 ldrb.w r2, [r3, #32] + 800a014: b12a cbz r2, 800a022 + 800a016: 6859 ldr r1, [r3, #4] + 800a018: f7ff ff80 bl 8009f1c + 800a01c: b108 cbz r0, 800a022 + 800a01e: 7840 ldrb r0, [r0, #1] + 800a020: bd08 pop {r3, pc} + 800a022: 2001 movs r0, #1 + 800a024: e7fc b.n 800a020 + 800a026: bf00 nop + 800a028: 20001994 .word 0x20001994 -0800a018 : - 800a018: b530 push {r4, r5, lr} - 800a01a: 4a0a ldr r2, [pc, #40] ; (800a044 ) - 800a01c: f892 1020 ldrb.w r1, [r2, #32] - 800a020: 6853 ldr r3, [r2, #4] - 800a022: f882 0021 strb.w r0, [r2, #33] ; 0x21 - 800a026: b161 cbz r1, 800a042 - 800a028: 6891 ldr r1, [r2, #8] - 800a02a: 2401 movs r4, #1 - 800a02c: 321c adds r2, #28 - 800a02e: 78dd ldrb r5, [r3, #3] - 800a030: 7058 strb r0, [r3, #1] - 800a032: b905 cbnz r5, 800a036 - 800a034: 709c strb r4, [r3, #2] - 800a036: 4293 cmp r3, r2 - 800a038: bf0c ite eq - 800a03a: 4b03 ldreq r3, [pc, #12] ; (800a048 ) - 800a03c: 3304 addne r3, #4 - 800a03e: 4299 cmp r1, r3 - 800a040: d1f5 bne.n 800a02e - 800a042: bd30 pop {r4, r5, pc} - 800a044: 20001994 .word 0x20001994 - 800a048: 200019a0 .word 0x200019a0 +0800a02c : + 800a02c: b530 push {r4, r5, lr} + 800a02e: 4a0a ldr r2, [pc, #40] ; (800a058 ) + 800a030: f892 1020 ldrb.w r1, [r2, #32] + 800a034: 6853 ldr r3, [r2, #4] + 800a036: f882 0021 strb.w r0, [r2, #33] ; 0x21 + 800a03a: b161 cbz r1, 800a056 + 800a03c: 6891 ldr r1, [r2, #8] + 800a03e: 2401 movs r4, #1 + 800a040: 321c adds r2, #28 + 800a042: 78dd ldrb r5, [r3, #3] + 800a044: 7058 strb r0, [r3, #1] + 800a046: b905 cbnz r5, 800a04a + 800a048: 709c strb r4, [r3, #2] + 800a04a: 4293 cmp r3, r2 + 800a04c: bf0c ite eq + 800a04e: 4b03 ldreq r3, [pc, #12] ; (800a05c ) + 800a050: 3304 addne r3, #4 + 800a052: 4299 cmp r1, r3 + 800a054: d1f5 bne.n 800a042 + 800a056: bd30 pop {r4, r5, pc} + 800a058: 20001994 .word 0x20001994 + 800a05c: 200019a0 .word 0x200019a0 -0800a04c : - 800a04c: b508 push {r3, lr} - 800a04e: 4b04 ldr r3, [pc, #16] ; (800a060 ) - 800a050: 6859 ldr r1, [r3, #4] - 800a052: f7ff ff59 bl 8009f08 - 800a056: 3800 subs r0, #0 - 800a058: bf18 it ne - 800a05a: 2001 movne r0, #1 - 800a05c: bd08 pop {r3, pc} - 800a05e: bf00 nop - 800a060: 20001994 .word 0x20001994 +0800a060 : + 800a060: b508 push {r3, lr} + 800a062: 4b04 ldr r3, [pc, #16] ; (800a074 ) + 800a064: 6859 ldr r1, [r3, #4] + 800a066: f7ff ff59 bl 8009f1c + 800a06a: 3800 subs r0, #0 + 800a06c: bf18 it ne + 800a06e: 2001 movne r0, #1 + 800a070: bd08 pop {r3, pc} + 800a072: bf00 nop + 800a074: 20001994 .word 0x20001994 -0800a064 : - 800a064: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} - 800a068: 2204 movs r2, #4 - 800a06a: 4e15 ldr r6, [pc, #84] ; (800a0c0 ) - 800a06c: 4604 mov r4, r0 - 800a06e: 2100 movs r1, #0 - 800a070: eb0d 0002 add.w r0, sp, r2 - 800a074: f896 8020 ldrb.w r8, [r6, #32] - 800a078: f002 fc44 bl 800c904 - 800a07c: 2500 movs r5, #0 - 800a07e: b2eb uxtb r3, r5 - 800a080: 4598 cmp r8, r3 - 800a082: d802 bhi.n 800a08a - 800a084: b002 add sp, #8 - 800a086: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800a08a: 6873 ldr r3, [r6, #4] - 800a08c: 7819 ldrb r1, [r3, #0] - 800a08e: 7021 strb r1, [r4, #0] - 800a090: 785a ldrb r2, [r3, #1] - 800a092: 7062 strb r2, [r4, #1] - 800a094: 789f ldrb r7, [r3, #2] - 800a096: b15f cbz r7, 800a0b0 - 800a098: 6833 ldr r3, [r6, #0] - 800a09a: 4620 mov r0, r4 - 800a09c: 689b ldr r3, [r3, #8] - 800a09e: 4798 blx r3 - 800a0a0: f7ff ff82 bl 8009fa8 - 800a0a4: b917 cbnz r7, 800a0ac - 800a0a6: a801 add r0, sp, #4 - 800a0a8: f7ff ff5e bl 8009f68 - 800a0ac: 3501 adds r5, #1 - 800a0ae: e7e6 b.n 800a07e - 800a0b0: 78db ldrb r3, [r3, #3] - 800a0b2: f88d 1004 strb.w r1, [sp, #4] - 800a0b6: f88d 2005 strb.w r2, [sp, #5] - 800a0ba: f88d 3007 strb.w r3, [sp, #7] - 800a0be: e7ef b.n 800a0a0 - 800a0c0: 20001994 .word 0x20001994 +0800a078 : + 800a078: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} + 800a07c: 2204 movs r2, #4 + 800a07e: 4e15 ldr r6, [pc, #84] ; (800a0d4 ) + 800a080: 4604 mov r4, r0 + 800a082: 2100 movs r1, #0 + 800a084: eb0d 0002 add.w r0, sp, r2 + 800a088: f896 8020 ldrb.w r8, [r6, #32] + 800a08c: f002 fc44 bl 800c918 + 800a090: 2500 movs r5, #0 + 800a092: b2eb uxtb r3, r5 + 800a094: 4598 cmp r8, r3 + 800a096: d802 bhi.n 800a09e + 800a098: b002 add sp, #8 + 800a09a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800a09e: 6873 ldr r3, [r6, #4] + 800a0a0: 7819 ldrb r1, [r3, #0] + 800a0a2: 7021 strb r1, [r4, #0] + 800a0a4: 785a ldrb r2, [r3, #1] + 800a0a6: 7062 strb r2, [r4, #1] + 800a0a8: 789f ldrb r7, [r3, #2] + 800a0aa: b15f cbz r7, 800a0c4 + 800a0ac: 6833 ldr r3, [r6, #0] + 800a0ae: 4620 mov r0, r4 + 800a0b0: 689b ldr r3, [r3, #8] + 800a0b2: 4798 blx r3 + 800a0b4: f7ff ff82 bl 8009fbc + 800a0b8: b917 cbnz r7, 800a0c0 + 800a0ba: a801 add r0, sp, #4 + 800a0bc: f7ff ff5e bl 8009f7c + 800a0c0: 3501 adds r5, #1 + 800a0c2: e7e6 b.n 800a092 + 800a0c4: 78db ldrb r3, [r3, #3] + 800a0c6: f88d 1004 strb.w r1, [sp, #4] + 800a0ca: f88d 2005 strb.w r2, [sp, #5] + 800a0ce: f88d 3007 strb.w r3, [sp, #7] + 800a0d2: e7ef b.n 800a0b4 + 800a0d4: 20001994 .word 0x20001994 -0800a0c4 : - 800a0c4: 4b01 ldr r3, [pc, #4] ; (800a0cc ) - 800a0c6: f893 0020 ldrb.w r0, [r3, #32] - 800a0ca: 4770 bx lr - 800a0cc: 20001994 .word 0x20001994 - -0800a0d0 : - 800a0d0: 4b03 ldr r3, [pc, #12] ; (800a0e0 ) - 800a0d2: f893 0020 ldrb.w r0, [r3, #32] - 800a0d6: 2804 cmp r0, #4 - 800a0d8: bf94 ite ls - 800a0da: 2000 movls r0, #0 - 800a0dc: 2001 movhi r0, #1 +0800a0d8 : + 800a0d8: 4b01 ldr r3, [pc, #4] ; (800a0e0 ) + 800a0da: f893 0020 ldrb.w r0, [r3, #32] 800a0de: 4770 bx lr 800a0e0: 20001994 .word 0x20001994 -0800a0e4 : - 800a0e4: b51f push {r0, r1, r2, r3, r4, lr} - 800a0e6: 2400 movs r4, #0 - 800a0e8: e9cd 4402 strd r4, r4, [sp, #8] - 800a0ec: 1fc4 subs r4, r0, #7 - 800a0ee: f88d 4000 strb.w r4, [sp] - 800a0f2: f88d 1001 strb.w r1, [sp, #1] - 800a0f6: 0a0c lsrs r4, r1, #8 - 800a0f8: f8ad 2004 strh.w r2, [sp, #4] - 800a0fc: 0c09 lsrs r1, r1, #16 - 800a0fe: 0c12 lsrs r2, r2, #16 - 800a100: f88d 1003 strb.w r1, [sp, #3] - 800a104: f88d 2006 strb.w r2, [sp, #6] - 800a108: f88d 3007 strb.w r3, [sp, #7] - 800a10c: 4602 mov r2, r0 - 800a10e: 0a1b lsrs r3, r3, #8 - 800a110: 2101 movs r1, #1 - 800a112: 4668 mov r0, sp - 800a114: f88d 4002 strb.w r4, [sp, #2] - 800a118: f88d 3008 strb.w r3, [sp, #8] - 800a11c: f002 fa4f bl 800c5be - 800a120: 2800 cmp r0, #0 - 800a122: bf18 it ne - 800a124: 200e movne r0, #14 - 800a126: b004 add sp, #16 - 800a128: bd10 pop {r4, pc} +0800a0e4 : + 800a0e4: 4b03 ldr r3, [pc, #12] ; (800a0f4 ) + 800a0e6: f893 0020 ldrb.w r0, [r3, #32] + 800a0ea: 2804 cmp r0, #4 + 800a0ec: bf94 ite ls + 800a0ee: 2000 movls r0, #0 + 800a0f0: 2001 movhi r0, #1 + 800a0f2: 4770 bx lr + 800a0f4: 20001994 .word 0x20001994 -0800a12a : - 800a12a: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800a12e: b088 sub sp, #32 - 800a130: 4617 mov r7, r2 - 800a132: 460d mov r5, r1 - 800a134: 9a0f ldr r2, [sp, #60] ; 0x3c - 800a136: 4606 mov r6, r0 - 800a138: 2800 cmp r0, #0 - 800a13a: d04d beq.n 800a1d8 - 800a13c: 2400 movs r4, #0 - 800a13e: 2101 movs r1, #1 - 800a140: e9cd 4404 strd r4, r4, [sp, #16] - 800a144: f88d 1010 strb.w r1, [sp, #16] - 800a148: f89d 1038 ldrb.w r1, [sp, #56] ; 0x38 - 800a14c: f88d 1015 strb.w r1, [sp, #21] - 800a150: f8ad 3016 strh.w r3, [sp, #22] - 800a154: 0c19 lsrs r1, r3, #16 - 800a156: e9cd 4400 strd r4, r4, [sp] - 800a15a: 0e1b lsrs r3, r3, #24 - 800a15c: e9cd 4402 strd r4, r4, [sp, #8] - 800a160: f88d 3019 strb.w r3, [sp, #25] - 800a164: f8ad 201a strh.w r2, [sp, #26] - 800a168: 0c13 lsrs r3, r2, #16 - 800a16a: 0e12 lsrs r2, r2, #24 - 800a16c: 9407 str r4, [sp, #28] - 800a16e: f88d 1018 strb.w r1, [sp, #24] - 800a172: f88d 301c strb.w r3, [sp, #28] - 800a176: f88d 201d strb.w r2, [sp, #29] - 800a17a: b2e3 uxtb r3, r4 - 800a17c: ea4f 1803 mov.w r8, r3, lsl #4 - 800a180: 2d00 cmp r5, #0 - 800a182: fa5f f888 uxtb.w r8, r8 - 800a186: dc03 bgt.n 800a190 - 800a188: 2000 movs r0, #0 - 800a18a: b008 add sp, #32 - 800a18c: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800a190: 3301 adds r3, #1 - 800a192: 2110 movs r1, #16 - 800a194: f88d 301f strb.w r3, [sp, #31] - 800a198: 463a mov r2, r7 - 800a19a: 466b mov r3, sp - 800a19c: eb0d 0001 add.w r0, sp, r1 - 800a1a0: f002 f9a3 bl 800c4ea - 800a1a4: 4603 mov r3, r0 - 800a1a6: b9c8 cbnz r0, 800a1dc - 800a1a8: 2d10 cmp r5, #16 - 800a1aa: 46ac mov ip, r5 - 800a1ac: bfa8 it ge - 800a1ae: f04f 0c10 movge.w ip, #16 - 800a1b2: b2da uxtb r2, r3 - 800a1b4: 4562 cmp r2, ip - 800a1b6: f103 0301 add.w r3, r3, #1 - 800a1ba: db03 blt.n 800a1c4 - 800a1bc: 3d10 subs r5, #16 - 800a1be: b22d sxth r5, r5 - 800a1c0: 3401 adds r4, #1 - 800a1c2: e7da b.n 800a17a - 800a1c4: eb08 0002 add.w r0, r8, r2 - 800a1c8: 3220 adds r2, #32 - 800a1ca: 446a add r2, sp - 800a1cc: 5c31 ldrb r1, [r6, r0] - 800a1ce: f812 2c20 ldrb.w r2, [r2, #-32] - 800a1d2: 404a eors r2, r1 - 800a1d4: 5432 strb r2, [r6, r0] - 800a1d6: e7ec b.n 800a1b2 - 800a1d8: 2009 movs r0, #9 - 800a1da: e7d6 b.n 800a18a - 800a1dc: 200e movs r0, #14 - 800a1de: e7d4 b.n 800a18a +0800a0f8 : + 800a0f8: b51f push {r0, r1, r2, r3, r4, lr} + 800a0fa: 2400 movs r4, #0 + 800a0fc: e9cd 4402 strd r4, r4, [sp, #8] + 800a100: 1fc4 subs r4, r0, #7 + 800a102: f88d 4000 strb.w r4, [sp] + 800a106: f88d 1001 strb.w r1, [sp, #1] + 800a10a: 0a0c lsrs r4, r1, #8 + 800a10c: f8ad 2004 strh.w r2, [sp, #4] + 800a110: 0c09 lsrs r1, r1, #16 + 800a112: 0c12 lsrs r2, r2, #16 + 800a114: f88d 1003 strb.w r1, [sp, #3] + 800a118: f88d 2006 strb.w r2, [sp, #6] + 800a11c: f88d 3007 strb.w r3, [sp, #7] + 800a120: 4602 mov r2, r0 + 800a122: 0a1b lsrs r3, r3, #8 + 800a124: 2101 movs r1, #1 + 800a126: 4668 mov r0, sp + 800a128: f88d 4002 strb.w r4, [sp, #2] + 800a12c: f88d 3008 strb.w r3, [sp, #8] + 800a130: f002 fa4f bl 800c5d2 + 800a134: 2800 cmp r0, #0 + 800a136: bf18 it ne + 800a138: 200e movne r0, #14 + 800a13a: b004 add sp, #16 + 800a13c: bd10 pop {r4, pc} -0800a1e0 : - 800a1e0: 3801 subs r0, #1 - 800a1e2: 2803 cmp r0, #3 - 800a1e4: d815 bhi.n 800a212 - 800a1e6: e8df f000 tbb [pc, r0] - 800a1ea: 0802 .short 0x0802 - 800a1ec: 100c .short 0x100c - 800a1ee: 4b0a ldr r3, [pc, #40] ; (800a218 ) - 800a1f0: 681b ldr r3, [r3, #0] - 800a1f2: 691b ldr r3, [r3, #16] - 800a1f4: 600b str r3, [r1, #0] - 800a1f6: 2000 movs r0, #0 - 800a1f8: 4770 bx lr - 800a1fa: 4b07 ldr r3, [pc, #28] ; (800a218 ) - 800a1fc: 681b ldr r3, [r3, #0] - 800a1fe: 695b ldr r3, [r3, #20] - 800a200: e7f8 b.n 800a1f4 - 800a202: 4b05 ldr r3, [pc, #20] ; (800a218 ) +0800a13e : + 800a13e: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800a142: b088 sub sp, #32 + 800a144: 4617 mov r7, r2 + 800a146: 460d mov r5, r1 + 800a148: 9a0f ldr r2, [sp, #60] ; 0x3c + 800a14a: 4606 mov r6, r0 + 800a14c: 2800 cmp r0, #0 + 800a14e: d04d beq.n 800a1ec + 800a150: 2400 movs r4, #0 + 800a152: 2101 movs r1, #1 + 800a154: e9cd 4404 strd r4, r4, [sp, #16] + 800a158: f88d 1010 strb.w r1, [sp, #16] + 800a15c: f89d 1038 ldrb.w r1, [sp, #56] ; 0x38 + 800a160: f88d 1015 strb.w r1, [sp, #21] + 800a164: f8ad 3016 strh.w r3, [sp, #22] + 800a168: 0c19 lsrs r1, r3, #16 + 800a16a: e9cd 4400 strd r4, r4, [sp] + 800a16e: 0e1b lsrs r3, r3, #24 + 800a170: e9cd 4402 strd r4, r4, [sp, #8] + 800a174: f88d 3019 strb.w r3, [sp, #25] + 800a178: f8ad 201a strh.w r2, [sp, #26] + 800a17c: 0c13 lsrs r3, r2, #16 + 800a17e: 0e12 lsrs r2, r2, #24 + 800a180: 9407 str r4, [sp, #28] + 800a182: f88d 1018 strb.w r1, [sp, #24] + 800a186: f88d 301c strb.w r3, [sp, #28] + 800a18a: f88d 201d strb.w r2, [sp, #29] + 800a18e: b2e3 uxtb r3, r4 + 800a190: ea4f 1803 mov.w r8, r3, lsl #4 + 800a194: 2d00 cmp r5, #0 + 800a196: fa5f f888 uxtb.w r8, r8 + 800a19a: dc03 bgt.n 800a1a4 + 800a19c: 2000 movs r0, #0 + 800a19e: b008 add sp, #32 + 800a1a0: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800a1a4: 3301 adds r3, #1 + 800a1a6: 2110 movs r1, #16 + 800a1a8: f88d 301f strb.w r3, [sp, #31] + 800a1ac: 463a mov r2, r7 + 800a1ae: 466b mov r3, sp + 800a1b0: eb0d 0001 add.w r0, sp, r1 + 800a1b4: f002 f9a3 bl 800c4fe + 800a1b8: 4603 mov r3, r0 + 800a1ba: b9c8 cbnz r0, 800a1f0 + 800a1bc: 2d10 cmp r5, #16 + 800a1be: 46ac mov ip, r5 + 800a1c0: bfa8 it ge + 800a1c2: f04f 0c10 movge.w ip, #16 + 800a1c6: b2da uxtb r2, r3 + 800a1c8: 4562 cmp r2, ip + 800a1ca: f103 0301 add.w r3, r3, #1 + 800a1ce: db03 blt.n 800a1d8 + 800a1d0: 3d10 subs r5, #16 + 800a1d2: b22d sxth r5, r5 + 800a1d4: 3401 adds r4, #1 + 800a1d6: e7da b.n 800a18e + 800a1d8: eb08 0002 add.w r0, r8, r2 + 800a1dc: 3220 adds r2, #32 + 800a1de: 446a add r2, sp + 800a1e0: 5c31 ldrb r1, [r6, r0] + 800a1e2: f812 2c20 ldrb.w r2, [r2, #-32] + 800a1e6: 404a eors r2, r1 + 800a1e8: 5432 strb r2, [r6, r0] + 800a1ea: e7ec b.n 800a1c6 + 800a1ec: 2009 movs r0, #9 + 800a1ee: e7d6 b.n 800a19e + 800a1f0: 200e movs r0, #14 + 800a1f2: e7d4 b.n 800a19e + +0800a1f4 : + 800a1f4: 3801 subs r0, #1 + 800a1f6: 2803 cmp r0, #3 + 800a1f8: d815 bhi.n 800a226 + 800a1fa: e8df f000 tbb [pc, r0] + 800a1fe: 0802 .short 0x0802 + 800a200: 100c .short 0x100c + 800a202: 4b0a ldr r3, [pc, #40] ; (800a22c ) 800a204: 681b ldr r3, [r3, #0] - 800a206: 699b ldr r3, [r3, #24] - 800a208: e7f4 b.n 800a1f4 - 800a20a: 4b03 ldr r3, [pc, #12] ; (800a218 ) - 800a20c: 681b ldr r3, [r3, #0] - 800a20e: 69db ldr r3, [r3, #28] - 800a210: e7f0 b.n 800a1f4 - 800a212: 2005 movs r0, #5 - 800a214: 4770 bx lr - 800a216: bf00 nop - 800a218: 200019b8 .word 0x200019b8 + 800a206: 691b ldr r3, [r3, #16] + 800a208: 600b str r3, [r1, #0] + 800a20a: 2000 movs r0, #0 + 800a20c: 4770 bx lr + 800a20e: 4b07 ldr r3, [pc, #28] ; (800a22c ) + 800a210: 681b ldr r3, [r3, #0] + 800a212: 695b ldr r3, [r3, #20] + 800a214: e7f8 b.n 800a208 + 800a216: 4b05 ldr r3, [pc, #20] ; (800a22c ) + 800a218: 681b ldr r3, [r3, #0] + 800a21a: 699b ldr r3, [r3, #24] + 800a21c: e7f4 b.n 800a208 + 800a21e: 4b03 ldr r3, [pc, #12] ; (800a22c ) + 800a220: 681b ldr r3, [r3, #0] + 800a222: 69db ldr r3, [r3, #28] + 800a224: e7f0 b.n 800a208 + 800a226: 2005 movs r0, #5 + 800a228: 4770 bx lr + 800a22a: bf00 nop + 800a22c: 200019b8 .word 0x200019b8 -0800a21c : - 800a21c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800a220: b0c4 sub sp, #272 ; 0x110 - 800a222: 460c mov r4, r1 - 800a224: 9e4a ldr r6, [sp, #296] ; 0x128 - 800a226: 4617 mov r7, r2 - 800a228: 461d mov r5, r3 - 800a22a: 4680 mov r8, r0 - 800a22c: b3b8 cbz r0, 800a29e - 800a22e: f5b1 7f80 cmp.w r1, #256 ; 0x100 - 800a232: d836 bhi.n 800a2a2 - 800a234: f44f 7288 mov.w r2, #272 ; 0x110 - 800a238: 2100 movs r1, #0 - 800a23a: 4668 mov r0, sp - 800a23c: f002 fb62 bl 800c904 - 800a240: 2349 movs r3, #73 ; 0x49 - 800a242: 9300 str r3, [sp, #0] - 800a244: f44f 7380 mov.w r3, #256 ; 0x100 - 800a248: f8ad 3004 strh.w r3, [sp, #4] - 800a24c: 0c2b lsrs r3, r5, #16 - 800a24e: f88d 3008 strb.w r3, [sp, #8] - 800a252: 0c33 lsrs r3, r6, #16 - 800a254: f8ad 5006 strh.w r5, [sp, #6] - 800a258: f8ad 600a strh.w r6, [sp, #10] - 800a25c: f88d 300c strb.w r3, [sp, #12] - 800a260: 4622 mov r2, r4 - 800a262: 2300 movs r3, #0 - 800a264: 4641 mov r1, r8 - 800a266: a804 add r0, sp, #16 - 800a268: 0e2d lsrs r5, r5, #24 - 800a26a: 0e36 lsrs r6, r6, #24 - 800a26c: f88d 300e strb.w r3, [sp, #14] - 800a270: f88d 5009 strb.w r5, [sp, #9] - 800a274: f88d 600d strb.w r6, [sp, #13] - 800a278: f88d 400f strb.w r4, [sp, #15] - 800a27c: f002 fb2e bl 800c8dc - 800a280: f104 0110 add.w r1, r4, #16 - 800a284: 9a4b ldr r2, [sp, #300] ; 0x12c - 800a286: 463b mov r3, r7 - 800a288: b289 uxth r1, r1 - 800a28a: 4668 mov r0, sp - 800a28c: f002 f917 bl 800c4be - 800a290: b110 cbz r0, 800a298 - 800a292: 2801 cmp r0, #1 - 800a294: bf18 it ne - 800a296: 200e movne r0, #14 - 800a298: b044 add sp, #272 ; 0x110 - 800a29a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800a29e: 2009 movs r0, #9 - 800a2a0: e7fa b.n 800a298 - 800a2a2: 200d movs r0, #13 - 800a2a4: e7f8 b.n 800a298 +0800a230 : + 800a230: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800a234: b0c4 sub sp, #272 ; 0x110 + 800a236: 460c mov r4, r1 + 800a238: 9e4a ldr r6, [sp, #296] ; 0x128 + 800a23a: 4617 mov r7, r2 + 800a23c: 461d mov r5, r3 + 800a23e: 4680 mov r8, r0 + 800a240: b3b8 cbz r0, 800a2b2 + 800a242: f5b1 7f80 cmp.w r1, #256 ; 0x100 + 800a246: d836 bhi.n 800a2b6 + 800a248: f44f 7288 mov.w r2, #272 ; 0x110 + 800a24c: 2100 movs r1, #0 + 800a24e: 4668 mov r0, sp + 800a250: f002 fb62 bl 800c918 + 800a254: 2349 movs r3, #73 ; 0x49 + 800a256: 9300 str r3, [sp, #0] + 800a258: f44f 7380 mov.w r3, #256 ; 0x100 + 800a25c: f8ad 3004 strh.w r3, [sp, #4] + 800a260: 0c2b lsrs r3, r5, #16 + 800a262: f88d 3008 strb.w r3, [sp, #8] + 800a266: 0c33 lsrs r3, r6, #16 + 800a268: f8ad 5006 strh.w r5, [sp, #6] + 800a26c: f8ad 600a strh.w r6, [sp, #10] + 800a270: f88d 300c strb.w r3, [sp, #12] + 800a274: 4622 mov r2, r4 + 800a276: 2300 movs r3, #0 + 800a278: 4641 mov r1, r8 + 800a27a: a804 add r0, sp, #16 + 800a27c: 0e2d lsrs r5, r5, #24 + 800a27e: 0e36 lsrs r6, r6, #24 + 800a280: f88d 300e strb.w r3, [sp, #14] + 800a284: f88d 5009 strb.w r5, [sp, #9] + 800a288: f88d 600d strb.w r6, [sp, #13] + 800a28c: f88d 400f strb.w r4, [sp, #15] + 800a290: f002 fb2e bl 800c8f0 + 800a294: f104 0110 add.w r1, r4, #16 + 800a298: 9a4b ldr r2, [sp, #300] ; 0x12c + 800a29a: 463b mov r3, r7 + 800a29c: b289 uxth r1, r1 + 800a29e: 4668 mov r0, sp + 800a2a0: f002 f917 bl 800c4d2 + 800a2a4: b110 cbz r0, 800a2ac + 800a2a6: 2801 cmp r0, #1 + 800a2a8: bf18 it ne + 800a2aa: 200e movne r0, #14 + 800a2ac: b044 add sp, #272 ; 0x110 + 800a2ae: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800a2b2: 2009 movs r0, #9 + 800a2b4: e7fa b.n 800a2ac + 800a2b6: 200d movs r0, #13 + 800a2b8: e7f8 b.n 800a2ac ... -0800a2a8 : - 800a2a8: b510 push {r4, lr} - 800a2aa: b190 cbz r0, 800a2d2 - 800a2ac: 4c0a ldr r4, [pc, #40] ; (800a2d8 ) - 800a2ae: 2228 movs r2, #40 ; 0x28 - 800a2b0: 2100 movs r1, #0 - 800a2b2: 6020 str r0, [r4, #0] - 800a2b4: f002 fb26 bl 800c904 - 800a2b8: 6823 ldr r3, [r4, #0] - 800a2ba: 4a08 ldr r2, [pc, #32] ; (800a2dc ) - 800a2bc: 601a str r2, [r3, #0] - 800a2be: 2000 movs r0, #0 - 800a2c0: f04f 32ff mov.w r2, #4294967295 - 800a2c4: e9c3 0203 strd r0, r2, [r3, #12] - 800a2c8: e9c3 2205 strd r2, r2, [r3, #20] - 800a2cc: e9c3 2207 strd r2, r2, [r3, #28] - 800a2d0: bd10 pop {r4, pc} - 800a2d2: 2008 movs r0, #8 - 800a2d4: e7fc b.n 800a2d0 - 800a2d6: bf00 nop - 800a2d8: 200019b8 .word 0x200019b8 - 800a2dc: 01010100 .word 0x01010100 - -0800a2e0 : - 800a2e0: 4b02 ldr r3, [pc, #8] ; (800a2ec ) - 800a2e2: 681b ldr r3, [r3, #0] - 800a2e4: 6018 str r0, [r3, #0] - 800a2e6: 2000 movs r0, #0 - 800a2e8: 4770 bx lr +0800a2bc : + 800a2bc: b510 push {r4, lr} + 800a2be: b190 cbz r0, 800a2e6 + 800a2c0: 4c0a ldr r4, [pc, #40] ; (800a2ec ) + 800a2c2: 2228 movs r2, #40 ; 0x28 + 800a2c4: 2100 movs r1, #0 + 800a2c6: 6020 str r0, [r4, #0] + 800a2c8: f002 fb26 bl 800c918 + 800a2cc: 6823 ldr r3, [r4, #0] + 800a2ce: 4a08 ldr r2, [pc, #32] ; (800a2f0 ) + 800a2d0: 601a str r2, [r3, #0] + 800a2d2: 2000 movs r0, #0 + 800a2d4: f04f 32ff mov.w r2, #4294967295 + 800a2d8: e9c3 0203 strd r0, r2, [r3, #12] + 800a2dc: e9c3 2205 strd r2, r2, [r3, #20] + 800a2e0: e9c3 2207 strd r2, r2, [r3, #28] + 800a2e4: bd10 pop {r4, pc} + 800a2e6: 2008 movs r0, #8 + 800a2e8: e7fc b.n 800a2e4 800a2ea: bf00 nop 800a2ec: 200019b8 .word 0x200019b8 + 800a2f0: 01010100 .word 0x01010100 -0800a2f0 : - 800a2f0: b130 cbz r0, 800a300 - 800a2f2: 4b04 ldr r3, [pc, #16] ; (800a304 ) - 800a2f4: 681b ldr r3, [r3, #0] - 800a2f6: 68db ldr r3, [r3, #12] - 800a2f8: 3301 adds r3, #1 - 800a2fa: 6003 str r3, [r0, #0] - 800a2fc: 2000 movs r0, #0 - 800a2fe: 4770 bx lr - 800a300: 2009 movs r0, #9 - 800a302: 4770 bx lr - 800a304: 200019b8 .word 0x200019b8 +0800a2f4 : + 800a2f4: 4b02 ldr r3, [pc, #8] ; (800a300 ) + 800a2f6: 681b ldr r3, [r3, #0] + 800a2f8: 6018 str r0, [r3, #0] + 800a2fa: 2000 movs r0, #0 + 800a2fc: 4770 bx lr + 800a2fe: bf00 nop + 800a300: 200019b8 .word 0x200019b8 -0800a308 : - 800a308: b513 push {r0, r1, r4, lr} - 800a30a: 2300 movs r3, #0 - 800a30c: 460c mov r4, r1 - 800a30e: 9301 str r3, [sp, #4] - 800a310: b1d2 cbz r2, 800a348 - 800a312: a901 add r1, sp, #4 - 800a314: f7ff ff64 bl 800a1e0 - 800a318: b918 cbnz r0, 800a322 - 800a31a: 9b01 ldr r3, [sp, #4] - 800a31c: 1c59 adds r1, r3, #1 - 800a31e: d102 bne.n 800a326 - 800a320: 6014 str r4, [r2, #0] - 800a322: b002 add sp, #8 - 800a324: bd10 pop {r4, pc} - 800a326: b299 uxth r1, r3 - 800a328: 1a61 subs r1, r4, r1 - 800a32a: 2900 cmp r1, #0 - 800a32c: dd02 ble.n 800a334 - 800a32e: 440b add r3, r1 - 800a330: 6013 str r3, [r2, #0] - 800a332: e7f6 b.n 800a322 - 800a334: d102 bne.n 800a33c - 800a336: 6013 str r3, [r2, #0] - 800a338: 2007 movs r0, #7 - 800a33a: e7f2 b.n 800a322 - 800a33c: 0c1b lsrs r3, r3, #16 - 800a33e: 041b lsls r3, r3, #16 - 800a340: f503 3380 add.w r3, r3, #65536 ; 0x10000 - 800a344: 4423 add r3, r4 - 800a346: e7f3 b.n 800a330 - 800a348: 2009 movs r0, #9 - 800a34a: e7ea b.n 800a322 +0800a304 : + 800a304: b130 cbz r0, 800a314 + 800a306: 4b04 ldr r3, [pc, #16] ; (800a318 ) + 800a308: 681b ldr r3, [r3, #0] + 800a30a: 68db ldr r3, [r3, #12] + 800a30c: 3301 adds r3, #1 + 800a30e: 6003 str r3, [r0, #0] + 800a310: 2000 movs r0, #0 + 800a312: 4770 bx lr + 800a314: 2009 movs r0, #9 + 800a316: 4770 bx lr + 800a318: 200019b8 .word 0x200019b8 -0800a34c : - 800a34c: b128 cbz r0, 800a35a - 800a34e: 4b04 ldr r3, [pc, #16] ; (800a360 ) - 800a350: 681b ldr r3, [r3, #0] - 800a352: 331c adds r3, #28 - 800a354: 6243 str r3, [r0, #36] ; 0x24 - 800a356: 2000 movs r0, #0 - 800a358: 4770 bx lr - 800a35a: 2009 movs r0, #9 - 800a35c: 4770 bx lr - 800a35e: bf00 nop - 800a360: 200019b8 .word 0x200019b8 +0800a31c : + 800a31c: b513 push {r0, r1, r4, lr} + 800a31e: 2300 movs r3, #0 + 800a320: 460c mov r4, r1 + 800a322: 9301 str r3, [sp, #4] + 800a324: b1d2 cbz r2, 800a35c + 800a326: a901 add r1, sp, #4 + 800a328: f7ff ff64 bl 800a1f4 + 800a32c: b918 cbnz r0, 800a336 + 800a32e: 9b01 ldr r3, [sp, #4] + 800a330: 1c59 adds r1, r3, #1 + 800a332: d102 bne.n 800a33a + 800a334: 6014 str r4, [r2, #0] + 800a336: b002 add sp, #8 + 800a338: bd10 pop {r4, pc} + 800a33a: b299 uxth r1, r3 + 800a33c: 1a61 subs r1, r4, r1 + 800a33e: 2900 cmp r1, #0 + 800a340: dd02 ble.n 800a348 + 800a342: 440b add r3, r1 + 800a344: 6013 str r3, [r2, #0] + 800a346: e7f6 b.n 800a336 + 800a348: d102 bne.n 800a350 + 800a34a: 6013 str r3, [r2, #0] + 800a34c: 2007 movs r0, #7 + 800a34e: e7f2 b.n 800a336 + 800a350: 0c1b lsrs r3, r3, #16 + 800a352: 041b lsls r3, r3, #16 + 800a354: f503 3380 add.w r3, r3, #65536 ; 0x10000 + 800a358: 4423 add r3, r4 + 800a35a: e7f3 b.n 800a344 + 800a35c: 2009 movs r0, #9 + 800a35e: e7ea b.n 800a336 -0800a364 : - 800a364: b51f push {r0, r1, r2, r3, r4, lr} - 800a366: 4604 mov r4, r0 - 800a368: b300 cbz r0, 800a3ac - 800a36a: 2300 movs r3, #0 - 800a36c: a803 add r0, sp, #12 - 800a36e: 9303 str r3, [sp, #12] - 800a370: f002 f97c bl 800c66c - 800a374: 4a10 ldr r2, [pc, #64] ; (800a3b8 ) - 800a376: f8bd 300c ldrh.w r3, [sp, #12] - 800a37a: 6812 ldr r2, [r2, #0] - 800a37c: 4620 mov r0, r4 - 800a37e: 8093 strh r3, [r2, #4] - 800a380: 82e3 strh r3, [r4, #22] - 800a382: f000 fa56 bl 800a832 - 800a386: b998 cbnz r0, 800a3b0 - 800a388: f104 0318 add.w r3, r4, #24 - 800a38c: 9300 str r3, [sp, #0] - 800a38e: 6821 ldr r1, [r4, #0] - 800a390: 2301 movs r3, #1 - 800a392: 2213 movs r2, #19 - 800a394: f002 f88a bl 800c4ac - 800a398: b960 cbnz r0, 800a3b4 - 800a39a: 4620 mov r0, r4 - 800a39c: f000 fa49 bl 800a832 - 800a3a0: 3800 subs r0, #0 - 800a3a2: bf18 it ne - 800a3a4: 2001 movne r0, #1 - 800a3a6: 0100 lsls r0, r0, #4 - 800a3a8: b004 add sp, #16 - 800a3aa: bd10 pop {r4, pc} - 800a3ac: 2009 movs r0, #9 - 800a3ae: e7fb b.n 800a3a8 - 800a3b0: 2010 movs r0, #16 - 800a3b2: e7f9 b.n 800a3a8 - 800a3b4: 200e movs r0, #14 - 800a3b6: e7f7 b.n 800a3a8 - 800a3b8: 200019b8 .word 0x200019b8 +0800a360 : + 800a360: b128 cbz r0, 800a36e + 800a362: 4b04 ldr r3, [pc, #16] ; (800a374 ) + 800a364: 681b ldr r3, [r3, #0] + 800a366: 331c adds r3, #28 + 800a368: 6243 str r3, [r0, #36] ; 0x24 + 800a36a: 2000 movs r0, #0 + 800a36c: 4770 bx lr + 800a36e: 2009 movs r0, #9 + 800a370: 4770 bx lr + 800a372: bf00 nop + 800a374: 200019b8 .word 0x200019b8 -0800a3bc : - 800a3bc: b5f0 push {r4, r5, r6, r7, lr} - 800a3be: 4605 mov r5, r0 - 800a3c0: b087 sub sp, #28 - 800a3c2: 461c mov r4, r3 - 800a3c4: b33b cbz r3, 800a416 - 800a3c6: 4e2f ldr r6, [pc, #188] ; (800a484 ) - 800a3c8: 6833 ldr r3, [r6, #0] - 800a3ca: 68db ldr r3, [r3, #12] - 800a3cc: 4283 cmp r3, r0 - 800a3ce: d857 bhi.n 800a480 - 800a3d0: f894 2020 ldrb.w r2, [r4, #32] - 800a3d4: 2a00 cmp r2, #0 - 800a3d6: bf14 ite ne - 800a3d8: 2209 movne r2, #9 - 800a3da: 2208 moveq r2, #8 - 800a3dc: 4283 cmp r3, r0 - 800a3de: d305 bcc.n 800a3ec - 800a3e0: 4620 mov r0, r4 - 800a3e2: f000 fa5a bl 800a89a - 800a3e6: b170 cbz r0, 800a406 - 800a3e8: 2010 movs r0, #16 - 800a3ea: e00a b.n 800a402 - 800a3ec: 2300 movs r3, #0 - 800a3ee: 9001 str r0, [sp, #4] - 800a3f0: 9300 str r3, [sp, #0] - 800a3f2: 68a3 ldr r3, [r4, #8] - 800a3f4: f894 1028 ldrb.w r1, [r4, #40] ; 0x28 - 800a3f8: 6a60 ldr r0, [r4, #36] ; 0x24 - 800a3fa: f7ff fe96 bl 800a12a - 800a3fe: 2800 cmp r0, #0 - 800a400: d0ee beq.n 800a3e0 - 800a402: b007 add sp, #28 - 800a404: bdf0 pop {r4, r5, r6, r7, pc} - 800a406: 7923 ldrb r3, [r4, #4] - 800a408: 6821 ldr r1, [r4, #0] - 800a40a: f8b4 c008 ldrh.w ip, [r4, #8] - 800a40e: 68a7 ldr r7, [r4, #8] - 800a410: 3b04 subs r3, #4 - 800a412: b29a uxth r2, r3 - 800a414: b909 cbnz r1, 800a41a - 800a416: 2009 movs r0, #9 - 800a418: e7f3 b.n 800a402 - 800a41a: f5b2 7f80 cmp.w r2, #256 ; 0x100 - 800a41e: d82d bhi.n 800a47c - 800a420: f8ad c00e strh.w ip, [sp, #14] - 800a424: f88d 3017 strb.w r3, [sp, #23] - 800a428: ea4f 4c17 mov.w ip, r7, lsr #16 - 800a42c: f104 032c add.w r3, r4, #44 ; 0x2c - 800a430: 0e3f lsrs r7, r7, #24 - 800a432: f88d 7011 strb.w r7, [sp, #17] - 800a436: 9300 str r3, [sp, #0] - 800a438: 0c2f lsrs r7, r5, #16 - 800a43a: 2308 movs r3, #8 - 800a43c: f04f 0e49 mov.w lr, #73 ; 0x49 - 800a440: f8ad 000c strh.w r0, [sp, #12] - 800a444: f88d 7014 strb.w r7, [sp, #20] - 800a448: f88d 0016 strb.w r0, [sp, #22] - 800a44c: 0e2f lsrs r7, r5, #24 - 800a44e: eb0d 0003 add.w r0, sp, r3 - 800a452: f8cd e008 str.w lr, [sp, #8] - 800a456: f88d c010 strb.w ip, [sp, #16] - 800a45a: f8ad 5012 strh.w r5, [sp, #18] - 800a45e: f88d 7015 strb.w r7, [sp, #21] - 800a462: f002 f823 bl 800c4ac - 800a466: b108 cbz r0, 800a46c - 800a468: 200e movs r0, #14 - 800a46a: e7ca b.n 800a402 - 800a46c: 4620 mov r0, r4 - 800a46e: f000 fa14 bl 800a89a - 800a472: 2800 cmp r0, #0 - 800a474: d1b8 bne.n 800a3e8 - 800a476: 6833 ldr r3, [r6, #0] - 800a478: 60dd str r5, [r3, #12] - 800a47a: e7c2 b.n 800a402 - 800a47c: 200d movs r0, #13 - 800a47e: e7c0 b.n 800a402 - 800a480: 2006 movs r0, #6 - 800a482: e7be b.n 800a402 - 800a484: 200019b8 .word 0x200019b8 +0800a378 : + 800a378: b51f push {r0, r1, r2, r3, r4, lr} + 800a37a: 4604 mov r4, r0 + 800a37c: b300 cbz r0, 800a3c0 + 800a37e: 2300 movs r3, #0 + 800a380: a803 add r0, sp, #12 + 800a382: 9303 str r3, [sp, #12] + 800a384: f002 f97c bl 800c680 + 800a388: 4a10 ldr r2, [pc, #64] ; (800a3cc ) + 800a38a: f8bd 300c ldrh.w r3, [sp, #12] + 800a38e: 6812 ldr r2, [r2, #0] + 800a390: 4620 mov r0, r4 + 800a392: 8093 strh r3, [r2, #4] + 800a394: 82e3 strh r3, [r4, #22] + 800a396: f000 fa56 bl 800a846 + 800a39a: b998 cbnz r0, 800a3c4 + 800a39c: f104 0318 add.w r3, r4, #24 + 800a3a0: 9300 str r3, [sp, #0] + 800a3a2: 6821 ldr r1, [r4, #0] + 800a3a4: 2301 movs r3, #1 + 800a3a6: 2213 movs r2, #19 + 800a3a8: f002 f88a bl 800c4c0 + 800a3ac: b960 cbnz r0, 800a3c8 + 800a3ae: 4620 mov r0, r4 + 800a3b0: f000 fa49 bl 800a846 + 800a3b4: 3800 subs r0, #0 + 800a3b6: bf18 it ne + 800a3b8: 2001 movne r0, #1 + 800a3ba: 0100 lsls r0, r0, #4 + 800a3bc: b004 add sp, #16 + 800a3be: bd10 pop {r4, pc} + 800a3c0: 2009 movs r0, #9 + 800a3c2: e7fb b.n 800a3bc + 800a3c4: 2010 movs r0, #16 + 800a3c6: e7f9 b.n 800a3bc + 800a3c8: 200e movs r0, #14 + 800a3ca: e7f7 b.n 800a3bc + 800a3cc: 200019b8 .word 0x200019b8 -0800a488 : - 800a488: e92d 41ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, lr} - 800a48c: 9d0a ldr r5, [sp, #40] ; 0x28 - 800a48e: 4680 mov r8, r0 - 800a490: 460f mov r7, r1 - 800a492: 4616 mov r6, r2 - 800a494: 461c mov r4, r3 - 800a496: 2d00 cmp r5, #0 - 800a498: d05a beq.n 800a550 - 800a49a: 2300 movs r3, #0 - 800a49c: a903 add r1, sp, #12 - 800a49e: 4610 mov r0, r2 - 800a4a0: 9303 str r3, [sp, #12] - 800a4a2: f7ff fe9d bl 800a1e0 - 800a4a6: b118 cbz r0, 800a4b0 - 800a4a8: 2006 movs r0, #6 - 800a4aa: b004 add sp, #16 - 800a4ac: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800a4b0: 9b03 ldr r3, [sp, #12] - 800a4b2: 429c cmp r4, r3 - 800a4b4: d801 bhi.n 800a4ba - 800a4b6: 3301 adds r3, #1 - 800a4b8: d1f6 bne.n 800a4a8 - 800a4ba: 4628 mov r0, r5 - 800a4bc: f000 f95e bl 800a77c - 800a4c0: 2800 cmp r0, #0 - 800a4c2: d147 bne.n 800a554 - 800a4c4: 4b26 ldr r3, [pc, #152] ; (800a560 ) - 800a4c6: 781a ldrb r2, [r3, #0] - 800a4c8: 4542 cmp r2, r8 - 800a4ca: d003 beq.n 800a4d4 - 800a4cc: 791a ldrb r2, [r3, #4] - 800a4ce: 4542 cmp r2, r8 - 800a4d0: d142 bne.n 800a558 - 800a4d2: 2001 movs r0, #1 - 800a4d4: 68aa ldr r2, [r5, #8] - 800a4d6: 42ba cmp r2, r7 - 800a4d8: d140 bne.n 800a55c - 800a4da: eb03 0280 add.w r2, r3, r0, lsl #2 - 800a4de: 6aeb ldr r3, [r5, #44] ; 0x2c - 800a4e0: f892 8001 ldrb.w r8, [r2, #1] - 800a4e4: 7929 ldrb r1, [r5, #4] - 800a4e6: e9cd 4300 strd r4, r3, [sp] - 800a4ea: 3904 subs r1, #4 - 800a4ec: 7892 ldrb r2, [r2, #2] - 800a4ee: 6828 ldr r0, [r5, #0] - 800a4f0: 463b mov r3, r7 - 800a4f2: b289 uxth r1, r1 - 800a4f4: f7ff fe92 bl 800a21c - 800a4f8: 2800 cmp r0, #0 - 800a4fa: d1d6 bne.n 800a4aa - 800a4fc: f895 3020 ldrb.w r3, [r5, #32] - 800a500: 9401 str r4, [sp, #4] - 800a502: 2b00 cmp r3, #0 - 800a504: f04f 0301 mov.w r3, #1 - 800a508: 9300 str r3, [sp, #0] - 800a50a: bf14 ite ne - 800a50c: 4642 movne r2, r8 - 800a50e: 2208 moveq r2, #8 - 800a510: f895 1028 ldrb.w r1, [r5, #40] ; 0x28 - 800a514: 6a68 ldr r0, [r5, #36] ; 0x24 - 800a516: 463b mov r3, r7 - 800a518: f7ff fe07 bl 800a12a - 800a51c: 2800 cmp r0, #0 - 800a51e: d1c4 bne.n 800a4aa - 800a520: 3e01 subs r6, #1 - 800a522: 2e03 cmp r6, #3 - 800a524: d8c1 bhi.n 800a4aa - 800a526: e8df f006 tbb [pc, r6] - 800a52a: 0702 .short 0x0702 - 800a52c: 0f0b .short 0x0f0b - 800a52e: 4b0d ldr r3, [pc, #52] ; (800a564 ) - 800a530: 681b ldr r3, [r3, #0] - 800a532: 611c str r4, [r3, #16] - 800a534: 621c str r4, [r3, #32] - 800a536: e7b8 b.n 800a4aa - 800a538: 4b0a ldr r3, [pc, #40] ; (800a564 ) - 800a53a: 681b ldr r3, [r3, #0] - 800a53c: 615c str r4, [r3, #20] - 800a53e: e7f9 b.n 800a534 - 800a540: 4b08 ldr r3, [pc, #32] ; (800a564 ) - 800a542: 681b ldr r3, [r3, #0] - 800a544: 619c str r4, [r3, #24] - 800a546: e7f5 b.n 800a534 - 800a548: 4b06 ldr r3, [pc, #24] ; (800a564 ) - 800a54a: 681b ldr r3, [r3, #0] - 800a54c: 61dc str r4, [r3, #28] - 800a54e: e7ac b.n 800a4aa - 800a550: 2009 movs r0, #9 - 800a552: e7aa b.n 800a4aa - 800a554: 200f movs r0, #15 - 800a556: e7a8 b.n 800a4aa - 800a558: 200b movs r0, #11 - 800a55a: e7a6 b.n 800a4aa - 800a55c: 2002 movs r0, #2 - 800a55e: e7a4 b.n 800a4aa - 800a560: 200000f0 .word 0x200000f0 - 800a564: 200019b8 .word 0x200019b8 +0800a3d0 : + 800a3d0: b5f0 push {r4, r5, r6, r7, lr} + 800a3d2: 4605 mov r5, r0 + 800a3d4: b087 sub sp, #28 + 800a3d6: 461c mov r4, r3 + 800a3d8: b33b cbz r3, 800a42a + 800a3da: 4e2f ldr r6, [pc, #188] ; (800a498 ) + 800a3dc: 6833 ldr r3, [r6, #0] + 800a3de: 68db ldr r3, [r3, #12] + 800a3e0: 4283 cmp r3, r0 + 800a3e2: d857 bhi.n 800a494 + 800a3e4: f894 2020 ldrb.w r2, [r4, #32] + 800a3e8: 2a00 cmp r2, #0 + 800a3ea: bf14 ite ne + 800a3ec: 2209 movne r2, #9 + 800a3ee: 2208 moveq r2, #8 + 800a3f0: 4283 cmp r3, r0 + 800a3f2: d305 bcc.n 800a400 + 800a3f4: 4620 mov r0, r4 + 800a3f6: f000 fa5a bl 800a8ae + 800a3fa: b170 cbz r0, 800a41a + 800a3fc: 2010 movs r0, #16 + 800a3fe: e00a b.n 800a416 + 800a400: 2300 movs r3, #0 + 800a402: 9001 str r0, [sp, #4] + 800a404: 9300 str r3, [sp, #0] + 800a406: 68a3 ldr r3, [r4, #8] + 800a408: f894 1028 ldrb.w r1, [r4, #40] ; 0x28 + 800a40c: 6a60 ldr r0, [r4, #36] ; 0x24 + 800a40e: f7ff fe96 bl 800a13e + 800a412: 2800 cmp r0, #0 + 800a414: d0ee beq.n 800a3f4 + 800a416: b007 add sp, #28 + 800a418: bdf0 pop {r4, r5, r6, r7, pc} + 800a41a: 7923 ldrb r3, [r4, #4] + 800a41c: 6821 ldr r1, [r4, #0] + 800a41e: f8b4 c008 ldrh.w ip, [r4, #8] + 800a422: 68a7 ldr r7, [r4, #8] + 800a424: 3b04 subs r3, #4 + 800a426: b29a uxth r2, r3 + 800a428: b909 cbnz r1, 800a42e + 800a42a: 2009 movs r0, #9 + 800a42c: e7f3 b.n 800a416 + 800a42e: f5b2 7f80 cmp.w r2, #256 ; 0x100 + 800a432: d82d bhi.n 800a490 + 800a434: f8ad c00e strh.w ip, [sp, #14] + 800a438: f88d 3017 strb.w r3, [sp, #23] + 800a43c: ea4f 4c17 mov.w ip, r7, lsr #16 + 800a440: f104 032c add.w r3, r4, #44 ; 0x2c + 800a444: 0e3f lsrs r7, r7, #24 + 800a446: f88d 7011 strb.w r7, [sp, #17] + 800a44a: 9300 str r3, [sp, #0] + 800a44c: 0c2f lsrs r7, r5, #16 + 800a44e: 2308 movs r3, #8 + 800a450: f04f 0e49 mov.w lr, #73 ; 0x49 + 800a454: f8ad 000c strh.w r0, [sp, #12] + 800a458: f88d 7014 strb.w r7, [sp, #20] + 800a45c: f88d 0016 strb.w r0, [sp, #22] + 800a460: 0e2f lsrs r7, r5, #24 + 800a462: eb0d 0003 add.w r0, sp, r3 + 800a466: f8cd e008 str.w lr, [sp, #8] + 800a46a: f88d c010 strb.w ip, [sp, #16] + 800a46e: f8ad 5012 strh.w r5, [sp, #18] + 800a472: f88d 7015 strb.w r7, [sp, #21] + 800a476: f002 f823 bl 800c4c0 + 800a47a: b108 cbz r0, 800a480 + 800a47c: 200e movs r0, #14 + 800a47e: e7ca b.n 800a416 + 800a480: 4620 mov r0, r4 + 800a482: f000 fa14 bl 800a8ae + 800a486: 2800 cmp r0, #0 + 800a488: d1b8 bne.n 800a3fc + 800a48a: 6833 ldr r3, [r6, #0] + 800a48c: 60dd str r5, [r3, #12] + 800a48e: e7c2 b.n 800a416 + 800a490: 200d movs r0, #13 + 800a492: e7c0 b.n 800a416 + 800a494: 2006 movs r0, #6 + 800a496: e7be b.n 800a416 + 800a498: 200019b8 .word 0x200019b8 -0800a568 : - 800a568: b51f push {r0, r1, r2, r3, r4, lr} - 800a56a: 460a mov r2, r1 - 800a56c: 2a0b cmp r2, #11 - 800a56e: f04f 0100 mov.w r1, #0 - 800a572: e9cd 1100 strd r1, r1, [sp] - 800a576: e9cd 1102 strd r1, r1, [sp, #8] - 800a57a: d007 beq.n 800a58c - 800a57c: 2a0c cmp r2, #12 - 800a57e: d013 beq.n 800a5a8 - 800a580: 2a0a cmp r2, #10 - 800a582: d00f beq.n 800a5a4 - 800a584: 200a movs r0, #10 - 800a586: b005 add sp, #20 - 800a588: f85d fb04 ldr.w pc, [sp], #4 - 800a58c: 2801 cmp r0, #1 - 800a58e: d102 bne.n 800a596 - 800a590: 2320 movs r3, #32 - 800a592: f88d 3000 strb.w r3, [sp] - 800a596: 4668 mov r0, sp - 800a598: f002 f811 bl 800c5be - 800a59c: 2800 cmp r0, #0 - 800a59e: bf18 it ne - 800a5a0: 200e movne r0, #14 - 800a5a2: e7f0 b.n 800a586 - 800a5a4: 2330 movs r3, #48 ; 0x30 - 800a5a6: e7f4 b.n 800a592 - 800a5a8: 210b movs r1, #11 - 800a5aa: e7f4 b.n 800a596 +0800a49c : + 800a49c: e92d 41ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, lr} + 800a4a0: 9d0a ldr r5, [sp, #40] ; 0x28 + 800a4a2: 4680 mov r8, r0 + 800a4a4: 460f mov r7, r1 + 800a4a6: 4616 mov r6, r2 + 800a4a8: 461c mov r4, r3 + 800a4aa: 2d00 cmp r5, #0 + 800a4ac: d05a beq.n 800a564 + 800a4ae: 2300 movs r3, #0 + 800a4b0: a903 add r1, sp, #12 + 800a4b2: 4610 mov r0, r2 + 800a4b4: 9303 str r3, [sp, #12] + 800a4b6: f7ff fe9d bl 800a1f4 + 800a4ba: b118 cbz r0, 800a4c4 + 800a4bc: 2006 movs r0, #6 + 800a4be: b004 add sp, #16 + 800a4c0: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800a4c4: 9b03 ldr r3, [sp, #12] + 800a4c6: 429c cmp r4, r3 + 800a4c8: d801 bhi.n 800a4ce + 800a4ca: 3301 adds r3, #1 + 800a4cc: d1f6 bne.n 800a4bc + 800a4ce: 4628 mov r0, r5 + 800a4d0: f000 f95e bl 800a790 + 800a4d4: 2800 cmp r0, #0 + 800a4d6: d147 bne.n 800a568 + 800a4d8: 4b26 ldr r3, [pc, #152] ; (800a574 ) + 800a4da: 781a ldrb r2, [r3, #0] + 800a4dc: 4542 cmp r2, r8 + 800a4de: d003 beq.n 800a4e8 + 800a4e0: 791a ldrb r2, [r3, #4] + 800a4e2: 4542 cmp r2, r8 + 800a4e4: d142 bne.n 800a56c + 800a4e6: 2001 movs r0, #1 + 800a4e8: 68aa ldr r2, [r5, #8] + 800a4ea: 42ba cmp r2, r7 + 800a4ec: d140 bne.n 800a570 + 800a4ee: eb03 0280 add.w r2, r3, r0, lsl #2 + 800a4f2: 6aeb ldr r3, [r5, #44] ; 0x2c + 800a4f4: f892 8001 ldrb.w r8, [r2, #1] + 800a4f8: 7929 ldrb r1, [r5, #4] + 800a4fa: e9cd 4300 strd r4, r3, [sp] + 800a4fe: 3904 subs r1, #4 + 800a500: 7892 ldrb r2, [r2, #2] + 800a502: 6828 ldr r0, [r5, #0] + 800a504: 463b mov r3, r7 + 800a506: b289 uxth r1, r1 + 800a508: f7ff fe92 bl 800a230 + 800a50c: 2800 cmp r0, #0 + 800a50e: d1d6 bne.n 800a4be + 800a510: f895 3020 ldrb.w r3, [r5, #32] + 800a514: 9401 str r4, [sp, #4] + 800a516: 2b00 cmp r3, #0 + 800a518: f04f 0301 mov.w r3, #1 + 800a51c: 9300 str r3, [sp, #0] + 800a51e: bf14 ite ne + 800a520: 4642 movne r2, r8 + 800a522: 2208 moveq r2, #8 + 800a524: f895 1028 ldrb.w r1, [r5, #40] ; 0x28 + 800a528: 6a68 ldr r0, [r5, #36] ; 0x24 + 800a52a: 463b mov r3, r7 + 800a52c: f7ff fe07 bl 800a13e + 800a530: 2800 cmp r0, #0 + 800a532: d1c4 bne.n 800a4be + 800a534: 3e01 subs r6, #1 + 800a536: 2e03 cmp r6, #3 + 800a538: d8c1 bhi.n 800a4be + 800a53a: e8df f006 tbb [pc, r6] + 800a53e: 0702 .short 0x0702 + 800a540: 0f0b .short 0x0f0b + 800a542: 4b0d ldr r3, [pc, #52] ; (800a578 ) + 800a544: 681b ldr r3, [r3, #0] + 800a546: 611c str r4, [r3, #16] + 800a548: 621c str r4, [r3, #32] + 800a54a: e7b8 b.n 800a4be + 800a54c: 4b0a ldr r3, [pc, #40] ; (800a578 ) + 800a54e: 681b ldr r3, [r3, #0] + 800a550: 615c str r4, [r3, #20] + 800a552: e7f9 b.n 800a548 + 800a554: 4b08 ldr r3, [pc, #32] ; (800a578 ) + 800a556: 681b ldr r3, [r3, #0] + 800a558: 619c str r4, [r3, #24] + 800a55a: e7f5 b.n 800a548 + 800a55c: 4b06 ldr r3, [pc, #24] ; (800a578 ) + 800a55e: 681b ldr r3, [r3, #0] + 800a560: 61dc str r4, [r3, #28] + 800a562: e7ac b.n 800a4be + 800a564: 2009 movs r0, #9 + 800a566: e7aa b.n 800a4be + 800a568: 200f movs r0, #15 + 800a56a: e7a8 b.n 800a4be + 800a56c: 200b movs r0, #11 + 800a56e: e7a6 b.n 800a4be + 800a570: 2002 movs r0, #2 + 800a572: e7a4 b.n 800a4be + 800a574: 200000f0 .word 0x200000f0 + 800a578: 200019b8 .word 0x200019b8 -0800a5ac : - 800a5ac: b538 push {r3, r4, r5, lr} - 800a5ae: 4605 mov r5, r0 - 800a5b0: f002 f800 bl 800c5b4 - 800a5b4: 4604 mov r4, r0 - 800a5b6: b978 cbnz r0, 800a5d8 - 800a5b8: b97d cbnz r5, 800a5da - 800a5ba: 4b09 ldr r3, [pc, #36] ; (800a5e0 ) - 800a5bc: 681b ldr r3, [r3, #0] - 800a5be: 210b movs r1, #11 - 800a5c0: 7898 ldrb r0, [r3, #2] - 800a5c2: f7ff ffd1 bl 800a568 - 800a5c6: b938 cbnz r0, 800a5d8 - 800a5c8: 210c movs r1, #12 - 800a5ca: f7ff ffcd bl 800a568 - 800a5ce: b918 cbnz r0, 800a5d8 - 800a5d0: 210a movs r1, #10 - 800a5d2: f7ff ffc9 bl 800a568 - 800a5d6: b100 cbz r0, 800a5da - 800a5d8: 240e movs r4, #14 - 800a5da: 4620 mov r0, r4 - 800a5dc: bd38 pop {r3, r4, r5, pc} - 800a5de: bf00 nop - 800a5e0: 200019b8 .word 0x200019b8 +0800a57c : + 800a57c: b51f push {r0, r1, r2, r3, r4, lr} + 800a57e: 460a mov r2, r1 + 800a580: 2a0b cmp r2, #11 + 800a582: f04f 0100 mov.w r1, #0 + 800a586: e9cd 1100 strd r1, r1, [sp] + 800a58a: e9cd 1102 strd r1, r1, [sp, #8] + 800a58e: d007 beq.n 800a5a0 + 800a590: 2a0c cmp r2, #12 + 800a592: d013 beq.n 800a5bc + 800a594: 2a0a cmp r2, #10 + 800a596: d00f beq.n 800a5b8 + 800a598: 200a movs r0, #10 + 800a59a: b005 add sp, #20 + 800a59c: f85d fb04 ldr.w pc, [sp], #4 + 800a5a0: 2801 cmp r0, #1 + 800a5a2: d102 bne.n 800a5aa + 800a5a4: 2320 movs r3, #32 + 800a5a6: f88d 3000 strb.w r3, [sp] + 800a5aa: 4668 mov r0, sp + 800a5ac: f002 f811 bl 800c5d2 + 800a5b0: 2800 cmp r0, #0 + 800a5b2: bf18 it ne + 800a5b4: 200e movne r0, #14 + 800a5b6: e7f0 b.n 800a59a + 800a5b8: 2330 movs r3, #48 ; 0x30 + 800a5ba: e7f4 b.n 800a5a6 + 800a5bc: 210b movs r1, #11 + 800a5be: e7f4 b.n 800a5aa -0800a5e4 : - 800a5e4: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 800a5e8: 4680 mov r8, r0 - 800a5ea: b08f sub sp, #60 ; 0x3c - 800a5ec: 460c mov r4, r1 - 800a5ee: 4617 mov r7, r2 - 800a5f0: 2a00 cmp r2, #0 - 800a5f2: d06b beq.n 800a6cc - 800a5f4: 2900 cmp r1, #0 - 800a5f6: d069 beq.n 800a6cc - 800a5f8: 2500 movs r5, #0 - 800a5fa: 4629 mov r1, r5 - 800a5fc: 221d movs r2, #29 - 800a5fe: a806 add r0, sp, #24 - 800a600: 9505 str r5, [sp, #20] - 800a602: f004 fe91 bl 800f328 - 800a606: f88d 5013 strb.w r5, [sp, #19] - 800a60a: 4d34 ldr r5, [pc, #208] ; (800a6dc ) - 800a60c: 682b ldr r3, [r5, #0] - 800a60e: f10d 0914 add.w r9, sp, #20 - 800a612: 889e ldrh r6, [r3, #4] - 800a614: f8cd 9004 str.w r9, [sp, #4] - 800a618: f10d 0313 add.w r3, sp, #19 - 800a61c: 9302 str r3, [sp, #8] - 800a61e: 793b ldrb r3, [r7, #4] - 800a620: 9300 str r3, [sp, #0] - 800a622: 683b ldr r3, [r7, #0] - 800a624: 4632 mov r2, r6 - 800a626: 4621 mov r1, r4 - 800a628: 4640 mov r0, r8 - 800a62a: f001 ffe4 bl 800c5f6 - 800a62e: 2800 cmp r0, #0 - 800a630: d14e bne.n 800a6d0 - 800a632: 6838 ldr r0, [r7, #0] - 800a634: 793a ldrb r2, [r7, #4] - 800a636: 4649 mov r1, r9 - 800a638: f002 f950 bl 800c8dc - 800a63c: 4638 mov r0, r7 - 800a63e: f000 f84f bl 800a6e0 +0800a5c0 : + 800a5c0: b538 push {r3, r4, r5, lr} + 800a5c2: 4605 mov r5, r0 + 800a5c4: f002 f800 bl 800c5c8 + 800a5c8: 4604 mov r4, r0 + 800a5ca: b978 cbnz r0, 800a5ec + 800a5cc: b97d cbnz r5, 800a5ee + 800a5ce: 4b09 ldr r3, [pc, #36] ; (800a5f4 ) + 800a5d0: 681b ldr r3, [r3, #0] + 800a5d2: 210b movs r1, #11 + 800a5d4: 7898 ldrb r0, [r3, #2] + 800a5d6: f7ff ffd1 bl 800a57c + 800a5da: b938 cbnz r0, 800a5ec + 800a5dc: 210c movs r1, #12 + 800a5de: f7ff ffcd bl 800a57c + 800a5e2: b918 cbnz r0, 800a5ec + 800a5e4: 210a movs r1, #10 + 800a5e6: f7ff ffc9 bl 800a57c + 800a5ea: b100 cbz r0, 800a5ee + 800a5ec: 240e movs r4, #14 + 800a5ee: 4620 mov r0, r4 + 800a5f0: bd38 pop {r3, r4, r5, pc} + 800a5f2: bf00 nop + 800a5f4: 200019b8 .word 0x200019b8 + +0800a5f8 : + 800a5f8: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 800a5fc: 4680 mov r8, r0 + 800a5fe: b08f sub sp, #60 ; 0x3c + 800a600: 460c mov r4, r1 + 800a602: 4617 mov r7, r2 + 800a604: 2a00 cmp r2, #0 + 800a606: d06b beq.n 800a6e0 + 800a608: 2900 cmp r1, #0 + 800a60a: d069 beq.n 800a6e0 + 800a60c: 2500 movs r5, #0 + 800a60e: 4629 mov r1, r5 + 800a610: 221d movs r2, #29 + 800a612: a806 add r0, sp, #24 + 800a614: 9505 str r5, [sp, #20] + 800a616: f004 fe91 bl 800f33c + 800a61a: f88d 5013 strb.w r5, [sp, #19] + 800a61e: 4d34 ldr r5, [pc, #208] ; (800a6f0 ) + 800a620: 682b ldr r3, [r5, #0] + 800a622: f10d 0914 add.w r9, sp, #20 + 800a626: 889e ldrh r6, [r3, #4] + 800a628: f8cd 9004 str.w r9, [sp, #4] + 800a62c: f10d 0313 add.w r3, sp, #19 + 800a630: 9302 str r3, [sp, #8] + 800a632: 793b ldrb r3, [r7, #4] + 800a634: 9300 str r3, [sp, #0] + 800a636: 683b ldr r3, [r7, #0] + 800a638: 4632 mov r2, r6 + 800a63a: 4621 mov r1, r4 + 800a63c: 4640 mov r0, r8 + 800a63e: f001 ffe4 bl 800c60a 800a642: 2800 cmp r0, #0 - 800a644: d146 bne.n 800a6d4 - 800a646: 7a3c ldrb r4, [r7, #8] - 800a648: 79fa ldrb r2, [r7, #7] - 800a64a: 79bb ldrb r3, [r7, #6] - 800a64c: 0424 lsls r4, r4, #16 - 800a64e: ea44 2402 orr.w r4, r4, r2, lsl #8 - 800a652: 431c orrs r4, r3 - 800a654: 682b ldr r3, [r5, #0] - 800a656: 689a ldr r2, [r3, #8] - 800a658: 4294 cmp r4, r2 - 800a65a: d93d bls.n 800a6d8 - 800a65c: 609c str r4, [r3, #8] - 800a65e: f89d 0013 ldrb.w r0, [sp, #19] - 800a662: 210b movs r1, #11 - 800a664: f7ff ff80 bl 800a568 - 800a668: 4603 mov r3, r0 - 800a66a: bb58 cbnz r0, 800a6c4 - 800a66c: 210c movs r1, #12 - 800a66e: f7ff ff7b bl 800a568 - 800a672: 4603 mov r3, r0 - 800a674: bb30 cbnz r0, 800a6c4 - 800a676: 210a movs r1, #10 - 800a678: f7ff ff76 bl 800a568 + 800a644: d14e bne.n 800a6e4 + 800a646: 6838 ldr r0, [r7, #0] + 800a648: 793a ldrb r2, [r7, #4] + 800a64a: 4649 mov r1, r9 + 800a64c: f002 f950 bl 800c8f0 + 800a650: 4638 mov r0, r7 + 800a652: f000 f84f bl 800a6f4 + 800a656: 2800 cmp r0, #0 + 800a658: d146 bne.n 800a6e8 + 800a65a: 7a3c ldrb r4, [r7, #8] + 800a65c: 79fa ldrb r2, [r7, #7] + 800a65e: 79bb ldrb r3, [r7, #6] + 800a660: 0424 lsls r4, r4, #16 + 800a662: ea44 2402 orr.w r4, r4, r2, lsl #8 + 800a666: 431c orrs r4, r3 + 800a668: 682b ldr r3, [r5, #0] + 800a66a: 689a ldr r2, [r3, #8] + 800a66c: 4294 cmp r4, r2 + 800a66e: d93d bls.n 800a6ec + 800a670: 609c str r4, [r3, #8] + 800a672: f89d 0013 ldrb.w r0, [sp, #19] + 800a676: 210b movs r1, #11 + 800a678: f7ff ff80 bl 800a57c 800a67c: 4603 mov r3, r0 - 800a67e: bb08 cbnz r0, 800a6c4 - 800a680: 7a7b ldrb r3, [r7, #9] - 800a682: 7aba ldrb r2, [r7, #10] - 800a684: 7aff ldrb r7, [r7, #11] - 800a686: 043f lsls r7, r7, #16 - 800a688: ea47 2702 orr.w r7, r7, r2, lsl #8 - 800a68c: 431f orrs r7, r3 - 800a68e: 463a mov r2, r7 - 800a690: 4633 mov r3, r6 - 800a692: 4621 mov r1, r4 - 800a694: 2009 movs r0, #9 - 800a696: f7ff fd25 bl 800a0e4 - 800a69a: 4603 mov r3, r0 - 800a69c: b990 cbnz r0, 800a6c4 - 800a69e: 4633 mov r3, r6 - 800a6a0: 463a mov r2, r7 - 800a6a2: 4621 mov r1, r4 - 800a6a4: 2008 movs r0, #8 - 800a6a6: f7ff fd1d bl 800a0e4 - 800a6aa: 4603 mov r3, r0 - 800a6ac: b950 cbnz r0, 800a6c4 - 800a6ae: 682a ldr r2, [r5, #0] - 800a6b0: f89d 1013 ldrb.w r1, [sp, #19] - 800a6b4: 7091 strb r1, [r2, #2] - 800a6b6: 2100 movs r1, #0 - 800a6b8: 60d1 str r1, [r2, #12] - 800a6ba: f04f 31ff mov.w r1, #4294967295 - 800a6be: e9c2 1104 strd r1, r1, [r2, #16] - 800a6c2: 6191 str r1, [r2, #24] - 800a6c4: 4618 mov r0, r3 - 800a6c6: b00f add sp, #60 ; 0x3c - 800a6c8: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 800a6cc: 2309 movs r3, #9 - 800a6ce: e7f9 b.n 800a6c4 - 800a6d0: 230e movs r3, #14 - 800a6d2: e7f7 b.n 800a6c4 - 800a6d4: 230f movs r3, #15 - 800a6d6: e7f5 b.n 800a6c4 - 800a6d8: 2303 movs r3, #3 - 800a6da: e7f3 b.n 800a6c4 - 800a6dc: 200019b8 .word 0x200019b8 + 800a67e: bb58 cbnz r0, 800a6d8 + 800a680: 210c movs r1, #12 + 800a682: f7ff ff7b bl 800a57c + 800a686: 4603 mov r3, r0 + 800a688: bb30 cbnz r0, 800a6d8 + 800a68a: 210a movs r1, #10 + 800a68c: f7ff ff76 bl 800a57c + 800a690: 4603 mov r3, r0 + 800a692: bb08 cbnz r0, 800a6d8 + 800a694: 7a7b ldrb r3, [r7, #9] + 800a696: 7aba ldrb r2, [r7, #10] + 800a698: 7aff ldrb r7, [r7, #11] + 800a69a: 043f lsls r7, r7, #16 + 800a69c: ea47 2702 orr.w r7, r7, r2, lsl #8 + 800a6a0: 431f orrs r7, r3 + 800a6a2: 463a mov r2, r7 + 800a6a4: 4633 mov r3, r6 + 800a6a6: 4621 mov r1, r4 + 800a6a8: 2009 movs r0, #9 + 800a6aa: f7ff fd25 bl 800a0f8 + 800a6ae: 4603 mov r3, r0 + 800a6b0: b990 cbnz r0, 800a6d8 + 800a6b2: 4633 mov r3, r6 + 800a6b4: 463a mov r2, r7 + 800a6b6: 4621 mov r1, r4 + 800a6b8: 2008 movs r0, #8 + 800a6ba: f7ff fd1d bl 800a0f8 + 800a6be: 4603 mov r3, r0 + 800a6c0: b950 cbnz r0, 800a6d8 + 800a6c2: 682a ldr r2, [r5, #0] + 800a6c4: f89d 1013 ldrb.w r1, [sp, #19] + 800a6c8: 7091 strb r1, [r2, #2] + 800a6ca: 2100 movs r1, #0 + 800a6cc: 60d1 str r1, [r2, #12] + 800a6ce: f04f 31ff mov.w r1, #4294967295 + 800a6d2: e9c2 1104 strd r1, r1, [r2, #16] + 800a6d6: 6191 str r1, [r2, #24] + 800a6d8: 4618 mov r0, r3 + 800a6da: b00f add sp, #60 ; 0x3c + 800a6dc: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 800a6e0: 2309 movs r3, #9 + 800a6e2: e7f9 b.n 800a6d8 + 800a6e4: 230e movs r3, #14 + 800a6e6: e7f7 b.n 800a6d8 + 800a6e8: 230f movs r3, #15 + 800a6ea: e7f5 b.n 800a6d8 + 800a6ec: 2303 movs r3, #3 + 800a6ee: e7f3 b.n 800a6d8 + 800a6f0: 200019b8 .word 0x200019b8 -0800a6e0 : - 800a6e0: b510 push {r4, lr} - 800a6e2: 4604 mov r4, r0 - 800a6e4: 2800 cmp r0, #0 - 800a6e6: d045 beq.n 800a774 - 800a6e8: 6801 ldr r1, [r0, #0] - 800a6ea: 2900 cmp r1, #0 - 800a6ec: d042 beq.n 800a774 - 800a6ee: f811 3b01 ldrb.w r3, [r1], #1 - 800a6f2: 7143 strb r3, [r0, #5] - 800a6f4: 2203 movs r2, #3 - 800a6f6: 3006 adds r0, #6 - 800a6f8: f002 f8f0 bl 800c8dc - 800a6fc: 4620 mov r0, r4 - 800a6fe: 2203 movs r2, #3 - 800a700: f850 1b09 ldr.w r1, [r0], #9 - 800a704: 3104 adds r1, #4 - 800a706: f002 f8e9 bl 800c8dc - 800a70a: 6821 ldr r1, [r4, #0] - 800a70c: 79cb ldrb r3, [r1, #7] - 800a70e: 60e3 str r3, [r4, #12] - 800a710: 7a0a ldrb r2, [r1, #8] - 800a712: ea43 2302 orr.w r3, r3, r2, lsl #8 - 800a716: 60e3 str r3, [r4, #12] - 800a718: 7a4a ldrb r2, [r1, #9] - 800a71a: ea43 4302 orr.w r3, r3, r2, lsl #16 - 800a71e: 60e3 str r3, [r4, #12] - 800a720: 7a8a ldrb r2, [r1, #10] - 800a722: ea43 6302 orr.w r3, r3, r2, lsl #24 - 800a726: 60e3 str r3, [r4, #12] - 800a728: 7acb ldrb r3, [r1, #11] - 800a72a: 7423 strb r3, [r4, #16] - 800a72c: 7b0b ldrb r3, [r1, #12] - 800a72e: 7463 strb r3, [r4, #17] - 800a730: 7923 ldrb r3, [r4, #4] - 800a732: 2b21 cmp r3, #33 ; 0x21 - 800a734: d11a bne.n 800a76c - 800a736: 2210 movs r2, #16 - 800a738: 310d adds r1, #13 - 800a73a: f104 0012 add.w r0, r4, #18 - 800a73e: f002 f8cd bl 800c8dc - 800a742: 221d movs r2, #29 - 800a744: 6821 ldr r1, [r4, #0] - 800a746: 1c50 adds r0, r2, #1 - 800a748: 5c8b ldrb r3, [r1, r2] - 800a74a: 6263 str r3, [r4, #36] ; 0x24 - 800a74c: 5c08 ldrb r0, [r1, r0] - 800a74e: ea43 2300 orr.w r3, r3, r0, lsl #8 - 800a752: 1c90 adds r0, r2, #2 - 800a754: 6263 str r3, [r4, #36] ; 0x24 - 800a756: 5c08 ldrb r0, [r1, r0] - 800a758: 3203 adds r2, #3 - 800a75a: ea43 4300 orr.w r3, r3, r0, lsl #16 +0800a6f4 : + 800a6f4: b510 push {r4, lr} + 800a6f6: 4604 mov r4, r0 + 800a6f8: 2800 cmp r0, #0 + 800a6fa: d045 beq.n 800a788 + 800a6fc: 6801 ldr r1, [r0, #0] + 800a6fe: 2900 cmp r1, #0 + 800a700: d042 beq.n 800a788 + 800a702: f811 3b01 ldrb.w r3, [r1], #1 + 800a706: 7143 strb r3, [r0, #5] + 800a708: 2203 movs r2, #3 + 800a70a: 3006 adds r0, #6 + 800a70c: f002 f8f0 bl 800c8f0 + 800a710: 4620 mov r0, r4 + 800a712: 2203 movs r2, #3 + 800a714: f850 1b09 ldr.w r1, [r0], #9 + 800a718: 3104 adds r1, #4 + 800a71a: f002 f8e9 bl 800c8f0 + 800a71e: 6821 ldr r1, [r4, #0] + 800a720: 79cb ldrb r3, [r1, #7] + 800a722: 60e3 str r3, [r4, #12] + 800a724: 7a0a ldrb r2, [r1, #8] + 800a726: ea43 2302 orr.w r3, r3, r2, lsl #8 + 800a72a: 60e3 str r3, [r4, #12] + 800a72c: 7a4a ldrb r2, [r1, #9] + 800a72e: ea43 4302 orr.w r3, r3, r2, lsl #16 + 800a732: 60e3 str r3, [r4, #12] + 800a734: 7a8a ldrb r2, [r1, #10] + 800a736: ea43 6302 orr.w r3, r3, r2, lsl #24 + 800a73a: 60e3 str r3, [r4, #12] + 800a73c: 7acb ldrb r3, [r1, #11] + 800a73e: 7423 strb r3, [r4, #16] + 800a740: 7b0b ldrb r3, [r1, #12] + 800a742: 7463 strb r3, [r4, #17] + 800a744: 7923 ldrb r3, [r4, #4] + 800a746: 2b21 cmp r3, #33 ; 0x21 + 800a748: d11a bne.n 800a780 + 800a74a: 2210 movs r2, #16 + 800a74c: 310d adds r1, #13 + 800a74e: f104 0012 add.w r0, r4, #18 + 800a752: f002 f8cd bl 800c8f0 + 800a756: 221d movs r2, #29 + 800a758: 6821 ldr r1, [r4, #0] + 800a75a: 1c50 adds r0, r2, #1 + 800a75c: 5c8b ldrb r3, [r1, r2] 800a75e: 6263 str r3, [r4, #36] ; 0x24 - 800a760: 5c8a ldrb r2, [r1, r2] - 800a762: ea43 6302 orr.w r3, r3, r2, lsl #24 - 800a766: 6263 str r3, [r4, #36] ; 0x24 - 800a768: 2000 movs r0, #0 - 800a76a: bd10 pop {r4, pc} - 800a76c: 2b11 cmp r3, #17 - 800a76e: dc03 bgt.n 800a778 - 800a770: 220d movs r2, #13 - 800a772: e7e7 b.n 800a744 - 800a774: 2002 movs r0, #2 - 800a776: e7f8 b.n 800a76a - 800a778: 2001 movs r0, #1 - 800a77a: e7f6 b.n 800a76a + 800a760: 5c08 ldrb r0, [r1, r0] + 800a762: ea43 2300 orr.w r3, r3, r0, lsl #8 + 800a766: 1c90 adds r0, r2, #2 + 800a768: 6263 str r3, [r4, #36] ; 0x24 + 800a76a: 5c08 ldrb r0, [r1, r0] + 800a76c: 3203 adds r2, #3 + 800a76e: ea43 4300 orr.w r3, r3, r0, lsl #16 + 800a772: 6263 str r3, [r4, #36] ; 0x24 + 800a774: 5c8a ldrb r2, [r1, r2] + 800a776: ea43 6302 orr.w r3, r3, r2, lsl #24 + 800a77a: 6263 str r3, [r4, #36] ; 0x24 + 800a77c: 2000 movs r0, #0 + 800a77e: bd10 pop {r4, pc} + 800a780: 2b11 cmp r3, #17 + 800a782: dc03 bgt.n 800a78c + 800a784: 220d movs r2, #13 + 800a786: e7e7 b.n 800a758 + 800a788: 2002 movs r0, #2 + 800a78a: e7f8 b.n 800a77e + 800a78c: 2001 movs r0, #1 + 800a78e: e7f6 b.n 800a77e -0800a77c : - 800a77c: b510 push {r4, lr} - 800a77e: 4604 mov r4, r0 - 800a780: 2800 cmp r0, #0 - 800a782: d054 beq.n 800a82e - 800a784: 6801 ldr r1, [r0, #0] - 800a786: 2900 cmp r1, #0 - 800a788: d051 beq.n 800a82e - 800a78a: 780b ldrb r3, [r1, #0] - 800a78c: 7143 strb r3, [r0, #5] - 800a78e: 784b ldrb r3, [r1, #1] - 800a790: 6083 str r3, [r0, #8] - 800a792: 788a ldrb r2, [r1, #2] - 800a794: ea43 2302 orr.w r3, r3, r2, lsl #8 - 800a798: 6083 str r3, [r0, #8] - 800a79a: 78ca ldrb r2, [r1, #3] - 800a79c: ea43 4302 orr.w r3, r3, r2, lsl #16 - 800a7a0: 6083 str r3, [r0, #8] - 800a7a2: 790a ldrb r2, [r1, #4] - 800a7a4: ea43 6302 orr.w r3, r3, r2, lsl #24 - 800a7a8: 6083 str r3, [r0, #8] - 800a7aa: 794b ldrb r3, [r1, #5] - 800a7ac: 7303 strb r3, [r0, #12] - 800a7ae: 798b ldrb r3, [r1, #6] - 800a7b0: 81c3 strh r3, [r0, #14] - 800a7b2: 79ca ldrb r2, [r1, #7] - 800a7b4: ea43 2302 orr.w r3, r3, r2, lsl #8 - 800a7b8: 7b02 ldrb r2, [r0, #12] - 800a7ba: 81c3 strh r3, [r0, #14] - 800a7bc: f002 020f and.w r2, r2, #15 - 800a7c0: 3108 adds r1, #8 - 800a7c2: 3010 adds r0, #16 - 800a7c4: f002 f88a bl 800c8dc - 800a7c8: 7b23 ldrb r3, [r4, #12] - 800a7ca: 2200 movs r2, #0 - 800a7cc: f003 030f and.w r3, r3, #15 - 800a7d0: f884 2020 strb.w r2, [r4, #32] - 800a7d4: f884 2028 strb.w r2, [r4, #40] ; 0x28 - 800a7d8: 7922 ldrb r2, [r4, #4] - 800a7da: f103 0008 add.w r0, r3, #8 - 800a7de: 1a11 subs r1, r2, r0 - 800a7e0: 2904 cmp r1, #4 - 800a7e2: dd0d ble.n 800a800 - 800a7e4: 6821 ldr r1, [r4, #0] - 800a7e6: 3309 adds r3, #9 - 800a7e8: 3a04 subs r2, #4 - 800a7ea: 1ad2 subs r2, r2, r3 - 800a7ec: 5c08 ldrb r0, [r1, r0] - 800a7ee: f884 0020 strb.w r0, [r4, #32] - 800a7f2: b2d2 uxtb r2, r2 - 800a7f4: 6a60 ldr r0, [r4, #36] ; 0x24 - 800a7f6: f884 2028 strb.w r2, [r4, #40] ; 0x28 - 800a7fa: 4419 add r1, r3 - 800a7fc: f002 f86e bl 800c8dc - 800a800: 7923 ldrb r3, [r4, #4] - 800a802: 6822 ldr r2, [r4, #0] - 800a804: 441a add r2, r3 - 800a806: 2000 movs r0, #0 - 800a808: f812 3c04 ldrb.w r3, [r2, #-4] - 800a80c: 62e3 str r3, [r4, #44] ; 0x2c - 800a80e: f812 1c03 ldrb.w r1, [r2, #-3] - 800a812: ea43 2301 orr.w r3, r3, r1, lsl #8 - 800a816: 62e3 str r3, [r4, #44] ; 0x2c - 800a818: f812 1c02 ldrb.w r1, [r2, #-2] - 800a81c: ea43 4301 orr.w r3, r3, r1, lsl #16 +0800a790 : + 800a790: b510 push {r4, lr} + 800a792: 4604 mov r4, r0 + 800a794: 2800 cmp r0, #0 + 800a796: d054 beq.n 800a842 + 800a798: 6801 ldr r1, [r0, #0] + 800a79a: 2900 cmp r1, #0 + 800a79c: d051 beq.n 800a842 + 800a79e: 780b ldrb r3, [r1, #0] + 800a7a0: 7143 strb r3, [r0, #5] + 800a7a2: 784b ldrb r3, [r1, #1] + 800a7a4: 6083 str r3, [r0, #8] + 800a7a6: 788a ldrb r2, [r1, #2] + 800a7a8: ea43 2302 orr.w r3, r3, r2, lsl #8 + 800a7ac: 6083 str r3, [r0, #8] + 800a7ae: 78ca ldrb r2, [r1, #3] + 800a7b0: ea43 4302 orr.w r3, r3, r2, lsl #16 + 800a7b4: 6083 str r3, [r0, #8] + 800a7b6: 790a ldrb r2, [r1, #4] + 800a7b8: ea43 6302 orr.w r3, r3, r2, lsl #24 + 800a7bc: 6083 str r3, [r0, #8] + 800a7be: 794b ldrb r3, [r1, #5] + 800a7c0: 7303 strb r3, [r0, #12] + 800a7c2: 798b ldrb r3, [r1, #6] + 800a7c4: 81c3 strh r3, [r0, #14] + 800a7c6: 79ca ldrb r2, [r1, #7] + 800a7c8: ea43 2302 orr.w r3, r3, r2, lsl #8 + 800a7cc: 7b02 ldrb r2, [r0, #12] + 800a7ce: 81c3 strh r3, [r0, #14] + 800a7d0: f002 020f and.w r2, r2, #15 + 800a7d4: 3108 adds r1, #8 + 800a7d6: 3010 adds r0, #16 + 800a7d8: f002 f88a bl 800c8f0 + 800a7dc: 7b23 ldrb r3, [r4, #12] + 800a7de: 2200 movs r2, #0 + 800a7e0: f003 030f and.w r3, r3, #15 + 800a7e4: f884 2020 strb.w r2, [r4, #32] + 800a7e8: f884 2028 strb.w r2, [r4, #40] ; 0x28 + 800a7ec: 7922 ldrb r2, [r4, #4] + 800a7ee: f103 0008 add.w r0, r3, #8 + 800a7f2: 1a11 subs r1, r2, r0 + 800a7f4: 2904 cmp r1, #4 + 800a7f6: dd0d ble.n 800a814 + 800a7f8: 6821 ldr r1, [r4, #0] + 800a7fa: 3309 adds r3, #9 + 800a7fc: 3a04 subs r2, #4 + 800a7fe: 1ad2 subs r2, r2, r3 + 800a800: 5c08 ldrb r0, [r1, r0] + 800a802: f884 0020 strb.w r0, [r4, #32] + 800a806: b2d2 uxtb r2, r2 + 800a808: 6a60 ldr r0, [r4, #36] ; 0x24 + 800a80a: f884 2028 strb.w r2, [r4, #40] ; 0x28 + 800a80e: 4419 add r1, r3 + 800a810: f002 f86e bl 800c8f0 + 800a814: 7923 ldrb r3, [r4, #4] + 800a816: 6822 ldr r2, [r4, #0] + 800a818: 441a add r2, r3 + 800a81a: 2000 movs r0, #0 + 800a81c: f812 3c04 ldrb.w r3, [r2, #-4] 800a820: 62e3 str r3, [r4, #44] ; 0x2c - 800a822: f812 2c01 ldrb.w r2, [r2, #-1] - 800a826: ea43 6302 orr.w r3, r3, r2, lsl #24 + 800a822: f812 1c03 ldrb.w r1, [r2, #-3] + 800a826: ea43 2301 orr.w r3, r3, r1, lsl #8 800a82a: 62e3 str r3, [r4, #44] ; 0x2c - 800a82c: bd10 pop {r4, pc} - 800a82e: 2002 movs r0, #2 - 800a830: e7fc b.n 800a82c + 800a82c: f812 1c02 ldrb.w r1, [r2, #-2] + 800a830: ea43 4301 orr.w r3, r3, r1, lsl #16 + 800a834: 62e3 str r3, [r4, #44] ; 0x2c + 800a836: f812 2c01 ldrb.w r2, [r2, #-1] + 800a83a: ea43 6302 orr.w r3, r3, r2, lsl #24 + 800a83e: 62e3 str r3, [r4, #44] ; 0x2c + 800a840: bd10 pop {r4, pc} + 800a842: 2002 movs r0, #2 + 800a844: e7fc b.n 800a840 -0800a832 : - 800a832: b510 push {r4, lr} - 800a834: 4604 mov r4, r0 - 800a836: b360 cbz r0, 800a892 - 800a838: 6803 ldr r3, [r0, #0] - 800a83a: b353 cbz r3, 800a892 - 800a83c: 7902 ldrb r2, [r0, #4] - 800a83e: 2a16 cmp r2, #22 - 800a840: d929 bls.n 800a896 - 800a842: 7942 ldrb r2, [r0, #5] - 800a844: 701a strb r2, [r3, #0] - 800a846: 4601 mov r1, r0 - 800a848: 2208 movs r2, #8 - 800a84a: f851 0b06 ldr.w r0, [r1], #6 - 800a84e: 3001 adds r0, #1 - 800a850: f002 f84e bl 800c8f0 - 800a854: 4621 mov r1, r4 - 800a856: 2208 movs r2, #8 - 800a858: f851 0b0e ldr.w r0, [r1], #14 - 800a85c: 3009 adds r0, #9 - 800a85e: f002 f847 bl 800c8f0 - 800a862: 6823 ldr r3, [r4, #0] - 800a864: 8ae2 ldrh r2, [r4, #22] - 800a866: 745a strb r2, [r3, #17] - 800a868: 8ae3 ldrh r3, [r4, #22] - 800a86a: 6822 ldr r2, [r4, #0] - 800a86c: 0a1b lsrs r3, r3, #8 - 800a86e: 7493 strb r3, [r2, #18] - 800a870: 6823 ldr r3, [r4, #0] - 800a872: 69a2 ldr r2, [r4, #24] - 800a874: 74da strb r2, [r3, #19] - 800a876: 69a3 ldr r3, [r4, #24] - 800a878: 6822 ldr r2, [r4, #0] - 800a87a: 0a1b lsrs r3, r3, #8 - 800a87c: 7513 strb r3, [r2, #20] - 800a87e: 6823 ldr r3, [r4, #0] - 800a880: 8b62 ldrh r2, [r4, #26] - 800a882: 755a strb r2, [r3, #21] +0800a846 : + 800a846: b510 push {r4, lr} + 800a848: 4604 mov r4, r0 + 800a84a: b360 cbz r0, 800a8a6 + 800a84c: 6803 ldr r3, [r0, #0] + 800a84e: b353 cbz r3, 800a8a6 + 800a850: 7902 ldrb r2, [r0, #4] + 800a852: 2a16 cmp r2, #22 + 800a854: d929 bls.n 800a8aa + 800a856: 7942 ldrb r2, [r0, #5] + 800a858: 701a strb r2, [r3, #0] + 800a85a: 4601 mov r1, r0 + 800a85c: 2208 movs r2, #8 + 800a85e: f851 0b06 ldr.w r0, [r1], #6 + 800a862: 3001 adds r0, #1 + 800a864: f002 f84e bl 800c904 + 800a868: 4621 mov r1, r4 + 800a86a: 2208 movs r2, #8 + 800a86c: f851 0b0e ldr.w r0, [r1], #14 + 800a870: 3009 adds r0, #9 + 800a872: f002 f847 bl 800c904 + 800a876: 6823 ldr r3, [r4, #0] + 800a878: 8ae2 ldrh r2, [r4, #22] + 800a87a: 745a strb r2, [r3, #17] + 800a87c: 8ae3 ldrh r3, [r4, #22] + 800a87e: 6822 ldr r2, [r4, #0] + 800a880: 0a1b lsrs r3, r3, #8 + 800a882: 7493 strb r3, [r2, #18] 800a884: 6823 ldr r3, [r4, #0] - 800a886: 7ee2 ldrb r2, [r4, #27] - 800a888: 759a strb r2, [r3, #22] - 800a88a: 2317 movs r3, #23 - 800a88c: 7123 strb r3, [r4, #4] - 800a88e: 2000 movs r0, #0 - 800a890: bd10 pop {r4, pc} - 800a892: 2001 movs r0, #1 - 800a894: e7fc b.n 800a890 - 800a896: 2002 movs r0, #2 - 800a898: e7fa b.n 800a890 + 800a886: 69a2 ldr r2, [r4, #24] + 800a888: 74da strb r2, [r3, #19] + 800a88a: 69a3 ldr r3, [r4, #24] + 800a88c: 6822 ldr r2, [r4, #0] + 800a88e: 0a1b lsrs r3, r3, #8 + 800a890: 7513 strb r3, [r2, #20] + 800a892: 6823 ldr r3, [r4, #0] + 800a894: 8b62 ldrh r2, [r4, #26] + 800a896: 755a strb r2, [r3, #21] + 800a898: 6823 ldr r3, [r4, #0] + 800a89a: 7ee2 ldrb r2, [r4, #27] + 800a89c: 759a strb r2, [r3, #22] + 800a89e: 2317 movs r3, #23 + 800a8a0: 7123 strb r3, [r4, #4] + 800a8a2: 2000 movs r0, #0 + 800a8a4: bd10 pop {r4, pc} + 800a8a6: 2001 movs r0, #1 + 800a8a8: e7fc b.n 800a8a4 + 800a8aa: 2002 movs r0, #2 + 800a8ac: e7fa b.n 800a8a4 -0800a89a : - 800a89a: b538 push {r3, r4, r5, lr} - 800a89c: 4604 mov r4, r0 - 800a89e: 2800 cmp r0, #0 - 800a8a0: d063 beq.n 800a96a - 800a8a2: 6801 ldr r1, [r0, #0] - 800a8a4: 2900 cmp r1, #0 - 800a8a6: d060 beq.n 800a96a - 800a8a8: 7b03 ldrb r3, [r0, #12] - 800a8aa: f890 2028 ldrb.w r2, [r0, #40] ; 0x28 - 800a8ae: f003 030f and.w r3, r3, #15 - 800a8b2: 2a00 cmp r2, #0 - 800a8b4: d157 bne.n 800a966 - 800a8b6: 3308 adds r3, #8 - 800a8b8: 7920 ldrb r0, [r4, #4] - 800a8ba: 3204 adds r2, #4 - 800a8bc: 4413 add r3, r2 - 800a8be: 4298 cmp r0, r3 - 800a8c0: d355 bcc.n 800a96e - 800a8c2: 7963 ldrb r3, [r4, #5] - 800a8c4: 700b strb r3, [r1, #0] - 800a8c6: 6823 ldr r3, [r4, #0] - 800a8c8: 68a2 ldr r2, [r4, #8] - 800a8ca: 705a strb r2, [r3, #1] - 800a8cc: 68a3 ldr r3, [r4, #8] - 800a8ce: 6822 ldr r2, [r4, #0] - 800a8d0: 0a1b lsrs r3, r3, #8 - 800a8d2: 7093 strb r3, [r2, #2] - 800a8d4: 6823 ldr r3, [r4, #0] - 800a8d6: 8962 ldrh r2, [r4, #10] - 800a8d8: 70da strb r2, [r3, #3] +0800a8ae : + 800a8ae: b538 push {r3, r4, r5, lr} + 800a8b0: 4604 mov r4, r0 + 800a8b2: 2800 cmp r0, #0 + 800a8b4: d063 beq.n 800a97e + 800a8b6: 6801 ldr r1, [r0, #0] + 800a8b8: 2900 cmp r1, #0 + 800a8ba: d060 beq.n 800a97e + 800a8bc: 7b03 ldrb r3, [r0, #12] + 800a8be: f890 2028 ldrb.w r2, [r0, #40] ; 0x28 + 800a8c2: f003 030f and.w r3, r3, #15 + 800a8c6: 2a00 cmp r2, #0 + 800a8c8: d157 bne.n 800a97a + 800a8ca: 3308 adds r3, #8 + 800a8cc: 7920 ldrb r0, [r4, #4] + 800a8ce: 3204 adds r2, #4 + 800a8d0: 4413 add r3, r2 + 800a8d2: 4298 cmp r0, r3 + 800a8d4: d355 bcc.n 800a982 + 800a8d6: 7963 ldrb r3, [r4, #5] + 800a8d8: 700b strb r3, [r1, #0] 800a8da: 6823 ldr r3, [r4, #0] - 800a8dc: 7ae2 ldrb r2, [r4, #11] - 800a8de: 711a strb r2, [r3, #4] - 800a8e0: 6823 ldr r3, [r4, #0] - 800a8e2: 7b22 ldrb r2, [r4, #12] - 800a8e4: 715a strb r2, [r3, #5] - 800a8e6: 6823 ldr r3, [r4, #0] - 800a8e8: 89e2 ldrh r2, [r4, #14] - 800a8ea: 719a strb r2, [r3, #6] - 800a8ec: 89e3 ldrh r3, [r4, #14] - 800a8ee: 6822 ldr r2, [r4, #0] - 800a8f0: 0a1b lsrs r3, r3, #8 - 800a8f2: 4621 mov r1, r4 - 800a8f4: 71d3 strb r3, [r2, #7] + 800a8dc: 68a2 ldr r2, [r4, #8] + 800a8de: 705a strb r2, [r3, #1] + 800a8e0: 68a3 ldr r3, [r4, #8] + 800a8e2: 6822 ldr r2, [r4, #0] + 800a8e4: 0a1b lsrs r3, r3, #8 + 800a8e6: 7093 strb r3, [r2, #2] + 800a8e8: 6823 ldr r3, [r4, #0] + 800a8ea: 8962 ldrh r2, [r4, #10] + 800a8ec: 70da strb r2, [r3, #3] + 800a8ee: 6823 ldr r3, [r4, #0] + 800a8f0: 7ae2 ldrb r2, [r4, #11] + 800a8f2: 711a strb r2, [r3, #4] + 800a8f4: 6823 ldr r3, [r4, #0] 800a8f6: 7b22 ldrb r2, [r4, #12] - 800a8f8: f851 0b10 ldr.w r0, [r1], #16 - 800a8fc: f002 020f and.w r2, r2, #15 - 800a900: 3008 adds r0, #8 - 800a902: f001 ffeb bl 800c8dc - 800a906: 7b23 ldrb r3, [r4, #12] - 800a908: f894 2028 ldrb.w r2, [r4, #40] ; 0x28 - 800a90c: f003 030f and.w r3, r3, #15 - 800a910: f103 0508 add.w r5, r3, #8 - 800a914: b12a cbz r2, 800a922 - 800a916: 6822 ldr r2, [r4, #0] - 800a918: f894 1020 ldrb.w r1, [r4, #32] - 800a91c: 5551 strb r1, [r2, r5] - 800a91e: f103 0509 add.w r5, r3, #9 - 800a922: 6820 ldr r0, [r4, #0] - 800a924: f894 2028 ldrb.w r2, [r4, #40] ; 0x28 - 800a928: 6a61 ldr r1, [r4, #36] ; 0x24 - 800a92a: 4428 add r0, r5 - 800a92c: f001 ffd6 bl 800c8dc - 800a930: f894 3028 ldrb.w r3, [r4, #40] ; 0x28 - 800a934: 6822 ldr r2, [r4, #0] - 800a936: 6ae1 ldr r1, [r4, #44] ; 0x2c - 800a938: 442b add r3, r5 - 800a93a: 54d1 strb r1, [r2, r3] - 800a93c: 1c5a adds r2, r3, #1 - 800a93e: 6ae1 ldr r1, [r4, #44] ; 0x2c - 800a940: 6820 ldr r0, [r4, #0] - 800a942: b292 uxth r2, r2 - 800a944: 0a09 lsrs r1, r1, #8 - 800a946: 5481 strb r1, [r0, r2] - 800a948: 1c9a adds r2, r3, #2 - 800a94a: 6821 ldr r1, [r4, #0] - 800a94c: 8de0 ldrh r0, [r4, #46] ; 0x2e - 800a94e: b292 uxth r2, r2 - 800a950: 5488 strb r0, [r1, r2] - 800a952: 1cda adds r2, r3, #3 - 800a954: 6821 ldr r1, [r4, #0] - 800a956: f894 002f ldrb.w r0, [r4, #47] ; 0x2f - 800a95a: b292 uxth r2, r2 - 800a95c: 3304 adds r3, #4 - 800a95e: 5488 strb r0, [r1, r2] - 800a960: 7123 strb r3, [r4, #4] - 800a962: 2000 movs r0, #0 - 800a964: bd38 pop {r3, r4, r5, pc} - 800a966: 3309 adds r3, #9 - 800a968: e7a6 b.n 800a8b8 - 800a96a: 2001 movs r0, #1 - 800a96c: e7fa b.n 800a964 - 800a96e: 2002 movs r0, #2 - 800a970: e7f8 b.n 800a964 + 800a8f8: 715a strb r2, [r3, #5] + 800a8fa: 6823 ldr r3, [r4, #0] + 800a8fc: 89e2 ldrh r2, [r4, #14] + 800a8fe: 719a strb r2, [r3, #6] + 800a900: 89e3 ldrh r3, [r4, #14] + 800a902: 6822 ldr r2, [r4, #0] + 800a904: 0a1b lsrs r3, r3, #8 + 800a906: 4621 mov r1, r4 + 800a908: 71d3 strb r3, [r2, #7] + 800a90a: 7b22 ldrb r2, [r4, #12] + 800a90c: f851 0b10 ldr.w r0, [r1], #16 + 800a910: f002 020f and.w r2, r2, #15 + 800a914: 3008 adds r0, #8 + 800a916: f001 ffeb bl 800c8f0 + 800a91a: 7b23 ldrb r3, [r4, #12] + 800a91c: f894 2028 ldrb.w r2, [r4, #40] ; 0x28 + 800a920: f003 030f and.w r3, r3, #15 + 800a924: f103 0508 add.w r5, r3, #8 + 800a928: b12a cbz r2, 800a936 + 800a92a: 6822 ldr r2, [r4, #0] + 800a92c: f894 1020 ldrb.w r1, [r4, #32] + 800a930: 5551 strb r1, [r2, r5] + 800a932: f103 0509 add.w r5, r3, #9 + 800a936: 6820 ldr r0, [r4, #0] + 800a938: f894 2028 ldrb.w r2, [r4, #40] ; 0x28 + 800a93c: 6a61 ldr r1, [r4, #36] ; 0x24 + 800a93e: 4428 add r0, r5 + 800a940: f001 ffd6 bl 800c8f0 + 800a944: f894 3028 ldrb.w r3, [r4, #40] ; 0x28 + 800a948: 6822 ldr r2, [r4, #0] + 800a94a: 6ae1 ldr r1, [r4, #44] ; 0x2c + 800a94c: 442b add r3, r5 + 800a94e: 54d1 strb r1, [r2, r3] + 800a950: 1c5a adds r2, r3, #1 + 800a952: 6ae1 ldr r1, [r4, #44] ; 0x2c + 800a954: 6820 ldr r0, [r4, #0] + 800a956: b292 uxth r2, r2 + 800a958: 0a09 lsrs r1, r1, #8 + 800a95a: 5481 strb r1, [r0, r2] + 800a95c: 1c9a adds r2, r3, #2 + 800a95e: 6821 ldr r1, [r4, #0] + 800a960: 8de0 ldrh r0, [r4, #46] ; 0x2e + 800a962: b292 uxth r2, r2 + 800a964: 5488 strb r0, [r1, r2] + 800a966: 1cda adds r2, r3, #3 + 800a968: 6821 ldr r1, [r4, #0] + 800a96a: f894 002f ldrb.w r0, [r4, #47] ; 0x2f + 800a96e: b292 uxth r2, r2 + 800a970: 3304 adds r3, #4 + 800a972: 5488 strb r0, [r1, r2] + 800a974: 7123 strb r3, [r4, #4] + 800a976: 2000 movs r0, #0 + 800a978: bd38 pop {r3, r4, r5, pc} + 800a97a: 3309 adds r3, #9 + 800a97c: e7a6 b.n 800a8cc + 800a97e: 2001 movs r0, #1 + 800a980: e7fa b.n 800a978 + 800a982: 2002 movs r0, #2 + 800a984: e7f8 b.n 800a978 ... -0800a974 : - 800a974: 4b02 ldr r3, [pc, #8] ; (800a980 ) - 800a976: 881a ldrh r2, [r3, #0] - 800a978: 4310 orrs r0, r2 - 800a97a: 8018 strh r0, [r3, #0] - 800a97c: 4770 bx lr - 800a97e: bf00 nop - 800a980: 200019bc .word 0x200019bc +0800a988 : + 800a988: 4b02 ldr r3, [pc, #8] ; (800a994 ) + 800a98a: 881a ldrh r2, [r3, #0] + 800a98c: 4310 orrs r0, r2 + 800a98e: 8018 strh r0, [r3, #0] + 800a990: 4770 bx lr + 800a992: bf00 nop + 800a994: 200019bc .word 0x200019bc -0800a984 : - 800a984: b508 push {r3, lr} - 800a986: 4b07 ldr r3, [pc, #28] ; (800a9a4 ) - 800a988: 881b ldrh r3, [r3, #0] - 800a98a: b13b cbz r3, 800a99c - 800a98c: f7fe f9b8 bl 8008d00 - 800a990: 2800 cmp r0, #0 - 800a992: bf0c ite eq - 800a994: 2000 moveq r0, #0 - 800a996: f06f 0002 mvnne.w r0, #2 - 800a99a: bd08 pop {r3, pc} - 800a99c: f06f 0001 mvn.w r0, #1 - 800a9a0: e7fb b.n 800a99a - 800a9a2: bf00 nop - 800a9a4: 200019bc .word 0x200019bc - -0800a9a8 : - 800a9a8: b510 push {r4, lr} - 800a9aa: 4b03 ldr r3, [pc, #12] ; (800a9b8 ) - 800a9ac: 2400 movs r4, #0 - 800a9ae: 801c strh r4, [r3, #0] - 800a9b0: f7fe f99c bl 8008cec - 800a9b4: 4620 mov r0, r4 - 800a9b6: bd10 pop {r4, pc} +0800a998 : + 800a998: b508 push {r3, lr} + 800a99a: 4b07 ldr r3, [pc, #28] ; (800a9b8 ) + 800a99c: 881b ldrh r3, [r3, #0] + 800a99e: b13b cbz r3, 800a9b0 + 800a9a0: f7fe f9b8 bl 8008d14 + 800a9a4: 2800 cmp r0, #0 + 800a9a6: bf0c ite eq + 800a9a8: 2000 moveq r0, #0 + 800a9aa: f06f 0002 mvnne.w r0, #2 + 800a9ae: bd08 pop {r3, pc} + 800a9b0: f06f 0001 mvn.w r0, #1 + 800a9b4: e7fb b.n 800a9ae + 800a9b6: bf00 nop 800a9b8: 200019bc .word 0x200019bc -0800a9bc : - 800a9bc: fab0 f080 clz r0, r0 - 800a9c0: 0940 lsrs r0, r0, #5 - 800a9c2: 4770 bx lr +0800a9bc : + 800a9bc: b510 push {r4, lr} + 800a9be: 4b03 ldr r3, [pc, #12] ; (800a9cc ) + 800a9c0: 2400 movs r4, #0 + 800a9c2: 801c strh r4, [r3, #0] + 800a9c4: f7fe f99c bl 8008d00 + 800a9c8: 4620 mov r0, r4 + 800a9ca: bd10 pop {r4, pc} + 800a9cc: 200019bc .word 0x200019bc -0800a9c4 : - 800a9c4: b082 sub sp, #8 - 800a9c6: b918 cbnz r0, 800a9d0 - 800a9c8: 4608 mov r0, r1 - 800a9ca: b002 add sp, #8 - 800a9cc: f000 b8ca b.w 800ab64 - 800a9d0: 2000 movs r0, #0 - 800a9d2: b002 add sp, #8 - 800a9d4: 4770 bx lr +0800a9d0 : + 800a9d0: fab0 f080 clz r0, r0 + 800a9d4: 0940 lsrs r0, r0, #5 + 800a9d6: 4770 bx lr -0800a9d6 : - 800a9d6: b910 cbnz r0, 800a9de - 800a9d8: 4608 mov r0, r1 - 800a9da: f000 b977 b.w 800accc - 800a9de: 4770 bx lr - -0800a9e0 : - 800a9e0: b910 cbnz r0, 800a9e8 - 800a9e2: 4608 mov r0, r1 - 800a9e4: f000 b98e b.w 800ad04 +0800a9d8 : + 800a9d8: b082 sub sp, #8 + 800a9da: b918 cbnz r0, 800a9e4 + 800a9dc: 4608 mov r0, r1 + 800a9de: b002 add sp, #8 + 800a9e0: f000 b8ca b.w 800ab78 + 800a9e4: 2000 movs r0, #0 + 800a9e6: b002 add sp, #8 800a9e8: 4770 bx lr -0800a9ea : - 800a9ea: 4603 mov r3, r0 +0800a9ea : + 800a9ea: b910 cbnz r0, 800a9f2 800a9ec: 4608 mov r0, r1 - 800a9ee: 4611 mov r1, r2 - 800a9f0: b90b cbnz r3, 800a9f6 - 800a9f2: f000 b9e5 b.w 800adc0 - 800a9f6: 2000 movs r0, #0 - 800a9f8: 4770 bx lr + 800a9ee: f000 b977 b.w 800ace0 + 800a9f2: 4770 bx lr -0800a9fa : - 800a9fa: b910 cbnz r0, 800aa02 - 800a9fc: 4608 mov r0, r1 - 800a9fe: f000 bd71 b.w 800b4e4 - 800aa02: 4770 bx lr +0800a9f4 : + 800a9f4: b910 cbnz r0, 800a9fc + 800a9f6: 4608 mov r0, r1 + 800a9f8: f000 b98e b.w 800ad18 + 800a9fc: 4770 bx lr -0800aa04 : - 800aa04: b910 cbnz r0, 800aa0c - 800aa06: 4608 mov r0, r1 - 800aa08: f000 ba06 b.w 800ae18 - 800aa0c: 2000 movs r0, #0 - 800aa0e: 4770 bx lr +0800a9fe : + 800a9fe: 4603 mov r3, r0 + 800aa00: 4608 mov r0, r1 + 800aa02: 4611 mov r1, r2 + 800aa04: b90b cbnz r3, 800aa0a + 800aa06: f000 b9e5 b.w 800add4 + 800aa0a: 2000 movs r0, #0 + 800aa0c: 4770 bx lr -0800aa10 : - 800aa10: b410 push {r4} - 800aa12: 4604 mov r4, r0 - 800aa14: 4608 mov r0, r1 - 800aa16: 4611 mov r1, r2 - 800aa18: 461a mov r2, r3 - 800aa1a: 9b01 ldr r3, [sp, #4] - 800aa1c: b914 cbnz r4, 800aa24 - 800aa1e: bc10 pop {r4} - 800aa20: f000 ba18 b.w 800ae54 - 800aa24: bc10 pop {r4} - 800aa26: 4770 bx lr +0800aa0e : + 800aa0e: b910 cbnz r0, 800aa16 + 800aa10: 4608 mov r0, r1 + 800aa12: f000 bd71 b.w 800b4f8 + 800aa16: 4770 bx lr -0800aa28 : - 800aa28: 4603 mov r3, r0 - 800aa2a: 4608 mov r0, r1 - 800aa2c: 4611 mov r1, r2 - 800aa2e: b90b cbnz r3, 800aa34 - 800aa30: f000 ba42 b.w 800aeb8 - 800aa34: 2000 movs r0, #0 - 800aa36: 4770 bx lr +0800aa18 : + 800aa18: b910 cbnz r0, 800aa20 + 800aa1a: 4608 mov r0, r1 + 800aa1c: f000 ba06 b.w 800ae2c + 800aa20: 2000 movs r0, #0 + 800aa22: 4770 bx lr -0800aa38 : - 800aa38: b410 push {r4} - 800aa3a: 4604 mov r4, r0 - 800aa3c: 4608 mov r0, r1 - 800aa3e: 4611 mov r1, r2 - 800aa40: 461a mov r2, r3 - 800aa42: b914 cbnz r4, 800aa4a - 800aa44: bc10 pop {r4} - 800aa46: f000 baaf b.w 800afa8 - 800aa4a: 2000 movs r0, #0 - 800aa4c: bc10 pop {r4} - 800aa4e: 4770 bx lr +0800aa24 : + 800aa24: b410 push {r4} + 800aa26: 4604 mov r4, r0 + 800aa28: 4608 mov r0, r1 + 800aa2a: 4611 mov r1, r2 + 800aa2c: 461a mov r2, r3 + 800aa2e: 9b01 ldr r3, [sp, #4] + 800aa30: b914 cbnz r4, 800aa38 + 800aa32: bc10 pop {r4} + 800aa34: f000 ba18 b.w 800ae68 + 800aa38: bc10 pop {r4} + 800aa3a: 4770 bx lr -0800aa50 : - 800aa50: b430 push {r4, r5} - 800aa52: 4605 mov r5, r0 - 800aa54: 4608 mov r0, r1 - 800aa56: 4611 mov r1, r2 - 800aa58: 461a mov r2, r3 - 800aa5a: e9dd 3402 ldrd r3, r4, [sp, #8] - 800aa5e: b91d cbnz r5, 800aa68 - 800aa60: 9402 str r4, [sp, #8] - 800aa62: bc30 pop {r4, r5} - 800aa64: f000 bb2e b.w 800b0c4 - 800aa68: 2000 movs r0, #0 - 800aa6a: bc30 pop {r4, r5} - 800aa6c: 4770 bx lr +0800aa3c : + 800aa3c: 4603 mov r3, r0 + 800aa3e: 4608 mov r0, r1 + 800aa40: 4611 mov r1, r2 + 800aa42: b90b cbnz r3, 800aa48 + 800aa44: f000 ba42 b.w 800aecc + 800aa48: 2000 movs r0, #0 + 800aa4a: 4770 bx lr -0800aa6e : - 800aa6e: b910 cbnz r0, 800aa76 - 800aa70: 4608 mov r0, r1 - 800aa72: f000 bbdf b.w 800b234 - 800aa76: 2000 movs r0, #0 - 800aa78: 4770 bx lr +0800aa4c : + 800aa4c: b410 push {r4} + 800aa4e: 4604 mov r4, r0 + 800aa50: 4608 mov r0, r1 + 800aa52: 4611 mov r1, r2 + 800aa54: 461a mov r2, r3 + 800aa56: b914 cbnz r4, 800aa5e + 800aa58: bc10 pop {r4} + 800aa5a: f000 baaf b.w 800afbc + 800aa5e: 2000 movs r0, #0 + 800aa60: bc10 pop {r4} + 800aa62: 4770 bx lr -0800aa7a : - 800aa7a: b910 cbnz r0, 800aa82 - 800aa7c: 4608 mov r0, r1 - 800aa7e: f000 bd6f b.w 800b560 - 800aa82: 2000 movs r0, #0 - 800aa84: 4770 bx lr +0800aa64 : + 800aa64: b430 push {r4, r5} + 800aa66: 4605 mov r5, r0 + 800aa68: 4608 mov r0, r1 + 800aa6a: 4611 mov r1, r2 + 800aa6c: 461a mov r2, r3 + 800aa6e: e9dd 3402 ldrd r3, r4, [sp, #8] + 800aa72: b91d cbnz r5, 800aa7c + 800aa74: 9402 str r4, [sp, #8] + 800aa76: bc30 pop {r4, r5} + 800aa78: f000 bb2e b.w 800b0d8 + 800aa7c: 2000 movs r0, #0 + 800aa7e: bc30 pop {r4, r5} + 800aa80: 4770 bx lr -0800aa86 : - 800aa86: b910 cbnz r0, 800aa8e - 800aa88: 4608 mov r0, r1 - 800aa8a: f000 bbee b.w 800b26a - 800aa8e: 2000 movs r0, #0 - 800aa90: 4770 bx lr +0800aa82 : + 800aa82: b910 cbnz r0, 800aa8a + 800aa84: 4608 mov r0, r1 + 800aa86: f000 bbdf b.w 800b248 + 800aa8a: 2000 movs r0, #0 + 800aa8c: 4770 bx lr -0800aa92 : - 800aa92: b910 cbnz r0, 800aa9a - 800aa94: 4608 mov r0, r1 - 800aa96: f000 bbeb b.w 800b270 - 800aa9a: 2000 movs r0, #0 - 800aa9c: 4770 bx lr +0800aa8e : + 800aa8e: b910 cbnz r0, 800aa96 + 800aa90: 4608 mov r0, r1 + 800aa92: f000 bd6f b.w 800b574 + 800aa96: 2000 movs r0, #0 + 800aa98: 4770 bx lr -0800aa9e : - 800aa9e: 4603 mov r3, r0 - 800aaa0: 4608 mov r0, r1 - 800aaa2: 4611 mov r1, r2 - 800aaa4: b90b cbnz r3, 800aaaa - 800aaa6: f000 bc05 b.w 800b2b4 - 800aaaa: 2000 movs r0, #0 - 800aaac: 4770 bx lr +0800aa9a : + 800aa9a: b910 cbnz r0, 800aaa2 + 800aa9c: 4608 mov r0, r1 + 800aa9e: f000 bbee b.w 800b27e + 800aaa2: 2000 movs r0, #0 + 800aaa4: 4770 bx lr -0800aaae : - 800aaae: b410 push {r4} - 800aab0: 4604 mov r4, r0 - 800aab2: 4608 mov r0, r1 - 800aab4: 4611 mov r1, r2 - 800aab6: 461a mov r2, r3 - 800aab8: 9b01 ldr r3, [sp, #4] - 800aaba: b914 cbnz r4, 800aac2 - 800aabc: bc10 pop {r4} - 800aabe: f000 bbfb b.w 800b2b8 - 800aac2: 2009 movs r0, #9 - 800aac4: bc10 pop {r4} - 800aac6: 4770 bx lr +0800aaa6 : + 800aaa6: b910 cbnz r0, 800aaae + 800aaa8: 4608 mov r0, r1 + 800aaaa: f000 bbeb b.w 800b284 + 800aaae: 2000 movs r0, #0 + 800aab0: 4770 bx lr -0800aac8 : - 800aac8: b410 push {r4} - 800aaca: 4604 mov r4, r0 - 800aacc: 4608 mov r0, r1 - 800aace: 4611 mov r1, r2 - 800aad0: 461a mov r2, r3 - 800aad2: b914 cbnz r4, 800aada - 800aad4: bc10 pop {r4} - 800aad6: f000 bd63 b.w 800b5a0 - 800aada: b2c8 uxtb r0, r1 - 800aadc: bc10 pop {r4} - 800aade: 4770 bx lr +0800aab2 : + 800aab2: 4603 mov r3, r0 + 800aab4: 4608 mov r0, r1 + 800aab6: 4611 mov r1, r2 + 800aab8: b90b cbnz r3, 800aabe + 800aaba: f000 bc05 b.w 800b2c8 + 800aabe: 2000 movs r0, #0 + 800aac0: 4770 bx lr -0800aae0 : - 800aae0: 4800 ldr r0, [pc, #0] ; (800aae4 ) - 800aae2: 4770 bx lr - 800aae4: 02010001 .word 0x02010001 +0800aac2 : + 800aac2: b410 push {r4} + 800aac4: 4604 mov r4, r0 + 800aac6: 4608 mov r0, r1 + 800aac8: 4611 mov r1, r2 + 800aaca: 461a mov r2, r3 + 800aacc: 9b01 ldr r3, [sp, #4] + 800aace: b914 cbnz r4, 800aad6 + 800aad0: bc10 pop {r4} + 800aad2: f000 bbfb b.w 800b2cc + 800aad6: 2009 movs r0, #9 + 800aad8: bc10 pop {r4} + 800aada: 4770 bx lr -0800aae8 : - 800aae8: 4b06 ldr r3, [pc, #24] ; (800ab04 ) - 800aaea: b510 push {r4, lr} - 800aaec: 6a1b ldr r3, [r3, #32] - 800aaee: 4604 mov r4, r0 - 800aaf0: 4798 blx r3 - 800aaf2: b130 cbz r0, 800ab02 - 800aaf4: 4804 ldr r0, [pc, #16] ; (800ab08 ) - 800aaf6: 4b05 ldr r3, [pc, #20] ; (800ab0c ) - 800aaf8: 4420 add r0, r4 - 800aafa: 4298 cmp r0, r3 - 800aafc: bf8c ite hi - 800aafe: 2000 movhi r0, #0 - 800ab00: 2001 movls r0, #1 - 800ab02: bd10 pop {r4, pc} - 800ab04: 080101d4 .word 0x080101d4 - 800ab08: c920c240 .word 0xc920c240 - 800ab0c: 002ab980 .word 0x002ab980 +0800aadc : + 800aadc: b410 push {r4} + 800aade: 4604 mov r4, r0 + 800aae0: 4608 mov r0, r1 + 800aae2: 4611 mov r1, r2 + 800aae4: 461a mov r2, r3 + 800aae6: b914 cbnz r4, 800aaee + 800aae8: bc10 pop {r4} + 800aaea: f000 bd63 b.w 800b5b4 + 800aaee: b2c8 uxtb r0, r1 + 800aaf0: bc10 pop {r4} + 800aaf2: 4770 bx lr -0800ab10 : - 800ab10: b5f0 push {r4, r5, r6, r7, lr} - 800ab12: 4b11 ldr r3, [pc, #68] ; (800ab58 ) - 800ab14: b085 sub sp, #20 - 800ab16: 460c mov r4, r1 - 800ab18: 4910 ldr r1, [pc, #64] ; (800ab5c ) - 800ab1a: 561f ldrsb r7, [r3, r0] - 800ab1c: 4605 mov r5, r0 - 800ab1e: f001 f849 bl 800bbb4 - 800ab22: 4b0f ldr r3, [pc, #60] ; (800ab60 ) - 800ab24: b2e4 uxtb r4, r4 - 800ab26: 6a5e ldr r6, [r3, #36] ; 0x24 - 800ab28: 2d07 cmp r5, #7 - 800ab2a: f04f 0301 mov.w r3, #1 - 800ab2e: e9cd 4302 strd r4, r3, [sp, #8] - 800ab32: 4601 mov r1, r0 - 800ab34: d10a bne.n 800ab4c - 800ab36: 2205 movs r2, #5 - 800ab38: 2300 movs r3, #0 - 800ab3a: e9cd 2300 strd r2, r3, [sp] - 800ab3e: f44f 727a mov.w r2, #1000 ; 0x3e8 - 800ab42: 437a muls r2, r7 - 800ab44: 4618 mov r0, r3 - 800ab46: 47b0 blx r6 - 800ab48: b005 add sp, #20 - 800ab4a: bdf0 pop {r4, r5, r6, r7, pc} - 800ab4c: 2208 movs r2, #8 - 800ab4e: 2000 movs r0, #0 - 800ab50: e9cd 2000 strd r2, r0, [sp] - 800ab54: 463a mov r2, r7 - 800ab56: e7f5 b.n 800ab44 - 800ab58: 0800fb23 .word 0x0800fb23 - 800ab5c: 0800fafc .word 0x0800fafc - 800ab60: 080101d4 .word 0x080101d4 +0800aaf4 : + 800aaf4: 4800 ldr r0, [pc, #0] ; (800aaf8 ) + 800aaf6: 4770 bx lr + 800aaf8: 02010001 .word 0x02010001 -0800ab64 : - 800ab64: b51f push {r0, r1, r2, r3, r4, lr} - 800ab66: 2300 movs r3, #0 - 800ab68: 9300 str r3, [sp, #0] - 800ab6a: 7803 ldrb r3, [r0, #0] - 800ab6c: 3b01 subs r3, #1 - 800ab6e: 2b37 cmp r3, #55 ; 0x37 - 800ab70: d821 bhi.n 800abb6 - 800ab72: e8df f003 tbb [pc, r3] - 800ab76: 241c .short 0x241c - 800ab78: 1e202020 .word 0x1e202020 - 800ab7c: 20202020 .word 0x20202020 - 800ab80: 4e454341 .word 0x4e454341 - 800ab84: 5b585520 .word 0x5b585520 - 800ab88: 2064615e .word 0x2064615e - 800ab8c: 736e1e6c .word 0x736e1e6c - 800ab90: 20207a78 .word 0x20207a78 - 800ab94: 2026817d .word 0x2026817d - 800ab98: 20202020 .word 0x20202020 - 800ab9c: 20202020 .word 0x20202020 - 800aba0: 20202020 .word 0x20202020 - 800aba4: 208a8583 .word 0x208a8583 - 800aba8: 208a8320 .word 0x208a8320 - 800abac: 908c .short 0x908c - 800abae: 78c3 ldrb r3, [r0, #3] - 800abb0: b10b cbz r3, 800abb6 - 800abb2: 2302 movs r3, #2 - 800abb4: 9300 str r3, [sp, #0] - 800abb6: 9800 ldr r0, [sp, #0] - 800abb8: b005 add sp, #20 - 800abba: f85d fb04 ldr.w pc, [sp], #4 - 800abbe: 7883 ldrb r3, [r0, #2] - 800abc0: e7f6 b.n 800abb0 - 800abc2: 7843 ldrb r3, [r0, #1] - 800abc4: f88d 3004 strb.w r3, [sp, #4] - 800abc8: 2305 movs r3, #5 - 800abca: f88d 3005 strb.w r3, [sp, #5] - 800abce: 7883 ldrb r3, [r0, #2] - 800abd0: 3b00 subs r3, #0 - 800abd2: bf18 it ne - 800abd4: 2301 movne r3, #1 - 800abd6: 005b lsls r3, r3, #1 - 800abd8: f88d 3006 strb.w r3, [sp, #6] - 800abdc: 2310 movs r3, #16 - 800abde: f88d 3007 strb.w r3, [sp, #7] - 800abe2: 4b30 ldr r3, [pc, #192] ; (800aca4 ) - 800abe4: 681b ldr r3, [r3, #0] - 800abe6: a801 add r0, sp, #4 - 800abe8: f503 7258 add.w r2, r3, #864 ; 0x360 - 800abec: e9cd 2302 strd r2, r3, [sp, #8] - 800abf0: f000 ffc0 bl 800bb74 - 800abf4: 9000 str r0, [sp, #0] - 800abf6: e7de b.n 800abb6 - 800abf8: 2340 movs r3, #64 ; 0x40 - 800abfa: e7db b.n 800abb4 - 800abfc: 2320 movs r3, #32 - 800abfe: e7d9 b.n 800abb4 - 800ac00: 7882 ldrb r2, [r0, #2] - 800ac02: f990 3001 ldrsb.w r3, [r0, #1] - 800ac06: b912 cbnz r2, 800ac0e - 800ac08: 4a27 ldr r2, [pc, #156] ; (800aca8 ) - 800ac0a: 5cd3 ldrb r3, [r2, r3] - 800ac0c: e7d2 b.n 800abb4 - 800ac0e: 4a27 ldr r2, [pc, #156] ; (800acac ) - 800ac10: e7fb b.n 800ac0a - 800ac12: 7882 ldrb r2, [r0, #2] - 800ac14: f990 3001 ldrsb.w r3, [r0, #1] - 800ac18: 2a00 cmp r2, #0 - 800ac1a: d1f8 bne.n 800ac0e - 800ac1c: 4a24 ldr r2, [pc, #144] ; (800acb0 ) - 800ac1e: e7f4 b.n 800ac0a - 800ac20: f640 33b8 movw r3, #3000 ; 0xbb8 - 800ac24: e7c6 b.n 800abb4 - 800ac26: f44f 737a mov.w r3, #1000 ; 0x3e8 - 800ac2a: e7c3 b.n 800abb4 - 800ac2c: f44f 63fa mov.w r3, #2000 ; 0x7d0 - 800ac30: e7c0 b.n 800abb4 - 800ac32: f241 3388 movw r3, #5000 ; 0x1388 - 800ac36: e7bd b.n 800abb4 - 800ac38: f241 7370 movw r3, #6000 ; 0x1770 - 800ac3c: e7ba b.n 800abb4 - 800ac3e: 481d ldr r0, [pc, #116] ; (800acb4 ) - 800ac40: f44f 717a mov.w r1, #1000 ; 0x3e8 - 800ac44: f001 fe2e bl 800c8a4 - 800ac48: f500 60fa add.w r0, r0, #2000 ; 0x7d0 - 800ac4c: e7d2 b.n 800abf4 - 800ac4e: 4b1a ldr r3, [pc, #104] ; (800acb8 ) - 800ac50: e7b0 b.n 800abb4 - 800ac52: 4b14 ldr r3, [pc, #80] ; (800aca4 ) - 800ac54: 681b ldr r3, [r3, #0] - 800ac56: f503 7358 add.w r3, r3, #864 ; 0x360 - 800ac5a: e7ab b.n 800abb4 - 800ac5c: 4b11 ldr r3, [pc, #68] ; (800aca4 ) - 800ac5e: 681b ldr r3, [r3, #0] - 800ac60: f503 735b add.w r3, r3, #876 ; 0x36c - 800ac64: e7a6 b.n 800abb4 - 800ac66: 2310 movs r3, #16 - 800ac68: e7a4 b.n 800abb4 - 800ac6a: 4b0e ldr r3, [pc, #56] ; (800aca4 ) - 800ac6c: 681b ldr r3, [r3, #0] - 800ac6e: e7a1 b.n 800abb4 - 800ac70: f04f 4383 mov.w r3, #1098907648 ; 0x41800000 - 800ac74: 9300 str r3, [sp, #0] - 800ac76: e79e b.n 800abb6 - 800ac78: 4b10 ldr r3, [pc, #64] ; (800acbc ) - 800ac7a: e7fb b.n 800ac74 - 800ac7c: 4b10 ldr r3, [pc, #64] ; (800acc0 ) - 800ac7e: e799 b.n 800abb4 - 800ac80: f240 1311 movw r3, #273 ; 0x111 - 800ac84: f8ad 3000 strh.w r3, [sp] - 800ac88: e795 b.n 800abb6 - 800ac8a: 2303 movs r3, #3 - 800ac8c: e792 b.n 800abb4 - 800ac8e: f990 3001 ldrsb.w r3, [r0, #1] - 800ac92: 4a0c ldr r2, [pc, #48] ; (800acc4 ) - 800ac94: e7b9 b.n 800ac0a - 800ac96: 490c ldr r1, [pc, #48] ; (800acc8 ) - 800ac98: f990 0001 ldrsb.w r0, [r0, #1] - 800ac9c: f000 ff8a bl 800bbb4 - 800aca0: e7a8 b.n 800abf4 - 800aca2: bf00 nop - 800aca4: 200019c4 .word 0x200019c4 - 800aca8: 0800fbab .word 0x0800fbab - 800acac: 0800fbb3 .word 0x0800fbb3 - 800acb0: 0800fbbb .word 0x0800fbbb - 800acb4: fffffc18 .word 0xfffffc18 - 800acb8: 3706ea00 .word 0x3706ea00 - 800acbc: 4009999a .word 0x4009999a - 800acc0: 3709f740 .word 0x3709f740 - 800acc4: 0800fb23 .word 0x0800fb23 - 800acc8: 0800fafc .word 0x0800fafc +0800aafc : + 800aafc: 4b06 ldr r3, [pc, #24] ; (800ab18 ) + 800aafe: b510 push {r4, lr} + 800ab00: 6a1b ldr r3, [r3, #32] + 800ab02: 4604 mov r4, r0 + 800ab04: 4798 blx r3 + 800ab06: b130 cbz r0, 800ab16 + 800ab08: 4804 ldr r0, [pc, #16] ; (800ab1c ) + 800ab0a: 4b05 ldr r3, [pc, #20] ; (800ab20 ) + 800ab0c: 4420 add r0, r4 + 800ab0e: 4298 cmp r0, r3 + 800ab10: bf8c ite hi + 800ab12: 2000 movhi r0, #0 + 800ab14: 2001 movls r0, #1 + 800ab16: bd10 pop {r4, pc} + 800ab18: 080101ec .word 0x080101ec + 800ab1c: c920c240 .word 0xc920c240 + 800ab20: 002ab980 .word 0x002ab980 -0800accc : - 800accc: b537 push {r0, r1, r2, r4, r5, lr} - 800acce: 4b0b ldr r3, [pc, #44] ; (800acfc ) - 800acd0: 7802 ldrb r2, [r0, #0] - 800acd2: 681b ldr r3, [r3, #0] - 800acd4: 210c movs r1, #12 - 800acd6: fb01 3302 mla r3, r1, r2, r3 - 800acda: 7a5b ldrb r3, [r3, #9] - 800acdc: eb03 0443 add.w r4, r3, r3, lsl #1 - 800ace0: 4b07 ldr r3, [pc, #28] ; (800ad00 ) - 800ace2: 681d ldr r5, [r3, #0] - 800ace4: 6903 ldr r3, [r0, #16] - 800ace6: 9300 str r3, [sp, #0] - 800ace8: 68c3 ldr r3, [r0, #12] - 800acea: 7842 ldrb r2, [r0, #1] - 800acec: 6881 ldr r1, [r0, #8] - 800acee: eb05 00c4 add.w r0, r5, r4, lsl #3 - 800acf2: f000 fcdf bl 800b6b4 - 800acf6: b003 add sp, #12 - 800acf8: bd30 pop {r4, r5, pc} - 800acfa: bf00 nop - 800acfc: 200019c4 .word 0x200019c4 - 800ad00: 200019c0 .word 0x200019c0 +0800ab24 : + 800ab24: b5f0 push {r4, r5, r6, r7, lr} + 800ab26: 4b11 ldr r3, [pc, #68] ; (800ab6c ) + 800ab28: b085 sub sp, #20 + 800ab2a: 460c mov r4, r1 + 800ab2c: 4910 ldr r1, [pc, #64] ; (800ab70 ) + 800ab2e: 561f ldrsb r7, [r3, r0] + 800ab30: 4605 mov r5, r0 + 800ab32: f001 f849 bl 800bbc8 + 800ab36: 4b0f ldr r3, [pc, #60] ; (800ab74 ) + 800ab38: b2e4 uxtb r4, r4 + 800ab3a: 6a5e ldr r6, [r3, #36] ; 0x24 + 800ab3c: 2d07 cmp r5, #7 + 800ab3e: f04f 0301 mov.w r3, #1 + 800ab42: e9cd 4302 strd r4, r3, [sp, #8] + 800ab46: 4601 mov r1, r0 + 800ab48: d10a bne.n 800ab60 + 800ab4a: 2205 movs r2, #5 + 800ab4c: 2300 movs r3, #0 + 800ab4e: e9cd 2300 strd r2, r3, [sp] + 800ab52: f44f 727a mov.w r2, #1000 ; 0x3e8 + 800ab56: 437a muls r2, r7 + 800ab58: 4618 mov r0, r3 + 800ab5a: 47b0 blx r6 + 800ab5c: b005 add sp, #20 + 800ab5e: bdf0 pop {r4, r5, r6, r7, pc} + 800ab60: 2208 movs r2, #8 + 800ab62: 2000 movs r0, #0 + 800ab64: e9cd 2000 strd r2, r0, [sp] + 800ab68: 463a mov r2, r7 + 800ab6a: e7f5 b.n 800ab58 + 800ab6c: 0800fb3b .word 0x0800fb3b + 800ab70: 0800fb14 .word 0x0800fb14 + 800ab74: 080101ec .word 0x080101ec -0800ad04 : - 800ad04: b570 push {r4, r5, r6, lr} - 800ad06: b086 sub sp, #24 - 800ad08: 7b02 ldrb r2, [r0, #12] - 800ad0a: 2364 movs r3, #100 ; 0x64 - 800ad0c: f8ad 3000 strh.w r3, [sp] - 800ad10: 2a01 cmp r2, #1 - 800ad12: f04f 0300 mov.w r3, #0 - 800ad16: e9cd 3301 strd r3, r3, [sp, #4] - 800ad1a: e9cd 3303 strd r3, r3, [sp, #12] - 800ad1e: f88d 3002 strb.w r3, [sp, #2] - 800ad22: f88d 3014 strb.w r3, [sp, #20] - 800ad26: d030 beq.n 800ad8a - 800ad28: 2a02 cmp r2, #2 - 800ad2a: d039 beq.n 800ada0 - 800ad2c: bb5a cbnz r2, 800ad86 - 800ad2e: 6803 ldr r3, [r0, #0] - 800ad30: b34b cbz r3, 800ad86 - 800ad32: 6843 ldr r3, [r0, #4] - 800ad34: b33b cbz r3, 800ad86 - 800ad36: 4d1f ldr r5, [pc, #124] ; (800adb4 ) - 800ad38: 6880 ldr r0, [r0, #8] - 800ad3a: 602b str r3, [r5, #0] - 800ad3c: 4b1e ldr r3, [pc, #120] ; (800adb8 ) - 800ad3e: 2218 movs r2, #24 - 800ad40: 4669 mov r1, sp - 800ad42: 6018 str r0, [r3, #0] - 800ad44: f001 fdca bl 800c8dc - 800ad48: 4b1c ldr r3, [pc, #112] ; (800adbc ) - 800ad4a: 682c ldr r4, [r5, #0] - 800ad4c: e893 0007 ldmia.w r3, {r0, r1, r2} - 800ad50: 330c adds r3, #12 - 800ad52: e884 0007 stmia.w r4, {r0, r1, r2} - 800ad56: e893 0007 ldmia.w r3, {r0, r1, r2} - 800ad5a: f104 060c add.w r6, r4, #12 - 800ad5e: 2303 movs r3, #3 - 800ad60: e886 0007 stmia.w r6, {r0, r1, r2} - 800ad64: f8a4 336c strh.w r3, [r4, #876] ; 0x36c - 800ad68: 2201 movs r2, #1 - 800ad6a: f504 715b add.w r1, r4, #876 ; 0x36c - 800ad6e: f504 7058 add.w r0, r4, #864 ; 0x360 - 800ad72: f000 fc90 bl 800b696 - 800ad76: 682b ldr r3, [r5, #0] - 800ad78: f64f 72b0 movw r2, #65456 ; 0xffb0 - 800ad7c: f8a3 2378 strh.w r2, [r3, #888] ; 0x378 - 800ad80: 2205 movs r2, #5 - 800ad82: f8c3 237c str.w r2, [r3, #892] ; 0x37c - 800ad86: b006 add sp, #24 - 800ad88: bd70 pop {r4, r5, r6, pc} - 800ad8a: 490a ldr r1, [pc, #40] ; (800adb4 ) - 800ad8c: 6808 ldr r0, [r1, #0] - 800ad8e: 6043 str r3, [r0, #4] - 800ad90: 6103 str r3, [r0, #16] - 800ad92: f500 715b add.w r1, r0, #876 ; 0x36c - 800ad96: f500 7058 add.w r0, r0, #864 ; 0x360 - 800ad9a: f000 fc7c bl 800b696 - 800ad9e: e7f2 b.n 800ad86 - 800ada0: 4b04 ldr r3, [pc, #16] ; (800adb4 ) - 800ada2: 681b ldr r3, [r3, #0] - 800ada4: f8b3 2360 ldrh.w r2, [r3, #864] ; 0x360 - 800ada8: f8b3 136c ldrh.w r1, [r3, #876] ; 0x36c - 800adac: 430a orrs r2, r1 - 800adae: f8a3 2360 strh.w r2, [r3, #864] ; 0x360 - 800adb2: e7e8 b.n 800ad86 - 800adb4: 200019c4 .word 0x200019c4 - 800adb8: 200019c0 .word 0x200019c0 - 800adbc: 0800f4d0 .word 0x0800f4d0 +0800ab78 : + 800ab78: b51f push {r0, r1, r2, r3, r4, lr} + 800ab7a: 2300 movs r3, #0 + 800ab7c: 9300 str r3, [sp, #0] + 800ab7e: 7803 ldrb r3, [r0, #0] + 800ab80: 3b01 subs r3, #1 + 800ab82: 2b37 cmp r3, #55 ; 0x37 + 800ab84: d821 bhi.n 800abca + 800ab86: e8df f003 tbb [pc, r3] + 800ab8a: 241c .short 0x241c + 800ab8c: 1e202020 .word 0x1e202020 + 800ab90: 20202020 .word 0x20202020 + 800ab94: 4e454341 .word 0x4e454341 + 800ab98: 5b585520 .word 0x5b585520 + 800ab9c: 2064615e .word 0x2064615e + 800aba0: 736e1e6c .word 0x736e1e6c + 800aba4: 20207a78 .word 0x20207a78 + 800aba8: 2026817d .word 0x2026817d + 800abac: 20202020 .word 0x20202020 + 800abb0: 20202020 .word 0x20202020 + 800abb4: 20202020 .word 0x20202020 + 800abb8: 208a8583 .word 0x208a8583 + 800abbc: 208a8320 .word 0x208a8320 + 800abc0: 908c .short 0x908c + 800abc2: 78c3 ldrb r3, [r0, #3] + 800abc4: b10b cbz r3, 800abca + 800abc6: 2302 movs r3, #2 + 800abc8: 9300 str r3, [sp, #0] + 800abca: 9800 ldr r0, [sp, #0] + 800abcc: b005 add sp, #20 + 800abce: f85d fb04 ldr.w pc, [sp], #4 + 800abd2: 7883 ldrb r3, [r0, #2] + 800abd4: e7f6 b.n 800abc4 + 800abd6: 7843 ldrb r3, [r0, #1] + 800abd8: f88d 3004 strb.w r3, [sp, #4] + 800abdc: 2305 movs r3, #5 + 800abde: f88d 3005 strb.w r3, [sp, #5] + 800abe2: 7883 ldrb r3, [r0, #2] + 800abe4: 3b00 subs r3, #0 + 800abe6: bf18 it ne + 800abe8: 2301 movne r3, #1 + 800abea: 005b lsls r3, r3, #1 + 800abec: f88d 3006 strb.w r3, [sp, #6] + 800abf0: 2310 movs r3, #16 + 800abf2: f88d 3007 strb.w r3, [sp, #7] + 800abf6: 4b30 ldr r3, [pc, #192] ; (800acb8 ) + 800abf8: 681b ldr r3, [r3, #0] + 800abfa: a801 add r0, sp, #4 + 800abfc: f503 7258 add.w r2, r3, #864 ; 0x360 + 800ac00: e9cd 2302 strd r2, r3, [sp, #8] + 800ac04: f000 ffc0 bl 800bb88 + 800ac08: 9000 str r0, [sp, #0] + 800ac0a: e7de b.n 800abca + 800ac0c: 2340 movs r3, #64 ; 0x40 + 800ac0e: e7db b.n 800abc8 + 800ac10: 2320 movs r3, #32 + 800ac12: e7d9 b.n 800abc8 + 800ac14: 7882 ldrb r2, [r0, #2] + 800ac16: f990 3001 ldrsb.w r3, [r0, #1] + 800ac1a: b912 cbnz r2, 800ac22 + 800ac1c: 4a27 ldr r2, [pc, #156] ; (800acbc ) + 800ac1e: 5cd3 ldrb r3, [r2, r3] + 800ac20: e7d2 b.n 800abc8 + 800ac22: 4a27 ldr r2, [pc, #156] ; (800acc0 ) + 800ac24: e7fb b.n 800ac1e + 800ac26: 7882 ldrb r2, [r0, #2] + 800ac28: f990 3001 ldrsb.w r3, [r0, #1] + 800ac2c: 2a00 cmp r2, #0 + 800ac2e: d1f8 bne.n 800ac22 + 800ac30: 4a24 ldr r2, [pc, #144] ; (800acc4 ) + 800ac32: e7f4 b.n 800ac1e + 800ac34: f640 33b8 movw r3, #3000 ; 0xbb8 + 800ac38: e7c6 b.n 800abc8 + 800ac3a: f44f 737a mov.w r3, #1000 ; 0x3e8 + 800ac3e: e7c3 b.n 800abc8 + 800ac40: f44f 63fa mov.w r3, #2000 ; 0x7d0 + 800ac44: e7c0 b.n 800abc8 + 800ac46: f241 3388 movw r3, #5000 ; 0x1388 + 800ac4a: e7bd b.n 800abc8 + 800ac4c: f241 7370 movw r3, #6000 ; 0x1770 + 800ac50: e7ba b.n 800abc8 + 800ac52: 481d ldr r0, [pc, #116] ; (800acc8 ) + 800ac54: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800ac58: f001 fe2e bl 800c8b8 + 800ac5c: f500 60fa add.w r0, r0, #2000 ; 0x7d0 + 800ac60: e7d2 b.n 800ac08 + 800ac62: 4b1a ldr r3, [pc, #104] ; (800accc ) + 800ac64: e7b0 b.n 800abc8 + 800ac66: 4b14 ldr r3, [pc, #80] ; (800acb8 ) + 800ac68: 681b ldr r3, [r3, #0] + 800ac6a: f503 7358 add.w r3, r3, #864 ; 0x360 + 800ac6e: e7ab b.n 800abc8 + 800ac70: 4b11 ldr r3, [pc, #68] ; (800acb8 ) + 800ac72: 681b ldr r3, [r3, #0] + 800ac74: f503 735b add.w r3, r3, #876 ; 0x36c + 800ac78: e7a6 b.n 800abc8 + 800ac7a: 2310 movs r3, #16 + 800ac7c: e7a4 b.n 800abc8 + 800ac7e: 4b0e ldr r3, [pc, #56] ; (800acb8 ) + 800ac80: 681b ldr r3, [r3, #0] + 800ac82: e7a1 b.n 800abc8 + 800ac84: f04f 4383 mov.w r3, #1098907648 ; 0x41800000 + 800ac88: 9300 str r3, [sp, #0] + 800ac8a: e79e b.n 800abca + 800ac8c: 4b10 ldr r3, [pc, #64] ; (800acd0 ) + 800ac8e: e7fb b.n 800ac88 + 800ac90: 4b10 ldr r3, [pc, #64] ; (800acd4 ) + 800ac92: e799 b.n 800abc8 + 800ac94: f240 1311 movw r3, #273 ; 0x111 + 800ac98: f8ad 3000 strh.w r3, [sp] + 800ac9c: e795 b.n 800abca + 800ac9e: 2303 movs r3, #3 + 800aca0: e792 b.n 800abc8 + 800aca2: f990 3001 ldrsb.w r3, [r0, #1] + 800aca6: 4a0c ldr r2, [pc, #48] ; (800acd8 ) + 800aca8: e7b9 b.n 800ac1e + 800acaa: 490c ldr r1, [pc, #48] ; (800acdc ) + 800acac: f990 0001 ldrsb.w r0, [r0, #1] + 800acb0: f000 ff8a bl 800bbc8 + 800acb4: e7a8 b.n 800ac08 + 800acb6: bf00 nop + 800acb8: 200019c4 .word 0x200019c4 + 800acbc: 0800fbc3 .word 0x0800fbc3 + 800acc0: 0800fbcb .word 0x0800fbcb + 800acc4: 0800fbd3 .word 0x0800fbd3 + 800acc8: fffffc18 .word 0xfffffc18 + 800accc: 3706ea00 .word 0x3706ea00 + 800acd0: 4009999a .word 0x4009999a + 800acd4: 3709f740 .word 0x3709f740 + 800acd8: 0800fb3b .word 0x0800fb3b + 800acdc: 0800fb14 .word 0x0800fb14 -0800adc0 : - 800adc0: b508 push {r3, lr} - 800adc2: 4603 mov r3, r0 - 800adc4: 290a cmp r1, #10 - 800adc6: d824 bhi.n 800ae12 - 800adc8: e8df f001 tbb [pc, r1] - 800adcc: 23232306 .word 0x23232306 - 800add0: 1b160b23 .word 0x1b160b23 - 800add4: 2123 .short 0x2123 - 800add6: 21 .byte 0x21 - 800add7: 00 .byte 0x00 - 800add8: e8bd 4008 ldmia.w sp!, {r3, lr} - 800addc: 6800 ldr r0, [r0, #0] - 800adde: f7ff be83 b.w 800aae8 - 800ade2: f990 0000 ldrsb.w r0, [r0] - 800ade6: 7899 ldrb r1, [r3, #2] - 800ade8: 2205 movs r2, #5 - 800adea: b971 cbnz r1, 800ae0a - 800adec: f000 fc13 bl 800b616 - 800adf0: 3800 subs r0, #0 - 800adf2: bf18 it ne - 800adf4: 2001 movne r0, #1 - 800adf6: bd08 pop {r3, pc} - 800adf8: 2205 movs r2, #5 - 800adfa: f993 0000 ldrsb.w r0, [r3] - 800adfe: 2100 movs r1, #0 - 800ae00: e7f4 b.n 800adec - 800ae02: f990 0000 ldrsb.w r0, [r0] - 800ae06: 7859 ldrb r1, [r3, #1] - 800ae08: e7ee b.n 800ade8 - 800ae0a: 2102 movs r1, #2 - 800ae0c: e7ee b.n 800adec - 800ae0e: 2207 movs r2, #7 - 800ae10: e7f3 b.n 800adfa - 800ae12: 2000 movs r0, #0 - 800ae14: e7ef b.n 800adf6 +0800ace0 : + 800ace0: b537 push {r0, r1, r2, r4, r5, lr} + 800ace2: 4b0b ldr r3, [pc, #44] ; (800ad10 ) + 800ace4: 7802 ldrb r2, [r0, #0] + 800ace6: 681b ldr r3, [r3, #0] + 800ace8: 210c movs r1, #12 + 800acea: fb01 3302 mla r3, r1, r2, r3 + 800acee: 7a5b ldrb r3, [r3, #9] + 800acf0: eb03 0443 add.w r4, r3, r3, lsl #1 + 800acf4: 4b07 ldr r3, [pc, #28] ; (800ad14 ) + 800acf6: 681d ldr r5, [r3, #0] + 800acf8: 6903 ldr r3, [r0, #16] + 800acfa: 9300 str r3, [sp, #0] + 800acfc: 68c3 ldr r3, [r0, #12] + 800acfe: 7842 ldrb r2, [r0, #1] + 800ad00: 6881 ldr r1, [r0, #8] + 800ad02: eb05 00c4 add.w r0, r5, r4, lsl #3 + 800ad06: f000 fcdf bl 800b6c8 + 800ad0a: b003 add sp, #12 + 800ad0c: bd30 pop {r4, r5, pc} + 800ad0e: bf00 nop + 800ad10: 200019c4 .word 0x200019c4 + 800ad14: 200019c0 .word 0x200019c0 + +0800ad18 : + 800ad18: b570 push {r4, r5, r6, lr} + 800ad1a: b086 sub sp, #24 + 800ad1c: 7b02 ldrb r2, [r0, #12] + 800ad1e: 2364 movs r3, #100 ; 0x64 + 800ad20: f8ad 3000 strh.w r3, [sp] + 800ad24: 2a01 cmp r2, #1 + 800ad26: f04f 0300 mov.w r3, #0 + 800ad2a: e9cd 3301 strd r3, r3, [sp, #4] + 800ad2e: e9cd 3303 strd r3, r3, [sp, #12] + 800ad32: f88d 3002 strb.w r3, [sp, #2] + 800ad36: f88d 3014 strb.w r3, [sp, #20] + 800ad3a: d030 beq.n 800ad9e + 800ad3c: 2a02 cmp r2, #2 + 800ad3e: d039 beq.n 800adb4 + 800ad40: bb5a cbnz r2, 800ad9a + 800ad42: 6803 ldr r3, [r0, #0] + 800ad44: b34b cbz r3, 800ad9a + 800ad46: 6843 ldr r3, [r0, #4] + 800ad48: b33b cbz r3, 800ad9a + 800ad4a: 4d1f ldr r5, [pc, #124] ; (800adc8 ) + 800ad4c: 6880 ldr r0, [r0, #8] + 800ad4e: 602b str r3, [r5, #0] + 800ad50: 4b1e ldr r3, [pc, #120] ; (800adcc ) + 800ad52: 2218 movs r2, #24 + 800ad54: 4669 mov r1, sp + 800ad56: 6018 str r0, [r3, #0] + 800ad58: f001 fdca bl 800c8f0 + 800ad5c: 4b1c ldr r3, [pc, #112] ; (800add0 ) + 800ad5e: 682c ldr r4, [r5, #0] + 800ad60: e893 0007 ldmia.w r3, {r0, r1, r2} + 800ad64: 330c adds r3, #12 + 800ad66: e884 0007 stmia.w r4, {r0, r1, r2} + 800ad6a: e893 0007 ldmia.w r3, {r0, r1, r2} + 800ad6e: f104 060c add.w r6, r4, #12 + 800ad72: 2303 movs r3, #3 + 800ad74: e886 0007 stmia.w r6, {r0, r1, r2} + 800ad78: f8a4 336c strh.w r3, [r4, #876] ; 0x36c + 800ad7c: 2201 movs r2, #1 + 800ad7e: f504 715b add.w r1, r4, #876 ; 0x36c + 800ad82: f504 7058 add.w r0, r4, #864 ; 0x360 + 800ad86: f000 fc90 bl 800b6aa + 800ad8a: 682b ldr r3, [r5, #0] + 800ad8c: f64f 72b0 movw r2, #65456 ; 0xffb0 + 800ad90: f8a3 2378 strh.w r2, [r3, #888] ; 0x378 + 800ad94: 2205 movs r2, #5 + 800ad96: f8c3 237c str.w r2, [r3, #892] ; 0x37c + 800ad9a: b006 add sp, #24 + 800ad9c: bd70 pop {r4, r5, r6, pc} + 800ad9e: 490a ldr r1, [pc, #40] ; (800adc8 ) + 800ada0: 6808 ldr r0, [r1, #0] + 800ada2: 6043 str r3, [r0, #4] + 800ada4: 6103 str r3, [r0, #16] + 800ada6: f500 715b add.w r1, r0, #876 ; 0x36c + 800adaa: f500 7058 add.w r0, r0, #864 ; 0x360 + 800adae: f000 fc7c bl 800b6aa + 800adb2: e7f2 b.n 800ad9a + 800adb4: 4b04 ldr r3, [pc, #16] ; (800adc8 ) + 800adb6: 681b ldr r3, [r3, #0] + 800adb8: f8b3 2360 ldrh.w r2, [r3, #864] ; 0x360 + 800adbc: f8b3 136c ldrh.w r1, [r3, #876] ; 0x36c + 800adc0: 430a orrs r2, r1 + 800adc2: f8a3 2360 strh.w r2, [r3, #864] ; 0x360 + 800adc6: e7e8 b.n 800ad9a + 800adc8: 200019c4 .word 0x200019c4 + 800adcc: 200019c0 .word 0x200019c0 + 800add0: 0800f4e8 .word 0x0800f4e8 + +0800add4 : + 800add4: b508 push {r3, lr} + 800add6: 4603 mov r3, r0 + 800add8: 290a cmp r1, #10 + 800adda: d824 bhi.n 800ae26 + 800addc: e8df f001 tbb [pc, r1] + 800ade0: 23232306 .word 0x23232306 + 800ade4: 1b160b23 .word 0x1b160b23 + 800ade8: 2123 .short 0x2123 + 800adea: 21 .byte 0x21 + 800adeb: 00 .byte 0x00 + 800adec: e8bd 4008 ldmia.w sp!, {r3, lr} + 800adf0: 6800 ldr r0, [r0, #0] + 800adf2: f7ff be83 b.w 800aafc + 800adf6: f990 0000 ldrsb.w r0, [r0] + 800adfa: 7899 ldrb r1, [r3, #2] + 800adfc: 2205 movs r2, #5 + 800adfe: b971 cbnz r1, 800ae1e + 800ae00: f000 fc13 bl 800b62a + 800ae04: 3800 subs r0, #0 + 800ae06: bf18 it ne + 800ae08: 2001 movne r0, #1 + 800ae0a: bd08 pop {r3, pc} + 800ae0c: 2205 movs r2, #5 + 800ae0e: f993 0000 ldrsb.w r0, [r3] + 800ae12: 2100 movs r1, #0 + 800ae14: e7f4 b.n 800ae00 + 800ae16: f990 0000 ldrsb.w r0, [r0] + 800ae1a: 7859 ldrb r1, [r3, #1] + 800ae1c: e7ee b.n 800adfc + 800ae1e: 2102 movs r1, #2 + 800ae20: e7ee b.n 800ae00 + 800ae22: 2207 movs r2, #7 + 800ae24: e7f3 b.n 800ae0e + 800ae26: 2000 movs r0, #0 + 800ae28: e7ef b.n 800ae0a ... -0800ae18 : - 800ae18: b510 push {r4, lr} - 800ae1a: 7904 ldrb r4, [r0, #4] - 800ae1c: b11c cbz r4, 800ae26 - 800ae1e: 2c01 cmp r4, #1 - 800ae20: d00b beq.n 800ae3a - 800ae22: 2000 movs r0, #0 - 800ae24: bd10 pop {r4, pc} - 800ae26: 4b0a ldr r3, [pc, #40] ; (800ae50 ) - 800ae28: 6801 ldr r1, [r0, #0] - 800ae2a: 681b ldr r3, [r3, #0] - 800ae2c: 2201 movs r2, #1 - 800ae2e: f503 7058 add.w r0, r3, #864 ; 0x360 - 800ae32: f000 fc30 bl 800b696 - 800ae36: 2001 movs r0, #1 - 800ae38: e7f4 b.n 800ae24 - 800ae3a: 4b05 ldr r3, [pc, #20] ; (800ae50 ) +0800ae2c : + 800ae2c: b510 push {r4, lr} + 800ae2e: 7904 ldrb r4, [r0, #4] + 800ae30: b11c cbz r4, 800ae3a + 800ae32: 2c01 cmp r4, #1 + 800ae34: d00b beq.n 800ae4e + 800ae36: 2000 movs r0, #0 + 800ae38: bd10 pop {r4, pc} + 800ae3a: 4b0a ldr r3, [pc, #40] ; (800ae64 ) 800ae3c: 6801 ldr r1, [r0, #0] 800ae3e: 681b ldr r3, [r3, #0] - 800ae40: 4622 mov r2, r4 - 800ae42: f503 705b add.w r0, r3, #876 ; 0x36c - 800ae46: f000 fc26 bl 800b696 - 800ae4a: 4620 mov r0, r4 - 800ae4c: e7ea b.n 800ae24 - 800ae4e: bf00 nop - 800ae50: 200019c4 .word 0x200019c4 + 800ae40: 2201 movs r2, #1 + 800ae42: f503 7058 add.w r0, r3, #864 ; 0x360 + 800ae46: f000 fc30 bl 800b6aa + 800ae4a: 2001 movs r0, #1 + 800ae4c: e7f4 b.n 800ae38 + 800ae4e: 4b05 ldr r3, [pc, #20] ; (800ae64 ) + 800ae50: 6801 ldr r1, [r0, #0] + 800ae52: 681b ldr r3, [r3, #0] + 800ae54: 4622 mov r2, r4 + 800ae56: f503 705b add.w r0, r3, #876 ; 0x36c + 800ae5a: f000 fc26 bl 800b6aa + 800ae5e: 4620 mov r0, r4 + 800ae60: e7ea b.n 800ae38 + 800ae62: bf00 nop + 800ae64: 200019c4 .word 0x200019c4 -0800ae54 : - 800ae54: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 800ae56: 2805 cmp r0, #5 - 800ae58: 4d14 ldr r5, [pc, #80] ; (800aeac ) - 800ae5a: 461c mov r4, r3 - 800ae5c: bfa8 it ge - 800ae5e: 2005 movge r0, #5 - 800ae60: 7058 strb r0, [r3, #1] - 800ae62: 460e mov r6, r1 - 800ae64: 4629 mov r1, r5 - 800ae66: 4617 mov r7, r2 - 800ae68: f000 fea4 bl 800bbb4 - 800ae6c: f994 3001 ldrsb.w r3, [r4, #1] - 800ae70: 70a0 strb r0, [r4, #2] - 800ae72: 2b07 cmp r3, #7 - 800ae74: d113 bne.n 800ae9e - 800ae76: 2032 movs r0, #50 ; 0x32 - 800ae78: f000 fd9c bl 800b9b4 - 800ae7c: 4b0c ldr r3, [pc, #48] ; (800aeb0 ) - 800ae7e: 6ddb ldr r3, [r3, #92] ; 0x5c - 800ae80: 4605 mov r5, r0 - 800ae82: 4798 blx r3 - 800ae84: f104 020c add.w r2, r4, #12 - 800ae88: 3408 adds r4, #8 - 800ae8a: 4603 mov r3, r0 - 800ae8c: 9201 str r2, [sp, #4] - 800ae8e: 9400 str r4, [sp, #0] - 800ae90: 463a mov r2, r7 - 800ae92: 4631 mov r1, r6 - 800ae94: 4628 mov r0, r5 - 800ae96: f000 fd92 bl 800b9be - 800ae9a: b003 add sp, #12 - 800ae9c: bdf0 pop {r4, r5, r6, r7, pc} - 800ae9e: 4a05 ldr r2, [pc, #20] ; (800aeb4 ) - 800aea0: f855 1023 ldr.w r1, [r5, r3, lsl #2] - 800aea4: 5cd0 ldrb r0, [r2, r3] - 800aea6: f000 fd7d bl 800b9a4 - 800aeaa: e7e7 b.n 800ae7c - 800aeac: 0800fafc .word 0x0800fafc - 800aeb0: 080101d4 .word 0x080101d4 - 800aeb4: 0800fb23 .word 0x0800fb23 +0800ae68 : + 800ae68: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 800ae6a: 2805 cmp r0, #5 + 800ae6c: 4d14 ldr r5, [pc, #80] ; (800aec0 ) + 800ae6e: 461c mov r4, r3 + 800ae70: bfa8 it ge + 800ae72: 2005 movge r0, #5 + 800ae74: 7058 strb r0, [r3, #1] + 800ae76: 460e mov r6, r1 + 800ae78: 4629 mov r1, r5 + 800ae7a: 4617 mov r7, r2 + 800ae7c: f000 fea4 bl 800bbc8 + 800ae80: f994 3001 ldrsb.w r3, [r4, #1] + 800ae84: 70a0 strb r0, [r4, #2] + 800ae86: 2b07 cmp r3, #7 + 800ae88: d113 bne.n 800aeb2 + 800ae8a: 2032 movs r0, #50 ; 0x32 + 800ae8c: f000 fd9c bl 800b9c8 + 800ae90: 4b0c ldr r3, [pc, #48] ; (800aec4 ) + 800ae92: 6ddb ldr r3, [r3, #92] ; 0x5c + 800ae94: 4605 mov r5, r0 + 800ae96: 4798 blx r3 + 800ae98: f104 020c add.w r2, r4, #12 + 800ae9c: 3408 adds r4, #8 + 800ae9e: 4603 mov r3, r0 + 800aea0: 9201 str r2, [sp, #4] + 800aea2: 9400 str r4, [sp, #0] + 800aea4: 463a mov r2, r7 + 800aea6: 4631 mov r1, r6 + 800aea8: 4628 mov r0, r5 + 800aeaa: f000 fd92 bl 800b9d2 + 800aeae: b003 add sp, #12 + 800aeb0: bdf0 pop {r4, r5, r6, r7, pc} + 800aeb2: 4a05 ldr r2, [pc, #20] ; (800aec8 ) + 800aeb4: f855 1023 ldr.w r1, [r5, r3, lsl #2] + 800aeb8: 5cd0 ldrb r0, [r2, r3] + 800aeba: f000 fd7d bl 800b9b8 + 800aebe: e7e7 b.n 800ae90 + 800aec0: 0800fb14 .word 0x0800fb14 + 800aec4: 080101ec .word 0x080101ec + 800aec8: 0800fb3b .word 0x0800fb3b -0800aeb8 : - 800aeb8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800aebc: 4f34 ldr r7, [pc, #208] ; (800af90 ) - 800aebe: f990 6001 ldrsb.w r6, [r0, #1] - 800aec2: 687b ldr r3, [r7, #4] - 800aec4: f8d0 9004 ldr.w r9, [r0, #4] - 800aec8: b08b sub sp, #44 ; 0x2c - 800aeca: 4604 mov r4, r0 - 800aecc: 4688 mov r8, r1 - 800aece: 4798 blx r3 - 800aed0: 4605 mov r5, r0 - 800aed2: 2800 cmp r0, #0 - 800aed4: d159 bne.n 800af8a - 800aed6: 7ce3 ldrb r3, [r4, #19] - 800aed8: b973 cbnz r3, 800aef8 - 800aeda: 4a2e ldr r2, [pc, #184] ; (800af94 ) - 800aedc: 7823 ldrb r3, [r4, #0] - 800aede: 6812 ldr r2, [r2, #0] - 800aee0: eb03 0343 add.w r3, r3, r3, lsl #1 - 800aee4: 0099 lsls r1, r3, #2 - 800aee6: eb02 0383 add.w r3, r2, r3, lsl #2 - 800aeea: f8d3 9004 ldr.w r9, [r3, #4] - 800aeee: f1b9 0f00 cmp.w r9, #0 - 800aef2: d101 bne.n 800aef8 - 800aef4: f852 9001 ldr.w r9, [r2, r1] - 800aef8: 4b27 ldr r3, [pc, #156] ; (800af98 ) - 800aefa: 4648 mov r0, r9 - 800aefc: f913 b006 ldrsb.w fp, [r3, r6] - 800af00: 68fb ldr r3, [r7, #12] - 800af02: 4798 blx r3 - 800af04: 7ca3 ldrb r3, [r4, #18] - 800af06: f8d7 a018 ldr.w sl, [r7, #24] - 800af0a: 8922 ldrh r2, [r4, #8] - 800af0c: 9309 str r3, [sp, #36] ; 0x24 - 800af0e: 2e07 cmp r6, #7 - 800af10: d128 bne.n 800af64 - 800af12: 2300 movs r3, #0 - 800af14: 2101 movs r1, #1 - 800af16: e9cd 2302 strd r2, r3, [sp, #8] - 800af1a: 4a20 ldr r2, [pc, #128] ; (800af9c ) - 800af1c: 9306 str r3, [sp, #24] - 800af1e: e9cd 3104 strd r3, r1, [sp, #16] - 800af22: e9cd 3307 strd r3, r3, [sp, #28] - 800af26: 2105 movs r1, #5 - 800af28: e9cd 2100 strd r2, r1, [sp] - 800af2c: f44f 727a mov.w r2, #1000 ; 0x3e8 - 800af30: fb02 f20b mul.w r2, r2, fp - 800af34: f24c 3150 movw r1, #50000 ; 0xc350 - 800af38: 4618 mov r0, r3 - 800af3a: 47d0 blx sl - 800af3c: 7c63 ldrb r3, [r4, #17] - 800af3e: b313 cbz r3, 800af86 - 800af40: 4b17 ldr r3, [pc, #92] ; (800afa0 ) - 800af42: 5d99 ldrb r1, [r3, r6] - 800af44: 6d7b ldr r3, [r7, #84] ; 0x54 - 800af46: 310d adds r1, #13 - 800af48: b2c9 uxtb r1, r1 - 800af4a: 4628 mov r0, r5 - 800af4c: 4798 blx r3 - 800af4e: 7ce0 ldrb r0, [r4, #19] - 800af50: 4632 mov r2, r6 - 800af52: 4649 mov r1, r9 - 800af54: f000 fe40 bl 800bbd8 - 800af58: f888 6000 strb.w r6, [r8] - 800af5c: 2001 movs r0, #1 - 800af5e: b00b add sp, #44 ; 0x2c - 800af60: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800af64: 2100 movs r1, #0 - 800af66: 2501 movs r5, #1 - 800af68: 2308 movs r3, #8 - 800af6a: e9cd 1300 strd r1, r3, [sp] - 800af6e: e9cd 1507 strd r1, r5, [sp, #28] - 800af72: e9cd 1105 strd r1, r1, [sp, #20] - 800af76: e9cd 1103 strd r1, r1, [sp, #12] - 800af7a: 9202 str r2, [sp, #8] - 800af7c: 78a1 ldrb r1, [r4, #2] - 800af7e: 462b mov r3, r5 - 800af80: 465a mov r2, fp - 800af82: 4628 mov r0, r5 - 800af84: e7d9 b.n 800af3a - 800af86: 4b07 ldr r3, [pc, #28] ; (800afa4 ) - 800af88: e7db b.n 800af42 - 800af8a: 2000 movs r0, #0 - 800af8c: e7e7 b.n 800af5e - 800af8e: bf00 nop - 800af90: 080101d4 .word 0x080101d4 - 800af94: 200019c4 .word 0x200019c4 - 800af98: 0800fb23 .word 0x0800fb23 - 800af9c: 00014585 .word 0x00014585 - 800afa0: 0800fbbb .word 0x0800fbbb - 800afa4: 0800fbab .word 0x0800fbab +0800aecc : + 800aecc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800aed0: 4f34 ldr r7, [pc, #208] ; (800afa4 ) + 800aed2: f990 6001 ldrsb.w r6, [r0, #1] + 800aed6: 687b ldr r3, [r7, #4] + 800aed8: f8d0 9004 ldr.w r9, [r0, #4] + 800aedc: b08b sub sp, #44 ; 0x2c + 800aede: 4604 mov r4, r0 + 800aee0: 4688 mov r8, r1 + 800aee2: 4798 blx r3 + 800aee4: 4605 mov r5, r0 + 800aee6: 2800 cmp r0, #0 + 800aee8: d159 bne.n 800af9e + 800aeea: 7ce3 ldrb r3, [r4, #19] + 800aeec: b973 cbnz r3, 800af0c + 800aeee: 4a2e ldr r2, [pc, #184] ; (800afa8 ) + 800aef0: 7823 ldrb r3, [r4, #0] + 800aef2: 6812 ldr r2, [r2, #0] + 800aef4: eb03 0343 add.w r3, r3, r3, lsl #1 + 800aef8: 0099 lsls r1, r3, #2 + 800aefa: eb02 0383 add.w r3, r2, r3, lsl #2 + 800aefe: f8d3 9004 ldr.w r9, [r3, #4] + 800af02: f1b9 0f00 cmp.w r9, #0 + 800af06: d101 bne.n 800af0c + 800af08: f852 9001 ldr.w r9, [r2, r1] + 800af0c: 4b27 ldr r3, [pc, #156] ; (800afac ) + 800af0e: 4648 mov r0, r9 + 800af10: f913 b006 ldrsb.w fp, [r3, r6] + 800af14: 68fb ldr r3, [r7, #12] + 800af16: 4798 blx r3 + 800af18: 7ca3 ldrb r3, [r4, #18] + 800af1a: f8d7 a018 ldr.w sl, [r7, #24] + 800af1e: 8922 ldrh r2, [r4, #8] + 800af20: 9309 str r3, [sp, #36] ; 0x24 + 800af22: 2e07 cmp r6, #7 + 800af24: d128 bne.n 800af78 + 800af26: 2300 movs r3, #0 + 800af28: 2101 movs r1, #1 + 800af2a: e9cd 2302 strd r2, r3, [sp, #8] + 800af2e: 4a20 ldr r2, [pc, #128] ; (800afb0 ) + 800af30: 9306 str r3, [sp, #24] + 800af32: e9cd 3104 strd r3, r1, [sp, #16] + 800af36: e9cd 3307 strd r3, r3, [sp, #28] + 800af3a: 2105 movs r1, #5 + 800af3c: e9cd 2100 strd r2, r1, [sp] + 800af40: f44f 727a mov.w r2, #1000 ; 0x3e8 + 800af44: fb02 f20b mul.w r2, r2, fp + 800af48: f24c 3150 movw r1, #50000 ; 0xc350 + 800af4c: 4618 mov r0, r3 + 800af4e: 47d0 blx sl + 800af50: 7c63 ldrb r3, [r4, #17] + 800af52: b313 cbz r3, 800af9a + 800af54: 4b17 ldr r3, [pc, #92] ; (800afb4 ) + 800af56: 5d99 ldrb r1, [r3, r6] + 800af58: 6d7b ldr r3, [r7, #84] ; 0x54 + 800af5a: 310d adds r1, #13 + 800af5c: b2c9 uxtb r1, r1 + 800af5e: 4628 mov r0, r5 + 800af60: 4798 blx r3 + 800af62: 7ce0 ldrb r0, [r4, #19] + 800af64: 4632 mov r2, r6 + 800af66: 4649 mov r1, r9 + 800af68: f000 fe40 bl 800bbec + 800af6c: f888 6000 strb.w r6, [r8] + 800af70: 2001 movs r0, #1 + 800af72: b00b add sp, #44 ; 0x2c + 800af74: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800af78: 2100 movs r1, #0 + 800af7a: 2501 movs r5, #1 + 800af7c: 2308 movs r3, #8 + 800af7e: e9cd 1300 strd r1, r3, [sp] + 800af82: e9cd 1507 strd r1, r5, [sp, #28] + 800af86: e9cd 1105 strd r1, r1, [sp, #20] + 800af8a: e9cd 1103 strd r1, r1, [sp, #12] + 800af8e: 9202 str r2, [sp, #8] + 800af90: 78a1 ldrb r1, [r4, #2] + 800af92: 462b mov r3, r5 + 800af94: 465a mov r2, fp + 800af96: 4628 mov r0, r5 + 800af98: e7d9 b.n 800af4e + 800af9a: 4b07 ldr r3, [pc, #28] ; (800afb8 ) + 800af9c: e7db b.n 800af56 + 800af9e: 2000 movs r0, #0 + 800afa0: e7e7 b.n 800af72 + 800afa2: bf00 nop + 800afa4: 080101ec .word 0x080101ec + 800afa8: 200019c4 .word 0x200019c4 + 800afac: 0800fb3b .word 0x0800fb3b + 800afb0: 00014585 .word 0x00014585 + 800afb4: 0800fbd3 .word 0x0800fbd3 + 800afb8: 0800fbc3 .word 0x0800fbc3 -0800afa8 : - 800afa8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800afac: b08d sub sp, #52 ; 0x34 - 800afae: f990 3001 ldrsb.w r3, [r0, #1] - 800afb2: f8df a0fc ldr.w sl, [pc, #252] ; 800b0b0 - 800afb6: f8df 90fc ldr.w r9, [pc, #252] ; 800b0b4 - 800afba: e9cd 120a strd r1, r2, [sp, #40] ; 0x28 - 800afbe: 4a3e ldr r2, [pc, #248] ; (800b0b8 ) - 800afc0: f912 b003 ldrsb.w fp, [r2, r3] - 800afc4: 7802 ldrb r2, [r0, #0] - 800afc6: f8da 3000 ldr.w r3, [sl] - 800afca: 250c movs r5, #12 - 800afcc: fb05 3302 mla r3, r5, r2, r3 - 800afd0: 4a3a ldr r2, [pc, #232] ; (800b0bc ) - 800afd2: 7a5b ldrb r3, [r3, #9] - 800afd4: 6812 ldr r2, [r2, #0] - 800afd6: eb03 0343 add.w r3, r3, r3, lsl #1 - 800afda: eb02 03c3 add.w r3, r2, r3, lsl #3 - 800afde: 4604 mov r4, r0 - 800afe0: f993 1002 ldrsb.w r1, [r3, #2] - 800afe4: f990 0002 ldrsb.w r0, [r0, #2] - 800afe8: f000 fddf bl 800bbaa - 800afec: 4934 ldr r1, [pc, #208] ; (800b0c0 ) - 800afee: 4606 mov r6, r0 - 800aff0: f994 0001 ldrsb.w r0, [r4, #1] - 800aff4: f000 fdde bl 800bbb4 - 800aff8: 68a2 ldr r2, [r4, #8] - 800affa: 6861 ldr r1, [r4, #4] - 800affc: 4680 mov r8, r0 - 800affe: 4630 mov r0, r6 - 800b000: f000 fd05 bl 800ba0e - 800b004: 7821 ldrb r1, [r4, #0] - 800b006: f8da 2000 ldr.w r2, [sl] - 800b00a: f8d9 300c ldr.w r3, [r9, #12] - 800b00e: 4369 muls r1, r5 - 800b010: 4607 mov r7, r0 - 800b012: 5850 ldr r0, [r2, r1] - 800b014: 4798 blx r3 - 800b016: f8d9 301c ldr.w r3, [r9, #28] - 800b01a: 469c mov ip, r3 - 800b01c: f994 3001 ldrsb.w r3, [r4, #1] - 800b020: 2500 movs r5, #0 - 800b022: 2b07 cmp r3, #7 - 800b024: f44f 637a mov.w r3, #4000 ; 0xfa0 - 800b028: e9cd 5307 strd r5, r3, [sp, #28] - 800b02c: e9cd 5505 strd r5, r5, [sp, #20] - 800b030: d12d bne.n 800b08e - 800b032: 2301 movs r3, #1 - 800b034: e9cd 5303 strd r5, r3, [sp, #12] - 800b038: 2305 movs r3, #5 - 800b03a: e9cd 5301 strd r5, r3, [sp, #4] - 800b03e: f44f 737a mov.w r3, #1000 ; 0x3e8 - 800b042: fb03 f30b mul.w r3, r3, fp - 800b046: 9300 str r3, [sp, #0] - 800b048: 4639 mov r1, r7 - 800b04a: 4643 mov r3, r8 - 800b04c: f246 12a8 movw r2, #25000 ; 0x61a8 - 800b050: 4628 mov r0, r5 - 800b052: 4667 mov r7, ip - 800b054: 47b8 blx r7 - 800b056: 7823 ldrb r3, [r4, #0] - 800b058: f8da 2000 ldr.w r2, [sl] - 800b05c: 210c movs r1, #12 - 800b05e: 434b muls r3, r1 - 800b060: f994 1001 ldrsb.w r1, [r4, #1] - 800b064: 58d0 ldr r0, [r2, r3] - 800b066: f000 fdd9 bl 800bc1c - 800b06a: 89a1 ldrh r1, [r4, #12] - 800b06c: f994 0001 ldrsb.w r0, [r4, #1] - 800b070: f7ff fd4e bl 800ab10 - 800b074: 9b0b ldr r3, [sp, #44] ; 0x2c - 800b076: 7b21 ldrb r1, [r4, #12] - 800b078: 6018 str r0, [r3, #0] - 800b07a: f8d9 3054 ldr.w r3, [r9, #84] ; 0x54 - 800b07e: 4628 mov r0, r5 - 800b080: 4798 blx r3 - 800b082: 9b0a ldr r3, [sp, #40] ; 0x28 - 800b084: 2001 movs r0, #1 - 800b086: 701e strb r6, [r3, #0] - 800b088: b00d add sp, #52 ; 0x34 - 800b08a: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800b08e: 2001 movs r0, #1 - 800b090: 2308 movs r3, #8 - 800b092: e9cd 5003 strd r5, r0, [sp, #12] - 800b096: e9cd 0301 strd r0, r3, [sp, #4] - 800b09a: 462a mov r2, r5 - 800b09c: f8cd b000 str.w fp, [sp] - 800b0a0: 4665 mov r5, ip - 800b0a2: 4643 mov r3, r8 - 800b0a4: 4639 mov r1, r7 - 800b0a6: 47a8 blx r5 - 800b0a8: 2001 movs r0, #1 - 800b0aa: 4605 mov r5, r0 - 800b0ac: e7d3 b.n 800b056 - 800b0ae: bf00 nop - 800b0b0: 200019c4 .word 0x200019c4 - 800b0b4: 080101d4 .word 0x080101d4 - 800b0b8: 0800fb23 .word 0x0800fb23 - 800b0bc: 200019c0 .word 0x200019c0 - 800b0c0: 0800fafc .word 0x0800fafc +0800afbc : + 800afbc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800afc0: b08d sub sp, #52 ; 0x34 + 800afc2: f990 3001 ldrsb.w r3, [r0, #1] + 800afc6: f8df a0fc ldr.w sl, [pc, #252] ; 800b0c4 + 800afca: f8df 90fc ldr.w r9, [pc, #252] ; 800b0c8 + 800afce: e9cd 120a strd r1, r2, [sp, #40] ; 0x28 + 800afd2: 4a3e ldr r2, [pc, #248] ; (800b0cc ) + 800afd4: f912 b003 ldrsb.w fp, [r2, r3] + 800afd8: 7802 ldrb r2, [r0, #0] + 800afda: f8da 3000 ldr.w r3, [sl] + 800afde: 250c movs r5, #12 + 800afe0: fb05 3302 mla r3, r5, r2, r3 + 800afe4: 4a3a ldr r2, [pc, #232] ; (800b0d0 ) + 800afe6: 7a5b ldrb r3, [r3, #9] + 800afe8: 6812 ldr r2, [r2, #0] + 800afea: eb03 0343 add.w r3, r3, r3, lsl #1 + 800afee: eb02 03c3 add.w r3, r2, r3, lsl #3 + 800aff2: 4604 mov r4, r0 + 800aff4: f993 1002 ldrsb.w r1, [r3, #2] + 800aff8: f990 0002 ldrsb.w r0, [r0, #2] + 800affc: f000 fddf bl 800bbbe + 800b000: 4934 ldr r1, [pc, #208] ; (800b0d4 ) + 800b002: 4606 mov r6, r0 + 800b004: f994 0001 ldrsb.w r0, [r4, #1] + 800b008: f000 fdde bl 800bbc8 + 800b00c: 68a2 ldr r2, [r4, #8] + 800b00e: 6861 ldr r1, [r4, #4] + 800b010: 4680 mov r8, r0 + 800b012: 4630 mov r0, r6 + 800b014: f000 fd05 bl 800ba22 + 800b018: 7821 ldrb r1, [r4, #0] + 800b01a: f8da 2000 ldr.w r2, [sl] + 800b01e: f8d9 300c ldr.w r3, [r9, #12] + 800b022: 4369 muls r1, r5 + 800b024: 4607 mov r7, r0 + 800b026: 5850 ldr r0, [r2, r1] + 800b028: 4798 blx r3 + 800b02a: f8d9 301c ldr.w r3, [r9, #28] + 800b02e: 469c mov ip, r3 + 800b030: f994 3001 ldrsb.w r3, [r4, #1] + 800b034: 2500 movs r5, #0 + 800b036: 2b07 cmp r3, #7 + 800b038: f44f 637a mov.w r3, #4000 ; 0xfa0 + 800b03c: e9cd 5307 strd r5, r3, [sp, #28] + 800b040: e9cd 5505 strd r5, r5, [sp, #20] + 800b044: d12d bne.n 800b0a2 + 800b046: 2301 movs r3, #1 + 800b048: e9cd 5303 strd r5, r3, [sp, #12] + 800b04c: 2305 movs r3, #5 + 800b04e: e9cd 5301 strd r5, r3, [sp, #4] + 800b052: f44f 737a mov.w r3, #1000 ; 0x3e8 + 800b056: fb03 f30b mul.w r3, r3, fp + 800b05a: 9300 str r3, [sp, #0] + 800b05c: 4639 mov r1, r7 + 800b05e: 4643 mov r3, r8 + 800b060: f246 12a8 movw r2, #25000 ; 0x61a8 + 800b064: 4628 mov r0, r5 + 800b066: 4667 mov r7, ip + 800b068: 47b8 blx r7 + 800b06a: 7823 ldrb r3, [r4, #0] + 800b06c: f8da 2000 ldr.w r2, [sl] + 800b070: 210c movs r1, #12 + 800b072: 434b muls r3, r1 + 800b074: f994 1001 ldrsb.w r1, [r4, #1] + 800b078: 58d0 ldr r0, [r2, r3] + 800b07a: f000 fdd9 bl 800bc30 + 800b07e: 89a1 ldrh r1, [r4, #12] + 800b080: f994 0001 ldrsb.w r0, [r4, #1] + 800b084: f7ff fd4e bl 800ab24 + 800b088: 9b0b ldr r3, [sp, #44] ; 0x2c + 800b08a: 7b21 ldrb r1, [r4, #12] + 800b08c: 6018 str r0, [r3, #0] + 800b08e: f8d9 3054 ldr.w r3, [r9, #84] ; 0x54 + 800b092: 4628 mov r0, r5 + 800b094: 4798 blx r3 + 800b096: 9b0a ldr r3, [sp, #40] ; 0x28 + 800b098: 2001 movs r0, #1 + 800b09a: 701e strb r6, [r3, #0] + 800b09c: b00d add sp, #52 ; 0x34 + 800b09e: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800b0a2: 2001 movs r0, #1 + 800b0a4: 2308 movs r3, #8 + 800b0a6: e9cd 5003 strd r5, r0, [sp, #12] + 800b0aa: e9cd 0301 strd r0, r3, [sp, #4] + 800b0ae: 462a mov r2, r5 + 800b0b0: f8cd b000 str.w fp, [sp] + 800b0b4: 4665 mov r5, ip + 800b0b6: 4643 mov r3, r8 + 800b0b8: 4639 mov r1, r7 + 800b0ba: 47a8 blx r5 + 800b0bc: 2001 movs r0, #1 + 800b0be: 4605 mov r5, r0 + 800b0c0: e7d3 b.n 800b06a + 800b0c2: bf00 nop + 800b0c4: 200019c4 .word 0x200019c4 + 800b0c8: 080101ec .word 0x080101ec + 800b0cc: 0800fb3b .word 0x0800fb3b + 800b0d0: 200019c0 .word 0x200019c0 + 800b0d4: 0800fb14 .word 0x0800fb14 -0800b0c4 : - 800b0c4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800b0c8: b08f sub sp, #60 ; 0x3c - 800b0ca: 2400 movs r4, #0 - 800b0cc: 4605 mov r5, r0 - 800b0ce: 468a mov sl, r1 - 800b0d0: 4691 mov r9, r2 - 800b0d2: 4698 mov r8, r3 - 800b0d4: 9404 str r4, [sp, #16] - 800b0d6: f8ad 4014 strh.w r4, [sp, #20] - 800b0da: f8ad 4002 strh.w r4, [sp, #2] - 800b0de: 2607 movs r6, #7 - 800b0e0: f04f 0b01 mov.w fp, #1 - 800b0e4: 7a2b ldrb r3, [r5, #8] - 800b0e6: 42a3 cmp r3, r4 - 800b0e8: d906 bls.n 800b0f8 - 800b0ea: 6868 ldr r0, [r5, #4] - 800b0ec: a904 add r1, sp, #16 - 800b0ee: 4420 add r0, r4 - 800b0f0: f000 fbf2 bl 800b8d8 - 800b0f4: 2800 cmp r0, #0 - 800b0f6: d15e bne.n 800b1b6 - 800b0f8: 2302 movs r3, #2 - 800b0fa: f88d 3008 strb.w r3, [sp, #8] - 800b0fe: a802 add r0, sp, #8 - 800b100: 7a6b ldrb r3, [r5, #9] - 800b102: f88d 300a strb.w r3, [sp, #10] - 800b106: f7ff fd2d bl 800ab64 - 800b10a: 7aab ldrb r3, [r5, #10] - 800b10c: f88d 301d strb.w r3, [sp, #29] - 800b110: f89d 3011 ldrb.w r3, [sp, #17] - 800b114: f88d 301e strb.w r3, [sp, #30] - 800b118: f89d 3012 ldrb.w r3, [sp, #18] - 800b11c: f88d 301f strb.w r3, [sp, #31] - 800b120: f89d 3010 ldrb.w r3, [sp, #16] - 800b124: f88d 3020 strb.w r3, [sp, #32] - 800b128: 7aeb ldrb r3, [r5, #11] - 800b12a: f88d 3021 strb.w r3, [sp, #33] ; 0x21 - 800b12e: 7b2b ldrb r3, [r5, #12] - 800b130: f88d 3022 strb.w r3, [sp, #34] ; 0x22 - 800b134: 7b6b ldrb r3, [r5, #13] - 800b136: f88d 3023 strb.w r3, [sp, #35] ; 0x23 - 800b13a: 2310 movs r3, #16 - 800b13c: f88d 601c strb.w r6, [sp, #28] - 800b140: f88d 3024 strb.w r3, [sp, #36] ; 0x24 - 800b144: 4e3a ldr r6, [pc, #232] ; (800b230 ) - 800b146: f88d 002c strb.w r0, [sp, #44] ; 0x2c - 800b14a: f10d 0302 add.w r3, sp, #2 - 800b14e: 930a str r3, [sp, #40] ; 0x28 - 800b150: 2305 movs r3, #5 - 800b152: f88d 302d strb.w r3, [sp, #45] ; 0x2d - 800b156: 6833 ldr r3, [r6, #0] - 800b158: 930c str r3, [sp, #48] ; 0x30 - 800b15a: 2307 movs r3, #7 - 800b15c: f8ad 3034 strh.w r3, [sp, #52] ; 0x34 - 800b160: 682b ldr r3, [r5, #0] - 800b162: 9306 str r3, [sp, #24] - 800b164: f10d 0212 add.w r2, sp, #18 - 800b168: ab04 add r3, sp, #16 - 800b16a: f10d 0111 add.w r1, sp, #17 - 800b16e: a806 add r0, sp, #24 - 800b170: f000 fbcc bl 800b90c - 800b174: 2807 cmp r0, #7 - 800b176: 4605 mov r5, r0 - 800b178: d10b bne.n 800b192 - 800b17a: 6830 ldr r0, [r6, #0] - 800b17c: 220c movs r2, #12 - 800b17e: 2100 movs r1, #0 - 800b180: f500 7058 add.w r0, r0, #864 ; 0x360 - 800b184: f001 fbbe bl 800c904 - 800b188: 6833 ldr r3, [r6, #0] - 800b18a: f8bd 2002 ldrh.w r2, [sp, #2] - 800b18e: f8a3 2360 strh.w r2, [r3, #864] ; 0x360 - 800b192: f89d 3011 ldrb.w r3, [sp, #17] - 800b196: f88a 3000 strb.w r3, [sl] - 800b19a: f89d 3012 ldrb.w r3, [sp, #18] - 800b19e: f889 3000 strb.w r3, [r9] - 800b1a2: f89d 3010 ldrb.w r3, [sp, #16] - 800b1a6: f888 3000 strb.w r3, [r8] - 800b1aa: 9b18 ldr r3, [sp, #96] ; 0x60 - 800b1ac: 4628 mov r0, r5 - 800b1ae: 701c strb r4, [r3, #0] - 800b1b0: b00f add sp, #60 ; 0x3c - 800b1b2: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800b1b6: f89d 3013 ldrb.w r3, [sp, #19] - 800b1ba: f8bd 7014 ldrh.w r7, [sp, #20] - 800b1be: f8ad 7002 strh.w r7, [sp, #2] - 800b1c2: 4420 add r0, r4 - 800b1c4: b2c4 uxtb r4, r0 - 800b1c6: b9f3 cbnz r3, 800b206 - 800b1c8: b317 cbz r7, 800b210 - 800b1ca: 4a19 ldr r2, [pc, #100] ; (800b230 ) - 800b1cc: 2000 movs r0, #0 - 800b1ce: 6811 ldr r1, [r2, #0] - 800b1d0: 2607 movs r6, #7 - 800b1d2: 4602 mov r2, r0 - 800b1d4: f04f 0c0c mov.w ip, #12 - 800b1d8: 2b06 cmp r3, #6 - 800b1da: d11b bne.n 800b214 - 800b1dc: fb0c fe00 mul.w lr, ip, r0 - 800b1e0: f851 e00e ldr.w lr, [r1, lr] - 800b1e4: f1be 0f00 cmp.w lr, #0 - 800b1e8: d004 beq.n 800b1f4 - 800b1ea: fa0b f200 lsl.w r2, fp, r0 - 800b1ee: 433a orrs r2, r7 - 800b1f0: b297 uxth r7, r2 - 800b1f2: 2201 movs r2, #1 - 800b1f4: 3001 adds r0, #1 - 800b1f6: 2810 cmp r0, #16 - 800b1f8: d1ee bne.n 800b1d8 - 800b1fa: 2a00 cmp r2, #0 - 800b1fc: f43f af72 beq.w 800b0e4 - 800b200: f8ad 7002 strh.w r7, [sp, #2] - 800b204: e76e b.n 800b0e4 - 800b206: 1e5a subs r2, r3, #1 - 800b208: 2a04 cmp r2, #4 - 800b20a: d901 bls.n 800b210 - 800b20c: 2b06 cmp r3, #6 - 800b20e: d0dc beq.n 800b1ca - 800b210: 2606 movs r6, #6 - 800b212: e767 b.n 800b0e4 - 800b214: fa47 fe00 asr.w lr, r7, r0 - 800b218: f01e 0f01 tst.w lr, #1 - 800b21c: d0ea beq.n 800b1f4 - 800b21e: fb0c fe00 mul.w lr, ip, r0 - 800b222: f851 e00e ldr.w lr, [r1, lr] - 800b226: f1be 0f00 cmp.w lr, #0 - 800b22a: bf08 it eq - 800b22c: 2606 moveq r6, #6 - 800b22e: e7e1 b.n 800b1f4 - 800b230: 200019c4 .word 0x200019c4 +0800b0d8 : + 800b0d8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800b0dc: b08f sub sp, #60 ; 0x3c + 800b0de: 2400 movs r4, #0 + 800b0e0: 4605 mov r5, r0 + 800b0e2: 468a mov sl, r1 + 800b0e4: 4691 mov r9, r2 + 800b0e6: 4698 mov r8, r3 + 800b0e8: 9404 str r4, [sp, #16] + 800b0ea: f8ad 4014 strh.w r4, [sp, #20] + 800b0ee: f8ad 4002 strh.w r4, [sp, #2] + 800b0f2: 2607 movs r6, #7 + 800b0f4: f04f 0b01 mov.w fp, #1 + 800b0f8: 7a2b ldrb r3, [r5, #8] + 800b0fa: 42a3 cmp r3, r4 + 800b0fc: d906 bls.n 800b10c + 800b0fe: 6868 ldr r0, [r5, #4] + 800b100: a904 add r1, sp, #16 + 800b102: 4420 add r0, r4 + 800b104: f000 fbf2 bl 800b8ec + 800b108: 2800 cmp r0, #0 + 800b10a: d15e bne.n 800b1ca + 800b10c: 2302 movs r3, #2 + 800b10e: f88d 3008 strb.w r3, [sp, #8] + 800b112: a802 add r0, sp, #8 + 800b114: 7a6b ldrb r3, [r5, #9] + 800b116: f88d 300a strb.w r3, [sp, #10] + 800b11a: f7ff fd2d bl 800ab78 + 800b11e: 7aab ldrb r3, [r5, #10] + 800b120: f88d 301d strb.w r3, [sp, #29] + 800b124: f89d 3011 ldrb.w r3, [sp, #17] + 800b128: f88d 301e strb.w r3, [sp, #30] + 800b12c: f89d 3012 ldrb.w r3, [sp, #18] + 800b130: f88d 301f strb.w r3, [sp, #31] + 800b134: f89d 3010 ldrb.w r3, [sp, #16] + 800b138: f88d 3020 strb.w r3, [sp, #32] + 800b13c: 7aeb ldrb r3, [r5, #11] + 800b13e: f88d 3021 strb.w r3, [sp, #33] ; 0x21 + 800b142: 7b2b ldrb r3, [r5, #12] + 800b144: f88d 3022 strb.w r3, [sp, #34] ; 0x22 + 800b148: 7b6b ldrb r3, [r5, #13] + 800b14a: f88d 3023 strb.w r3, [sp, #35] ; 0x23 + 800b14e: 2310 movs r3, #16 + 800b150: f88d 601c strb.w r6, [sp, #28] + 800b154: f88d 3024 strb.w r3, [sp, #36] ; 0x24 + 800b158: 4e3a ldr r6, [pc, #232] ; (800b244 ) + 800b15a: f88d 002c strb.w r0, [sp, #44] ; 0x2c + 800b15e: f10d 0302 add.w r3, sp, #2 + 800b162: 930a str r3, [sp, #40] ; 0x28 + 800b164: 2305 movs r3, #5 + 800b166: f88d 302d strb.w r3, [sp, #45] ; 0x2d + 800b16a: 6833 ldr r3, [r6, #0] + 800b16c: 930c str r3, [sp, #48] ; 0x30 + 800b16e: 2307 movs r3, #7 + 800b170: f8ad 3034 strh.w r3, [sp, #52] ; 0x34 + 800b174: 682b ldr r3, [r5, #0] + 800b176: 9306 str r3, [sp, #24] + 800b178: f10d 0212 add.w r2, sp, #18 + 800b17c: ab04 add r3, sp, #16 + 800b17e: f10d 0111 add.w r1, sp, #17 + 800b182: a806 add r0, sp, #24 + 800b184: f000 fbcc bl 800b920 + 800b188: 2807 cmp r0, #7 + 800b18a: 4605 mov r5, r0 + 800b18c: d10b bne.n 800b1a6 + 800b18e: 6830 ldr r0, [r6, #0] + 800b190: 220c movs r2, #12 + 800b192: 2100 movs r1, #0 + 800b194: f500 7058 add.w r0, r0, #864 ; 0x360 + 800b198: f001 fbbe bl 800c918 + 800b19c: 6833 ldr r3, [r6, #0] + 800b19e: f8bd 2002 ldrh.w r2, [sp, #2] + 800b1a2: f8a3 2360 strh.w r2, [r3, #864] ; 0x360 + 800b1a6: f89d 3011 ldrb.w r3, [sp, #17] + 800b1aa: f88a 3000 strb.w r3, [sl] + 800b1ae: f89d 3012 ldrb.w r3, [sp, #18] + 800b1b2: f889 3000 strb.w r3, [r9] + 800b1b6: f89d 3010 ldrb.w r3, [sp, #16] + 800b1ba: f888 3000 strb.w r3, [r8] + 800b1be: 9b18 ldr r3, [sp, #96] ; 0x60 + 800b1c0: 4628 mov r0, r5 + 800b1c2: 701c strb r4, [r3, #0] + 800b1c4: b00f add sp, #60 ; 0x3c + 800b1c6: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800b1ca: f89d 3013 ldrb.w r3, [sp, #19] + 800b1ce: f8bd 7014 ldrh.w r7, [sp, #20] + 800b1d2: f8ad 7002 strh.w r7, [sp, #2] + 800b1d6: 4420 add r0, r4 + 800b1d8: b2c4 uxtb r4, r0 + 800b1da: b9f3 cbnz r3, 800b21a + 800b1dc: b317 cbz r7, 800b224 + 800b1de: 4a19 ldr r2, [pc, #100] ; (800b244 ) + 800b1e0: 2000 movs r0, #0 + 800b1e2: 6811 ldr r1, [r2, #0] + 800b1e4: 2607 movs r6, #7 + 800b1e6: 4602 mov r2, r0 + 800b1e8: f04f 0c0c mov.w ip, #12 + 800b1ec: 2b06 cmp r3, #6 + 800b1ee: d11b bne.n 800b228 + 800b1f0: fb0c fe00 mul.w lr, ip, r0 + 800b1f4: f851 e00e ldr.w lr, [r1, lr] + 800b1f8: f1be 0f00 cmp.w lr, #0 + 800b1fc: d004 beq.n 800b208 + 800b1fe: fa0b f200 lsl.w r2, fp, r0 + 800b202: 433a orrs r2, r7 + 800b204: b297 uxth r7, r2 + 800b206: 2201 movs r2, #1 + 800b208: 3001 adds r0, #1 + 800b20a: 2810 cmp r0, #16 + 800b20c: d1ee bne.n 800b1ec + 800b20e: 2a00 cmp r2, #0 + 800b210: f43f af72 beq.w 800b0f8 + 800b214: f8ad 7002 strh.w r7, [sp, #2] + 800b218: e76e b.n 800b0f8 + 800b21a: 1e5a subs r2, r3, #1 + 800b21c: 2a04 cmp r2, #4 + 800b21e: d901 bls.n 800b224 + 800b220: 2b06 cmp r3, #6 + 800b222: d0dc beq.n 800b1de + 800b224: 2606 movs r6, #6 + 800b226: e767 b.n 800b0f8 + 800b228: fa47 fe00 asr.w lr, r7, r0 + 800b22c: f01e 0f01 tst.w lr, #1 + 800b230: d0ea beq.n 800b208 + 800b232: fb0c fe00 mul.w lr, ip, r0 + 800b236: f851 e00e ldr.w lr, [r1, lr] + 800b23a: f1be 0f00 cmp.w lr, #0 + 800b23e: bf08 it eq + 800b240: 2606 moveq r6, #6 + 800b242: e7e1 b.n 800b208 + 800b244: 200019c4 .word 0x200019c4 -0800b234 : - 800b234: b538 push {r3, r4, r5, lr} - 800b236: 4605 mov r5, r0 - 800b238: 6840 ldr r0, [r0, #4] - 800b23a: f7ff fc55 bl 800aae8 - 800b23e: 2205 movs r2, #5 - 800b240: 1d84 adds r4, r0, #6 - 800b242: 2100 movs r1, #0 - 800b244: f995 0000 ldrsb.w r0, [r5] - 800b248: b2e4 uxtb r4, r4 - 800b24a: f000 f9e4 bl 800b616 - 800b24e: b908 cbnz r0, 800b254 - 800b250: f004 04fd and.w r4, r4, #253 ; 0xfd - 800b254: f995 0001 ldrsb.w r0, [r5, #1] - 800b258: 2207 movs r2, #7 - 800b25a: 2100 movs r1, #0 - 800b25c: f000 f9db bl 800b616 - 800b260: b908 cbnz r0, 800b266 - 800b262: f004 04fb and.w r4, r4, #251 ; 0xfb - 800b266: 4620 mov r0, r4 - 800b268: bd38 pop {r3, r4, r5, pc} +0800b248 : + 800b248: b538 push {r3, r4, r5, lr} + 800b24a: 4605 mov r5, r0 + 800b24c: 6840 ldr r0, [r0, #4] + 800b24e: f7ff fc55 bl 800aafc + 800b252: 2205 movs r2, #5 + 800b254: 1d84 adds r4, r0, #6 + 800b256: 2100 movs r1, #0 + 800b258: f995 0000 ldrsb.w r0, [r5] + 800b25c: b2e4 uxtb r4, r4 + 800b25e: f000 f9e4 bl 800b62a + 800b262: b908 cbnz r0, 800b268 + 800b264: f004 04fd and.w r4, r4, #253 ; 0xfd + 800b268: f995 0001 ldrsb.w r0, [r5, #1] + 800b26c: 2207 movs r2, #7 + 800b26e: 2100 movs r1, #0 + 800b270: f000 f9db bl 800b62a + 800b274: b908 cbnz r0, 800b27a + 800b276: f004 04fb and.w r4, r4, #251 ; 0xfb + 800b27a: 4620 mov r0, r4 + 800b27c: bd38 pop {r3, r4, r5, pc} -0800b26a : - 800b26a: 2000 movs r0, #0 - 800b26c: 4770 bx lr +0800b27e : + 800b27e: 2000 movs r0, #0 + 800b280: 4770 bx lr ... -0800b270 : - 800b270: b510 push {r4, lr} - 800b272: 7803 ldrb r3, [r0, #0] - 800b274: 2b0f cmp r3, #15 - 800b276: 4604 mov r4, r0 - 800b278: d818 bhi.n 800b2ac - 800b27a: 6840 ldr r0, [r0, #4] - 800b27c: f7ff fc34 bl 800aae8 - 800b280: 7822 ldrb r2, [r4, #0] - 800b282: 490b ldr r1, [pc, #44] ; (800b2b0 ) - 800b284: eb02 0242 add.w r2, r2, r2, lsl #1 - 800b288: 6809 ldr r1, [r1, #0] - 800b28a: 1c83 adds r3, r0, #2 - 800b28c: eb01 0082 add.w r0, r1, r2, lsl #2 - 800b290: f851 2022 ldr.w r2, [r1, r2, lsl #2] - 800b294: b2db uxtb r3, r3 - 800b296: b91a cbnz r2, 800b2a0 - 800b298: f003 03fd and.w r3, r3, #253 ; 0xfd - 800b29c: b258 sxtb r0, r3 - 800b29e: bd10 pop {r4, pc} - 800b2a0: 2b03 cmp r3, #3 - 800b2a2: bf06 itte eq - 800b2a4: 6862 ldreq r2, [r4, #4] - 800b2a6: 6042 streq r2, [r0, #4] - 800b2a8: 2302 movne r3, #2 - 800b2aa: e7f7 b.n 800b29c - 800b2ac: 2000 movs r0, #0 - 800b2ae: e7f6 b.n 800b29e - 800b2b0: 200019c4 .word 0x200019c4 +0800b284 : + 800b284: b510 push {r4, lr} + 800b286: 7803 ldrb r3, [r0, #0] + 800b288: 2b0f cmp r3, #15 + 800b28a: 4604 mov r4, r0 + 800b28c: d818 bhi.n 800b2c0 + 800b28e: 6840 ldr r0, [r0, #4] + 800b290: f7ff fc34 bl 800aafc + 800b294: 7822 ldrb r2, [r4, #0] + 800b296: 490b ldr r1, [pc, #44] ; (800b2c4 ) + 800b298: eb02 0242 add.w r2, r2, r2, lsl #1 + 800b29c: 6809 ldr r1, [r1, #0] + 800b29e: 1c83 adds r3, r0, #2 + 800b2a0: eb01 0082 add.w r0, r1, r2, lsl #2 + 800b2a4: f851 2022 ldr.w r2, [r1, r2, lsl #2] + 800b2a8: b2db uxtb r3, r3 + 800b2aa: b91a cbnz r2, 800b2b4 + 800b2ac: f003 03fd and.w r3, r3, #253 ; 0xfd + 800b2b0: b258 sxtb r0, r3 + 800b2b2: bd10 pop {r4, pc} + 800b2b4: 2b03 cmp r3, #3 + 800b2b6: bf06 itte eq + 800b2b8: 6862 ldreq r2, [r4, #4] + 800b2ba: 6042 streq r2, [r0, #4] + 800b2bc: 2302 movne r3, #2 + 800b2be: e7f7 b.n 800b2b0 + 800b2c0: 2000 movs r0, #0 + 800b2c2: e7f6 b.n 800b2b2 + 800b2c4: 200019c4 .word 0x200019c4 -0800b2b4 : - 800b2b4: 2002 movs r0, #2 - 800b2b6: 4770 bx lr +0800b2c8 : + 800b2c8: 2002 movs r0, #2 + 800b2ca: 4770 bx lr -0800b2b8 : - 800b2b8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800b2bc: f8df 8138 ldr.w r8, [pc, #312] ; 800b3f8 - 800b2c0: 4604 mov r4, r0 - 800b2c2: f8d8 0000 ldr.w r0, [r8] - 800b2c6: b099 sub sp, #100 ; 0x64 - 800b2c8: 4689 mov r9, r1 - 800b2ca: 4617 mov r7, r2 - 800b2cc: 2100 movs r1, #0 - 800b2ce: 461e mov r6, r3 - 800b2d0: 2201 movs r2, #1 - 800b2d2: 2303 movs r3, #3 - 800b2d4: f500 7058 add.w r0, r0, #864 ; 0x360 - 800b2d8: e9cd 1106 strd r1, r1, [sp, #24] - 800b2dc: e9cd 1108 strd r1, r1, [sp, #32] - 800b2e0: f88d 1014 strb.w r1, [sp, #20] - 800b2e4: f88d 1015 strb.w r1, [sp, #21] - 800b2e8: f8ad 3016 strh.w r3, [sp, #22] - 800b2ec: f000 f9b5 bl 800b65a - 800b2f0: b938 cbnz r0, 800b302 - 800b2f2: f8d8 2000 ldr.w r2, [r8] - 800b2f6: f8b2 3360 ldrh.w r3, [r2, #864] ; 0x360 - 800b2fa: f043 0303 orr.w r3, r3, #3 - 800b2fe: f8a2 3360 strh.w r3, [r2, #864] ; 0x360 - 800b302: f8d8 2000 ldr.w r2, [r8] - 800b306: 7a63 ldrb r3, [r4, #9] - 800b308: f88d 3028 strb.w r3, [sp, #40] ; 0x28 - 800b30c: f502 7158 add.w r1, r2, #864 ; 0x360 - 800b310: e9cd 120b strd r1, r2, [sp, #44] ; 0x2c - 800b314: 4a39 ldr r2, [pc, #228] ; (800b3fc ) - 800b316: f994 3008 ldrsb.w r3, [r4, #8] - 800b31a: 6812 ldr r2, [r2, #0] - 800b31c: 920d str r2, [sp, #52] ; 0x34 - 800b31e: f10d 0216 add.w r2, sp, #22 - 800b322: 920f str r2, [sp, #60] ; 0x3c - 800b324: 6822 ldr r2, [r4, #0] - 800b326: 9210 str r2, [sp, #64] ; 0x40 - 800b328: 6862 ldr r2, [r4, #4] - 800b32a: 9211 str r2, [sp, #68] ; 0x44 - 800b32c: e9d4 0103 ldrd r0, r1, [r4, #12] - 800b330: 7aa2 ldrb r2, [r4, #10] - 800b332: f88d 2048 strb.w r2, [sp, #72] ; 0x48 - 800b336: 2201 movs r2, #1 - 800b338: f88d 2049 strb.w r2, [sp, #73] ; 0x49 - 800b33c: aa13 add r2, sp, #76 ; 0x4c - 800b33e: e882 0003 stmia.w r2, {r0, r1} - 800b342: 2510 movs r5, #16 - 800b344: 7d22 ldrb r2, [r4, #20] - 800b346: 8ae1 ldrh r1, [r4, #22] - 800b348: f88d 3029 strb.w r3, [sp, #41] ; 0x29 - 800b34c: 4618 mov r0, r3 - 800b34e: f88d 2054 strb.w r2, [sp, #84] ; 0x54 - 800b352: f8ad 5038 strh.w r5, [sp, #56] ; 0x38 - 800b356: f7ff fbdb bl 800ab10 - 800b35a: ab0a add r3, sp, #40 ; 0x28 - 800b35c: 9317 str r3, [sp, #92] ; 0x5c - 800b35e: f10d 0315 add.w r3, sp, #21 - 800b362: 9016 str r0, [sp, #88] ; 0x58 - 800b364: 9300 str r3, [sp, #0] - 800b366: 4631 mov r1, r6 - 800b368: 9701 str r7, [sp, #4] - 800b36a: ab05 add r3, sp, #20 - 800b36c: aa06 add r2, sp, #24 - 800b36e: a810 add r0, sp, #64 ; 0x40 - 800b370: f000 fbbc bl 800baec - 800b374: 4606 mov r6, r0 - 800b376: bb98 cbnz r0, 800b3e0 - 800b378: f89d 1014 ldrb.w r1, [sp, #20] - 800b37c: 4f20 ldr r7, [pc, #128] ; (800b400 ) - 800b37e: 3901 subs r1, #1 - 800b380: f001 fa90 bl 800c8a4 - 800b384: 4b1f ldr r3, [pc, #124] ; (800b404 ) - 800b386: 691b ldr r3, [r3, #16] - 800b388: 9303 str r3, [sp, #12] - 800b38a: b2c4 uxtb r4, r0 - 800b38c: f04f 0b0c mov.w fp, #12 - 800b390: f104 0360 add.w r3, r4, #96 ; 0x60 - 800b394: 446b add r3, sp - 800b396: f8d8 0000 ldr.w r0, [r8] - 800b39a: f813 ac48 ldrb.w sl, [r3, #-72] - 800b39e: f89d 3014 ldrb.w r3, [sp, #20] - 800b3a2: fb0b fc0a mul.w ip, fp, sl - 800b3a6: 3401 adds r4, #1 - 800b3a8: 4639 mov r1, r7 - 800b3aa: fbb4 f2f3 udiv r2, r4, r3 - 800b3ae: fb03 4412 mls r4, r3, r2, r4 - 800b3b2: f8d0 337c ldr.w r3, [r0, #892] ; 0x37c - 800b3b6: f9b0 2378 ldrsh.w r2, [r0, #888] ; 0x378 - 800b3ba: f850 000c ldr.w r0, [r0, ip] - 800b3be: f8dd c00c ldr.w ip, [sp, #12] - 800b3c2: b2e4 uxtb r4, r4 - 800b3c4: 47e0 blx ip - 800b3c6: b128 cbz r0, 800b3d4 - 800b3c8: f889 a000 strb.w sl, [r9] - 800b3cc: 4630 mov r0, r6 - 800b3ce: b019 add sp, #100 ; 0x64 - 800b3d0: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800b3d4: 3d01 subs r5, #1 - 800b3d6: f015 05ff ands.w r5, r5, #255 ; 0xff - 800b3da: d1d9 bne.n 800b390 - 800b3dc: 260d movs r6, #13 - 800b3de: e7f5 b.n 800b3cc - 800b3e0: 280c cmp r0, #12 - 800b3e2: bf01 itttt eq - 800b3e4: f8d8 2000 ldreq.w r2, [r8] - 800b3e8: f8b2 3360 ldrheq.w r3, [r2, #864] ; 0x360 - 800b3ec: f043 0303 orreq.w r3, r3, #3 - 800b3f0: f8a2 3360 strheq.w r3, [r2, #864] ; 0x360 - 800b3f4: e7ea b.n 800b3cc - 800b3f6: bf00 nop - 800b3f8: 200019c4 .word 0x200019c4 - 800b3fc: 200019c0 .word 0x200019c0 - 800b400: 00030d40 .word 0x00030d40 - 800b404: 080101d4 .word 0x080101d4 +0800b2cc : + 800b2cc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800b2d0: f8df 8138 ldr.w r8, [pc, #312] ; 800b40c + 800b2d4: 4604 mov r4, r0 + 800b2d6: f8d8 0000 ldr.w r0, [r8] + 800b2da: b099 sub sp, #100 ; 0x64 + 800b2dc: 4689 mov r9, r1 + 800b2de: 4617 mov r7, r2 + 800b2e0: 2100 movs r1, #0 + 800b2e2: 461e mov r6, r3 + 800b2e4: 2201 movs r2, #1 + 800b2e6: 2303 movs r3, #3 + 800b2e8: f500 7058 add.w r0, r0, #864 ; 0x360 + 800b2ec: e9cd 1106 strd r1, r1, [sp, #24] + 800b2f0: e9cd 1108 strd r1, r1, [sp, #32] + 800b2f4: f88d 1014 strb.w r1, [sp, #20] + 800b2f8: f88d 1015 strb.w r1, [sp, #21] + 800b2fc: f8ad 3016 strh.w r3, [sp, #22] + 800b300: f000 f9b5 bl 800b66e + 800b304: b938 cbnz r0, 800b316 + 800b306: f8d8 2000 ldr.w r2, [r8] + 800b30a: f8b2 3360 ldrh.w r3, [r2, #864] ; 0x360 + 800b30e: f043 0303 orr.w r3, r3, #3 + 800b312: f8a2 3360 strh.w r3, [r2, #864] ; 0x360 + 800b316: f8d8 2000 ldr.w r2, [r8] + 800b31a: 7a63 ldrb r3, [r4, #9] + 800b31c: f88d 3028 strb.w r3, [sp, #40] ; 0x28 + 800b320: f502 7158 add.w r1, r2, #864 ; 0x360 + 800b324: e9cd 120b strd r1, r2, [sp, #44] ; 0x2c + 800b328: 4a39 ldr r2, [pc, #228] ; (800b410 ) + 800b32a: f994 3008 ldrsb.w r3, [r4, #8] + 800b32e: 6812 ldr r2, [r2, #0] + 800b330: 920d str r2, [sp, #52] ; 0x34 + 800b332: f10d 0216 add.w r2, sp, #22 + 800b336: 920f str r2, [sp, #60] ; 0x3c + 800b338: 6822 ldr r2, [r4, #0] + 800b33a: 9210 str r2, [sp, #64] ; 0x40 + 800b33c: 6862 ldr r2, [r4, #4] + 800b33e: 9211 str r2, [sp, #68] ; 0x44 + 800b340: e9d4 0103 ldrd r0, r1, [r4, #12] + 800b344: 7aa2 ldrb r2, [r4, #10] + 800b346: f88d 2048 strb.w r2, [sp, #72] ; 0x48 + 800b34a: 2201 movs r2, #1 + 800b34c: f88d 2049 strb.w r2, [sp, #73] ; 0x49 + 800b350: aa13 add r2, sp, #76 ; 0x4c + 800b352: e882 0003 stmia.w r2, {r0, r1} + 800b356: 2510 movs r5, #16 + 800b358: 7d22 ldrb r2, [r4, #20] + 800b35a: 8ae1 ldrh r1, [r4, #22] + 800b35c: f88d 3029 strb.w r3, [sp, #41] ; 0x29 + 800b360: 4618 mov r0, r3 + 800b362: f88d 2054 strb.w r2, [sp, #84] ; 0x54 + 800b366: f8ad 5038 strh.w r5, [sp, #56] ; 0x38 + 800b36a: f7ff fbdb bl 800ab24 + 800b36e: ab0a add r3, sp, #40 ; 0x28 + 800b370: 9317 str r3, [sp, #92] ; 0x5c + 800b372: f10d 0315 add.w r3, sp, #21 + 800b376: 9016 str r0, [sp, #88] ; 0x58 + 800b378: 9300 str r3, [sp, #0] + 800b37a: 4631 mov r1, r6 + 800b37c: 9701 str r7, [sp, #4] + 800b37e: ab05 add r3, sp, #20 + 800b380: aa06 add r2, sp, #24 + 800b382: a810 add r0, sp, #64 ; 0x40 + 800b384: f000 fbbc bl 800bb00 + 800b388: 4606 mov r6, r0 + 800b38a: bb98 cbnz r0, 800b3f4 + 800b38c: f89d 1014 ldrb.w r1, [sp, #20] + 800b390: 4f20 ldr r7, [pc, #128] ; (800b414 ) + 800b392: 3901 subs r1, #1 + 800b394: f001 fa90 bl 800c8b8 + 800b398: 4b1f ldr r3, [pc, #124] ; (800b418 ) + 800b39a: 691b ldr r3, [r3, #16] + 800b39c: 9303 str r3, [sp, #12] + 800b39e: b2c4 uxtb r4, r0 + 800b3a0: f04f 0b0c mov.w fp, #12 + 800b3a4: f104 0360 add.w r3, r4, #96 ; 0x60 + 800b3a8: 446b add r3, sp + 800b3aa: f8d8 0000 ldr.w r0, [r8] + 800b3ae: f813 ac48 ldrb.w sl, [r3, #-72] + 800b3b2: f89d 3014 ldrb.w r3, [sp, #20] + 800b3b6: fb0b fc0a mul.w ip, fp, sl + 800b3ba: 3401 adds r4, #1 + 800b3bc: 4639 mov r1, r7 + 800b3be: fbb4 f2f3 udiv r2, r4, r3 + 800b3c2: fb03 4412 mls r4, r3, r2, r4 + 800b3c6: f8d0 337c ldr.w r3, [r0, #892] ; 0x37c + 800b3ca: f9b0 2378 ldrsh.w r2, [r0, #888] ; 0x378 + 800b3ce: f850 000c ldr.w r0, [r0, ip] + 800b3d2: f8dd c00c ldr.w ip, [sp, #12] + 800b3d6: b2e4 uxtb r4, r4 + 800b3d8: 47e0 blx ip + 800b3da: b128 cbz r0, 800b3e8 + 800b3dc: f889 a000 strb.w sl, [r9] + 800b3e0: 4630 mov r0, r6 + 800b3e2: b019 add sp, #100 ; 0x64 + 800b3e4: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800b3e8: 3d01 subs r5, #1 + 800b3ea: f015 05ff ands.w r5, r5, #255 ; 0xff + 800b3ee: d1d9 bne.n 800b3a4 + 800b3f0: 260d movs r6, #13 + 800b3f2: e7f5 b.n 800b3e0 + 800b3f4: 280c cmp r0, #12 + 800b3f6: bf01 itttt eq + 800b3f8: f8d8 2000 ldreq.w r2, [r8] + 800b3fc: f8b2 3360 ldrheq.w r3, [r2, #864] ; 0x360 + 800b400: f043 0303 orreq.w r3, r3, #3 + 800b404: f8a2 3360 strheq.w r3, [r2, #864] ; 0x360 + 800b408: e7ea b.n 800b3e0 + 800b40a: bf00 nop + 800b40c: 200019c4 .word 0x200019c4 + 800b410: 200019c0 .word 0x200019c0 + 800b414: 00030d40 .word 0x00030d40 + 800b418: 080101ec .word 0x080101ec -0800b408 : - 800b408: b5f8 push {r3, r4, r5, r6, r7, lr} - 800b40a: 7906 ldrb r6, [r0, #4] - 800b40c: 2e01 cmp r6, #1 - 800b40e: 4605 mov r5, r0 - 800b410: d801 bhi.n 800b416 - 800b412: 2006 movs r0, #6 - 800b414: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800b416: 2e0f cmp r6, #15 - 800b418: d82b bhi.n 800b472 - 800b41a: 6803 ldr r3, [r0, #0] - 800b41c: 7a18 ldrb r0, [r3, #8] - 800b41e: f340 0003 sbfx r0, r0, #0, #4 - 800b422: 2205 movs r2, #5 - 800b424: 2100 movs r1, #0 - 800b426: b240 sxtb r0, r0 - 800b428: f000 f8f5 bl 800b616 - 800b42c: 682b ldr r3, [r5, #0] - 800b42e: 4604 mov r4, r0 +0800b41c : + 800b41c: b5f8 push {r3, r4, r5, r6, r7, lr} + 800b41e: 7906 ldrb r6, [r0, #4] + 800b420: 2e01 cmp r6, #1 + 800b422: 4605 mov r5, r0 + 800b424: d801 bhi.n 800b42a + 800b426: 2006 movs r0, #6 + 800b428: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800b42a: 2e0f cmp r6, #15 + 800b42c: d82b bhi.n 800b486 + 800b42e: 6803 ldr r3, [r0, #0] 800b430: 7a18 ldrb r0, [r3, #8] - 800b432: f340 1003 sbfx r0, r0, #4, #4 + 800b432: f340 0003 sbfx r0, r0, #0, #4 800b436: 2205 movs r2, #5 800b438: 2100 movs r1, #0 800b43a: b240 sxtb r0, r0 - 800b43c: f000 f8eb bl 800b616 - 800b440: b1a8 cbz r0, 800b46e - 800b442: fab4 f484 clz r4, r4 - 800b446: 0964 lsrs r4, r4, #5 - 800b448: 6829 ldr r1, [r5, #0] - 800b44a: 7a0b ldrb r3, [r1, #8] - 800b44c: 6808 ldr r0, [r1, #0] - 800b44e: f343 0203 sbfx r2, r3, #0, #4 - 800b452: f343 1303 sbfx r3, r3, #4, #4 - 800b456: b252 sxtb r2, r2 - 800b458: b25b sxtb r3, r3 - 800b45a: 429a cmp r2, r3 - 800b45c: bfc8 it gt - 800b45e: 2401 movgt r4, #1 - 800b460: f7ff fb42 bl 800aae8 - 800b464: b948 cbnz r0, 800b47a - 800b466: 2c00 cmp r4, #0 - 800b468: d1d3 bne.n 800b412 - 800b46a: 2004 movs r0, #4 - 800b46c: e7d2 b.n 800b414 - 800b46e: 2401 movs r4, #1 - 800b470: e7ea b.n 800b448 - 800b472: 2003 movs r0, #3 - 800b474: e7ce b.n 800b414 - 800b476: 2005 movs r0, #5 - 800b478: e7cc b.n 800b414 + 800b43c: f000 f8f5 bl 800b62a + 800b440: 682b ldr r3, [r5, #0] + 800b442: 4604 mov r4, r0 + 800b444: 7a18 ldrb r0, [r3, #8] + 800b446: f340 1003 sbfx r0, r0, #4, #4 + 800b44a: 2205 movs r2, #5 + 800b44c: 2100 movs r1, #0 + 800b44e: b240 sxtb r0, r0 + 800b450: f000 f8eb bl 800b62a + 800b454: b1a8 cbz r0, 800b482 + 800b456: fab4 f484 clz r4, r4 + 800b45a: 0964 lsrs r4, r4, #5 + 800b45c: 6829 ldr r1, [r5, #0] + 800b45e: 7a0b ldrb r3, [r1, #8] + 800b460: 6808 ldr r0, [r1, #0] + 800b462: f343 0203 sbfx r2, r3, #0, #4 + 800b466: f343 1303 sbfx r3, r3, #4, #4 + 800b46a: b252 sxtb r2, r2 + 800b46c: b25b sxtb r3, r3 + 800b46e: 429a cmp r2, r3 + 800b470: bfc8 it gt + 800b472: 2401 movgt r4, #1 + 800b474: f7ff fb42 bl 800aafc + 800b478: b948 cbnz r0, 800b48e 800b47a: 2c00 cmp r4, #0 - 800b47c: d1fb bne.n 800b476 - 800b47e: 4f0c ldr r7, [pc, #48] ; (800b4b0 ) - 800b480: 6829 ldr r1, [r5, #0] - 800b482: 683b ldr r3, [r7, #0] - 800b484: eb06 0046 add.w r0, r6, r6, lsl #1 - 800b488: eb03 0080 add.w r0, r3, r0, lsl #2 - 800b48c: 220c movs r2, #12 - 800b48e: f001 fa25 bl 800c8dc - 800b492: 683a ldr r2, [r7, #0] - 800b494: 230c movs r3, #12 - 800b496: fb03 2306 mla r3, r3, r6, r2 - 800b49a: 4620 mov r0, r4 - 800b49c: 725c strb r4, [r3, #9] - 800b49e: f8b2 1360 ldrh.w r1, [r2, #864] ; 0x360 - 800b4a2: 2301 movs r3, #1 - 800b4a4: 40b3 lsls r3, r6 - 800b4a6: 430b orrs r3, r1 - 800b4a8: f8a2 3360 strh.w r3, [r2, #864] ; 0x360 - 800b4ac: e7b2 b.n 800b414 - 800b4ae: bf00 nop - 800b4b0: 200019c4 .word 0x200019c4 + 800b47c: d1d3 bne.n 800b426 + 800b47e: 2004 movs r0, #4 + 800b480: e7d2 b.n 800b428 + 800b482: 2401 movs r4, #1 + 800b484: e7ea b.n 800b45c + 800b486: 2003 movs r0, #3 + 800b488: e7ce b.n 800b428 + 800b48a: 2005 movs r0, #5 + 800b48c: e7cc b.n 800b428 + 800b48e: 2c00 cmp r4, #0 + 800b490: d1fb bne.n 800b48a + 800b492: 4f0c ldr r7, [pc, #48] ; (800b4c4 ) + 800b494: 6829 ldr r1, [r5, #0] + 800b496: 683b ldr r3, [r7, #0] + 800b498: eb06 0046 add.w r0, r6, r6, lsl #1 + 800b49c: eb03 0080 add.w r0, r3, r0, lsl #2 + 800b4a0: 220c movs r2, #12 + 800b4a2: f001 fa25 bl 800c8f0 + 800b4a6: 683a ldr r2, [r7, #0] + 800b4a8: 230c movs r3, #12 + 800b4aa: fb03 2306 mla r3, r3, r6, r2 + 800b4ae: 4620 mov r0, r4 + 800b4b0: 725c strb r4, [r3, #9] + 800b4b2: f8b2 1360 ldrh.w r1, [r2, #864] ; 0x360 + 800b4b6: 2301 movs r3, #1 + 800b4b8: 40b3 lsls r3, r6 + 800b4ba: 430b orrs r3, r1 + 800b4bc: f8a2 3360 strh.w r3, [r2, #864] ; 0x360 + 800b4c0: e7b2 b.n 800b428 + 800b4c2: bf00 nop + 800b4c4: 200019c4 .word 0x200019c4 -0800b4b4 : - 800b4b4: b410 push {r4} - 800b4b6: 7801 ldrb r1, [r0, #0] - 800b4b8: 2901 cmp r1, #1 - 800b4ba: d90e bls.n 800b4da - 800b4bc: 4b08 ldr r3, [pc, #32] ; (800b4e0 ) - 800b4be: 6818 ldr r0, [r3, #0] - 800b4c0: 230c movs r3, #12 - 800b4c2: 434b muls r3, r1 - 800b4c4: 18c4 adds r4, r0, r3 - 800b4c6: 2200 movs r2, #0 - 800b4c8: 50c2 str r2, [r0, r3] - 800b4ca: e9c4 2201 strd r2, r2, [r4, #4] - 800b4ce: f500 7058 add.w r0, r0, #864 ; 0x360 - 800b4d2: bc10 pop {r4} - 800b4d4: 2210 movs r2, #16 - 800b4d6: f000 b8a7 b.w 800b628 - 800b4da: 2000 movs r0, #0 - 800b4dc: bc10 pop {r4} - 800b4de: 4770 bx lr - 800b4e0: 200019c4 .word 0x200019c4 +0800b4c8 : + 800b4c8: b410 push {r4} + 800b4ca: 7801 ldrb r1, [r0, #0] + 800b4cc: 2901 cmp r1, #1 + 800b4ce: d90e bls.n 800b4ee + 800b4d0: 4b08 ldr r3, [pc, #32] ; (800b4f4 ) + 800b4d2: 6818 ldr r0, [r3, #0] + 800b4d4: 230c movs r3, #12 + 800b4d6: 434b muls r3, r1 + 800b4d8: 18c4 adds r4, r0, r3 + 800b4da: 2200 movs r2, #0 + 800b4dc: 50c2 str r2, [r0, r3] + 800b4de: e9c4 2201 strd r2, r2, [r4, #4] + 800b4e2: f500 7058 add.w r0, r0, #864 ; 0x360 + 800b4e6: bc10 pop {r4} + 800b4e8: 2210 movs r2, #16 + 800b4ea: f000 b8a7 b.w 800b63c + 800b4ee: 2000 movs r0, #0 + 800b4f0: bc10 pop {r4} + 800b4f2: 4770 bx lr + 800b4f4: 200019c4 .word 0x200019c4 -0800b4e4 : - 800b4e4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800b4e8: b086 sub sp, #24 - 800b4ea: 2350 movs r3, #80 ; 0x50 - 800b4ec: f88d 3014 strb.w r3, [sp, #20] - 800b4f0: 7a03 ldrb r3, [r0, #8] - 800b4f2: 2b10 cmp r3, #16 - 800b4f4: 4607 mov r7, r0 - 800b4f6: d130 bne.n 800b55a - 800b4f8: 6843 ldr r3, [r0, #4] - 800b4fa: 7bdd ldrb r5, [r3, #15] - 800b4fc: bb6d cbnz r5, 800b55a - 800b4fe: 2402 movs r4, #2 - 800b500: 46a8 mov r8, r5 - 800b502: 2664 movs r6, #100 ; 0x64 - 800b504: 2c06 cmp r4, #6 - 800b506: d814 bhi.n 800b532 - 800b508: 687a ldr r2, [r7, #4] - 800b50a: 5d53 ldrb r3, [r2, r5] - 800b50c: 9303 str r3, [sp, #12] - 800b50e: 442a add r2, r5 - 800b510: 7851 ldrb r1, [r2, #1] - 800b512: ea43 2301 orr.w r3, r3, r1, lsl #8 - 800b516: 9303 str r3, [sp, #12] - 800b518: 7892 ldrb r2, [r2, #2] - 800b51a: ea43 4302 orr.w r3, r3, r2, lsl #16 - 800b51e: 4373 muls r3, r6 - 800b520: e9cd 3803 strd r3, r8, [sp, #12] - 800b524: b963 cbnz r3, 800b540 - 800b526: 4668 mov r0, sp - 800b528: f88d 4000 strb.w r4, [sp] - 800b52c: f7ff ffc2 bl 800b4b4 - 800b530: e00d b.n 800b54e - 800b532: f8cd 800c str.w r8, [sp, #12] - 800b536: f88d 8014 strb.w r8, [sp, #20] - 800b53a: f8cd 8010 str.w r8, [sp, #16] - 800b53e: e7f2 b.n 800b526 - 800b540: ab03 add r3, sp, #12 - 800b542: a801 add r0, sp, #4 - 800b544: 9301 str r3, [sp, #4] - 800b546: f88d 4008 strb.w r4, [sp, #8] - 800b54a: f7ff ff5d bl 800b408 - 800b54e: 3401 adds r4, #1 - 800b550: b2e4 uxtb r4, r4 - 800b552: 2c10 cmp r4, #16 - 800b554: f105 0503 add.w r5, r5, #3 - 800b558: d1d4 bne.n 800b504 - 800b55a: b006 add sp, #24 - 800b55c: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} +0800b4f8 : + 800b4f8: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800b4fc: b086 sub sp, #24 + 800b4fe: 2350 movs r3, #80 ; 0x50 + 800b500: f88d 3014 strb.w r3, [sp, #20] + 800b504: 7a03 ldrb r3, [r0, #8] + 800b506: 2b10 cmp r3, #16 + 800b508: 4607 mov r7, r0 + 800b50a: d130 bne.n 800b56e + 800b50c: 6843 ldr r3, [r0, #4] + 800b50e: 7bdd ldrb r5, [r3, #15] + 800b510: bb6d cbnz r5, 800b56e + 800b512: 2402 movs r4, #2 + 800b514: 46a8 mov r8, r5 + 800b516: 2664 movs r6, #100 ; 0x64 + 800b518: 2c06 cmp r4, #6 + 800b51a: d814 bhi.n 800b546 + 800b51c: 687a ldr r2, [r7, #4] + 800b51e: 5d53 ldrb r3, [r2, r5] + 800b520: 9303 str r3, [sp, #12] + 800b522: 442a add r2, r5 + 800b524: 7851 ldrb r1, [r2, #1] + 800b526: ea43 2301 orr.w r3, r3, r1, lsl #8 + 800b52a: 9303 str r3, [sp, #12] + 800b52c: 7892 ldrb r2, [r2, #2] + 800b52e: ea43 4302 orr.w r3, r3, r2, lsl #16 + 800b532: 4373 muls r3, r6 + 800b534: e9cd 3803 strd r3, r8, [sp, #12] + 800b538: b963 cbnz r3, 800b554 + 800b53a: 4668 mov r0, sp + 800b53c: f88d 4000 strb.w r4, [sp] + 800b540: f7ff ffc2 bl 800b4c8 + 800b544: e00d b.n 800b562 + 800b546: f8cd 800c str.w r8, [sp, #12] + 800b54a: f88d 8014 strb.w r8, [sp, #20] + 800b54e: f8cd 8010 str.w r8, [sp, #16] + 800b552: e7f2 b.n 800b53a + 800b554: ab03 add r3, sp, #12 + 800b556: a801 add r0, sp, #4 + 800b558: 9301 str r3, [sp, #4] + 800b55a: f88d 4008 strb.w r4, [sp, #8] + 800b55e: f7ff ff5d bl 800b41c + 800b562: 3401 adds r4, #1 + 800b564: b2e4 uxtb r4, r4 + 800b566: 2c10 cmp r4, #16 + 800b568: f105 0503 add.w r5, r5, #3 + 800b56c: d1d4 bne.n 800b518 + 800b56e: b006 add sp, #24 + 800b570: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} -0800b560 : - 800b560: b51f push {r0, r1, r2, r3, r4, lr} - 800b562: 6802 ldr r2, [r0, #0] - 800b564: 7903 ldrb r3, [r0, #4] - 800b566: 6811 ldr r1, [r2, #0] - 800b568: b951 cbnz r1, 800b580 - 800b56a: a801 add r0, sp, #4 - 800b56c: f88d 3004 strb.w r3, [sp, #4] - 800b570: f7ff ffa0 bl 800b4b4 - 800b574: b978 cbnz r0, 800b596 - 800b576: 2000 movs r0, #0 - 800b578: b240 sxtb r0, r0 - 800b57a: b005 add sp, #20 - 800b57c: f85d fb04 ldr.w pc, [sp], #4 - 800b580: a802 add r0, sp, #8 - 800b582: 9202 str r2, [sp, #8] - 800b584: f88d 300c strb.w r3, [sp, #12] - 800b588: f7ff ff3e bl 800b408 - 800b58c: 2806 cmp r0, #6 - 800b58e: d8f2 bhi.n 800b576 - 800b590: 4b02 ldr r3, [pc, #8] ; (800b59c ) - 800b592: 5c18 ldrb r0, [r3, r0] - 800b594: e7f0 b.n 800b578 - 800b596: 2003 movs r0, #3 - 800b598: e7ee b.n 800b578 - 800b59a: bf00 nop - 800b59c: 0800fb1c .word 0x0800fb1c +0800b574 : + 800b574: b51f push {r0, r1, r2, r3, r4, lr} + 800b576: 6802 ldr r2, [r0, #0] + 800b578: 7903 ldrb r3, [r0, #4] + 800b57a: 6811 ldr r1, [r2, #0] + 800b57c: b951 cbnz r1, 800b594 + 800b57e: a801 add r0, sp, #4 + 800b580: f88d 3004 strb.w r3, [sp, #4] + 800b584: f7ff ffa0 bl 800b4c8 + 800b588: b978 cbnz r0, 800b5aa + 800b58a: 2000 movs r0, #0 + 800b58c: b240 sxtb r0, r0 + 800b58e: b005 add sp, #20 + 800b590: f85d fb04 ldr.w pc, [sp], #4 + 800b594: a802 add r0, sp, #8 + 800b596: 9202 str r2, [sp, #8] + 800b598: f88d 300c strb.w r3, [sp, #12] + 800b59c: f7ff ff3e bl 800b41c + 800b5a0: 2806 cmp r0, #6 + 800b5a2: d8f2 bhi.n 800b58a + 800b5a4: 4b02 ldr r3, [pc, #8] ; (800b5b0 ) + 800b5a6: 5c18 ldrb r0, [r3, r0] + 800b5a8: e7f0 b.n 800b58c + 800b5aa: 2003 movs r0, #3 + 800b5ac: e7ee b.n 800b58c + 800b5ae: bf00 nop + 800b5b0: 0800fb34 .word 0x0800fb34 -0800b5a0 : - 800b5a0: 00c9 lsls r1, r1, #3 - 800b5a2: b920 cbnz r0, 800b5ae - 800b5a4: 4b03 ldr r3, [pc, #12] ; (800b5b4 ) - 800b5a6: 440b add r3, r1 - 800b5a8: 5698 ldrsb r0, [r3, r2] - 800b5aa: b2c0 uxtb r0, r0 - 800b5ac: 4770 bx lr - 800b5ae: 4b02 ldr r3, [pc, #8] ; (800b5b8 ) - 800b5b0: e7f9 b.n 800b5a6 - 800b5b2: bf00 nop - 800b5b4: 0800fb2b .word 0x0800fb2b - 800b5b8: 0800fb6b .word 0x0800fb6b +0800b5b4 : + 800b5b4: 00c9 lsls r1, r1, #3 + 800b5b6: b920 cbnz r0, 800b5c2 + 800b5b8: 4b03 ldr r3, [pc, #12] ; (800b5c8 ) + 800b5ba: 440b add r3, r1 + 800b5bc: 5698 ldrsb r0, [r3, r2] + 800b5be: b2c0 uxtb r0, r0 + 800b5c0: 4770 bx lr + 800b5c2: 4b02 ldr r3, [pc, #8] ; (800b5cc ) + 800b5c4: e7f9 b.n 800b5ba + 800b5c6: bf00 nop + 800b5c8: 0800fb43 .word 0x0800fb43 + 800b5cc: 0800fb83 .word 0x0800fb83 -0800b5bc : - 800b5bc: b5f0 push {r4, r5, r6, r7, lr} - 800b5be: 429a cmp r2, r3 - 800b5c0: 9d06 ldr r5, [sp, #24] - 800b5c2: db03 blt.n 800b5cc - 800b5c4: f99d 3014 ldrsb.w r3, [sp, #20] - 800b5c8: 429a cmp r2, r3 - 800b5ca: dd20 ble.n 800b60e - 800b5cc: 2000 movs r0, #0 - 800b5ce: bdf0 pop {r4, r5, r6, r7, pc} - 800b5d0: eb03 0343 add.w r3, r3, r3, lsl #1 - 800b5d4: f831 c014 ldrh.w ip, [r1, r4, lsl #1] - 800b5d8: eb05 0383 add.w r3, r5, r3, lsl #2 - 800b5dc: 2600 movs r6, #0 - 800b5de: fa4c f706 asr.w r7, ip, r6 - 800b5e2: 07ff lsls r7, r7, #31 - 800b5e4: d507 bpl.n 800b5f6 - 800b5e6: 7a1f ldrb r7, [r3, #8] - 800b5e8: f007 0e0f and.w lr, r7, #15 - 800b5ec: 4572 cmp r2, lr - 800b5ee: db02 blt.n 800b5f6 - 800b5f0: ebb2 1f17 cmp.w r2, r7, lsr #4 - 800b5f4: dd0d ble.n 800b612 - 800b5f6: 3601 adds r6, #1 - 800b5f8: 2e10 cmp r6, #16 - 800b5fa: f103 030c add.w r3, r3, #12 - 800b5fe: d1ee bne.n 800b5de - 800b600: 3401 adds r4, #1 - 800b602: b2e4 uxtb r4, r4 - 800b604: 0123 lsls r3, r4, #4 - 800b606: b2db uxtb r3, r3 - 800b608: 4298 cmp r0, r3 - 800b60a: d8e1 bhi.n 800b5d0 - 800b60c: e7de b.n 800b5cc - 800b60e: 2400 movs r4, #0 - 800b610: e7f8 b.n 800b604 - 800b612: 2001 movs r0, #1 - 800b614: e7db b.n 800b5ce +0800b5d0 : + 800b5d0: b5f0 push {r4, r5, r6, r7, lr} + 800b5d2: 429a cmp r2, r3 + 800b5d4: 9d06 ldr r5, [sp, #24] + 800b5d6: db03 blt.n 800b5e0 + 800b5d8: f99d 3014 ldrsb.w r3, [sp, #20] + 800b5dc: 429a cmp r2, r3 + 800b5de: dd20 ble.n 800b622 + 800b5e0: 2000 movs r0, #0 + 800b5e2: bdf0 pop {r4, r5, r6, r7, pc} + 800b5e4: eb03 0343 add.w r3, r3, r3, lsl #1 + 800b5e8: f831 c014 ldrh.w ip, [r1, r4, lsl #1] + 800b5ec: eb05 0383 add.w r3, r5, r3, lsl #2 + 800b5f0: 2600 movs r6, #0 + 800b5f2: fa4c f706 asr.w r7, ip, r6 + 800b5f6: 07ff lsls r7, r7, #31 + 800b5f8: d507 bpl.n 800b60a + 800b5fa: 7a1f ldrb r7, [r3, #8] + 800b5fc: f007 0e0f and.w lr, r7, #15 + 800b600: 4572 cmp r2, lr + 800b602: db02 blt.n 800b60a + 800b604: ebb2 1f17 cmp.w r2, r7, lsr #4 + 800b608: dd0d ble.n 800b626 + 800b60a: 3601 adds r6, #1 + 800b60c: 2e10 cmp r6, #16 + 800b60e: f103 030c add.w r3, r3, #12 + 800b612: d1ee bne.n 800b5f2 + 800b614: 3401 adds r4, #1 + 800b616: b2e4 uxtb r4, r4 + 800b618: 0123 lsls r3, r4, #4 + 800b61a: b2db uxtb r3, r3 + 800b61c: 4298 cmp r0, r3 + 800b61e: d8e1 bhi.n 800b5e4 + 800b620: e7de b.n 800b5e0 + 800b622: 2400 movs r4, #0 + 800b624: e7f8 b.n 800b618 + 800b626: 2001 movs r0, #1 + 800b628: e7db b.n 800b5e2 -0800b616 : - 800b616: 4288 cmp r0, r1 - 800b618: db04 blt.n 800b624 - 800b61a: 4290 cmp r0, r2 - 800b61c: bfcc ite gt - 800b61e: 2000 movgt r0, #0 - 800b620: 2001 movle r0, #1 - 800b622: 4770 bx lr - 800b624: 2000 movs r0, #0 - 800b626: 4770 bx lr +0800b62a : + 800b62a: 4288 cmp r0, r1 + 800b62c: db04 blt.n 800b638 + 800b62e: 4290 cmp r0, r2 + 800b630: bfcc ite gt + 800b632: 2000 movgt r0, #0 + 800b634: 2001 movle r0, #1 + 800b636: 4770 bx lr + 800b638: 2000 movs r0, #0 + 800b63a: 4770 bx lr -0800b628 : - 800b628: b510 push {r4, lr} - 800b62a: 0914 lsrs r4, r2, #4 - 800b62c: ebb4 1f11 cmp.w r4, r1, lsr #4 - 800b630: 4603 mov r3, r0 - 800b632: ea4f 1011 mov.w r0, r1, lsr #4 - 800b636: d30e bcc.n 800b656 - 800b638: 4291 cmp r1, r2 - 800b63a: d20c bcs.n 800b656 - 800b63c: b202 sxth r2, r0 - 800b63e: f001 010f and.w r1, r1, #15 - 800b642: f833 4012 ldrh.w r4, [r3, r2, lsl #1] - 800b646: 2001 movs r0, #1 - 800b648: fa00 f101 lsl.w r1, r0, r1 - 800b64c: ea24 0101 bic.w r1, r4, r1 - 800b650: f823 1012 strh.w r1, [r3, r2, lsl #1] - 800b654: bd10 pop {r4, pc} - 800b656: 2000 movs r0, #0 - 800b658: e7fc b.n 800b654 +0800b63c : + 800b63c: b510 push {r4, lr} + 800b63e: 0914 lsrs r4, r2, #4 + 800b640: ebb4 1f11 cmp.w r4, r1, lsr #4 + 800b644: 4603 mov r3, r0 + 800b646: ea4f 1011 mov.w r0, r1, lsr #4 + 800b64a: d30e bcc.n 800b66a + 800b64c: 4291 cmp r1, r2 + 800b64e: d20c bcs.n 800b66a + 800b650: b202 sxth r2, r0 + 800b652: f001 010f and.w r1, r1, #15 + 800b656: f833 4012 ldrh.w r4, [r3, r2, lsl #1] + 800b65a: 2001 movs r0, #1 + 800b65c: fa00 f101 lsl.w r1, r0, r1 + 800b660: ea24 0101 bic.w r1, r4, r1 + 800b664: f823 1012 strh.w r1, [r3, r2, lsl #1] + 800b668: bd10 pop {r4, pc} + 800b66a: 2000 movs r0, #0 + 800b66c: e7fc b.n 800b668 -0800b65a : - 800b65a: b5f0 push {r4, r5, r6, r7, lr} - 800b65c: b128 cbz r0, 800b66a - 800b65e: eb00 0541 add.w r5, r0, r1, lsl #1 - 800b662: 2701 movs r7, #1 - 800b664: 2000 movs r0, #0 - 800b666: 4291 cmp r1, r2 - 800b668: d300 bcc.n 800b66c - 800b66a: bdf0 pop {r4, r5, r6, r7, pc} - 800b66c: 2400 movs r4, #0 - 800b66e: f835 cb02 ldrh.w ip, [r5], #2 - 800b672: 4623 mov r3, r4 - 800b674: fa07 f604 lsl.w r6, r7, r4 - 800b678: ea36 060c bics.w r6, r6, ip - 800b67c: bf08 it eq - 800b67e: 3301 addeq r3, #1 - 800b680: f104 0401 add.w r4, r4, #1 - 800b684: bf08 it eq - 800b686: b2db uxtbeq r3, r3 - 800b688: 2c10 cmp r4, #16 - 800b68a: d1f3 bne.n 800b674 - 800b68c: 4418 add r0, r3 - 800b68e: 3101 adds r1, #1 - 800b690: b2c0 uxtb r0, r0 - 800b692: b2c9 uxtb r1, r1 - 800b694: e7e7 b.n 800b666 +0800b66e : + 800b66e: b5f0 push {r4, r5, r6, r7, lr} + 800b670: b128 cbz r0, 800b67e + 800b672: eb00 0541 add.w r5, r0, r1, lsl #1 + 800b676: 2701 movs r7, #1 + 800b678: 2000 movs r0, #0 + 800b67a: 4291 cmp r1, r2 + 800b67c: d300 bcc.n 800b680 + 800b67e: bdf0 pop {r4, r5, r6, r7, pc} + 800b680: 2400 movs r4, #0 + 800b682: f835 cb02 ldrh.w ip, [r5], #2 + 800b686: 4623 mov r3, r4 + 800b688: fa07 f604 lsl.w r6, r7, r4 + 800b68c: ea36 060c bics.w r6, r6, ip + 800b690: bf08 it eq + 800b692: 3301 addeq r3, #1 + 800b694: f104 0401 add.w r4, r4, #1 + 800b698: bf08 it eq + 800b69a: b2db uxtbeq r3, r3 + 800b69c: 2c10 cmp r4, #16 + 800b69e: d1f3 bne.n 800b688 + 800b6a0: 4418 add r0, r3 + 800b6a2: 3101 adds r1, #1 + 800b6a4: b2c0 uxtb r0, r0 + 800b6a6: b2c9 uxtb r1, r1 + 800b6a8: e7e7 b.n 800b67a -0800b696 : - 800b696: b510 push {r4, lr} - 800b698: b100 cbz r0, 800b69c - 800b69a: b949 cbnz r1, 800b6b0 - 800b69c: bd10 pop {r4, pc} - 800b69e: f831 4013 ldrh.w r4, [r1, r3, lsl #1] - 800b6a2: f820 4013 strh.w r4, [r0, r3, lsl #1] - 800b6a6: 3301 adds r3, #1 - 800b6a8: b2dc uxtb r4, r3 - 800b6aa: 42a2 cmp r2, r4 - 800b6ac: d8f7 bhi.n 800b69e - 800b6ae: e7f5 b.n 800b69c - 800b6b0: 2300 movs r3, #0 - 800b6b2: e7f9 b.n 800b6a8 +0800b6aa : + 800b6aa: b510 push {r4, lr} + 800b6ac: b100 cbz r0, 800b6b0 + 800b6ae: b949 cbnz r1, 800b6c4 + 800b6b0: bd10 pop {r4, pc} + 800b6b2: f831 4013 ldrh.w r4, [r1, r3, lsl #1] + 800b6b6: f820 4013 strh.w r4, [r0, r3, lsl #1] + 800b6ba: 3301 adds r3, #1 + 800b6bc: b2dc uxtb r4, r3 + 800b6be: 42a2 cmp r2, r4 + 800b6c0: d8f7 bhi.n 800b6b2 + 800b6c2: e7f5 b.n 800b6b0 + 800b6c4: 2300 movs r3, #0 + 800b6c6: e7f9 b.n 800b6bc -0800b6b4 : - 800b6b4: b082 sub sp, #8 - 800b6b6: b530 push {r4, r5, lr} - 800b6b8: 8804 ldrh r4, [r0, #0] - 800b6ba: 9304 str r3, [sp, #16] - 800b6bc: b96a cbnz r2, 800b6da - 800b6be: f5b3 6f61 cmp.w r3, #3600 ; 0xe10 - 800b6c2: d318 bcc.n 800b6f6 - 800b6c4: f649 25af movw r5, #39599 ; 0x9aaf - 800b6c8: f242 7210 movw r2, #10000 ; 0x2710 - 800b6cc: 42ab cmp r3, r5 - 800b6ce: bf98 it ls - 800b6d0: f44f 727a movls.w r2, #1000 ; 0x3e8 - 800b6d4: 4294 cmp r4, r2 - 800b6d6: bf38 it cc - 800b6d8: 4614 movcc r4, r2 - 800b6da: 2c01 cmp r4, #1 - 800b6dc: bf38 it cc - 800b6de: 2401 movcc r4, #1 - 800b6e0: 4361 muls r1, r4 - 800b6e2: e8bd 4030 ldmia.w sp!, {r4, r5, lr} - 800b6e6: 68c3 ldr r3, [r0, #12] - 800b6e8: 428b cmp r3, r1 - 800b6ea: bf8c ite hi - 800b6ec: 1a5b subhi r3, r3, r1 - 800b6ee: 2300 movls r3, #0 - 800b6f0: 60c3 str r3, [r0, #12] - 800b6f2: b002 add sp, #8 - 800b6f4: 4770 bx lr - 800b6f6: 2264 movs r2, #100 ; 0x64 - 800b6f8: e7ec b.n 800b6d4 +0800b6c8 : + 800b6c8: b082 sub sp, #8 + 800b6ca: b530 push {r4, r5, lr} + 800b6cc: 8804 ldrh r4, [r0, #0] + 800b6ce: 9304 str r3, [sp, #16] + 800b6d0: b96a cbnz r2, 800b6ee + 800b6d2: f5b3 6f61 cmp.w r3, #3600 ; 0xe10 + 800b6d6: d318 bcc.n 800b70a + 800b6d8: f649 25af movw r5, #39599 ; 0x9aaf + 800b6dc: f242 7210 movw r2, #10000 ; 0x2710 + 800b6e0: 42ab cmp r3, r5 + 800b6e2: bf98 it ls + 800b6e4: f44f 727a movls.w r2, #1000 ; 0x3e8 + 800b6e8: 4294 cmp r4, r2 + 800b6ea: bf38 it cc + 800b6ec: 4614 movcc r4, r2 + 800b6ee: 2c01 cmp r4, #1 + 800b6f0: bf38 it cc + 800b6f2: 2401 movcc r4, #1 + 800b6f4: 4361 muls r1, r4 + 800b6f6: e8bd 4030 ldmia.w sp!, {r4, r5, lr} + 800b6fa: 68c3 ldr r3, [r0, #12] + 800b6fc: 428b cmp r3, r1 + 800b6fe: bf8c ite hi + 800b700: 1a5b subhi r3, r3, r1 + 800b702: 2300 movls r3, #0 + 800b704: 60c3 str r3, [r0, #12] + 800b706: b002 add sp, #8 + 800b708: 4770 bx lr + 800b70a: 2264 movs r2, #100 ; 0x64 + 800b70c: e7ec b.n 800b6e8 ... -0800b6fc : - 800b6fc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800b700: b091 sub sp, #68 ; 0x44 - 800b702: 4615 mov r5, r2 - 800b704: f8dd 806c ldr.w r8, [sp, #108] ; 0x6c - 800b708: 9304 str r3, [sp, #16] - 800b70a: f89d 3068 ldrb.w r3, [sp, #104] ; 0x68 - 800b70e: 9309 str r3, [sp, #36] ; 0x24 - 800b710: 460c mov r4, r1 - 800b712: 4606 mov r6, r0 - 800b714: f003 fbc2 bl 800ee9c - 800b718: 4a68 ldr r2, [pc, #416] ; (800b8bc ) - 800b71a: f8df b1a4 ldr.w fp, [pc, #420] ; 800b8c0 - 800b71e: 9005 str r0, [sp, #20] - 800b720: f5a8 33f6 sub.w r3, r8, #125952 ; 0x1ec00 - 800b724: 3b30 subs r3, #48 ; 0x30 - 800b726: fbb3 f3f2 udiv r3, r3, r2 - 800b72a: 4353 muls r3, r2 - 800b72c: f503 32f6 add.w r2, r3, #125952 ; 0x1ec00 - 800b730: f503 33a8 add.w r3, r3, #86016 ; 0x15000 - 800b734: f503 73c0 add.w r3, r3, #384 ; 0x180 - 800b738: 9303 str r3, [sp, #12] - 800b73a: 2318 movs r3, #24 - 800b73c: fb13 4305 smlabb r3, r3, r5, r4 - 800b740: 3230 adds r2, #48 ; 0x30 - 800b742: 9206 str r2, [sp, #24] - 800b744: 9308 str r3, [sp, #32] - 800b746: 2500 movs r5, #0 - 800b748: f04f 3aff mov.w sl, #4294967295 - 800b74c: 9b08 ldr r3, [sp, #32] - 800b74e: 42a3 cmp r3, r4 - 800b750: d107 bne.n 800b762 - 800b752: 2d00 cmp r5, #0 - 800b754: bf14 ite ne - 800b756: 4650 movne r0, sl - 800b758: f04f 30ff moveq.w r0, #4294967295 - 800b75c: b011 add sp, #68 ; 0x44 - 800b75e: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800b762: f9bd 3070 ldrsh.w r3, [sp, #112] ; 0x70 - 800b766: f8ad 302c strh.w r3, [sp, #44] ; 0x2c - 800b76a: 990b ldr r1, [sp, #44] ; 0x2c - 800b76c: f8cd 806c str.w r8, [sp, #108] ; 0x6c - 800b770: 4640 mov r0, r8 - 800b772: f8cd 8028 str.w r8, [sp, #40] ; 0x28 - 800b776: f003 fb21 bl 800edbc - 800b77a: f8b4 9000 ldrh.w r9, [r4] - 800b77e: b96e cbnz r6, 800b79c - 800b780: f5b8 6f61 cmp.w r8, #3600 ; 0xe10 - 800b784: d35b bcc.n 800b83e - 800b786: f649 22af movw r2, #39599 ; 0x9aaf - 800b78a: f242 7310 movw r3, #10000 ; 0x2710 - 800b78e: 4590 cmp r8, r2 - 800b790: bf98 it ls - 800b792: f44f 737a movls.w r3, #1000 ; 0x3e8 - 800b796: 4599 cmp r9, r3 - 800b798: bf38 it cc - 800b79a: 4699 movcc r9, r3 - 800b79c: 464b mov r3, r9 - 800b79e: 2b01 cmp r3, #1 - 800b7a0: bf38 it cc - 800b7a2: 2301 movcc r3, #1 - 800b7a4: 9307 str r3, [sp, #28] - 800b7a6: 2e00 cmp r6, #0 - 800b7a8: d152 bne.n 800b850 - 800b7aa: f1b9 0f64 cmp.w r9, #100 ; 0x64 - 800b7ae: d148 bne.n 800b842 - 800b7b0: 60a0 str r0, [r4, #8] - 800b7b2: 465f mov r7, fp - 800b7b4: 68a1 ldr r1, [r4, #8] - 800b7b6: a80e add r0, sp, #56 ; 0x38 - 800b7b8: f003 fb22 bl 800ee00 - 800b7bc: 9b0f ldr r3, [sp, #60] ; 0x3c - 800b7be: 9300 str r3, [sp, #0] - 800b7c0: e9dd 120a ldrd r1, r2, [sp, #40] ; 0x28 - 800b7c4: 9b0e ldr r3, [sp, #56] ; 0x38 - 800b7c6: a80c add r0, sp, #48 ; 0x30 - 800b7c8: f003 fa79 bl 800ecbe - 800b7cc: 9b04 ldr r3, [sp, #16] - 800b7ce: 9a0c ldr r2, [sp, #48] ; 0x30 - 800b7d0: b90b cbnz r3, 800b7d6 - 800b7d2: 9b09 ldr r3, [sp, #36] ; 0x24 - 800b7d4: b12b cbz r3, 800b7e2 - 800b7d6: 6923 ldr r3, [r4, #16] - 800b7d8: 42bb cmp r3, r7 - 800b7da: d102 bne.n 800b7e2 - 800b7dc: 4b39 ldr r3, [pc, #228] ; (800b8c4 ) - 800b7de: 429a cmp r2, r3 - 800b7e0: d90d bls.n 800b7fe - 800b7e2: 4b39 ldr r3, [pc, #228] ; (800b8c8 ) - 800b7e4: 60e7 str r7, [r4, #12] - 800b7e6: 4598 cmp r8, r3 - 800b7e8: d909 bls.n 800b7fe - 800b7ea: 2300 movs r3, #0 - 800b7ec: f8ad 3034 strh.w r3, [sp, #52] ; 0x34 - 800b7f0: 9b06 ldr r3, [sp, #24] - 800b7f2: 990d ldr r1, [sp, #52] ; 0x34 - 800b7f4: 930c str r3, [sp, #48] ; 0x30 - 800b7f6: 4618 mov r0, r3 - 800b7f8: f003 fae0 bl 800edbc - 800b7fc: 60a0 str r0, [r4, #8] - 800b7fe: 6860 ldr r0, [r4, #4] - 800b800: b900 cbnz r0, 800b804 - 800b802: 60e7 str r7, [r4, #12] - 800b804: 6127 str r7, [r4, #16] - 800b806: b126 cbz r6, 800b812 - 800b808: f003 fb52 bl 800eeb0 - 800b80c: 68e3 ldr r3, [r4, #12] - 800b80e: 4403 add r3, r0 - 800b810: 60e3 str r3, [r4, #12] - 800b812: e9d4 3203 ldrd r3, r2, [r4, #12] - 800b816: 4293 cmp r3, r2 - 800b818: 9b05 ldr r3, [sp, #20] - 800b81a: 991d ldr r1, [sp, #116] ; 0x74 - 800b81c: 6063 str r3, [r4, #4] - 800b81e: 9b07 ldr r3, [sp, #28] - 800b820: bf88 it hi - 800b822: 60e2 strhi r2, [r4, #12] - 800b824: 434b muls r3, r1 - 800b826: 68e1 ldr r1, [r4, #12] - 800b828: 4299 cmp r1, r3 - 800b82a: d202 bcs.n 800b832 - 800b82c: 9804 ldr r0, [sp, #16] - 800b82e: b9a8 cbnz r0, 800b85c - 800b830: b1a6 cbz r6, 800b85c - 800b832: 2301 movs r3, #1 - 800b834: 441d add r5, r3 - 800b836: 7523 strb r3, [r4, #20] - 800b838: b2ed uxtb r5, r5 - 800b83a: 3418 adds r4, #24 - 800b83c: e786 b.n 800b74c - 800b83e: 2364 movs r3, #100 ; 0x64 - 800b840: e7a9 b.n 800b796 - 800b842: f5b9 7f7a cmp.w r9, #1000 ; 0x3e8 - 800b846: bf0a itet eq - 800b848: 4f20 ldreq r7, [pc, #128] ; (800b8cc ) - 800b84a: 4f21 ldrne r7, [pc, #132] ; (800b8d0 ) - 800b84c: 60a0 streq r0, [r4, #8] - 800b84e: e7b1 b.n 800b7b4 - 800b850: 9b04 ldr r3, [sp, #16] - 800b852: b90b cbnz r3, 800b858 - 800b854: f8c4 b00c str.w fp, [r4, #12] - 800b858: 465f mov r7, fp - 800b85a: e7d0 b.n 800b7fe - 800b85c: 2000 movs r0, #0 - 800b85e: 4293 cmp r3, r2 - 800b860: 7520 strb r0, [r4, #20] - 800b862: d806 bhi.n 800b872 - 800b864: 1a5b subs r3, r3, r1 - 800b866: 459a cmp sl, r3 - 800b868: f105 0501 add.w r5, r5, #1 - 800b86c: bf28 it cs - 800b86e: 469a movcs sl, r3 - 800b870: b2ed uxtb r5, r5 - 800b872: 2e00 cmp r6, #0 - 800b874: d1e1 bne.n 800b83a - 800b876: f1b9 0f64 cmp.w r9, #100 ; 0x64 - 800b87a: 4a16 ldr r2, [pc, #88] ; (800b8d4 ) - 800b87c: f8ad 6034 strh.w r6, [sp, #52] ; 0x34 - 800b880: d019 beq.n 800b8b6 - 800b882: f649 23b0 movw r3, #39600 ; 0x9ab0 - 800b886: f5b9 7f7a cmp.w r9, #1000 ; 0x3e8 - 800b88a: bf18 it ne - 800b88c: 4613 movne r3, r2 - 800b88e: 4590 cmp r8, r2 - 800b890: bf84 itt hi - 800b892: 9a03 ldrhi r2, [sp, #12] - 800b894: 189b addhi r3, r3, r2 - 800b896: 930c str r3, [sp, #48] ; 0x30 - 800b898: 9b1c ldr r3, [sp, #112] ; 0x70 - 800b89a: 9300 str r3, [sp, #0] - 800b89c: af0c add r7, sp, #48 ; 0x30 - 800b89e: e897 0006 ldmia.w r7, {r1, r2} - 800b8a2: 9b1b ldr r3, [sp, #108] ; 0x6c - 800b8a4: 4638 mov r0, r7 - 800b8a6: f003 fa0a bl 800ecbe - 800b8aa: e897 0003 ldmia.w r7, {r0, r1} - 800b8ae: f003 fa85 bl 800edbc - 800b8b2: 4682 mov sl, r0 - 800b8b4: e7c1 b.n 800b83a - 800b8b6: f44f 6361 mov.w r3, #3600 ; 0xe10 - 800b8ba: e7e8 b.n 800b88e - 800b8bc: 00015180 .word 0x00015180 - 800b8c0: 001b7740 .word 0x001b7740 - 800b8c4: 0001517f .word 0x0001517f - 800b8c8: 0001ec2f .word 0x0001ec2f - 800b8cc: 0112a880 .word 0x0112a880 - 800b8d0: 02932e00 .word 0x02932e00 - 800b8d4: 0001ec30 .word 0x0001ec30 +0800b710 : + 800b710: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800b714: b091 sub sp, #68 ; 0x44 + 800b716: 4615 mov r5, r2 + 800b718: f8dd 806c ldr.w r8, [sp, #108] ; 0x6c + 800b71c: 9304 str r3, [sp, #16] + 800b71e: f89d 3068 ldrb.w r3, [sp, #104] ; 0x68 + 800b722: 9309 str r3, [sp, #36] ; 0x24 + 800b724: 460c mov r4, r1 + 800b726: 4606 mov r6, r0 + 800b728: f003 fbc2 bl 800eeb0 + 800b72c: 4a68 ldr r2, [pc, #416] ; (800b8d0 ) + 800b72e: f8df b1a4 ldr.w fp, [pc, #420] ; 800b8d4 + 800b732: 9005 str r0, [sp, #20] + 800b734: f5a8 33f6 sub.w r3, r8, #125952 ; 0x1ec00 + 800b738: 3b30 subs r3, #48 ; 0x30 + 800b73a: fbb3 f3f2 udiv r3, r3, r2 + 800b73e: 4353 muls r3, r2 + 800b740: f503 32f6 add.w r2, r3, #125952 ; 0x1ec00 + 800b744: f503 33a8 add.w r3, r3, #86016 ; 0x15000 + 800b748: f503 73c0 add.w r3, r3, #384 ; 0x180 + 800b74c: 9303 str r3, [sp, #12] + 800b74e: 2318 movs r3, #24 + 800b750: fb13 4305 smlabb r3, r3, r5, r4 + 800b754: 3230 adds r2, #48 ; 0x30 + 800b756: 9206 str r2, [sp, #24] + 800b758: 9308 str r3, [sp, #32] + 800b75a: 2500 movs r5, #0 + 800b75c: f04f 3aff mov.w sl, #4294967295 + 800b760: 9b08 ldr r3, [sp, #32] + 800b762: 42a3 cmp r3, r4 + 800b764: d107 bne.n 800b776 + 800b766: 2d00 cmp r5, #0 + 800b768: bf14 ite ne + 800b76a: 4650 movne r0, sl + 800b76c: f04f 30ff moveq.w r0, #4294967295 + 800b770: b011 add sp, #68 ; 0x44 + 800b772: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800b776: f9bd 3070 ldrsh.w r3, [sp, #112] ; 0x70 + 800b77a: f8ad 302c strh.w r3, [sp, #44] ; 0x2c + 800b77e: 990b ldr r1, [sp, #44] ; 0x2c + 800b780: f8cd 806c str.w r8, [sp, #108] ; 0x6c + 800b784: 4640 mov r0, r8 + 800b786: f8cd 8028 str.w r8, [sp, #40] ; 0x28 + 800b78a: f003 fb21 bl 800edd0 + 800b78e: f8b4 9000 ldrh.w r9, [r4] + 800b792: b96e cbnz r6, 800b7b0 + 800b794: f5b8 6f61 cmp.w r8, #3600 ; 0xe10 + 800b798: d35b bcc.n 800b852 + 800b79a: f649 22af movw r2, #39599 ; 0x9aaf + 800b79e: f242 7310 movw r3, #10000 ; 0x2710 + 800b7a2: 4590 cmp r8, r2 + 800b7a4: bf98 it ls + 800b7a6: f44f 737a movls.w r3, #1000 ; 0x3e8 + 800b7aa: 4599 cmp r9, r3 + 800b7ac: bf38 it cc + 800b7ae: 4699 movcc r9, r3 + 800b7b0: 464b mov r3, r9 + 800b7b2: 2b01 cmp r3, #1 + 800b7b4: bf38 it cc + 800b7b6: 2301 movcc r3, #1 + 800b7b8: 9307 str r3, [sp, #28] + 800b7ba: 2e00 cmp r6, #0 + 800b7bc: d152 bne.n 800b864 + 800b7be: f1b9 0f64 cmp.w r9, #100 ; 0x64 + 800b7c2: d148 bne.n 800b856 + 800b7c4: 60a0 str r0, [r4, #8] + 800b7c6: 465f mov r7, fp + 800b7c8: 68a1 ldr r1, [r4, #8] + 800b7ca: a80e add r0, sp, #56 ; 0x38 + 800b7cc: f003 fb22 bl 800ee14 + 800b7d0: 9b0f ldr r3, [sp, #60] ; 0x3c + 800b7d2: 9300 str r3, [sp, #0] + 800b7d4: e9dd 120a ldrd r1, r2, [sp, #40] ; 0x28 + 800b7d8: 9b0e ldr r3, [sp, #56] ; 0x38 + 800b7da: a80c add r0, sp, #48 ; 0x30 + 800b7dc: f003 fa79 bl 800ecd2 + 800b7e0: 9b04 ldr r3, [sp, #16] + 800b7e2: 9a0c ldr r2, [sp, #48] ; 0x30 + 800b7e4: b90b cbnz r3, 800b7ea + 800b7e6: 9b09 ldr r3, [sp, #36] ; 0x24 + 800b7e8: b12b cbz r3, 800b7f6 + 800b7ea: 6923 ldr r3, [r4, #16] + 800b7ec: 42bb cmp r3, r7 + 800b7ee: d102 bne.n 800b7f6 + 800b7f0: 4b39 ldr r3, [pc, #228] ; (800b8d8 ) + 800b7f2: 429a cmp r2, r3 + 800b7f4: d90d bls.n 800b812 + 800b7f6: 4b39 ldr r3, [pc, #228] ; (800b8dc ) + 800b7f8: 60e7 str r7, [r4, #12] + 800b7fa: 4598 cmp r8, r3 + 800b7fc: d909 bls.n 800b812 + 800b7fe: 2300 movs r3, #0 + 800b800: f8ad 3034 strh.w r3, [sp, #52] ; 0x34 + 800b804: 9b06 ldr r3, [sp, #24] + 800b806: 990d ldr r1, [sp, #52] ; 0x34 + 800b808: 930c str r3, [sp, #48] ; 0x30 + 800b80a: 4618 mov r0, r3 + 800b80c: f003 fae0 bl 800edd0 + 800b810: 60a0 str r0, [r4, #8] + 800b812: 6860 ldr r0, [r4, #4] + 800b814: b900 cbnz r0, 800b818 + 800b816: 60e7 str r7, [r4, #12] + 800b818: 6127 str r7, [r4, #16] + 800b81a: b126 cbz r6, 800b826 + 800b81c: f003 fb52 bl 800eec4 + 800b820: 68e3 ldr r3, [r4, #12] + 800b822: 4403 add r3, r0 + 800b824: 60e3 str r3, [r4, #12] + 800b826: e9d4 3203 ldrd r3, r2, [r4, #12] + 800b82a: 4293 cmp r3, r2 + 800b82c: 9b05 ldr r3, [sp, #20] + 800b82e: 991d ldr r1, [sp, #116] ; 0x74 + 800b830: 6063 str r3, [r4, #4] + 800b832: 9b07 ldr r3, [sp, #28] + 800b834: bf88 it hi + 800b836: 60e2 strhi r2, [r4, #12] + 800b838: 434b muls r3, r1 + 800b83a: 68e1 ldr r1, [r4, #12] + 800b83c: 4299 cmp r1, r3 + 800b83e: d202 bcs.n 800b846 + 800b840: 9804 ldr r0, [sp, #16] + 800b842: b9a8 cbnz r0, 800b870 + 800b844: b1a6 cbz r6, 800b870 + 800b846: 2301 movs r3, #1 + 800b848: 441d add r5, r3 + 800b84a: 7523 strb r3, [r4, #20] + 800b84c: b2ed uxtb r5, r5 + 800b84e: 3418 adds r4, #24 + 800b850: e786 b.n 800b760 + 800b852: 2364 movs r3, #100 ; 0x64 + 800b854: e7a9 b.n 800b7aa + 800b856: f5b9 7f7a cmp.w r9, #1000 ; 0x3e8 + 800b85a: bf0a itet eq + 800b85c: 4f20 ldreq r7, [pc, #128] ; (800b8e0 ) + 800b85e: 4f21 ldrne r7, [pc, #132] ; (800b8e4 ) + 800b860: 60a0 streq r0, [r4, #8] + 800b862: e7b1 b.n 800b7c8 + 800b864: 9b04 ldr r3, [sp, #16] + 800b866: b90b cbnz r3, 800b86c + 800b868: f8c4 b00c str.w fp, [r4, #12] + 800b86c: 465f mov r7, fp + 800b86e: e7d0 b.n 800b812 + 800b870: 2000 movs r0, #0 + 800b872: 4293 cmp r3, r2 + 800b874: 7520 strb r0, [r4, #20] + 800b876: d806 bhi.n 800b886 + 800b878: 1a5b subs r3, r3, r1 + 800b87a: 459a cmp sl, r3 + 800b87c: f105 0501 add.w r5, r5, #1 + 800b880: bf28 it cs + 800b882: 469a movcs sl, r3 + 800b884: b2ed uxtb r5, r5 + 800b886: 2e00 cmp r6, #0 + 800b888: d1e1 bne.n 800b84e + 800b88a: f1b9 0f64 cmp.w r9, #100 ; 0x64 + 800b88e: 4a16 ldr r2, [pc, #88] ; (800b8e8 ) + 800b890: f8ad 6034 strh.w r6, [sp, #52] ; 0x34 + 800b894: d019 beq.n 800b8ca + 800b896: f649 23b0 movw r3, #39600 ; 0x9ab0 + 800b89a: f5b9 7f7a cmp.w r9, #1000 ; 0x3e8 + 800b89e: bf18 it ne + 800b8a0: 4613 movne r3, r2 + 800b8a2: 4590 cmp r8, r2 + 800b8a4: bf84 itt hi + 800b8a6: 9a03 ldrhi r2, [sp, #12] + 800b8a8: 189b addhi r3, r3, r2 + 800b8aa: 930c str r3, [sp, #48] ; 0x30 + 800b8ac: 9b1c ldr r3, [sp, #112] ; 0x70 + 800b8ae: 9300 str r3, [sp, #0] + 800b8b0: af0c add r7, sp, #48 ; 0x30 + 800b8b2: e897 0006 ldmia.w r7, {r1, r2} + 800b8b6: 9b1b ldr r3, [sp, #108] ; 0x6c + 800b8b8: 4638 mov r0, r7 + 800b8ba: f003 fa0a bl 800ecd2 + 800b8be: e897 0003 ldmia.w r7, {r0, r1} + 800b8c2: f003 fa85 bl 800edd0 + 800b8c6: 4682 mov sl, r0 + 800b8c8: e7c1 b.n 800b84e + 800b8ca: f44f 6361 mov.w r3, #3600 ; 0xe10 + 800b8ce: e7e8 b.n 800b8a2 + 800b8d0: 00015180 .word 0x00015180 + 800b8d4: 001b7740 .word 0x001b7740 + 800b8d8: 0001517f .word 0x0001517f + 800b8dc: 0001ec2f .word 0x0001ec2f + 800b8e0: 0112a880 .word 0x0112a880 + 800b8e4: 02932e00 .word 0x02932e00 + 800b8e8: 0001ec30 .word 0x0001ec30 -0800b8d8 : - 800b8d8: 7803 ldrb r3, [r0, #0] - 800b8da: 2b03 cmp r3, #3 - 800b8dc: d114 bne.n 800b908 - 800b8de: 7843 ldrb r3, [r0, #1] - 800b8e0: f003 020f and.w r2, r3, #15 - 800b8e4: 091b lsrs r3, r3, #4 - 800b8e6: 708a strb r2, [r1, #2] - 800b8e8: 704b strb r3, [r1, #1] - 800b8ea: 7883 ldrb r3, [r0, #2] - 800b8ec: 808b strh r3, [r1, #4] - 800b8ee: 78c2 ldrb r2, [r0, #3] - 800b8f0: ea43 2302 orr.w r3, r3, r2, lsl #8 - 800b8f4: 808b strh r3, [r1, #4] - 800b8f6: 7903 ldrb r3, [r0, #4] - 800b8f8: f3c3 1202 ubfx r2, r3, #4, #3 - 800b8fc: f003 030f and.w r3, r3, #15 - 800b900: 70ca strb r2, [r1, #3] - 800b902: 700b strb r3, [r1, #0] - 800b904: 2005 movs r0, #5 - 800b906: 4770 bx lr - 800b908: 2000 movs r0, #0 - 800b90a: 4770 bx lr +0800b8ec : + 800b8ec: 7803 ldrb r3, [r0, #0] + 800b8ee: 2b03 cmp r3, #3 + 800b8f0: d114 bne.n 800b91c + 800b8f2: 7843 ldrb r3, [r0, #1] + 800b8f4: f003 020f and.w r2, r3, #15 + 800b8f8: 091b lsrs r3, r3, #4 + 800b8fa: 708a strb r2, [r1, #2] + 800b8fc: 704b strb r3, [r1, #1] + 800b8fe: 7883 ldrb r3, [r0, #2] + 800b900: 808b strh r3, [r1, #4] + 800b902: 78c2 ldrb r2, [r0, #3] + 800b904: ea43 2302 orr.w r3, r3, r2, lsl #8 + 800b908: 808b strh r3, [r1, #4] + 800b90a: 7903 ldrb r3, [r0, #4] + 800b90c: f3c3 1202 ubfx r2, r3, #4, #3 + 800b910: f003 030f and.w r3, r3, #15 + 800b914: 70ca strb r2, [r1, #3] + 800b916: 700b strb r3, [r1, #0] + 800b918: 2005 movs r0, #5 + 800b91a: 4770 bx lr + 800b91c: 2000 movs r0, #0 + 800b91e: 4770 bx lr -0800b90c : - 800b90c: e92d 47f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, r9, sl, lr} - 800b910: 4698 mov r8, r3 - 800b912: 7943 ldrb r3, [r0, #5] - 800b914: 7905 ldrb r5, [r0, #4] - 800b916: f990 6007 ldrsb.w r6, [r0, #7] - 800b91a: 4691 mov r9, r2 - 800b91c: 4604 mov r4, r0 - 800b91e: f990 2006 ldrsb.w r2, [r0, #6] - 800b922: 468a mov sl, r1 - 800b924: b183 cbz r3, 800b948 - 800b926: f990 7008 ldrsb.w r7, [r0, #8] - 800b92a: b375 cbz r5, 800b98a - 800b92c: 2a0f cmp r2, #15 - 800b92e: d112 bne.n 800b956 - 800b930: f994 2009 ldrsb.w r2, [r4, #9] - 800b934: 2e0f cmp r6, #15 - 800b936: d11e bne.n 800b976 - 800b938: f994 600a ldrsb.w r6, [r4, #10] - 800b93c: 2d07 cmp r5, #7 - 800b93e: d124 bne.n 800b98a - 800b940: 2f00 cmp r7, #0 - 800b942: bf08 it eq - 800b944: 2701 moveq r7, #1 - 800b946: e020 b.n 800b98a - 800b948: f990 700b ldrsb.w r7, [r0, #11] - 800b94c: f990 2009 ldrsb.w r2, [r0, #9] - 800b950: f990 600a ldrsb.w r6, [r0, #10] - 800b954: e7e9 b.n 800b92a - 800b956: 69a3 ldr r3, [r4, #24] - 800b958: 9301 str r3, [sp, #4] - 800b95a: f994 3015 ldrsb.w r3, [r4, #21] - 800b95e: 9300 str r3, [sp, #0] - 800b960: 6921 ldr r1, [r4, #16] - 800b962: f994 3014 ldrsb.w r3, [r4, #20] - 800b966: 7b20 ldrb r0, [r4, #12] - 800b968: f7ff fe28 bl 800b5bc - 800b96c: 2800 cmp r0, #0 - 800b96e: d1e1 bne.n 800b934 - 800b970: f005 05fd and.w r5, r5, #253 ; 0xfd - 800b974: e7de b.n 800b934 - 800b976: f994 301d ldrsb.w r3, [r4, #29] - 800b97a: 42b3 cmp r3, r6 - 800b97c: dc0f bgt.n 800b99e - 800b97e: f994 301c ldrsb.w r3, [r4, #28] - 800b982: 42b3 cmp r3, r6 - 800b984: dada bge.n 800b93c - 800b986: f005 05fb and.w r5, r5, #251 ; 0xfb - 800b98a: 4628 mov r0, r5 - 800b98c: f88a 2000 strb.w r2, [sl] - 800b990: f889 6000 strb.w r6, [r9] - 800b994: f888 7000 strb.w r7, [r8] - 800b998: b002 add sp, #8 - 800b99a: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 800b99e: 461e mov r6, r3 - 800b9a0: e7cc b.n 800b93c +0800b920 : + 800b920: e92d 47f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, r9, sl, lr} + 800b924: 4698 mov r8, r3 + 800b926: 7943 ldrb r3, [r0, #5] + 800b928: 7905 ldrb r5, [r0, #4] + 800b92a: f990 6007 ldrsb.w r6, [r0, #7] + 800b92e: 4691 mov r9, r2 + 800b930: 4604 mov r4, r0 + 800b932: f990 2006 ldrsb.w r2, [r0, #6] + 800b936: 468a mov sl, r1 + 800b938: b183 cbz r3, 800b95c + 800b93a: f990 7008 ldrsb.w r7, [r0, #8] + 800b93e: b375 cbz r5, 800b99e + 800b940: 2a0f cmp r2, #15 + 800b942: d112 bne.n 800b96a + 800b944: f994 2009 ldrsb.w r2, [r4, #9] + 800b948: 2e0f cmp r6, #15 + 800b94a: d11e bne.n 800b98a + 800b94c: f994 600a ldrsb.w r6, [r4, #10] + 800b950: 2d07 cmp r5, #7 + 800b952: d124 bne.n 800b99e + 800b954: 2f00 cmp r7, #0 + 800b956: bf08 it eq + 800b958: 2701 moveq r7, #1 + 800b95a: e020 b.n 800b99e + 800b95c: f990 700b ldrsb.w r7, [r0, #11] + 800b960: f990 2009 ldrsb.w r2, [r0, #9] + 800b964: f990 600a ldrsb.w r6, [r0, #10] + 800b968: e7e9 b.n 800b93e + 800b96a: 69a3 ldr r3, [r4, #24] + 800b96c: 9301 str r3, [sp, #4] + 800b96e: f994 3015 ldrsb.w r3, [r4, #21] + 800b972: 9300 str r3, [sp, #0] + 800b974: 6921 ldr r1, [r4, #16] + 800b976: f994 3014 ldrsb.w r3, [r4, #20] + 800b97a: 7b20 ldrb r0, [r4, #12] + 800b97c: f7ff fe28 bl 800b5d0 + 800b980: 2800 cmp r0, #0 + 800b982: d1e1 bne.n 800b948 + 800b984: f005 05fd and.w r5, r5, #253 ; 0xfd + 800b988: e7de b.n 800b948 + 800b98a: f994 301d ldrsb.w r3, [r4, #29] + 800b98e: 42b3 cmp r3, r6 + 800b990: dc0f bgt.n 800b9b2 + 800b992: f994 301c ldrsb.w r3, [r4, #28] + 800b996: 42b3 cmp r3, r6 + 800b998: dada bge.n 800b950 + 800b99a: f005 05fb and.w r5, r5, #251 ; 0xfb + 800b99e: 4628 mov r0, r5 + 800b9a0: f88a 2000 strb.w r2, [sl] + 800b9a4: f889 6000 strb.w r6, [r9] + 800b9a8: f888 7000 strb.w r7, [r8] + 800b9ac: b002 add sp, #8 + 800b9ae: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800b9b2: 461e mov r6, r3 + 800b9b4: e7cc b.n 800b950 ... -0800b9a4 : - 800b9a4: 4b02 ldr r3, [pc, #8] ; (800b9b0 ) - 800b9a6: fa03 f000 lsl.w r0, r3, r0 - 800b9aa: fbb0 f0f1 udiv r0, r0, r1 - 800b9ae: 4770 bx lr - 800b9b0: 000f4240 .word 0x000f4240 +0800b9b8 : + 800b9b8: 4b02 ldr r3, [pc, #8] ; (800b9c4 ) + 800b9ba: fa03 f000 lsl.w r0, r3, r0 + 800b9be: fbb0 f0f1 udiv r0, r0, r1 + 800b9c2: 4770 bx lr + 800b9c4: 000f4240 .word 0x000f4240 -0800b9b4 : - 800b9b4: f44f 53fa mov.w r3, #8000 ; 0x1f40 - 800b9b8: fbb3 f0f0 udiv r0, r3, r0 - 800b9bc: 4770 bx lr +0800b9c8 : + 800b9c8: f44f 53fa mov.w r3, #8000 ; 0x1f40 + 800b9cc: fbb3 f0f0 udiv r0, r3, r0 + 800b9d0: 4770 bx lr -0800b9be : - 800b9be: b530 push {r4, r5, lr} - 800b9c0: f44f 757a mov.w r5, #1000 ; 0x3e8 - 800b9c4: 1f0c subs r4, r1, #4 - 800b9c6: 436a muls r2, r5 - 800b9c8: fb00 2204 mla r2, r0, r4, r2 - 800b9cc: 0052 lsls r2, r2, #1 - 800b9ce: bf1e ittt ne - 800b9d0: f100 34ff addne.w r4, r0, #4294967295 - 800b9d4: 1912 addne r2, r2, r4 - 800b9d6: fbb2 f2f0 udivne r2, r2, r0 - 800b9da: 4291 cmp r1, r2 - 800b9dc: bf38 it cc - 800b9de: 4611 movcc r1, r2 - 800b9e0: 9a03 ldr r2, [sp, #12] - 800b9e2: 6011 str r1, [r2, #0] - 800b9e4: 0082 lsls r2, r0, #2 - 800b9e6: 4348 muls r0, r1 - 800b9e8: bf1c itt ne - 800b9ea: 3001 addne r0, #1 - 800b9ec: 0840 lsrne r0, r0, #1 - 800b9ee: f44f 717a mov.w r1, #1000 ; 0x3e8 - 800b9f2: 1a12 subs r2, r2, r0 - 800b9f4: fb01 2313 mls r3, r1, r3, r2 - 800b9f8: 2b00 cmp r3, #0 - 800b9fa: bfca itet gt - 800b9fc: f203 33e7 addwgt r3, r3, #999 ; 0x3e7 - 800ba00: fb93 f1f1 sdivle r1, r3, r1 - 800ba04: fbb3 f1f1 udivgt r1, r3, r1 - 800ba08: 9b04 ldr r3, [sp, #16] - 800ba0a: 6019 str r1, [r3, #0] - 800ba0c: bd30 pop {r4, r5, pc} +0800b9d2 : + 800b9d2: b530 push {r4, r5, lr} + 800b9d4: f44f 757a mov.w r5, #1000 ; 0x3e8 + 800b9d8: 1f0c subs r4, r1, #4 + 800b9da: 436a muls r2, r5 + 800b9dc: fb00 2204 mla r2, r0, r4, r2 + 800b9e0: 0052 lsls r2, r2, #1 + 800b9e2: bf1e ittt ne + 800b9e4: f100 34ff addne.w r4, r0, #4294967295 + 800b9e8: 1912 addne r2, r2, r4 + 800b9ea: fbb2 f2f0 udivne r2, r2, r0 + 800b9ee: 4291 cmp r1, r2 + 800b9f0: bf38 it cc + 800b9f2: 4611 movcc r1, r2 + 800b9f4: 9a03 ldr r2, [sp, #12] + 800b9f6: 6011 str r1, [r2, #0] + 800b9f8: 0082 lsls r2, r0, #2 + 800b9fa: 4348 muls r0, r1 + 800b9fc: bf1c itt ne + 800b9fe: 3001 addne r0, #1 + 800ba00: 0840 lsrne r0, r0, #1 + 800ba02: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800ba06: 1a12 subs r2, r2, r0 + 800ba08: fb01 2313 mls r3, r1, r3, r2 + 800ba0c: 2b00 cmp r3, #0 + 800ba0e: bfca itet gt + 800ba10: f203 33e7 addwgt r3, r3, #999 ; 0x3e7 + 800ba14: fb93 f1f1 sdivle r1, r3, r1 + 800ba18: fbb3 f1f1 udivgt r1, r3, r1 + 800ba1c: 9b04 ldr r3, [sp, #16] + 800ba1e: 6019 str r1, [r3, #0] + 800ba20: bd30 pop {r4, r5, pc} -0800ba0e : - 800ba0e: b538 push {r3, r4, r5, lr} - 800ba10: 0040 lsls r0, r0, #1 - 800ba12: 4614 mov r4, r2 - 800ba14: 460d mov r5, r1 - 800ba16: f7f4 fed9 bl 80007cc <__aeabi_ui2f> - 800ba1a: 4601 mov r1, r0 - 800ba1c: 4628 mov r0, r5 - 800ba1e: f7f4 fe23 bl 8000668 <__aeabi_fsub> - 800ba22: 4621 mov r1, r4 - 800ba24: f7f4 fe20 bl 8000668 <__aeabi_fsub> - 800ba28: f7f4 fd12 bl 8000450 <__aeabi_f2d> - 800ba2c: f003 fca8 bl 800f380 - 800ba30: f7f4 fdee bl 8000610 <__aeabi_d2iz> - 800ba34: b240 sxtb r0, r0 - 800ba36: bd38 pop {r3, r4, r5, pc} +0800ba22 : + 800ba22: b538 push {r3, r4, r5, lr} + 800ba24: 0040 lsls r0, r0, #1 + 800ba26: 4614 mov r4, r2 + 800ba28: 460d mov r5, r1 + 800ba2a: f7f4 fecf bl 80007cc <__aeabi_ui2f> + 800ba2e: 4601 mov r1, r0 + 800ba30: 4628 mov r0, r5 + 800ba32: f7f4 fe19 bl 8000668 <__aeabi_fsub> + 800ba36: 4621 mov r1, r4 + 800ba38: f7f4 fe16 bl 8000668 <__aeabi_fsub> + 800ba3c: f7f4 fd08 bl 8000450 <__aeabi_f2d> + 800ba40: f003 fcaa bl 800f398 + 800ba44: f7f4 fde4 bl 8000610 <__aeabi_d2iz> + 800ba48: b240 sxtb r0, r0 + 800ba4a: bd38 pop {r3, r4, r5, pc} -0800ba38 : - 800ba38: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800ba3c: 9301 str r3, [sp, #4] - 800ba3e: 2300 movs r3, #0 - 800ba40: 461f mov r7, r3 - 800ba42: 469c mov ip, r3 - 800ba44: 011c lsls r4, r3, #4 - 800ba46: 8a05 ldrh r5, [r0, #16] - 800ba48: fa5f fe84 uxtb.w lr, r4 - 800ba4c: f004 04f0 and.w r4, r4, #240 ; 0xf0 - 800ba50: 42a5 cmp r5, r4 - 800ba52: d806 bhi.n 800ba62 - 800ba54: 9b01 ldr r3, [sp, #4] - 800ba56: f882 c000 strb.w ip, [r2] - 800ba5a: 701f strb r7, [r3, #0] - 800ba5c: b003 add sp, #12 - 800ba5e: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800ba62: eb0e 054e add.w r5, lr, lr, lsl #1 - 800ba66: ea4f 0943 mov.w r9, r3, lsl #1 - 800ba6a: 00ad lsls r5, r5, #2 - 800ba6c: 2400 movs r4, #0 - 800ba6e: 6846 ldr r6, [r0, #4] - 800ba70: f836 6009 ldrh.w r6, [r6, r9] - 800ba74: 4126 asrs r6, r4 - 800ba76: 07f6 lsls r6, r6, #31 - 800ba78: d527 bpl.n 800baca - 800ba7a: 6886 ldr r6, [r0, #8] - 800ba7c: eb06 0a05 add.w sl, r6, r5 - 800ba80: 5976 ldr r6, [r6, r5] - 800ba82: b316 cbz r6, 800baca - 800ba84: 7806 ldrb r6, [r0, #0] - 800ba86: b936 cbnz r6, 800ba96 - 800ba88: 6946 ldr r6, [r0, #20] - 800ba8a: b126 cbz r6, 800ba96 - 800ba8c: f836 6009 ldrh.w r6, [r6, r9] - 800ba90: 4126 asrs r6, r4 - 800ba92: 07f6 lsls r6, r6, #31 - 800ba94: d519 bpl.n 800baca - 800ba96: f89a 6008 ldrb.w r6, [sl, #8] - 800ba9a: f990 b001 ldrsb.w fp, [r0, #1] - 800ba9e: f346 0803 sbfx r8, r6, #0, #4 - 800baa2: fa4f f888 sxtb.w r8, r8 - 800baa6: 45d8 cmp r8, fp - 800baa8: dc0f bgt.n 800baca - 800baaa: f346 1603 sbfx r6, r6, #4, #4 - 800baae: b276 sxtb r6, r6 - 800bab0: 455e cmp r6, fp - 800bab2: db0a blt.n 800baca - 800bab4: f89a 6009 ldrb.w r6, [sl, #9] - 800bab8: eb06 0846 add.w r8, r6, r6, lsl #1 - 800babc: 68c6 ldr r6, [r0, #12] - 800babe: eb06 06c8 add.w r6, r6, r8, lsl #3 - 800bac2: 7d36 ldrb r6, [r6, #20] - 800bac4: b94e cbnz r6, 800bada - 800bac6: 3701 adds r7, #1 - 800bac8: b2ff uxtb r7, r7 - 800baca: 3401 adds r4, #1 - 800bacc: 2c10 cmp r4, #16 - 800bace: f105 050c add.w r5, r5, #12 - 800bad2: d1cc bne.n 800ba6e - 800bad4: 3301 adds r3, #1 - 800bad6: b2db uxtb r3, r3 - 800bad8: e7b4 b.n 800ba44 - 800bada: f10c 0601 add.w r6, ip, #1 - 800bade: eb0e 0804 add.w r8, lr, r4 - 800bae2: f801 800c strb.w r8, [r1, ip] - 800bae6: fa5f fc86 uxtb.w ip, r6 - 800baea: e7ee b.n 800baca +0800ba4c : + 800ba4c: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800ba50: 9301 str r3, [sp, #4] + 800ba52: 2300 movs r3, #0 + 800ba54: 461f mov r7, r3 + 800ba56: 469c mov ip, r3 + 800ba58: 011c lsls r4, r3, #4 + 800ba5a: 8a05 ldrh r5, [r0, #16] + 800ba5c: fa5f fe84 uxtb.w lr, r4 + 800ba60: f004 04f0 and.w r4, r4, #240 ; 0xf0 + 800ba64: 42a5 cmp r5, r4 + 800ba66: d806 bhi.n 800ba76 + 800ba68: 9b01 ldr r3, [sp, #4] + 800ba6a: f882 c000 strb.w ip, [r2] + 800ba6e: 701f strb r7, [r3, #0] + 800ba70: b003 add sp, #12 + 800ba72: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800ba76: eb0e 054e add.w r5, lr, lr, lsl #1 + 800ba7a: ea4f 0943 mov.w r9, r3, lsl #1 + 800ba7e: 00ad lsls r5, r5, #2 + 800ba80: 2400 movs r4, #0 + 800ba82: 6846 ldr r6, [r0, #4] + 800ba84: f836 6009 ldrh.w r6, [r6, r9] + 800ba88: 4126 asrs r6, r4 + 800ba8a: 07f6 lsls r6, r6, #31 + 800ba8c: d527 bpl.n 800bade + 800ba8e: 6886 ldr r6, [r0, #8] + 800ba90: eb06 0a05 add.w sl, r6, r5 + 800ba94: 5976 ldr r6, [r6, r5] + 800ba96: b316 cbz r6, 800bade + 800ba98: 7806 ldrb r6, [r0, #0] + 800ba9a: b936 cbnz r6, 800baaa + 800ba9c: 6946 ldr r6, [r0, #20] + 800ba9e: b126 cbz r6, 800baaa + 800baa0: f836 6009 ldrh.w r6, [r6, r9] + 800baa4: 4126 asrs r6, r4 + 800baa6: 07f6 lsls r6, r6, #31 + 800baa8: d519 bpl.n 800bade + 800baaa: f89a 6008 ldrb.w r6, [sl, #8] + 800baae: f990 b001 ldrsb.w fp, [r0, #1] + 800bab2: f346 0803 sbfx r8, r6, #0, #4 + 800bab6: fa4f f888 sxtb.w r8, r8 + 800baba: 45d8 cmp r8, fp + 800babc: dc0f bgt.n 800bade + 800babe: f346 1603 sbfx r6, r6, #4, #4 + 800bac2: b276 sxtb r6, r6 + 800bac4: 455e cmp r6, fp + 800bac6: db0a blt.n 800bade + 800bac8: f89a 6009 ldrb.w r6, [sl, #9] + 800bacc: eb06 0846 add.w r8, r6, r6, lsl #1 + 800bad0: 68c6 ldr r6, [r0, #12] + 800bad2: eb06 06c8 add.w r6, r6, r8, lsl #3 + 800bad6: 7d36 ldrb r6, [r6, #20] + 800bad8: b94e cbnz r6, 800baee + 800bada: 3701 adds r7, #1 + 800badc: b2ff uxtb r7, r7 + 800bade: 3401 adds r4, #1 + 800bae0: 2c10 cmp r4, #16 + 800bae2: f105 050c add.w r5, r5, #12 + 800bae6: d1cc bne.n 800ba82 + 800bae8: 3301 adds r3, #1 + 800baea: b2db uxtb r3, r3 + 800baec: e7b4 b.n 800ba58 + 800baee: f10c 0601 add.w r6, ip, #1 + 800baf2: eb0e 0804 add.w r8, lr, r4 + 800baf6: f801 800c strb.w r8, [r1, ip] + 800bafa: fa5f fc86 uxtb.w ip, r6 + 800bafe: e7ee b.n 800bade -0800baec : - 800baec: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} - 800baf0: 4604 mov r4, r0 - 800baf2: 6840 ldr r0, [r0, #4] - 800baf4: e9dd 670c ldrd r6, r7, [sp, #48] ; 0x30 - 800baf8: 461d mov r5, r3 - 800bafa: 468a mov sl, r1 - 800bafc: 4691 mov r9, r2 - 800bafe: f003 f9d7 bl 800eeb0 - 800bb02: 6823 ldr r3, [r4, #0] - 800bb04: 1a1b subs r3, r3, r0 - 800bb06: 603b str r3, [r7, #0] - 800bb08: f04f 0800 mov.w r8, #0 - 800bb0c: 2301 movs r3, #1 - 800bb0e: 7033 strb r3, [r6, #0] - 800bb10: f885 8000 strb.w r8, [r5] - 800bb14: 6863 ldr r3, [r4, #4] - 800bb16: b113 cbz r3, 800bb1e - 800bb18: 6823 ldr r3, [r4, #0] - 800bb1a: 4283 cmp r3, r0 - 800bb1c: d824 bhi.n 800bb68 - 800bb1e: f8ca 8000 str.w r8, [sl] - 800bb22: f8d4 c01c ldr.w ip, [r4, #28] - 800bb26: 69a3 ldr r3, [r4, #24] - 800bb28: f89c e000 ldrb.w lr, [ip] - 800bb2c: 9303 str r3, [sp, #12] - 800bb2e: e9d4 0103 ldrd r0, r1, [r4, #12] - 800bb32: ab01 add r3, sp, #4 - 800bb34: e883 0003 stmia.w r3, {r0, r1} - 800bb38: 7d23 ldrb r3, [r4, #20] - 800bb3a: 9300 str r3, [sp, #0] - 800bb3c: f8dc 100c ldr.w r1, [ip, #12] - 800bb40: 7a23 ldrb r3, [r4, #8] - 800bb42: 7a62 ldrb r2, [r4, #9] - 800bb44: 4670 mov r0, lr - 800bb46: f7ff fdd9 bl 800b6fc - 800bb4a: 4633 mov r3, r6 - 800bb4c: 6038 str r0, [r7, #0] - 800bb4e: 462a mov r2, r5 - 800bb50: 69e0 ldr r0, [r4, #28] - 800bb52: 4649 mov r1, r9 - 800bb54: f7ff ff70 bl 800ba38 - 800bb58: 782b ldrb r3, [r5, #0] - 800bb5a: b12b cbz r3, 800bb68 - 800bb5c: f8c7 8000 str.w r8, [r7] - 800bb60: 2000 movs r0, #0 - 800bb62: b004 add sp, #16 - 800bb64: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 800bb68: 7833 ldrb r3, [r6, #0] - 800bb6a: 2b00 cmp r3, #0 - 800bb6c: bf14 ite ne - 800bb6e: 200b movne r0, #11 - 800bb70: 200c moveq r0, #12 - 800bb72: e7f6 b.n 800bb62 +0800bb00 : + 800bb00: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} + 800bb04: 4604 mov r4, r0 + 800bb06: 6840 ldr r0, [r0, #4] + 800bb08: e9dd 670c ldrd r6, r7, [sp, #48] ; 0x30 + 800bb0c: 461d mov r5, r3 + 800bb0e: 468a mov sl, r1 + 800bb10: 4691 mov r9, r2 + 800bb12: f003 f9d7 bl 800eec4 + 800bb16: 6823 ldr r3, [r4, #0] + 800bb18: 1a1b subs r3, r3, r0 + 800bb1a: 603b str r3, [r7, #0] + 800bb1c: f04f 0800 mov.w r8, #0 + 800bb20: 2301 movs r3, #1 + 800bb22: 7033 strb r3, [r6, #0] + 800bb24: f885 8000 strb.w r8, [r5] + 800bb28: 6863 ldr r3, [r4, #4] + 800bb2a: b113 cbz r3, 800bb32 + 800bb2c: 6823 ldr r3, [r4, #0] + 800bb2e: 4283 cmp r3, r0 + 800bb30: d824 bhi.n 800bb7c + 800bb32: f8ca 8000 str.w r8, [sl] + 800bb36: f8d4 c01c ldr.w ip, [r4, #28] + 800bb3a: 69a3 ldr r3, [r4, #24] + 800bb3c: f89c e000 ldrb.w lr, [ip] + 800bb40: 9303 str r3, [sp, #12] + 800bb42: e9d4 0103 ldrd r0, r1, [r4, #12] + 800bb46: ab01 add r3, sp, #4 + 800bb48: e883 0003 stmia.w r3, {r0, r1} + 800bb4c: 7d23 ldrb r3, [r4, #20] + 800bb4e: 9300 str r3, [sp, #0] + 800bb50: f8dc 100c ldr.w r1, [ip, #12] + 800bb54: 7a23 ldrb r3, [r4, #8] + 800bb56: 7a62 ldrb r2, [r4, #9] + 800bb58: 4670 mov r0, lr + 800bb5a: f7ff fdd9 bl 800b710 + 800bb5e: 4633 mov r3, r6 + 800bb60: 6038 str r0, [r7, #0] + 800bb62: 462a mov r2, r5 + 800bb64: 69e0 ldr r0, [r4, #28] + 800bb66: 4649 mov r1, r9 + 800bb68: f7ff ff70 bl 800ba4c + 800bb6c: 782b ldrb r3, [r5, #0] + 800bb6e: b12b cbz r3, 800bb7c + 800bb70: f8c7 8000 str.w r8, [r7] + 800bb74: 2000 movs r0, #0 + 800bb76: b004 add sp, #16 + 800bb78: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800bb7c: 7833 ldrb r3, [r6, #0] + 800bb7e: 2b00 cmp r3, #0 + 800bb80: bf14 ite ne + 800bb82: 200b movne r0, #11 + 800bb84: 200c moveq r0, #12 + 800bb86: e7f6 b.n 800bb76 -0800bb74 : - 800bb74: b537 push {r0, r1, r2, r4, r5, lr} - 800bb76: f990 2000 ldrsb.w r2, [r0] - 800bb7a: f990 5002 ldrsb.w r5, [r0, #2] - 800bb7e: 4295 cmp r5, r2 - 800bb80: 4604 mov r4, r0 - 800bb82: d00f beq.n 800bba4 - 800bb84: 3a01 subs r2, #1 - 800bb86: b252 sxtb r2, r2 - 800bb88: 4295 cmp r5, r2 - 800bb8a: d00b beq.n 800bba4 - 800bb8c: 68a3 ldr r3, [r4, #8] - 800bb8e: 9301 str r3, [sp, #4] - 800bb90: f994 3001 ldrsb.w r3, [r4, #1] - 800bb94: 9300 str r3, [sp, #0] - 800bb96: 6861 ldr r1, [r4, #4] - 800bb98: 78e0 ldrb r0, [r4, #3] - 800bb9a: 462b mov r3, r5 - 800bb9c: f7ff fd0e bl 800b5bc - 800bba0: 2800 cmp r0, #0 - 800bba2: d0ef beq.n 800bb84 - 800bba4: 4610 mov r0, r2 - 800bba6: b003 add sp, #12 - 800bba8: bd30 pop {r4, r5, pc} +0800bb88 : + 800bb88: b537 push {r0, r1, r2, r4, r5, lr} + 800bb8a: f990 2000 ldrsb.w r2, [r0] + 800bb8e: f990 5002 ldrsb.w r5, [r0, #2] + 800bb92: 4295 cmp r5, r2 + 800bb94: 4604 mov r4, r0 + 800bb96: d00f beq.n 800bbb8 + 800bb98: 3a01 subs r2, #1 + 800bb9a: b252 sxtb r2, r2 + 800bb9c: 4295 cmp r5, r2 + 800bb9e: d00b beq.n 800bbb8 + 800bba0: 68a3 ldr r3, [r4, #8] + 800bba2: 9301 str r3, [sp, #4] + 800bba4: f994 3001 ldrsb.w r3, [r4, #1] + 800bba8: 9300 str r3, [sp, #0] + 800bbaa: 6861 ldr r1, [r4, #4] + 800bbac: 78e0 ldrb r0, [r4, #3] + 800bbae: 462b mov r3, r5 + 800bbb0: f7ff fd0e bl 800b5d0 + 800bbb4: 2800 cmp r0, #0 + 800bbb6: d0ef beq.n 800bb98 + 800bbb8: 4610 mov r0, r2 + 800bbba: b003 add sp, #12 + 800bbbc: bd30 pop {r4, r5, pc} -0800bbaa : - 800bbaa: 4288 cmp r0, r1 - 800bbac: bfb8 it lt - 800bbae: 4608 movlt r0, r1 - 800bbb0: 4770 bx lr +0800bbbe : + 800bbbe: 4288 cmp r0, r1 + 800bbc0: bfb8 it lt + 800bbc2: 4608 movlt r0, r1 + 800bbc4: 4770 bx lr ... -0800bbb4 : - 800bbb4: f851 0020 ldr.w r0, [r1, r0, lsl #2] - 800bbb8: 4b05 ldr r3, [pc, #20] ; (800bbd0 ) - 800bbba: 4298 cmp r0, r3 - 800bbbc: d005 beq.n 800bbca - 800bbbe: 4b05 ldr r3, [pc, #20] ; (800bbd4 ) - 800bbc0: 1ac3 subs r3, r0, r3 - 800bbc2: 4258 negs r0, r3 - 800bbc4: 4158 adcs r0, r3 - 800bbc6: 0040 lsls r0, r0, #1 - 800bbc8: 4770 bx lr - 800bbca: 2001 movs r0, #1 - 800bbcc: 4770 bx lr - 800bbce: bf00 nop - 800bbd0: 0003d090 .word 0x0003d090 - 800bbd4: 0007a120 .word 0x0007a120 +0800bbc8 : + 800bbc8: f851 0020 ldr.w r0, [r1, r0, lsl #2] + 800bbcc: 4b05 ldr r3, [pc, #20] ; (800bbe4 ) + 800bbce: 4298 cmp r0, r3 + 800bbd0: d005 beq.n 800bbde + 800bbd2: 4b05 ldr r3, [pc, #20] ; (800bbe8 ) + 800bbd4: 1ac3 subs r3, r0, r3 + 800bbd6: 4258 negs r0, r3 + 800bbd8: 4158 adcs r0, r3 + 800bbda: 0040 lsls r0, r0, #1 + 800bbdc: 4770 bx lr + 800bbde: 2001 movs r0, #1 + 800bbe0: 4770 bx lr + 800bbe2: bf00 nop + 800bbe4: 0003d090 .word 0x0003d090 + 800bbe8: 0007a120 .word 0x0007a120 -0800bbd8 : - 800bbd8: 2805 cmp r0, #5 - 800bbda: b51f push {r0, r1, r2, r3, r4, lr} - 800bbdc: d80e bhi.n 800bbfc - 800bbde: 4b0c ldr r3, [pc, #48] ; (800bc10 ) - 800bbe0: f853 3020 ldr.w r3, [r3, r0, lsl #2] - 800bbe4: 9300 str r3, [sp, #0] - 800bbe6: e9cd 1201 strd r1, r2, [sp, #4] - 800bbea: 4b0a ldr r3, [pc, #40] ; (800bc14 ) - 800bbec: 2201 movs r2, #1 - 800bbee: 2100 movs r1, #0 - 800bbf0: 2002 movs r0, #2 - 800bbf2: f002 fe69 bl 800e8c8 - 800bbf6: b005 add sp, #20 - 800bbf8: f85d fb04 ldr.w pc, [sp], #4 - 800bbfc: e9cd 1200 strd r1, r2, [sp] - 800bc00: 4b05 ldr r3, [pc, #20] ; (800bc18 ) - 800bc02: 2201 movs r2, #1 - 800bc04: 2100 movs r1, #0 - 800bc06: 2002 movs r0, #2 - 800bc08: f002 fe5e bl 800e8c8 - 800bc0c: e7f3 b.n 800bbf6 - 800bc0e: bf00 nop - 800bc10: 0800fc2c .word 0x0800fc2c - 800bc14: 0800fbc3 .word 0x0800fbc3 - 800bc18: 0800fbe2 .word 0x0800fbe2 +0800bbec : + 800bbec: 2805 cmp r0, #5 + 800bbee: b51f push {r0, r1, r2, r3, r4, lr} + 800bbf0: d80e bhi.n 800bc10 + 800bbf2: 4b0c ldr r3, [pc, #48] ; (800bc24 ) + 800bbf4: f853 3020 ldr.w r3, [r3, r0, lsl #2] + 800bbf8: 9300 str r3, [sp, #0] + 800bbfa: e9cd 1201 strd r1, r2, [sp, #4] + 800bbfe: 4b0a ldr r3, [pc, #40] ; (800bc28 ) + 800bc00: 2201 movs r2, #1 + 800bc02: 2100 movs r1, #0 + 800bc04: 2002 movs r0, #2 + 800bc06: f002 fe69 bl 800e8dc + 800bc0a: b005 add sp, #20 + 800bc0c: f85d fb04 ldr.w pc, [sp], #4 + 800bc10: e9cd 1200 strd r1, r2, [sp] + 800bc14: 4b05 ldr r3, [pc, #20] ; (800bc2c ) + 800bc16: 2201 movs r2, #1 + 800bc18: 2100 movs r1, #0 + 800bc1a: 2002 movs r0, #2 + 800bc1c: f002 fe5e bl 800e8dc + 800bc20: e7f3 b.n 800bc0a + 800bc22: bf00 nop + 800bc24: 0800fc44 .word 0x0800fc44 + 800bc28: 0800fbdb .word 0x0800fbdb + 800bc2c: 0800fbfa .word 0x0800fbfa -0800bc1c : - 800bc1c: b507 push {r0, r1, r2, lr} - 800bc1e: 4b05 ldr r3, [pc, #20] ; (800bc34 ) - 800bc20: e9cd 0100 strd r0, r1, [sp] - 800bc24: 2201 movs r2, #1 - 800bc26: 2100 movs r1, #0 - 800bc28: 2002 movs r0, #2 - 800bc2a: f002 fe4d bl 800e8c8 - 800bc2e: b003 add sp, #12 - 800bc30: f85d fb04 ldr.w pc, [sp], #4 - 800bc34: 0800fbfe .word 0x0800fbfe +0800bc30 : + 800bc30: b507 push {r0, r1, r2, lr} + 800bc32: 4b05 ldr r3, [pc, #20] ; (800bc48 ) + 800bc34: e9cd 0100 strd r0, r1, [sp] + 800bc38: 2201 movs r2, #1 + 800bc3a: 2100 movs r1, #0 + 800bc3c: 2002 movs r0, #2 + 800bc3e: f002 fe4d bl 800e8dc + 800bc42: b003 add sp, #12 + 800bc44: f85d fb04 ldr.w pc, [sp], #4 + 800bc48: 0800fc16 .word 0x0800fc16 -0800bc38 : - 800bc38: b510 push {r4, lr} - 800bc3a: 2210 movs r2, #16 - 800bc3c: 4604 mov r4, r0 - 800bc3e: 2100 movs r1, #0 - 800bc40: 30f1 adds r0, #241 ; 0xf1 - 800bc42: f000 fe5f bl 800c904 - 800bc46: 2100 movs r1, #0 - 800bc48: f8c4 1114 str.w r1, [r4, #276] ; 0x114 - 800bc4c: 4620 mov r0, r4 - 800bc4e: 22f0 movs r2, #240 ; 0xf0 - 800bc50: e8bd 4010 ldmia.w sp!, {r4, lr} - 800bc54: f000 be56 b.w 800c904 +0800bc4c : + 800bc4c: b510 push {r4, lr} + 800bc4e: 2210 movs r2, #16 + 800bc50: 4604 mov r4, r0 + 800bc52: 2100 movs r1, #0 + 800bc54: 30f1 adds r0, #241 ; 0xf1 + 800bc56: f000 fe5f bl 800c918 + 800bc5a: 2100 movs r1, #0 + 800bc5c: f8c4 1114 str.w r1, [r4, #276] ; 0x114 + 800bc60: 4620 mov r0, r4 + 800bc62: 22f0 movs r2, #240 ; 0xf0 + 800bc64: e8bd 4010 ldmia.w sp!, {r4, lr} + 800bc68: f000 be56 b.w 800c918 -0800bc58 : - 800bc58: 4602 mov r2, r0 - 800bc5a: 4608 mov r0, r1 - 800bc5c: 2110 movs r1, #16 - 800bc5e: f000 b9a5 b.w 800bfac +0800bc6c : + 800bc6c: 4602 mov r2, r0 + 800bc6e: 4608 mov r0, r1 + 800bc70: 2110 movs r1, #16 + 800bc72: f000 b9a5 b.w 800bfc0 -0800bc62 : - 800bc62: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 800bc66: 4604 mov r4, r0 - 800bc68: f8d0 0114 ldr.w r0, [r0, #276] ; 0x114 - 800bc6c: b085 sub sp, #20 - 800bc6e: 460e mov r6, r1 - 800bc70: 4615 mov r5, r2 - 800bc72: f204 1901 addw r9, r4, #257 ; 0x101 - 800bc76: b388 cbz r0, 800bcdc - 800bc78: f1c0 0810 rsb r8, r0, #16 - 800bc7c: 4590 cmp r8, r2 - 800bc7e: 4647 mov r7, r8 - 800bc80: bf28 it cs - 800bc82: 4617 movcs r7, r2 - 800bc84: b2ba uxth r2, r7 - 800bc86: 4448 add r0, r9 - 800bc88: f000 fe28 bl 800c8dc - 800bc8c: f8d4 3114 ldr.w r3, [r4, #276] ; 0x114 - 800bc90: 443b add r3, r7 - 800bc92: 2b0f cmp r3, #15 - 800bc94: f8c4 3114 str.w r3, [r4, #276] ; 0x114 - 800bc98: d92d bls.n 800bcf6 - 800bc9a: 45a8 cmp r8, r5 - 800bc9c: d22b bcs.n 800bcf6 - 800bc9e: f104 03f0 add.w r3, r4, #240 ; 0xf0 - 800bca2: f504 7180 add.w r1, r4, #256 ; 0x100 - 800bca6: f813 2f01 ldrb.w r2, [r3, #1]! - 800bcaa: 7c18 ldrb r0, [r3, #16] - 800bcac: 428b cmp r3, r1 - 800bcae: ea82 0200 eor.w r2, r2, r0 - 800bcb2: 701a strb r2, [r3, #0] - 800bcb4: d1f7 bne.n 800bca6 - 800bcb6: f104 08f1 add.w r8, r4, #241 ; 0xf1 - 800bcba: 2210 movs r2, #16 - 800bcbc: 4641 mov r1, r8 - 800bcbe: 4668 mov r0, sp - 800bcc0: f000 fe0c bl 800c8dc - 800bcc4: 4622 mov r2, r4 - 800bcc6: 4669 mov r1, sp - 800bcc8: 4668 mov r0, sp - 800bcca: f000 f9e9 bl 800c0a0 +0800bc76 : + 800bc76: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 800bc7a: 4604 mov r4, r0 + 800bc7c: f8d0 0114 ldr.w r0, [r0, #276] ; 0x114 + 800bc80: b085 sub sp, #20 + 800bc82: 460e mov r6, r1 + 800bc84: 4615 mov r5, r2 + 800bc86: f204 1901 addw r9, r4, #257 ; 0x101 + 800bc8a: b388 cbz r0, 800bcf0 + 800bc8c: f1c0 0810 rsb r8, r0, #16 + 800bc90: 4590 cmp r8, r2 + 800bc92: 4647 mov r7, r8 + 800bc94: bf28 it cs + 800bc96: 4617 movcs r7, r2 + 800bc98: b2ba uxth r2, r7 + 800bc9a: 4448 add r0, r9 + 800bc9c: f000 fe28 bl 800c8f0 + 800bca0: f8d4 3114 ldr.w r3, [r4, #276] ; 0x114 + 800bca4: 443b add r3, r7 + 800bca6: 2b0f cmp r3, #15 + 800bca8: f8c4 3114 str.w r3, [r4, #276] ; 0x114 + 800bcac: d92d bls.n 800bd0a + 800bcae: 45a8 cmp r8, r5 + 800bcb0: d22b bcs.n 800bd0a + 800bcb2: f104 03f0 add.w r3, r4, #240 ; 0xf0 + 800bcb6: f504 7180 add.w r1, r4, #256 ; 0x100 + 800bcba: f813 2f01 ldrb.w r2, [r3, #1]! + 800bcbe: 7c18 ldrb r0, [r3, #16] + 800bcc0: 428b cmp r3, r1 + 800bcc2: ea82 0200 eor.w r2, r2, r0 + 800bcc6: 701a strb r2, [r3, #0] + 800bcc8: d1f7 bne.n 800bcba + 800bcca: f104 08f1 add.w r8, r4, #241 ; 0xf1 800bcce: 2210 movs r2, #16 - 800bcd0: 4669 mov r1, sp - 800bcd2: 4640 mov r0, r8 - 800bcd4: f000 fe02 bl 800c8dc - 800bcd8: 443e add r6, r7 - 800bcda: 1bed subs r5, r5, r7 - 800bcdc: f504 7880 add.w r8, r4, #256 ; 0x100 - 800bce0: f104 07f1 add.w r7, r4, #241 ; 0xf1 - 800bce4: 2d10 cmp r5, #16 - 800bce6: d809 bhi.n 800bcfc - 800bce8: b2aa uxth r2, r5 - 800bcea: 4631 mov r1, r6 - 800bcec: 4648 mov r0, r9 - 800bcee: f000 fdf5 bl 800c8dc - 800bcf2: f8c4 5114 str.w r5, [r4, #276] ; 0x114 - 800bcf6: b005 add sp, #20 - 800bcf8: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 800bcfc: f104 03f0 add.w r3, r4, #240 ; 0xf0 - 800bd00: 1e71 subs r1, r6, #1 - 800bd02: f813 2f01 ldrb.w r2, [r3, #1]! - 800bd06: f811 0f01 ldrb.w r0, [r1, #1]! - 800bd0a: 4543 cmp r3, r8 - 800bd0c: ea82 0200 eor.w r2, r2, r0 - 800bd10: 701a strb r2, [r3, #0] - 800bd12: d1f6 bne.n 800bd02 - 800bd14: 2210 movs r2, #16 - 800bd16: 4639 mov r1, r7 - 800bd18: 4668 mov r0, sp - 800bd1a: f000 fddf bl 800c8dc - 800bd1e: 4622 mov r2, r4 - 800bd20: 4669 mov r1, sp - 800bd22: 4668 mov r0, sp - 800bd24: f000 f9bc bl 800c0a0 + 800bcd0: 4641 mov r1, r8 + 800bcd2: 4668 mov r0, sp + 800bcd4: f000 fe0c bl 800c8f0 + 800bcd8: 4622 mov r2, r4 + 800bcda: 4669 mov r1, sp + 800bcdc: 4668 mov r0, sp + 800bcde: f000 f9e9 bl 800c0b4 + 800bce2: 2210 movs r2, #16 + 800bce4: 4669 mov r1, sp + 800bce6: 4640 mov r0, r8 + 800bce8: f000 fe02 bl 800c8f0 + 800bcec: 443e add r6, r7 + 800bcee: 1bed subs r5, r5, r7 + 800bcf0: f504 7880 add.w r8, r4, #256 ; 0x100 + 800bcf4: f104 07f1 add.w r7, r4, #241 ; 0xf1 + 800bcf8: 2d10 cmp r5, #16 + 800bcfa: d809 bhi.n 800bd10 + 800bcfc: b2aa uxth r2, r5 + 800bcfe: 4631 mov r1, r6 + 800bd00: 4648 mov r0, r9 + 800bd02: f000 fdf5 bl 800c8f0 + 800bd06: f8c4 5114 str.w r5, [r4, #276] ; 0x114 + 800bd0a: b005 add sp, #20 + 800bd0c: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 800bd10: f104 03f0 add.w r3, r4, #240 ; 0xf0 + 800bd14: 1e71 subs r1, r6, #1 + 800bd16: f813 2f01 ldrb.w r2, [r3, #1]! + 800bd1a: f811 0f01 ldrb.w r0, [r1, #1]! + 800bd1e: 4543 cmp r3, r8 + 800bd20: ea82 0200 eor.w r2, r2, r0 + 800bd24: 701a strb r2, [r3, #0] + 800bd26: d1f6 bne.n 800bd16 800bd28: 2210 movs r2, #16 - 800bd2a: 4669 mov r1, sp - 800bd2c: 4638 mov r0, r7 - 800bd2e: f000 fdd5 bl 800c8dc - 800bd32: 3610 adds r6, #16 - 800bd34: 3d10 subs r5, #16 - 800bd36: e7d5 b.n 800bce4 + 800bd2a: 4639 mov r1, r7 + 800bd2c: 4668 mov r0, sp + 800bd2e: f000 fddf bl 800c8f0 + 800bd32: 4622 mov r2, r4 + 800bd34: 4669 mov r1, sp + 800bd36: 4668 mov r0, sp + 800bd38: f000 f9bc bl 800c0b4 + 800bd3c: 2210 movs r2, #16 + 800bd3e: 4669 mov r1, sp + 800bd40: 4638 mov r0, r7 + 800bd42: f000 fdd5 bl 800c8f0 + 800bd46: 3610 adds r6, #16 + 800bd48: 3d10 subs r5, #16 + 800bd4a: e7d5 b.n 800bcf8 -0800bd38 : - 800bd38: b5f0 push {r4, r5, r6, r7, lr} - 800bd3a: b089 sub sp, #36 ; 0x24 - 800bd3c: 460c mov r4, r1 - 800bd3e: 2210 movs r2, #16 - 800bd40: 2100 movs r1, #0 - 800bd42: 4605 mov r5, r0 - 800bd44: 4668 mov r0, sp - 800bd46: f000 fddd bl 800c904 - 800bd4a: 4622 mov r2, r4 - 800bd4c: 4669 mov r1, sp - 800bd4e: 4668 mov r0, sp - 800bd50: f000 f9a6 bl 800c0a0 - 800bd54: f99d 3000 ldrsb.w r3, [sp] - 800bd58: 2b00 cmp r3, #0 - 800bd5a: 466a mov r2, sp - 800bd5c: f04f 0100 mov.w r1, #0 - 800bd60: da43 bge.n 800bdea - 800bd62: 7813 ldrb r3, [r2, #0] - 800bd64: f812 0f01 ldrb.w r0, [r2, #1]! - 800bd68: 3101 adds r1, #1 - 800bd6a: 005b lsls r3, r3, #1 - 800bd6c: ea43 13d0 orr.w r3, r3, r0, lsr #7 - 800bd70: 290f cmp r1, #15 - 800bd72: f802 3c01 strb.w r3, [r2, #-1] - 800bd76: d1f4 bne.n 800bd62 - 800bd78: f89d 300f ldrb.w r3, [sp, #15] - 800bd7c: 005b lsls r3, r3, #1 - 800bd7e: f083 0387 eor.w r3, r3, #135 ; 0x87 - 800bd82: f8d4 0114 ldr.w r0, [r4, #276] ; 0x114 - 800bd86: b2db uxtb r3, r3 - 800bd88: 2810 cmp r0, #16 - 800bd8a: f88d 300f strb.w r3, [sp, #15] - 800bd8e: d13b bne.n 800be08 - 800bd90: f504 7380 add.w r3, r4, #256 ; 0x100 - 800bd94: 4669 mov r1, sp - 800bd96: f504 7088 add.w r0, r4, #272 ; 0x110 - 800bd9a: f813 6f01 ldrb.w r6, [r3, #1]! - 800bd9e: f811 2b01 ldrb.w r2, [r1], #1 - 800bda2: 4298 cmp r0, r3 - 800bda4: ea82 0206 eor.w r2, r2, r6 - 800bda8: 701a strb r2, [r3, #0] - 800bdaa: d1f6 bne.n 800bd9a - 800bdac: f104 03f0 add.w r3, r4, #240 ; 0xf0 - 800bdb0: f504 7180 add.w r1, r4, #256 ; 0x100 - 800bdb4: f813 2f01 ldrb.w r2, [r3, #1]! - 800bdb8: 7c18 ldrb r0, [r3, #16] - 800bdba: 428b cmp r3, r1 - 800bdbc: ea82 0200 eor.w r2, r2, r0 - 800bdc0: 701a strb r2, [r3, #0] - 800bdc2: d1f7 bne.n 800bdb4 - 800bdc4: 2210 movs r2, #16 - 800bdc6: eb0d 0002 add.w r0, sp, r2 - 800bdca: f104 01f1 add.w r1, r4, #241 ; 0xf1 - 800bdce: f000 fd85 bl 800c8dc - 800bdd2: 4622 mov r2, r4 - 800bdd4: 4629 mov r1, r5 - 800bdd6: a804 add r0, sp, #16 - 800bdd8: f000 f962 bl 800c0a0 - 800bddc: 2210 movs r2, #16 - 800bdde: 2100 movs r1, #0 - 800bde0: 4668 mov r0, sp - 800bde2: f000 fd8f bl 800c904 - 800bde6: b009 add sp, #36 ; 0x24 - 800bde8: bdf0 pop {r4, r5, r6, r7, pc} - 800bdea: 7813 ldrb r3, [r2, #0] - 800bdec: f812 0f01 ldrb.w r0, [r2, #1]! - 800bdf0: 3101 adds r1, #1 - 800bdf2: 005b lsls r3, r3, #1 - 800bdf4: ea43 13d0 orr.w r3, r3, r0, lsr #7 - 800bdf8: 290f cmp r1, #15 - 800bdfa: f802 3c01 strb.w r3, [r2, #-1] - 800bdfe: d1f4 bne.n 800bdea - 800be00: f89d 300f ldrb.w r3, [sp, #15] - 800be04: 005b lsls r3, r3, #1 - 800be06: e7bc b.n 800bd82 - 800be08: f99d 3000 ldrsb.w r3, [sp] - 800be0c: 2b00 cmp r3, #0 - 800be0e: 466a mov r2, sp - 800be10: f04f 0100 mov.w r1, #0 - 800be14: da37 bge.n 800be86 - 800be16: 7813 ldrb r3, [r2, #0] - 800be18: f812 6f01 ldrb.w r6, [r2, #1]! - 800be1c: 3101 adds r1, #1 - 800be1e: 005b lsls r3, r3, #1 - 800be20: ea43 13d6 orr.w r3, r3, r6, lsr #7 - 800be24: 290f cmp r1, #15 - 800be26: f802 3c01 strb.w r3, [r2, #-1] - 800be2a: d1f4 bne.n 800be16 - 800be2c: f89d 300f ldrb.w r3, [sp, #15] - 800be30: 005b lsls r3, r3, #1 - 800be32: f083 0387 eor.w r3, r3, #135 ; 0x87 - 800be36: 1c47 adds r7, r0, #1 - 800be38: b2db uxtb r3, r3 - 800be3a: f88d 300f strb.w r3, [sp, #15] - 800be3e: 2f10 cmp r7, #16 - 800be40: eb04 0300 add.w r3, r4, r0 - 800be44: f1c0 060f rsb r6, r0, #15 - 800be48: f04f 0280 mov.w r2, #128 ; 0x80 - 800be4c: bf88 it hi - 800be4e: 2600 movhi r6, #0 - 800be50: f500 7081 add.w r0, r0, #258 ; 0x102 - 800be54: f883 2101 strb.w r2, [r3, #257] ; 0x101 - 800be58: 2100 movs r1, #0 - 800be5a: 4632 mov r2, r6 - 800be5c: 4420 add r0, r4 - 800be5e: 443e add r6, r7 - 800be60: f003 fa62 bl 800f328 - 800be64: f8c4 6114 str.w r6, [r4, #276] ; 0x114 - 800be68: f504 7380 add.w r3, r4, #256 ; 0x100 - 800be6c: 4669 mov r1, sp - 800be6e: f504 7088 add.w r0, r4, #272 ; 0x110 - 800be72: f813 6f01 ldrb.w r6, [r3, #1]! - 800be76: f811 2b01 ldrb.w r2, [r1], #1 - 800be7a: 4298 cmp r0, r3 - 800be7c: ea82 0206 eor.w r2, r2, r6 - 800be80: 701a strb r2, [r3, #0] - 800be82: d1f6 bne.n 800be72 - 800be84: e792 b.n 800bdac - 800be86: 7813 ldrb r3, [r2, #0] - 800be88: f812 6f01 ldrb.w r6, [r2, #1]! - 800be8c: 3101 adds r1, #1 - 800be8e: 005b lsls r3, r3, #1 - 800be90: ea43 13d6 orr.w r3, r3, r6, lsr #7 - 800be94: 290f cmp r1, #15 - 800be96: f802 3c01 strb.w r3, [r2, #-1] - 800be9a: d1f4 bne.n 800be86 - 800be9c: f89d 300f ldrb.w r3, [sp, #15] - 800bea0: 005b lsls r3, r3, #1 - 800bea2: e7c8 b.n 800be36 +0800bd4c : + 800bd4c: b5f0 push {r4, r5, r6, r7, lr} + 800bd4e: b089 sub sp, #36 ; 0x24 + 800bd50: 460c mov r4, r1 + 800bd52: 2210 movs r2, #16 + 800bd54: 2100 movs r1, #0 + 800bd56: 4605 mov r5, r0 + 800bd58: 4668 mov r0, sp + 800bd5a: f000 fddd bl 800c918 + 800bd5e: 4622 mov r2, r4 + 800bd60: 4669 mov r1, sp + 800bd62: 4668 mov r0, sp + 800bd64: f000 f9a6 bl 800c0b4 + 800bd68: f99d 3000 ldrsb.w r3, [sp] + 800bd6c: 2b00 cmp r3, #0 + 800bd6e: 466a mov r2, sp + 800bd70: f04f 0100 mov.w r1, #0 + 800bd74: da43 bge.n 800bdfe + 800bd76: 7813 ldrb r3, [r2, #0] + 800bd78: f812 0f01 ldrb.w r0, [r2, #1]! + 800bd7c: 3101 adds r1, #1 + 800bd7e: 005b lsls r3, r3, #1 + 800bd80: ea43 13d0 orr.w r3, r3, r0, lsr #7 + 800bd84: 290f cmp r1, #15 + 800bd86: f802 3c01 strb.w r3, [r2, #-1] + 800bd8a: d1f4 bne.n 800bd76 + 800bd8c: f89d 300f ldrb.w r3, [sp, #15] + 800bd90: 005b lsls r3, r3, #1 + 800bd92: f083 0387 eor.w r3, r3, #135 ; 0x87 + 800bd96: f8d4 0114 ldr.w r0, [r4, #276] ; 0x114 + 800bd9a: b2db uxtb r3, r3 + 800bd9c: 2810 cmp r0, #16 + 800bd9e: f88d 300f strb.w r3, [sp, #15] + 800bda2: d13b bne.n 800be1c + 800bda4: f504 7380 add.w r3, r4, #256 ; 0x100 + 800bda8: 4669 mov r1, sp + 800bdaa: f504 7088 add.w r0, r4, #272 ; 0x110 + 800bdae: f813 6f01 ldrb.w r6, [r3, #1]! + 800bdb2: f811 2b01 ldrb.w r2, [r1], #1 + 800bdb6: 4298 cmp r0, r3 + 800bdb8: ea82 0206 eor.w r2, r2, r6 + 800bdbc: 701a strb r2, [r3, #0] + 800bdbe: d1f6 bne.n 800bdae + 800bdc0: f104 03f0 add.w r3, r4, #240 ; 0xf0 + 800bdc4: f504 7180 add.w r1, r4, #256 ; 0x100 + 800bdc8: f813 2f01 ldrb.w r2, [r3, #1]! + 800bdcc: 7c18 ldrb r0, [r3, #16] + 800bdce: 428b cmp r3, r1 + 800bdd0: ea82 0200 eor.w r2, r2, r0 + 800bdd4: 701a strb r2, [r3, #0] + 800bdd6: d1f7 bne.n 800bdc8 + 800bdd8: 2210 movs r2, #16 + 800bdda: eb0d 0002 add.w r0, sp, r2 + 800bdde: f104 01f1 add.w r1, r4, #241 ; 0xf1 + 800bde2: f000 fd85 bl 800c8f0 + 800bde6: 4622 mov r2, r4 + 800bde8: 4629 mov r1, r5 + 800bdea: a804 add r0, sp, #16 + 800bdec: f000 f962 bl 800c0b4 + 800bdf0: 2210 movs r2, #16 + 800bdf2: 2100 movs r1, #0 + 800bdf4: 4668 mov r0, sp + 800bdf6: f000 fd8f bl 800c918 + 800bdfa: b009 add sp, #36 ; 0x24 + 800bdfc: bdf0 pop {r4, r5, r6, r7, pc} + 800bdfe: 7813 ldrb r3, [r2, #0] + 800be00: f812 0f01 ldrb.w r0, [r2, #1]! + 800be04: 3101 adds r1, #1 + 800be06: 005b lsls r3, r3, #1 + 800be08: ea43 13d0 orr.w r3, r3, r0, lsr #7 + 800be0c: 290f cmp r1, #15 + 800be0e: f802 3c01 strb.w r3, [r2, #-1] + 800be12: d1f4 bne.n 800bdfe + 800be14: f89d 300f ldrb.w r3, [sp, #15] + 800be18: 005b lsls r3, r3, #1 + 800be1a: e7bc b.n 800bd96 + 800be1c: f99d 3000 ldrsb.w r3, [sp] + 800be20: 2b00 cmp r3, #0 + 800be22: 466a mov r2, sp + 800be24: f04f 0100 mov.w r1, #0 + 800be28: da37 bge.n 800be9a + 800be2a: 7813 ldrb r3, [r2, #0] + 800be2c: f812 6f01 ldrb.w r6, [r2, #1]! + 800be30: 3101 adds r1, #1 + 800be32: 005b lsls r3, r3, #1 + 800be34: ea43 13d6 orr.w r3, r3, r6, lsr #7 + 800be38: 290f cmp r1, #15 + 800be3a: f802 3c01 strb.w r3, [r2, #-1] + 800be3e: d1f4 bne.n 800be2a + 800be40: f89d 300f ldrb.w r3, [sp, #15] + 800be44: 005b lsls r3, r3, #1 + 800be46: f083 0387 eor.w r3, r3, #135 ; 0x87 + 800be4a: 1c47 adds r7, r0, #1 + 800be4c: b2db uxtb r3, r3 + 800be4e: f88d 300f strb.w r3, [sp, #15] + 800be52: 2f10 cmp r7, #16 + 800be54: eb04 0300 add.w r3, r4, r0 + 800be58: f1c0 060f rsb r6, r0, #15 + 800be5c: f04f 0280 mov.w r2, #128 ; 0x80 + 800be60: bf88 it hi + 800be62: 2600 movhi r6, #0 + 800be64: f500 7081 add.w r0, r0, #258 ; 0x102 + 800be68: f883 2101 strb.w r2, [r3, #257] ; 0x101 + 800be6c: 2100 movs r1, #0 + 800be6e: 4632 mov r2, r6 + 800be70: 4420 add r0, r4 + 800be72: 443e add r6, r7 + 800be74: f003 fa62 bl 800f33c + 800be78: f8c4 6114 str.w r6, [r4, #276] ; 0x114 + 800be7c: f504 7380 add.w r3, r4, #256 ; 0x100 + 800be80: 4669 mov r1, sp + 800be82: f504 7088 add.w r0, r4, #272 ; 0x110 + 800be86: f813 6f01 ldrb.w r6, [r3, #1]! + 800be8a: f811 2b01 ldrb.w r2, [r1], #1 + 800be8e: 4298 cmp r0, r3 + 800be90: ea82 0206 eor.w r2, r2, r6 + 800be94: 701a strb r2, [r3, #0] + 800be96: d1f6 bne.n 800be86 + 800be98: e792 b.n 800bdc0 + 800be9a: 7813 ldrb r3, [r2, #0] + 800be9c: f812 6f01 ldrb.w r6, [r2, #1]! + 800bea0: 3101 adds r1, #1 + 800bea2: 005b lsls r3, r3, #1 + 800bea4: ea43 13d6 orr.w r3, r3, r6, lsr #7 + 800bea8: 290f cmp r1, #15 + 800beaa: f802 3c01 strb.w r3, [r2, #-1] + 800beae: d1f4 bne.n 800be9a + 800beb0: f89d 300f ldrb.w r3, [sp, #15] + 800beb4: 005b lsls r3, r3, #1 + 800beb6: e7c8 b.n 800be4a -0800bea4 : - 800bea4: 780a ldrb r2, [r1, #0] - 800bea6: 7803 ldrb r3, [r0, #0] - 800bea8: 4053 eors r3, r2 - 800beaa: 7003 strb r3, [r0, #0] - 800beac: 784a ldrb r2, [r1, #1] - 800beae: 7843 ldrb r3, [r0, #1] - 800beb0: 4053 eors r3, r2 - 800beb2: 7043 strb r3, [r0, #1] - 800beb4: 788a ldrb r2, [r1, #2] - 800beb6: 7883 ldrb r3, [r0, #2] - 800beb8: 4053 eors r3, r2 - 800beba: 7083 strb r3, [r0, #2] - 800bebc: 78ca ldrb r2, [r1, #3] - 800bebe: 78c3 ldrb r3, [r0, #3] - 800bec0: 4053 eors r3, r2 - 800bec2: 70c3 strb r3, [r0, #3] - 800bec4: 790a ldrb r2, [r1, #4] - 800bec6: 7903 ldrb r3, [r0, #4] - 800bec8: 4053 eors r3, r2 - 800beca: 7103 strb r3, [r0, #4] - 800becc: 794a ldrb r2, [r1, #5] - 800bece: 7943 ldrb r3, [r0, #5] - 800bed0: 4053 eors r3, r2 - 800bed2: 7143 strb r3, [r0, #5] - 800bed4: 798a ldrb r2, [r1, #6] - 800bed6: 7983 ldrb r3, [r0, #6] - 800bed8: 4053 eors r3, r2 - 800beda: 7183 strb r3, [r0, #6] - 800bedc: 79ca ldrb r2, [r1, #7] - 800bede: 79c3 ldrb r3, [r0, #7] - 800bee0: 4053 eors r3, r2 - 800bee2: 71c3 strb r3, [r0, #7] - 800bee4: 7a0a ldrb r2, [r1, #8] - 800bee6: 7a03 ldrb r3, [r0, #8] - 800bee8: 4053 eors r3, r2 - 800beea: 7203 strb r3, [r0, #8] - 800beec: 7a4a ldrb r2, [r1, #9] - 800beee: 7a43 ldrb r3, [r0, #9] - 800bef0: 4053 eors r3, r2 - 800bef2: 7243 strb r3, [r0, #9] - 800bef4: 7a8a ldrb r2, [r1, #10] - 800bef6: 7a83 ldrb r3, [r0, #10] - 800bef8: 4053 eors r3, r2 - 800befa: 7283 strb r3, [r0, #10] - 800befc: 7aca ldrb r2, [r1, #11] - 800befe: 7ac3 ldrb r3, [r0, #11] - 800bf00: 4053 eors r3, r2 - 800bf02: 72c3 strb r3, [r0, #11] - 800bf04: 7b0a ldrb r2, [r1, #12] - 800bf06: 7b03 ldrb r3, [r0, #12] - 800bf08: 4053 eors r3, r2 - 800bf0a: 7303 strb r3, [r0, #12] - 800bf0c: 7b4a ldrb r2, [r1, #13] - 800bf0e: 7b43 ldrb r3, [r0, #13] - 800bf10: 4053 eors r3, r2 - 800bf12: 7343 strb r3, [r0, #13] - 800bf14: 7b8a ldrb r2, [r1, #14] - 800bf16: 7b83 ldrb r3, [r0, #14] - 800bf18: 4053 eors r3, r2 - 800bf1a: 7383 strb r3, [r0, #14] - 800bf1c: 7bca ldrb r2, [r1, #15] - 800bf1e: 7bc3 ldrb r3, [r0, #15] - 800bf20: 4053 eors r3, r2 - 800bf22: 73c3 strb r3, [r0, #15] - 800bf24: 4770 bx lr +0800beb8 : + 800beb8: 780a ldrb r2, [r1, #0] + 800beba: 7803 ldrb r3, [r0, #0] + 800bebc: 4053 eors r3, r2 + 800bebe: 7003 strb r3, [r0, #0] + 800bec0: 784a ldrb r2, [r1, #1] + 800bec2: 7843 ldrb r3, [r0, #1] + 800bec4: 4053 eors r3, r2 + 800bec6: 7043 strb r3, [r0, #1] + 800bec8: 788a ldrb r2, [r1, #2] + 800beca: 7883 ldrb r3, [r0, #2] + 800becc: 4053 eors r3, r2 + 800bece: 7083 strb r3, [r0, #2] + 800bed0: 78ca ldrb r2, [r1, #3] + 800bed2: 78c3 ldrb r3, [r0, #3] + 800bed4: 4053 eors r3, r2 + 800bed6: 70c3 strb r3, [r0, #3] + 800bed8: 790a ldrb r2, [r1, #4] + 800beda: 7903 ldrb r3, [r0, #4] + 800bedc: 4053 eors r3, r2 + 800bede: 7103 strb r3, [r0, #4] + 800bee0: 794a ldrb r2, [r1, #5] + 800bee2: 7943 ldrb r3, [r0, #5] + 800bee4: 4053 eors r3, r2 + 800bee6: 7143 strb r3, [r0, #5] + 800bee8: 798a ldrb r2, [r1, #6] + 800beea: 7983 ldrb r3, [r0, #6] + 800beec: 4053 eors r3, r2 + 800beee: 7183 strb r3, [r0, #6] + 800bef0: 79ca ldrb r2, [r1, #7] + 800bef2: 79c3 ldrb r3, [r0, #7] + 800bef4: 4053 eors r3, r2 + 800bef6: 71c3 strb r3, [r0, #7] + 800bef8: 7a0a ldrb r2, [r1, #8] + 800befa: 7a03 ldrb r3, [r0, #8] + 800befc: 4053 eors r3, r2 + 800befe: 7203 strb r3, [r0, #8] + 800bf00: 7a4a ldrb r2, [r1, #9] + 800bf02: 7a43 ldrb r3, [r0, #9] + 800bf04: 4053 eors r3, r2 + 800bf06: 7243 strb r3, [r0, #9] + 800bf08: 7a8a ldrb r2, [r1, #10] + 800bf0a: 7a83 ldrb r3, [r0, #10] + 800bf0c: 4053 eors r3, r2 + 800bf0e: 7283 strb r3, [r0, #10] + 800bf10: 7aca ldrb r2, [r1, #11] + 800bf12: 7ac3 ldrb r3, [r0, #11] + 800bf14: 4053 eors r3, r2 + 800bf16: 72c3 strb r3, [r0, #11] + 800bf18: 7b0a ldrb r2, [r1, #12] + 800bf1a: 7b03 ldrb r3, [r0, #12] + 800bf1c: 4053 eors r3, r2 + 800bf1e: 7303 strb r3, [r0, #12] + 800bf20: 7b4a ldrb r2, [r1, #13] + 800bf22: 7b43 ldrb r3, [r0, #13] + 800bf24: 4053 eors r3, r2 + 800bf26: 7343 strb r3, [r0, #13] + 800bf28: 7b8a ldrb r2, [r1, #14] + 800bf2a: 7b83 ldrb r3, [r0, #14] + 800bf2c: 4053 eors r3, r2 + 800bf2e: 7383 strb r3, [r0, #14] + 800bf30: 7bca ldrb r2, [r1, #15] + 800bf32: 7bc3 ldrb r3, [r0, #15] + 800bf34: 4053 eors r3, r2 + 800bf36: 73c3 strb r3, [r0, #15] + 800bf38: 4770 bx lr -0800bf26 : - 800bf26: b510 push {r4, lr} - 800bf28: 780b ldrb r3, [r1, #0] - 800bf2a: 7814 ldrb r4, [r2, #0] - 800bf2c: 4063 eors r3, r4 - 800bf2e: 7003 strb r3, [r0, #0] - 800bf30: 7854 ldrb r4, [r2, #1] - 800bf32: 784b ldrb r3, [r1, #1] - 800bf34: 4063 eors r3, r4 - 800bf36: 7043 strb r3, [r0, #1] - 800bf38: 7894 ldrb r4, [r2, #2] - 800bf3a: 788b ldrb r3, [r1, #2] - 800bf3c: 4063 eors r3, r4 - 800bf3e: 7083 strb r3, [r0, #2] - 800bf40: 78d4 ldrb r4, [r2, #3] - 800bf42: 78cb ldrb r3, [r1, #3] - 800bf44: 4063 eors r3, r4 - 800bf46: 70c3 strb r3, [r0, #3] - 800bf48: 7914 ldrb r4, [r2, #4] - 800bf4a: 790b ldrb r3, [r1, #4] - 800bf4c: 4063 eors r3, r4 - 800bf4e: 7103 strb r3, [r0, #4] - 800bf50: 7954 ldrb r4, [r2, #5] - 800bf52: 794b ldrb r3, [r1, #5] - 800bf54: 4063 eors r3, r4 - 800bf56: 7143 strb r3, [r0, #5] - 800bf58: 7994 ldrb r4, [r2, #6] - 800bf5a: 798b ldrb r3, [r1, #6] - 800bf5c: 4063 eors r3, r4 - 800bf5e: 7183 strb r3, [r0, #6] - 800bf60: 79d4 ldrb r4, [r2, #7] - 800bf62: 79cb ldrb r3, [r1, #7] - 800bf64: 4063 eors r3, r4 - 800bf66: 71c3 strb r3, [r0, #7] - 800bf68: 7a14 ldrb r4, [r2, #8] - 800bf6a: 7a0b ldrb r3, [r1, #8] - 800bf6c: 4063 eors r3, r4 - 800bf6e: 7203 strb r3, [r0, #8] - 800bf70: 7a54 ldrb r4, [r2, #9] - 800bf72: 7a4b ldrb r3, [r1, #9] - 800bf74: 4063 eors r3, r4 - 800bf76: 7243 strb r3, [r0, #9] - 800bf78: 7a8b ldrb r3, [r1, #10] - 800bf7a: 7a94 ldrb r4, [r2, #10] - 800bf7c: 4063 eors r3, r4 - 800bf7e: 7283 strb r3, [r0, #10] - 800bf80: 7ad4 ldrb r4, [r2, #11] - 800bf82: 7acb ldrb r3, [r1, #11] - 800bf84: 4063 eors r3, r4 - 800bf86: 72c3 strb r3, [r0, #11] - 800bf88: 7b14 ldrb r4, [r2, #12] - 800bf8a: 7b0b ldrb r3, [r1, #12] - 800bf8c: 4063 eors r3, r4 - 800bf8e: 7303 strb r3, [r0, #12] - 800bf90: 7b54 ldrb r4, [r2, #13] - 800bf92: 7b4b ldrb r3, [r1, #13] - 800bf94: 4063 eors r3, r4 - 800bf96: 7343 strb r3, [r0, #13] - 800bf98: 7b94 ldrb r4, [r2, #14] - 800bf9a: 7b8b ldrb r3, [r1, #14] - 800bf9c: 4063 eors r3, r4 - 800bf9e: 7383 strb r3, [r0, #14] - 800bfa0: 7bcb ldrb r3, [r1, #15] - 800bfa2: 7bd2 ldrb r2, [r2, #15] - 800bfa4: 4053 eors r3, r2 - 800bfa6: 73c3 strb r3, [r0, #15] - 800bfa8: bd10 pop {r4, pc} +0800bf3a : + 800bf3a: b510 push {r4, lr} + 800bf3c: 780b ldrb r3, [r1, #0] + 800bf3e: 7814 ldrb r4, [r2, #0] + 800bf40: 4063 eors r3, r4 + 800bf42: 7003 strb r3, [r0, #0] + 800bf44: 7854 ldrb r4, [r2, #1] + 800bf46: 784b ldrb r3, [r1, #1] + 800bf48: 4063 eors r3, r4 + 800bf4a: 7043 strb r3, [r0, #1] + 800bf4c: 7894 ldrb r4, [r2, #2] + 800bf4e: 788b ldrb r3, [r1, #2] + 800bf50: 4063 eors r3, r4 + 800bf52: 7083 strb r3, [r0, #2] + 800bf54: 78d4 ldrb r4, [r2, #3] + 800bf56: 78cb ldrb r3, [r1, #3] + 800bf58: 4063 eors r3, r4 + 800bf5a: 70c3 strb r3, [r0, #3] + 800bf5c: 7914 ldrb r4, [r2, #4] + 800bf5e: 790b ldrb r3, [r1, #4] + 800bf60: 4063 eors r3, r4 + 800bf62: 7103 strb r3, [r0, #4] + 800bf64: 7954 ldrb r4, [r2, #5] + 800bf66: 794b ldrb r3, [r1, #5] + 800bf68: 4063 eors r3, r4 + 800bf6a: 7143 strb r3, [r0, #5] + 800bf6c: 7994 ldrb r4, [r2, #6] + 800bf6e: 798b ldrb r3, [r1, #6] + 800bf70: 4063 eors r3, r4 + 800bf72: 7183 strb r3, [r0, #6] + 800bf74: 79d4 ldrb r4, [r2, #7] + 800bf76: 79cb ldrb r3, [r1, #7] + 800bf78: 4063 eors r3, r4 + 800bf7a: 71c3 strb r3, [r0, #7] + 800bf7c: 7a14 ldrb r4, [r2, #8] + 800bf7e: 7a0b ldrb r3, [r1, #8] + 800bf80: 4063 eors r3, r4 + 800bf82: 7203 strb r3, [r0, #8] + 800bf84: 7a54 ldrb r4, [r2, #9] + 800bf86: 7a4b ldrb r3, [r1, #9] + 800bf88: 4063 eors r3, r4 + 800bf8a: 7243 strb r3, [r0, #9] + 800bf8c: 7a8b ldrb r3, [r1, #10] + 800bf8e: 7a94 ldrb r4, [r2, #10] + 800bf90: 4063 eors r3, r4 + 800bf92: 7283 strb r3, [r0, #10] + 800bf94: 7ad4 ldrb r4, [r2, #11] + 800bf96: 7acb ldrb r3, [r1, #11] + 800bf98: 4063 eors r3, r4 + 800bf9a: 72c3 strb r3, [r0, #11] + 800bf9c: 7b14 ldrb r4, [r2, #12] + 800bf9e: 7b0b ldrb r3, [r1, #12] + 800bfa0: 4063 eors r3, r4 + 800bfa2: 7303 strb r3, [r0, #12] + 800bfa4: 7b54 ldrb r4, [r2, #13] + 800bfa6: 7b4b ldrb r3, [r1, #13] + 800bfa8: 4063 eors r3, r4 + 800bfaa: 7343 strb r3, [r0, #13] + 800bfac: 7b94 ldrb r4, [r2, #14] + 800bfae: 7b8b ldrb r3, [r1, #14] + 800bfb0: 4063 eors r3, r4 + 800bfb2: 7383 strb r3, [r0, #14] + 800bfb4: 7bcb ldrb r3, [r1, #15] + 800bfb6: 7bd2 ldrb r2, [r2, #15] + 800bfb8: 4053 eors r3, r2 + 800bfba: 73c3 strb r3, [r0, #15] + 800bfbc: bd10 pop {r4, pc} ... -0800bfac : - 800bfac: f1a1 0310 sub.w r3, r1, #16 - 800bfb0: b2db uxtb r3, r3 - 800bfb2: 2b10 cmp r3, #16 - 800bfb4: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 800bfb8: d804 bhi.n 800bfc4 - 800bfba: 4c37 ldr r4, [pc, #220] ; (800c098 ) - 800bfbc: fa24 f303 lsr.w r3, r4, r3 - 800bfc0: 07db lsls r3, r3, #31 - 800bfc2: d405 bmi.n 800bfd0 - 800bfc4: 2300 movs r3, #0 - 800bfc6: f882 30f0 strb.w r3, [r2, #240] ; 0xf0 - 800bfca: 20ff movs r0, #255 ; 0xff - 800bfcc: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 800bfd0: 1e53 subs r3, r2, #1 - 800bfd2: 1844 adds r4, r0, r1 - 800bfd4: 42a0 cmp r0, r4 - 800bfd6: d14e bne.n 800c076 - 800bfd8: f101 031c add.w r3, r1, #28 - 800bfdc: 009b lsls r3, r3, #2 - 800bfde: fa5f f983 uxtb.w r9, r3 - 800bfe2: f3c3 1303 ubfx r3, r3, #4, #4 - 800bfe6: 3b01 subs r3, #1 - 800bfe8: 4d2c ldr r5, [pc, #176] ; (800c09c ) - 800bfea: f882 30f0 strb.w r3, [r2, #240] ; 0xf0 - 800bfee: 2401 movs r4, #1 - 800bff0: 460b mov r3, r1 - 800bff2: 18d6 adds r6, r2, r3 - 800bff4: fbb3 f0f1 udiv r0, r3, r1 - 800bff8: fb01 3010 mls r0, r1, r0, r3 - 800bffc: f010 00ff ands.w r0, r0, #255 ; 0xff - 800c000: f816 ac04 ldrb.w sl, [r6, #-4] - 800c004: f816 ec03 ldrb.w lr, [r6, #-3] - 800c008: f816 cc02 ldrb.w ip, [r6, #-2] - 800c00c: f816 7c01 ldrb.w r7, [r6, #-1] - 800c010: d136 bne.n 800c080 - 800c012: f815 800e ldrb.w r8, [r5, lr] - 800c016: f815 e00c ldrb.w lr, [r5, ip] - 800c01a: f815 c007 ldrb.w ip, [r5, r7] - 800c01e: f815 700a ldrb.w r7, [r5, sl] - 800c022: 09e0 lsrs r0, r4, #7 - 800c024: eb00 0040 add.w r0, r0, r0, lsl #1 - 800c028: ea84 0808 eor.w r8, r4, r8 - 800c02c: eb00 00c0 add.w r0, r0, r0, lsl #3 - 800c030: 0064 lsls r4, r4, #1 - 800c032: b2c0 uxtb r0, r0 - 800c034: b2e4 uxtb r4, r4 - 800c036: 4044 eors r4, r0 - 800c038: 46c2 mov sl, r8 - 800c03a: 1a58 subs r0, r3, r1 - 800c03c: b2c0 uxtb r0, r0 - 800c03e: f812 8000 ldrb.w r8, [r2, r0] - 800c042: ea8a 0a08 eor.w sl, sl, r8 - 800c046: f802 a003 strb.w sl, [r2, r3] - 800c04a: 4410 add r0, r2 - 800c04c: 3304 adds r3, #4 - 800c04e: f890 8001 ldrb.w r8, [r0, #1] - 800c052: ea8e 0e08 eor.w lr, lr, r8 - 800c056: f886 e001 strb.w lr, [r6, #1] - 800c05a: f890 e002 ldrb.w lr, [r0, #2] - 800c05e: ea8c 0c0e eor.w ip, ip, lr - 800c062: f886 c002 strb.w ip, [r6, #2] - 800c066: 78c0 ldrb r0, [r0, #3] - 800c068: b2db uxtb r3, r3 - 800c06a: 4047 eors r7, r0 - 800c06c: 4599 cmp r9, r3 - 800c06e: 70f7 strb r7, [r6, #3] - 800c070: d8bf bhi.n 800bff2 - 800c072: 2000 movs r0, #0 - 800c074: e7aa b.n 800bfcc - 800c076: f810 5b01 ldrb.w r5, [r0], #1 - 800c07a: f803 5f01 strb.w r5, [r3, #1]! - 800c07e: e7a9 b.n 800bfd4 - 800c080: 2918 cmp r1, #24 - 800c082: d9da bls.n 800c03a - 800c084: 2810 cmp r0, #16 - 800c086: bf01 itttt eq - 800c088: f815 a00a ldrbeq.w sl, [r5, sl] - 800c08c: f815 e00e ldrbeq.w lr, [r5, lr] - 800c090: f815 c00c ldrbeq.w ip, [r5, ip] - 800c094: 5def ldrbeq r7, [r5, r7] - 800c096: e7d0 b.n 800c03a - 800c098: 00010101 .word 0x00010101 - 800c09c: 0800fe44 .word 0x0800fe44 +0800bfc0 : + 800bfc0: f1a1 0310 sub.w r3, r1, #16 + 800bfc4: b2db uxtb r3, r3 + 800bfc6: 2b10 cmp r3, #16 + 800bfc8: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 800bfcc: d804 bhi.n 800bfd8 + 800bfce: 4c37 ldr r4, [pc, #220] ; (800c0ac ) + 800bfd0: fa24 f303 lsr.w r3, r4, r3 + 800bfd4: 07db lsls r3, r3, #31 + 800bfd6: d405 bmi.n 800bfe4 + 800bfd8: 2300 movs r3, #0 + 800bfda: f882 30f0 strb.w r3, [r2, #240] ; 0xf0 + 800bfde: 20ff movs r0, #255 ; 0xff + 800bfe0: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800bfe4: 1e53 subs r3, r2, #1 + 800bfe6: 1844 adds r4, r0, r1 + 800bfe8: 42a0 cmp r0, r4 + 800bfea: d14e bne.n 800c08a + 800bfec: f101 031c add.w r3, r1, #28 + 800bff0: 009b lsls r3, r3, #2 + 800bff2: fa5f f983 uxtb.w r9, r3 + 800bff6: f3c3 1303 ubfx r3, r3, #4, #4 + 800bffa: 3b01 subs r3, #1 + 800bffc: 4d2c ldr r5, [pc, #176] ; (800c0b0 ) + 800bffe: f882 30f0 strb.w r3, [r2, #240] ; 0xf0 + 800c002: 2401 movs r4, #1 + 800c004: 460b mov r3, r1 + 800c006: 18d6 adds r6, r2, r3 + 800c008: fbb3 f0f1 udiv r0, r3, r1 + 800c00c: fb01 3010 mls r0, r1, r0, r3 + 800c010: f010 00ff ands.w r0, r0, #255 ; 0xff + 800c014: f816 ac04 ldrb.w sl, [r6, #-4] + 800c018: f816 ec03 ldrb.w lr, [r6, #-3] + 800c01c: f816 cc02 ldrb.w ip, [r6, #-2] + 800c020: f816 7c01 ldrb.w r7, [r6, #-1] + 800c024: d136 bne.n 800c094 + 800c026: f815 800e ldrb.w r8, [r5, lr] + 800c02a: f815 e00c ldrb.w lr, [r5, ip] + 800c02e: f815 c007 ldrb.w ip, [r5, r7] + 800c032: f815 700a ldrb.w r7, [r5, sl] + 800c036: 09e0 lsrs r0, r4, #7 + 800c038: eb00 0040 add.w r0, r0, r0, lsl #1 + 800c03c: ea84 0808 eor.w r8, r4, r8 + 800c040: eb00 00c0 add.w r0, r0, r0, lsl #3 + 800c044: 0064 lsls r4, r4, #1 + 800c046: b2c0 uxtb r0, r0 + 800c048: b2e4 uxtb r4, r4 + 800c04a: 4044 eors r4, r0 + 800c04c: 46c2 mov sl, r8 + 800c04e: 1a58 subs r0, r3, r1 + 800c050: b2c0 uxtb r0, r0 + 800c052: f812 8000 ldrb.w r8, [r2, r0] + 800c056: ea8a 0a08 eor.w sl, sl, r8 + 800c05a: f802 a003 strb.w sl, [r2, r3] + 800c05e: 4410 add r0, r2 + 800c060: 3304 adds r3, #4 + 800c062: f890 8001 ldrb.w r8, [r0, #1] + 800c066: ea8e 0e08 eor.w lr, lr, r8 + 800c06a: f886 e001 strb.w lr, [r6, #1] + 800c06e: f890 e002 ldrb.w lr, [r0, #2] + 800c072: ea8c 0c0e eor.w ip, ip, lr + 800c076: f886 c002 strb.w ip, [r6, #2] + 800c07a: 78c0 ldrb r0, [r0, #3] + 800c07c: b2db uxtb r3, r3 + 800c07e: 4047 eors r7, r0 + 800c080: 4599 cmp r9, r3 + 800c082: 70f7 strb r7, [r6, #3] + 800c084: d8bf bhi.n 800c006 + 800c086: 2000 movs r0, #0 + 800c088: e7aa b.n 800bfe0 + 800c08a: f810 5b01 ldrb.w r5, [r0], #1 + 800c08e: f803 5f01 strb.w r5, [r3, #1]! + 800c092: e7a9 b.n 800bfe8 + 800c094: 2918 cmp r1, #24 + 800c096: d9da bls.n 800c04e + 800c098: 2810 cmp r0, #16 + 800c09a: bf01 itttt eq + 800c09c: f815 a00a ldrbeq.w sl, [r5, sl] + 800c0a0: f815 e00e ldrbeq.w lr, [r5, lr] + 800c0a4: f815 c00c ldrbeq.w ip, [r5, ip] + 800c0a8: 5def ldrbeq r7, [r5, r7] + 800c0aa: e7d0 b.n 800c04e + 800c0ac: 00010101 .word 0x00010101 + 800c0b0: 0800fe5c .word 0x0800fe5c -0800c0a0 : - 800c0a0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800c0a4: b0a3 sub sp, #140 ; 0x8c - 800c0a6: f892 30f0 ldrb.w r3, [r2, #240] ; 0xf0 - 800c0aa: 911d str r1, [sp, #116] ; 0x74 - 800c0ac: 921b str r2, [sp, #108] ; 0x6c - 800c0ae: 9301 str r3, [sp, #4] - 800c0b0: 2b00 cmp r3, #0 - 800c0b2: f000 8153 beq.w 800c35c - 800c0b6: 4601 mov r1, r0 - 800c0b8: a81e add r0, sp, #120 ; 0x78 - 800c0ba: f7ff ff34 bl 800bf26 - 800c0be: 9b1b ldr r3, [sp, #108] ; 0x6c - 800c0c0: 4ca7 ldr r4, [pc, #668] ; (800c360 ) - 800c0c2: 4da8 ldr r5, [pc, #672] ; (800c364 ) - 800c0c4: 4ea8 ldr r6, [pc, #672] ; (800c368 ) - 800c0c6: 3310 adds r3, #16 - 800c0c8: 9302 str r3, [sp, #8] - 800c0ca: 2300 movs r3, #0 - 800c0cc: 9303 str r3, [sp, #12] - 800c0ce: f89d 007c ldrb.w r0, [sp, #124] ; 0x7c - 800c0d2: 9004 str r0, [sp, #16] - 800c0d4: f89d 0086 ldrb.w r0, [sp, #134] ; 0x86 - 800c0d8: 9005 str r0, [sp, #20] - 800c0da: 5c20 ldrb r0, [r4, r0] - 800c0dc: 9006 str r0, [sp, #24] - 800c0de: f89d 007b ldrb.w r0, [sp, #123] ; 0x7b - 800c0e2: 9007 str r0, [sp, #28] - 800c0e4: 5c20 ldrb r0, [r4, r0] - 800c0e6: 9008 str r0, [sp, #32] - 800c0e8: 9804 ldr r0, [sp, #16] - 800c0ea: f89d c081 ldrb.w ip, [sp, #129] ; 0x81 +0800c0b4 : + 800c0b4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800c0b8: b0a3 sub sp, #140 ; 0x8c + 800c0ba: f892 30f0 ldrb.w r3, [r2, #240] ; 0xf0 + 800c0be: 911d str r1, [sp, #116] ; 0x74 + 800c0c0: 921b str r2, [sp, #108] ; 0x6c + 800c0c2: 9301 str r3, [sp, #4] + 800c0c4: 2b00 cmp r3, #0 + 800c0c6: f000 8153 beq.w 800c370 + 800c0ca: 4601 mov r1, r0 + 800c0cc: a81e add r0, sp, #120 ; 0x78 + 800c0ce: f7ff ff34 bl 800bf3a + 800c0d2: 9b1b ldr r3, [sp, #108] ; 0x6c + 800c0d4: 4ca7 ldr r4, [pc, #668] ; (800c374 ) + 800c0d6: 4da8 ldr r5, [pc, #672] ; (800c378 ) + 800c0d8: 4ea8 ldr r6, [pc, #672] ; (800c37c ) + 800c0da: 3310 adds r3, #16 + 800c0dc: 9302 str r3, [sp, #8] + 800c0de: 2300 movs r3, #0 + 800c0e0: 9303 str r3, [sp, #12] + 800c0e2: f89d 007c ldrb.w r0, [sp, #124] ; 0x7c + 800c0e6: 9004 str r0, [sp, #16] + 800c0e8: f89d 0086 ldrb.w r0, [sp, #134] ; 0x86 + 800c0ec: 9005 str r0, [sp, #20] 800c0ee: 5c20 ldrb r0, [r4, r0] - 800c0f0: 9009 str r0, [sp, #36] ; 0x24 - 800c0f2: f814 000c ldrb.w r0, [r4, ip] - 800c0f6: 900a str r0, [sp, #40] ; 0x28 - 800c0f8: f89d 0080 ldrb.w r0, [sp, #128] ; 0x80 - 800c0fc: 900b str r0, [sp, #44] ; 0x2c - 800c0fe: f89d 0085 ldrb.w r0, [sp, #133] ; 0x85 - 800c102: f89d 8078 ldrb.w r8, [sp, #120] ; 0x78 - 800c106: f89d e07d ldrb.w lr, [sp, #125] ; 0x7d - 800c10a: f89d a082 ldrb.w sl, [sp, #130] ; 0x82 - 800c10e: f89d 9087 ldrb.w r9, [sp, #135] ; 0x87 - 800c112: 900c str r0, [sp, #48] ; 0x30 - 800c114: f89d 007a ldrb.w r0, [sp, #122] ; 0x7a - 800c118: 9b02 ldr r3, [sp, #8] - 800c11a: 931c str r3, [sp, #112] ; 0x70 - 800c11c: f814 200a ldrb.w r2, [r4, sl] - 800c120: f814 3009 ldrb.w r3, [r4, r9] - 800c124: f814 1008 ldrb.w r1, [r4, r8] - 800c128: f814 700e ldrb.w r7, [r4, lr] - 800c12c: 900d str r0, [sp, #52] ; 0x34 - 800c12e: 5c20 ldrb r0, [r4, r0] - 800c130: 900e str r0, [sp, #56] ; 0x38 - 800c132: f89d 007f ldrb.w r0, [sp, #127] ; 0x7f - 800c136: 900f str r0, [sp, #60] ; 0x3c - 800c138: 5c20 ldrb r0, [r4, r0] - 800c13a: 9010 str r0, [sp, #64] ; 0x40 - 800c13c: 980b ldr r0, [sp, #44] ; 0x2c - 800c13e: 5c20 ldrb r0, [r4, r0] - 800c140: 9011 str r0, [sp, #68] ; 0x44 - 800c142: 980c ldr r0, [sp, #48] ; 0x30 - 800c144: 5c20 ldrb r0, [r4, r0] - 800c146: 9012 str r0, [sp, #72] ; 0x48 - 800c148: f89d 0084 ldrb.w r0, [sp, #132] ; 0x84 - 800c14c: 9013 str r0, [sp, #76] ; 0x4c - 800c14e: f89d 0079 ldrb.w r0, [sp, #121] ; 0x79 - 800c152: 9014 str r0, [sp, #80] ; 0x50 - 800c154: f89d 007e ldrb.w r0, [sp, #126] ; 0x7e - 800c158: 9015 str r0, [sp, #84] ; 0x54 - 800c15a: 5c20 ldrb r0, [r4, r0] - 800c15c: 9016 str r0, [sp, #88] ; 0x58 - 800c15e: f89d 0083 ldrb.w r0, [sp, #131] ; 0x83 - 800c162: 9017 str r0, [sp, #92] ; 0x5c - 800c164: 5c20 ldrb r0, [r4, r0] - 800c166: 9018 str r0, [sp, #96] ; 0x60 - 800c168: 9813 ldr r0, [sp, #76] ; 0x4c - 800c16a: 5c20 ldrb r0, [r4, r0] - 800c16c: 9019 str r0, [sp, #100] ; 0x64 - 800c16e: 9814 ldr r0, [sp, #80] ; 0x50 - 800c170: 5c20 ldrb r0, [r4, r0] - 800c172: 901a str r0, [sp, #104] ; 0x68 - 800c174: 9803 ldr r0, [sp, #12] - 800c176: 3001 adds r0, #1 - 800c178: 9003 str r0, [sp, #12] - 800c17a: 9802 ldr r0, [sp, #8] - 800c17c: f8dd b004 ldr.w fp, [sp, #4] - 800c180: 3010 adds r0, #16 - 800c182: 9002 str r0, [sp, #8] - 800c184: f89d 000c ldrb.w r0, [sp, #12] - 800c188: 4583 cmp fp, r0 - 800c18a: d836 bhi.n 800c1fa - 800c18c: f88d 1078 strb.w r1, [sp, #120] ; 0x78 - 800c190: f88d 207a strb.w r2, [sp, #122] ; 0x7a - 800c194: 9909 ldr r1, [sp, #36] ; 0x24 - 800c196: 9a0e ldr r2, [sp, #56] ; 0x38 - 800c198: f88d 107c strb.w r1, [sp, #124] ; 0x7c - 800c19c: f88d 2082 strb.w r2, [sp, #130] ; 0x82 - 800c1a0: 9911 ldr r1, [sp, #68] ; 0x44 - 800c1a2: 9a06 ldr r2, [sp, #24] - 800c1a4: f88d 1080 strb.w r1, [sp, #128] ; 0x80 - 800c1a8: f88d 207e strb.w r2, [sp, #126] ; 0x7e - 800c1ac: 9919 ldr r1, [sp, #100] ; 0x64 - 800c1ae: 9a16 ldr r2, [sp, #88] ; 0x58 - 800c1b0: f88d 1084 strb.w r1, [sp, #132] ; 0x84 - 800c1b4: f88d 2086 strb.w r2, [sp, #134] ; 0x86 - 800c1b8: 990a ldr r1, [sp, #40] ; 0x28 - 800c1ba: 9a18 ldr r2, [sp, #96] ; 0x60 - 800c1bc: f88d 107d strb.w r1, [sp, #125] ; 0x7d - 800c1c0: f88d 2087 strb.w r2, [sp, #135] ; 0x87 - 800c1c4: 9912 ldr r1, [sp, #72] ; 0x48 - 800c1c6: 9a10 ldr r2, [sp, #64] ; 0x40 - 800c1c8: f88d 307b strb.w r3, [sp, #123] ; 0x7b - 800c1cc: 9b1b ldr r3, [sp, #108] ; 0x6c - 800c1ce: f88d 1081 strb.w r1, [sp, #129] ; 0x81 - 800c1d2: f88d 2083 strb.w r2, [sp, #131] ; 0x83 - 800c1d6: 991a ldr r1, [sp, #104] ; 0x68 - 800c1d8: 9a08 ldr r2, [sp, #32] - 800c1da: 981d ldr r0, [sp, #116] ; 0x74 - 800c1dc: f88d 1085 strb.w r1, [sp, #133] ; 0x85 - 800c1e0: f88d 207f strb.w r2, [sp, #127] ; 0x7f - 800c1e4: a91e add r1, sp, #120 ; 0x78 - 800c1e6: eb03 120b add.w r2, r3, fp, lsl #4 - 800c1ea: f88d 7079 strb.w r7, [sp, #121] ; 0x79 - 800c1ee: f7ff fe9a bl 800bf26 - 800c1f2: 2000 movs r0, #0 - 800c1f4: b023 add sp, #140 ; 0x8c - 800c1f6: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800c1fa: f815 b008 ldrb.w fp, [r5, r8] - 800c1fe: ea82 0003 eor.w r0, r2, r3 - 800c202: ea8b 0000 eor.w r0, fp, r0 - 800c206: f816 b00e ldrb.w fp, [r6, lr] - 800c20a: ea80 000b eor.w r0, r0, fp - 800c20e: f88d 0078 strb.w r0, [sp, #120] ; 0x78 - 800c212: f815 000e ldrb.w r0, [r5, lr] - 800c216: 404b eors r3, r1 - 800c218: 4043 eors r3, r0 - 800c21a: f816 000a ldrb.w r0, [r6, sl] - 800c21e: 4043 eors r3, r0 - 800c220: f88d 3079 strb.w r3, [sp, #121] ; 0x79 - 800c224: ea81 0307 eor.w r3, r1, r7 - 800c228: f815 100a ldrb.w r1, [r5, sl] - 800c22c: 4059 eors r1, r3 - 800c22e: f816 3009 ldrb.w r3, [r6, r9] - 800c232: 4059 eors r1, r3 - 800c234: f816 3008 ldrb.w r3, [r6, r8] - 800c238: f88d 107a strb.w r1, [sp, #122] ; 0x7a - 800c23c: 407a eors r2, r7 - 800c23e: 4053 eors r3, r2 - 800c240: f815 2009 ldrb.w r2, [r5, r9] - 800c244: 4053 eors r3, r2 - 800c246: f88d 307b strb.w r3, [sp, #123] ; 0x7b - 800c24a: 9a08 ldr r2, [sp, #32] - 800c24c: 9b06 ldr r3, [sp, #24] - 800c24e: 4053 eors r3, r2 - 800c250: 9a04 ldr r2, [sp, #16] - 800c252: 5caa ldrb r2, [r5, r2] - 800c254: 4053 eors r3, r2 - 800c256: f816 200c ldrb.w r2, [r6, ip] - 800c25a: 4053 eors r3, r2 - 800c25c: f88d 307c strb.w r3, [sp, #124] ; 0x7c - 800c260: e9dd 3208 ldrd r3, r2, [sp, #32] - 800c264: 405a eors r2, r3 - 800c266: f815 300c ldrb.w r3, [r5, ip] - 800c26a: 4053 eors r3, r2 - 800c26c: 9a05 ldr r2, [sp, #20] - 800c26e: 5cb2 ldrb r2, [r6, r2] - 800c270: 4053 eors r3, r2 - 800c272: f88d 307d strb.w r3, [sp, #125] ; 0x7d - 800c276: e9dd 3209 ldrd r3, r2, [sp, #36] ; 0x24 - 800c27a: 405a eors r2, r3 - 800c27c: 9b05 ldr r3, [sp, #20] - 800c27e: 5ceb ldrb r3, [r5, r3] - 800c280: 4053 eors r3, r2 - 800c282: 9a07 ldr r2, [sp, #28] - 800c284: 5cb2 ldrb r2, [r6, r2] - 800c286: 4053 eors r3, r2 - 800c288: f88d 307e strb.w r3, [sp, #126] ; 0x7e - 800c28c: 9b06 ldr r3, [sp, #24] - 800c28e: 9a0a ldr r2, [sp, #40] ; 0x28 - 800c290: 4053 eors r3, r2 - 800c292: 9a04 ldr r2, [sp, #16] - 800c294: 5cb2 ldrb r2, [r6, r2] - 800c296: 405a eors r2, r3 - 800c298: 9b07 ldr r3, [sp, #28] - 800c29a: 5ceb ldrb r3, [r5, r3] - 800c29c: 405a eors r2, r3 - 800c29e: f88d 207f strb.w r2, [sp, #127] ; 0x7f - 800c2a2: 9b0e ldr r3, [sp, #56] ; 0x38 - 800c2a4: 9a10 ldr r2, [sp, #64] ; 0x40 - 800c2a6: 4053 eors r3, r2 - 800c2a8: 9a0b ldr r2, [sp, #44] ; 0x2c - 800c2aa: 5caa ldrb r2, [r5, r2] - 800c2ac: 4053 eors r3, r2 - 800c2ae: 9a0c ldr r2, [sp, #48] ; 0x30 - 800c2b0: 5cb2 ldrb r2, [r6, r2] - 800c2b2: 4053 eors r3, r2 - 800c2b4: f88d 3080 strb.w r3, [sp, #128] ; 0x80 - 800c2b8: e9dd 3210 ldrd r3, r2, [sp, #64] ; 0x40 - 800c2bc: 405a eors r2, r3 - 800c2be: 9b0c ldr r3, [sp, #48] ; 0x30 - 800c2c0: 5ceb ldrb r3, [r5, r3] - 800c2c2: 4053 eors r3, r2 - 800c2c4: 9a0d ldr r2, [sp, #52] ; 0x34 - 800c2c6: 5cb2 ldrb r2, [r6, r2] - 800c2c8: 4053 eors r3, r2 - 800c2ca: f88d 3081 strb.w r3, [sp, #129] ; 0x81 - 800c2ce: e9dd 3211 ldrd r3, r2, [sp, #68] ; 0x44 - 800c2d2: 405a eors r2, r3 - 800c2d4: 9b0d ldr r3, [sp, #52] ; 0x34 - 800c2d6: 5ceb ldrb r3, [r5, r3] - 800c2d8: 4053 eors r3, r2 - 800c2da: 9a0f ldr r2, [sp, #60] ; 0x3c - 800c2dc: 5cb2 ldrb r2, [r6, r2] - 800c2de: 4053 eors r3, r2 - 800c2e0: f88d 3082 strb.w r3, [sp, #130] ; 0x82 - 800c2e4: 9a12 ldr r2, [sp, #72] ; 0x48 - 800c2e6: 9b0e ldr r3, [sp, #56] ; 0x38 - 800c2e8: 4053 eors r3, r2 - 800c2ea: 9a0b ldr r2, [sp, #44] ; 0x2c - 800c2ec: 5cb2 ldrb r2, [r6, r2] - 800c2ee: 405a eors r2, r3 - 800c2f0: 9b0f ldr r3, [sp, #60] ; 0x3c - 800c2f2: 5ceb ldrb r3, [r5, r3] - 800c2f4: 991c ldr r1, [sp, #112] ; 0x70 - 800c2f6: 405a eors r2, r3 - 800c2f8: f88d 2083 strb.w r2, [sp, #131] ; 0x83 - 800c2fc: 9b16 ldr r3, [sp, #88] ; 0x58 - 800c2fe: 9a18 ldr r2, [sp, #96] ; 0x60 - 800c300: 4053 eors r3, r2 - 800c302: 9a13 ldr r2, [sp, #76] ; 0x4c - 800c304: 5caa ldrb r2, [r5, r2] - 800c306: 4053 eors r3, r2 - 800c308: 9a14 ldr r2, [sp, #80] ; 0x50 - 800c30a: 5cb2 ldrb r2, [r6, r2] - 800c30c: 4053 eors r3, r2 - 800c30e: f88d 3084 strb.w r3, [sp, #132] ; 0x84 - 800c312: e9dd 3218 ldrd r3, r2, [sp, #96] ; 0x60 - 800c316: 405a eors r2, r3 - 800c318: 9b14 ldr r3, [sp, #80] ; 0x50 - 800c31a: 5ceb ldrb r3, [r5, r3] - 800c31c: 4053 eors r3, r2 - 800c31e: 9a15 ldr r2, [sp, #84] ; 0x54 - 800c320: 5cb2 ldrb r2, [r6, r2] - 800c322: 4053 eors r3, r2 - 800c324: f88d 3085 strb.w r3, [sp, #133] ; 0x85 - 800c328: e9dd 3219 ldrd r3, r2, [sp, #100] ; 0x64 - 800c32c: 405a eors r2, r3 - 800c32e: 9b15 ldr r3, [sp, #84] ; 0x54 - 800c330: 5ceb ldrb r3, [r5, r3] - 800c332: 4053 eors r3, r2 - 800c334: 9a17 ldr r2, [sp, #92] ; 0x5c - 800c336: 5cb2 ldrb r2, [r6, r2] - 800c338: 4053 eors r3, r2 - 800c33a: f88d 3086 strb.w r3, [sp, #134] ; 0x86 - 800c33e: 9a1a ldr r2, [sp, #104] ; 0x68 - 800c340: 9b16 ldr r3, [sp, #88] ; 0x58 - 800c342: 4053 eors r3, r2 - 800c344: 9a13 ldr r2, [sp, #76] ; 0x4c - 800c346: 5cb2 ldrb r2, [r6, r2] - 800c348: 4053 eors r3, r2 - 800c34a: 9a17 ldr r2, [sp, #92] ; 0x5c - 800c34c: 5caa ldrb r2, [r5, r2] - 800c34e: a81e add r0, sp, #120 ; 0x78 - 800c350: 4053 eors r3, r2 - 800c352: f88d 3087 strb.w r3, [sp, #135] ; 0x87 - 800c356: f7ff fda5 bl 800bea4 - 800c35a: e6b8 b.n 800c0ce - 800c35c: 20ff movs r0, #255 ; 0xff - 800c35e: e749 b.n 800c1f4 - 800c360: 0800fe44 .word 0x0800fe44 - 800c364: 0800fc44 .word 0x0800fc44 - 800c368: 0800fd44 .word 0x0800fd44 + 800c0f0: 9006 str r0, [sp, #24] + 800c0f2: f89d 007b ldrb.w r0, [sp, #123] ; 0x7b + 800c0f6: 9007 str r0, [sp, #28] + 800c0f8: 5c20 ldrb r0, [r4, r0] + 800c0fa: 9008 str r0, [sp, #32] + 800c0fc: 9804 ldr r0, [sp, #16] + 800c0fe: f89d c081 ldrb.w ip, [sp, #129] ; 0x81 + 800c102: 5c20 ldrb r0, [r4, r0] + 800c104: 9009 str r0, [sp, #36] ; 0x24 + 800c106: f814 000c ldrb.w r0, [r4, ip] + 800c10a: 900a str r0, [sp, #40] ; 0x28 + 800c10c: f89d 0080 ldrb.w r0, [sp, #128] ; 0x80 + 800c110: 900b str r0, [sp, #44] ; 0x2c + 800c112: f89d 0085 ldrb.w r0, [sp, #133] ; 0x85 + 800c116: f89d 8078 ldrb.w r8, [sp, #120] ; 0x78 + 800c11a: f89d e07d ldrb.w lr, [sp, #125] ; 0x7d + 800c11e: f89d a082 ldrb.w sl, [sp, #130] ; 0x82 + 800c122: f89d 9087 ldrb.w r9, [sp, #135] ; 0x87 + 800c126: 900c str r0, [sp, #48] ; 0x30 + 800c128: f89d 007a ldrb.w r0, [sp, #122] ; 0x7a + 800c12c: 9b02 ldr r3, [sp, #8] + 800c12e: 931c str r3, [sp, #112] ; 0x70 + 800c130: f814 200a ldrb.w r2, [r4, sl] + 800c134: f814 3009 ldrb.w r3, [r4, r9] + 800c138: f814 1008 ldrb.w r1, [r4, r8] + 800c13c: f814 700e ldrb.w r7, [r4, lr] + 800c140: 900d str r0, [sp, #52] ; 0x34 + 800c142: 5c20 ldrb r0, [r4, r0] + 800c144: 900e str r0, [sp, #56] ; 0x38 + 800c146: f89d 007f ldrb.w r0, [sp, #127] ; 0x7f + 800c14a: 900f str r0, [sp, #60] ; 0x3c + 800c14c: 5c20 ldrb r0, [r4, r0] + 800c14e: 9010 str r0, [sp, #64] ; 0x40 + 800c150: 980b ldr r0, [sp, #44] ; 0x2c + 800c152: 5c20 ldrb r0, [r4, r0] + 800c154: 9011 str r0, [sp, #68] ; 0x44 + 800c156: 980c ldr r0, [sp, #48] ; 0x30 + 800c158: 5c20 ldrb r0, [r4, r0] + 800c15a: 9012 str r0, [sp, #72] ; 0x48 + 800c15c: f89d 0084 ldrb.w r0, [sp, #132] ; 0x84 + 800c160: 9013 str r0, [sp, #76] ; 0x4c + 800c162: f89d 0079 ldrb.w r0, [sp, #121] ; 0x79 + 800c166: 9014 str r0, [sp, #80] ; 0x50 + 800c168: f89d 007e ldrb.w r0, [sp, #126] ; 0x7e + 800c16c: 9015 str r0, [sp, #84] ; 0x54 + 800c16e: 5c20 ldrb r0, [r4, r0] + 800c170: 9016 str r0, [sp, #88] ; 0x58 + 800c172: f89d 0083 ldrb.w r0, [sp, #131] ; 0x83 + 800c176: 9017 str r0, [sp, #92] ; 0x5c + 800c178: 5c20 ldrb r0, [r4, r0] + 800c17a: 9018 str r0, [sp, #96] ; 0x60 + 800c17c: 9813 ldr r0, [sp, #76] ; 0x4c + 800c17e: 5c20 ldrb r0, [r4, r0] + 800c180: 9019 str r0, [sp, #100] ; 0x64 + 800c182: 9814 ldr r0, [sp, #80] ; 0x50 + 800c184: 5c20 ldrb r0, [r4, r0] + 800c186: 901a str r0, [sp, #104] ; 0x68 + 800c188: 9803 ldr r0, [sp, #12] + 800c18a: 3001 adds r0, #1 + 800c18c: 9003 str r0, [sp, #12] + 800c18e: 9802 ldr r0, [sp, #8] + 800c190: f8dd b004 ldr.w fp, [sp, #4] + 800c194: 3010 adds r0, #16 + 800c196: 9002 str r0, [sp, #8] + 800c198: f89d 000c ldrb.w r0, [sp, #12] + 800c19c: 4583 cmp fp, r0 + 800c19e: d836 bhi.n 800c20e + 800c1a0: f88d 1078 strb.w r1, [sp, #120] ; 0x78 + 800c1a4: f88d 207a strb.w r2, [sp, #122] ; 0x7a + 800c1a8: 9909 ldr r1, [sp, #36] ; 0x24 + 800c1aa: 9a0e ldr r2, [sp, #56] ; 0x38 + 800c1ac: f88d 107c strb.w r1, [sp, #124] ; 0x7c + 800c1b0: f88d 2082 strb.w r2, [sp, #130] ; 0x82 + 800c1b4: 9911 ldr r1, [sp, #68] ; 0x44 + 800c1b6: 9a06 ldr r2, [sp, #24] + 800c1b8: f88d 1080 strb.w r1, [sp, #128] ; 0x80 + 800c1bc: f88d 207e strb.w r2, [sp, #126] ; 0x7e + 800c1c0: 9919 ldr r1, [sp, #100] ; 0x64 + 800c1c2: 9a16 ldr r2, [sp, #88] ; 0x58 + 800c1c4: f88d 1084 strb.w r1, [sp, #132] ; 0x84 + 800c1c8: f88d 2086 strb.w r2, [sp, #134] ; 0x86 + 800c1cc: 990a ldr r1, [sp, #40] ; 0x28 + 800c1ce: 9a18 ldr r2, [sp, #96] ; 0x60 + 800c1d0: f88d 107d strb.w r1, [sp, #125] ; 0x7d + 800c1d4: f88d 2087 strb.w r2, [sp, #135] ; 0x87 + 800c1d8: 9912 ldr r1, [sp, #72] ; 0x48 + 800c1da: 9a10 ldr r2, [sp, #64] ; 0x40 + 800c1dc: f88d 307b strb.w r3, [sp, #123] ; 0x7b + 800c1e0: 9b1b ldr r3, [sp, #108] ; 0x6c + 800c1e2: f88d 1081 strb.w r1, [sp, #129] ; 0x81 + 800c1e6: f88d 2083 strb.w r2, [sp, #131] ; 0x83 + 800c1ea: 991a ldr r1, [sp, #104] ; 0x68 + 800c1ec: 9a08 ldr r2, [sp, #32] + 800c1ee: 981d ldr r0, [sp, #116] ; 0x74 + 800c1f0: f88d 1085 strb.w r1, [sp, #133] ; 0x85 + 800c1f4: f88d 207f strb.w r2, [sp, #127] ; 0x7f + 800c1f8: a91e add r1, sp, #120 ; 0x78 + 800c1fa: eb03 120b add.w r2, r3, fp, lsl #4 + 800c1fe: f88d 7079 strb.w r7, [sp, #121] ; 0x79 + 800c202: f7ff fe9a bl 800bf3a + 800c206: 2000 movs r0, #0 + 800c208: b023 add sp, #140 ; 0x8c + 800c20a: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800c20e: f815 b008 ldrb.w fp, [r5, r8] + 800c212: ea82 0003 eor.w r0, r2, r3 + 800c216: ea8b 0000 eor.w r0, fp, r0 + 800c21a: f816 b00e ldrb.w fp, [r6, lr] + 800c21e: ea80 000b eor.w r0, r0, fp + 800c222: f88d 0078 strb.w r0, [sp, #120] ; 0x78 + 800c226: f815 000e ldrb.w r0, [r5, lr] + 800c22a: 404b eors r3, r1 + 800c22c: 4043 eors r3, r0 + 800c22e: f816 000a ldrb.w r0, [r6, sl] + 800c232: 4043 eors r3, r0 + 800c234: f88d 3079 strb.w r3, [sp, #121] ; 0x79 + 800c238: ea81 0307 eor.w r3, r1, r7 + 800c23c: f815 100a ldrb.w r1, [r5, sl] + 800c240: 4059 eors r1, r3 + 800c242: f816 3009 ldrb.w r3, [r6, r9] + 800c246: 4059 eors r1, r3 + 800c248: f816 3008 ldrb.w r3, [r6, r8] + 800c24c: f88d 107a strb.w r1, [sp, #122] ; 0x7a + 800c250: 407a eors r2, r7 + 800c252: 4053 eors r3, r2 + 800c254: f815 2009 ldrb.w r2, [r5, r9] + 800c258: 4053 eors r3, r2 + 800c25a: f88d 307b strb.w r3, [sp, #123] ; 0x7b + 800c25e: 9a08 ldr r2, [sp, #32] + 800c260: 9b06 ldr r3, [sp, #24] + 800c262: 4053 eors r3, r2 + 800c264: 9a04 ldr r2, [sp, #16] + 800c266: 5caa ldrb r2, [r5, r2] + 800c268: 4053 eors r3, r2 + 800c26a: f816 200c ldrb.w r2, [r6, ip] + 800c26e: 4053 eors r3, r2 + 800c270: f88d 307c strb.w r3, [sp, #124] ; 0x7c + 800c274: e9dd 3208 ldrd r3, r2, [sp, #32] + 800c278: 405a eors r2, r3 + 800c27a: f815 300c ldrb.w r3, [r5, ip] + 800c27e: 4053 eors r3, r2 + 800c280: 9a05 ldr r2, [sp, #20] + 800c282: 5cb2 ldrb r2, [r6, r2] + 800c284: 4053 eors r3, r2 + 800c286: f88d 307d strb.w r3, [sp, #125] ; 0x7d + 800c28a: e9dd 3209 ldrd r3, r2, [sp, #36] ; 0x24 + 800c28e: 405a eors r2, r3 + 800c290: 9b05 ldr r3, [sp, #20] + 800c292: 5ceb ldrb r3, [r5, r3] + 800c294: 4053 eors r3, r2 + 800c296: 9a07 ldr r2, [sp, #28] + 800c298: 5cb2 ldrb r2, [r6, r2] + 800c29a: 4053 eors r3, r2 + 800c29c: f88d 307e strb.w r3, [sp, #126] ; 0x7e + 800c2a0: 9b06 ldr r3, [sp, #24] + 800c2a2: 9a0a ldr r2, [sp, #40] ; 0x28 + 800c2a4: 4053 eors r3, r2 + 800c2a6: 9a04 ldr r2, [sp, #16] + 800c2a8: 5cb2 ldrb r2, [r6, r2] + 800c2aa: 405a eors r2, r3 + 800c2ac: 9b07 ldr r3, [sp, #28] + 800c2ae: 5ceb ldrb r3, [r5, r3] + 800c2b0: 405a eors r2, r3 + 800c2b2: f88d 207f strb.w r2, [sp, #127] ; 0x7f + 800c2b6: 9b0e ldr r3, [sp, #56] ; 0x38 + 800c2b8: 9a10 ldr r2, [sp, #64] ; 0x40 + 800c2ba: 4053 eors r3, r2 + 800c2bc: 9a0b ldr r2, [sp, #44] ; 0x2c + 800c2be: 5caa ldrb r2, [r5, r2] + 800c2c0: 4053 eors r3, r2 + 800c2c2: 9a0c ldr r2, [sp, #48] ; 0x30 + 800c2c4: 5cb2 ldrb r2, [r6, r2] + 800c2c6: 4053 eors r3, r2 + 800c2c8: f88d 3080 strb.w r3, [sp, #128] ; 0x80 + 800c2cc: e9dd 3210 ldrd r3, r2, [sp, #64] ; 0x40 + 800c2d0: 405a eors r2, r3 + 800c2d2: 9b0c ldr r3, [sp, #48] ; 0x30 + 800c2d4: 5ceb ldrb r3, [r5, r3] + 800c2d6: 4053 eors r3, r2 + 800c2d8: 9a0d ldr r2, [sp, #52] ; 0x34 + 800c2da: 5cb2 ldrb r2, [r6, r2] + 800c2dc: 4053 eors r3, r2 + 800c2de: f88d 3081 strb.w r3, [sp, #129] ; 0x81 + 800c2e2: e9dd 3211 ldrd r3, r2, [sp, #68] ; 0x44 + 800c2e6: 405a eors r2, r3 + 800c2e8: 9b0d ldr r3, [sp, #52] ; 0x34 + 800c2ea: 5ceb ldrb r3, [r5, r3] + 800c2ec: 4053 eors r3, r2 + 800c2ee: 9a0f ldr r2, [sp, #60] ; 0x3c + 800c2f0: 5cb2 ldrb r2, [r6, r2] + 800c2f2: 4053 eors r3, r2 + 800c2f4: f88d 3082 strb.w r3, [sp, #130] ; 0x82 + 800c2f8: 9a12 ldr r2, [sp, #72] ; 0x48 + 800c2fa: 9b0e ldr r3, [sp, #56] ; 0x38 + 800c2fc: 4053 eors r3, r2 + 800c2fe: 9a0b ldr r2, [sp, #44] ; 0x2c + 800c300: 5cb2 ldrb r2, [r6, r2] + 800c302: 405a eors r2, r3 + 800c304: 9b0f ldr r3, [sp, #60] ; 0x3c + 800c306: 5ceb ldrb r3, [r5, r3] + 800c308: 991c ldr r1, [sp, #112] ; 0x70 + 800c30a: 405a eors r2, r3 + 800c30c: f88d 2083 strb.w r2, [sp, #131] ; 0x83 + 800c310: 9b16 ldr r3, [sp, #88] ; 0x58 + 800c312: 9a18 ldr r2, [sp, #96] ; 0x60 + 800c314: 4053 eors r3, r2 + 800c316: 9a13 ldr r2, [sp, #76] ; 0x4c + 800c318: 5caa ldrb r2, [r5, r2] + 800c31a: 4053 eors r3, r2 + 800c31c: 9a14 ldr r2, [sp, #80] ; 0x50 + 800c31e: 5cb2 ldrb r2, [r6, r2] + 800c320: 4053 eors r3, r2 + 800c322: f88d 3084 strb.w r3, [sp, #132] ; 0x84 + 800c326: e9dd 3218 ldrd r3, r2, [sp, #96] ; 0x60 + 800c32a: 405a eors r2, r3 + 800c32c: 9b14 ldr r3, [sp, #80] ; 0x50 + 800c32e: 5ceb ldrb r3, [r5, r3] + 800c330: 4053 eors r3, r2 + 800c332: 9a15 ldr r2, [sp, #84] ; 0x54 + 800c334: 5cb2 ldrb r2, [r6, r2] + 800c336: 4053 eors r3, r2 + 800c338: f88d 3085 strb.w r3, [sp, #133] ; 0x85 + 800c33c: e9dd 3219 ldrd r3, r2, [sp, #100] ; 0x64 + 800c340: 405a eors r2, r3 + 800c342: 9b15 ldr r3, [sp, #84] ; 0x54 + 800c344: 5ceb ldrb r3, [r5, r3] + 800c346: 4053 eors r3, r2 + 800c348: 9a17 ldr r2, [sp, #92] ; 0x5c + 800c34a: 5cb2 ldrb r2, [r6, r2] + 800c34c: 4053 eors r3, r2 + 800c34e: f88d 3086 strb.w r3, [sp, #134] ; 0x86 + 800c352: 9a1a ldr r2, [sp, #104] ; 0x68 + 800c354: 9b16 ldr r3, [sp, #88] ; 0x58 + 800c356: 4053 eors r3, r2 + 800c358: 9a13 ldr r2, [sp, #76] ; 0x4c + 800c35a: 5cb2 ldrb r2, [r6, r2] + 800c35c: 4053 eors r3, r2 + 800c35e: 9a17 ldr r2, [sp, #92] ; 0x5c + 800c360: 5caa ldrb r2, [r5, r2] + 800c362: a81e add r0, sp, #120 ; 0x78 + 800c364: 4053 eors r3, r2 + 800c366: f88d 3087 strb.w r3, [sp, #135] ; 0x87 + 800c36a: f7ff fda5 bl 800beb8 + 800c36e: e6b8 b.n 800c0e2 + 800c370: 20ff movs r0, #255 ; 0xff + 800c372: e749 b.n 800c208 + 800c374: 0800fe5c .word 0x0800fe5c + 800c378: 0800fc5c .word 0x0800fc5c + 800c37c: 0800fd5c .word 0x0800fd5c -0800c36c : - 800c36c: b508 push {r3, lr} - 800c36e: b138 cbz r0, 800c380 - 800c370: 4a04 ldr r2, [pc, #16] ; (800c384 ) - 800c372: 4905 ldr r1, [pc, #20] ; (800c388 ) - 800c374: 6010 str r0, [r2, #0] - 800c376: 22d8 movs r2, #216 ; 0xd8 - 800c378: f000 fab0 bl 800c8dc - 800c37c: 2000 movs r0, #0 - 800c37e: bd08 pop {r3, pc} - 800c380: 2002 movs r0, #2 - 800c382: e7fc b.n 800c37e - 800c384: 200019c8 .word 0x200019c8 - 800c388: 08010374 .word 0x08010374 +0800c380 : + 800c380: b508 push {r3, lr} + 800c382: b138 cbz r0, 800c394 + 800c384: 4a04 ldr r2, [pc, #16] ; (800c398 ) + 800c386: 4905 ldr r1, [pc, #20] ; (800c39c ) + 800c388: 6010 str r0, [r2, #0] + 800c38a: 22d8 movs r2, #216 ; 0xd8 + 800c38c: f000 fab0 bl 800c8f0 + 800c390: 2000 movs r0, #0 + 800c392: bd08 pop {r3, pc} + 800c394: 2002 movs r0, #2 + 800c396: e7fc b.n 800c392 + 800c398: 200019c8 .word 0x200019c8 + 800c39c: 0801038c .word 0x0801038c -0800c38c : - 800c38c: 4b0a ldr r3, [pc, #40] ; (800c3b8 ) - 800c38e: 681a ldr r2, [r3, #0] - 800c390: b570 push {r4, r5, r6, lr} - 800c392: 2300 movs r3, #0 - 800c394: f102 0518 add.w r5, r2, #24 - 800c398: eb03 1403 add.w r4, r3, r3, lsl #4 - 800c39c: 5d2e ldrb r6, [r5, r4] - 800c39e: 4286 cmp r6, r0 - 800c3a0: d104 bne.n 800c3ac - 800c3a2: 3418 adds r4, #24 - 800c3a4: 4422 add r2, r4 - 800c3a6: 600a str r2, [r1, #0] - 800c3a8: 2000 movs r0, #0 - 800c3aa: bd70 pop {r4, r5, r6, pc} - 800c3ac: 3301 adds r3, #1 - 800c3ae: 2b0b cmp r3, #11 - 800c3b0: d1f2 bne.n 800c398 - 800c3b2: 2003 movs r0, #3 - 800c3b4: e7f9 b.n 800c3aa - 800c3b6: bf00 nop - 800c3b8: 200019c8 .word 0x200019c8 +0800c3a0 : + 800c3a0: 4b0a ldr r3, [pc, #40] ; (800c3cc ) + 800c3a2: 681a ldr r2, [r3, #0] + 800c3a4: b570 push {r4, r5, r6, lr} + 800c3a6: 2300 movs r3, #0 + 800c3a8: f102 0518 add.w r5, r2, #24 + 800c3ac: eb03 1403 add.w r4, r3, r3, lsl #4 + 800c3b0: 5d2e ldrb r6, [r5, r4] + 800c3b2: 4286 cmp r6, r0 + 800c3b4: d104 bne.n 800c3c0 + 800c3b6: 3418 adds r4, #24 + 800c3b8: 4422 add r2, r4 + 800c3ba: 600a str r2, [r1, #0] + 800c3bc: 2000 movs r0, #0 + 800c3be: bd70 pop {r4, r5, r6, pc} + 800c3c0: 3301 adds r3, #1 + 800c3c2: 2b0b cmp r3, #11 + 800c3c4: d1f2 bne.n 800c3ac + 800c3c6: 2003 movs r0, #3 + 800c3c8: e7f9 b.n 800c3be + 800c3ca: bf00 nop + 800c3cc: 200019c8 .word 0x200019c8 -0800c3bc : - 800c3bc: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800c3c0: b0cc sub sp, #304 ; 0x130 - 800c3c2: 4606 mov r6, r0 - 800c3c4: f8dd 8148 ldr.w r8, [sp, #328] ; 0x148 - 800c3c8: 4617 mov r7, r2 - 800c3ca: 461c mov r4, r3 - 800c3cc: 460d mov r5, r1 - 800c3ce: b331 cbz r1, 800c41e - 800c3d0: f1b8 0f00 cmp.w r8, #0 - 800c3d4: d023 beq.n 800c41e - 800c3d6: a806 add r0, sp, #24 - 800c3d8: f7ff fc2e bl 800bc38 - 800c3dc: 4620 mov r0, r4 - 800c3de: a901 add r1, sp, #4 - 800c3e0: f7ff ffd4 bl 800c38c - 800c3e4: 4604 mov r4, r0 - 800c3e6: b9b0 cbnz r0, 800c416 - 800c3e8: 9901 ldr r1, [sp, #4] +0800c3d0 : + 800c3d0: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800c3d4: b0cc sub sp, #304 ; 0x130 + 800c3d6: 4606 mov r6, r0 + 800c3d8: f8dd 8148 ldr.w r8, [sp, #328] ; 0x148 + 800c3dc: 4617 mov r7, r2 + 800c3de: 461c mov r4, r3 + 800c3e0: 460d mov r5, r1 + 800c3e2: b331 cbz r1, 800c432 + 800c3e4: f1b8 0f00 cmp.w r8, #0 + 800c3e8: d023 beq.n 800c432 800c3ea: a806 add r0, sp, #24 - 800c3ec: 3101 adds r1, #1 - 800c3ee: f7ff fc33 bl 800bc58 - 800c3f2: b126 cbz r6, 800c3fe - 800c3f4: 2210 movs r2, #16 - 800c3f6: 4631 mov r1, r6 - 800c3f8: a806 add r0, sp, #24 - 800c3fa: f7ff fc32 bl 800bc62 - 800c3fe: 463a mov r2, r7 - 800c400: 4629 mov r1, r5 - 800c402: a806 add r0, sp, #24 - 800c404: f7ff fc2d bl 800bc62 - 800c408: a906 add r1, sp, #24 - 800c40a: a802 add r0, sp, #8 - 800c40c: f7ff fc94 bl 800bd38 - 800c410: 9b02 ldr r3, [sp, #8] - 800c412: f8c8 3000 str.w r3, [r8] - 800c416: 4620 mov r0, r4 - 800c418: b04c add sp, #304 ; 0x130 - 800c41a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800c41e: 2402 movs r4, #2 - 800c420: e7f9 b.n 800c416 + 800c3ec: f7ff fc2e bl 800bc4c + 800c3f0: 4620 mov r0, r4 + 800c3f2: a901 add r1, sp, #4 + 800c3f4: f7ff ffd4 bl 800c3a0 + 800c3f8: 4604 mov r4, r0 + 800c3fa: b9b0 cbnz r0, 800c42a + 800c3fc: 9901 ldr r1, [sp, #4] + 800c3fe: a806 add r0, sp, #24 + 800c400: 3101 adds r1, #1 + 800c402: f7ff fc33 bl 800bc6c + 800c406: b126 cbz r6, 800c412 + 800c408: 2210 movs r2, #16 + 800c40a: 4631 mov r1, r6 + 800c40c: a806 add r0, sp, #24 + 800c40e: f7ff fc32 bl 800bc76 + 800c412: 463a mov r2, r7 + 800c414: 4629 mov r1, r5 + 800c416: a806 add r0, sp, #24 + 800c418: f7ff fc2d bl 800bc76 + 800c41c: a906 add r1, sp, #24 + 800c41e: a802 add r0, sp, #8 + 800c420: f7ff fc94 bl 800bd4c + 800c424: 9b02 ldr r3, [sp, #8] + 800c426: f8c8 3000 str.w r3, [r8] + 800c42a: 4620 mov r0, r4 + 800c42c: b04c add sp, #304 ; 0x130 + 800c42e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800c432: 2402 movs r4, #2 + 800c434: e7f9 b.n 800c42a ... -0800c424 : - 800c424: b530 push {r4, r5, lr} - 800c426: b095 sub sp, #84 ; 0x54 - 800c428: a913 add r1, sp, #76 ; 0x4c - 800c42a: 4604 mov r4, r0 - 800c42c: f7ff ffae bl 800c38c - 800c430: 2800 cmp r0, #0 - 800c432: d130 bne.n 800c496 - 800c434: 491b ldr r1, [pc, #108] ; (800c4a4 ) - 800c436: 230c movs r3, #12 - 800c438: fb03 f200 mul.w r2, r3, r0 - 800c43c: 5c55 ldrb r5, [r2, r1] - 800c43e: 42a5 cmp r5, r4 - 800c440: d12b bne.n 800c49a - 800c442: 9b13 ldr r3, [sp, #76] ; 0x4c - 800c444: 7c18 ldrb r0, [r3, #16] - 800c446: 9010 str r0, [sp, #64] ; 0x40 - 800c448: 7bd8 ldrb r0, [r3, #15] - 800c44a: 900f str r0, [sp, #60] ; 0x3c - 800c44c: 7b98 ldrb r0, [r3, #14] - 800c44e: 900e str r0, [sp, #56] ; 0x38 - 800c450: 7b58 ldrb r0, [r3, #13] - 800c452: 900d str r0, [sp, #52] ; 0x34 - 800c454: 7b18 ldrb r0, [r3, #12] - 800c456: 900c str r0, [sp, #48] ; 0x30 - 800c458: 7ad8 ldrb r0, [r3, #11] - 800c45a: 900b str r0, [sp, #44] ; 0x2c - 800c45c: 7a98 ldrb r0, [r3, #10] - 800c45e: 900a str r0, [sp, #40] ; 0x28 - 800c460: 7a58 ldrb r0, [r3, #9] - 800c462: 9009 str r0, [sp, #36] ; 0x24 - 800c464: 7a18 ldrb r0, [r3, #8] - 800c466: 9008 str r0, [sp, #32] - 800c468: 79d8 ldrb r0, [r3, #7] - 800c46a: 9007 str r0, [sp, #28] - 800c46c: 7998 ldrb r0, [r3, #6] - 800c46e: 9006 str r0, [sp, #24] - 800c470: 7958 ldrb r0, [r3, #5] - 800c472: 9005 str r0, [sp, #20] - 800c474: 7918 ldrb r0, [r3, #4] - 800c476: 9004 str r0, [sp, #16] - 800c478: 78d8 ldrb r0, [r3, #3] - 800c47a: 9003 str r0, [sp, #12] - 800c47c: 7898 ldrb r0, [r3, #2] - 800c47e: 9002 str r0, [sp, #8] - 800c480: 440a add r2, r1 - 800c482: 785b ldrb r3, [r3, #1] - 800c484: 9301 str r3, [sp, #4] - 800c486: 6893 ldr r3, [r2, #8] - 800c488: 9300 str r3, [sp, #0] - 800c48a: 2200 movs r2, #0 - 800c48c: 4b06 ldr r3, [pc, #24] ; (800c4a8 ) - 800c48e: 4611 mov r1, r2 - 800c490: 2002 movs r0, #2 - 800c492: f002 fa19 bl 800e8c8 - 800c496: b015 add sp, #84 ; 0x54 - 800c498: bd30 pop {r4, r5, pc} - 800c49a: 3001 adds r0, #1 - 800c49c: 280b cmp r0, #11 - 800c49e: d1cb bne.n 800c438 - 800c4a0: e7f9 b.n 800c496 - 800c4a2: bf00 nop - 800c4a4: 080100bc .word 0x080100bc - 800c4a8: 0800ff44 .word 0x0800ff44 +0800c438 : + 800c438: b530 push {r4, r5, lr} + 800c43a: b095 sub sp, #84 ; 0x54 + 800c43c: a913 add r1, sp, #76 ; 0x4c + 800c43e: 4604 mov r4, r0 + 800c440: f7ff ffae bl 800c3a0 + 800c444: 2800 cmp r0, #0 + 800c446: d130 bne.n 800c4aa + 800c448: 491b ldr r1, [pc, #108] ; (800c4b8 ) + 800c44a: 230c movs r3, #12 + 800c44c: fb03 f200 mul.w r2, r3, r0 + 800c450: 5c55 ldrb r5, [r2, r1] + 800c452: 42a5 cmp r5, r4 + 800c454: d12b bne.n 800c4ae + 800c456: 9b13 ldr r3, [sp, #76] ; 0x4c + 800c458: 7c18 ldrb r0, [r3, #16] + 800c45a: 9010 str r0, [sp, #64] ; 0x40 + 800c45c: 7bd8 ldrb r0, [r3, #15] + 800c45e: 900f str r0, [sp, #60] ; 0x3c + 800c460: 7b98 ldrb r0, [r3, #14] + 800c462: 900e str r0, [sp, #56] ; 0x38 + 800c464: 7b58 ldrb r0, [r3, #13] + 800c466: 900d str r0, [sp, #52] ; 0x34 + 800c468: 7b18 ldrb r0, [r3, #12] + 800c46a: 900c str r0, [sp, #48] ; 0x30 + 800c46c: 7ad8 ldrb r0, [r3, #11] + 800c46e: 900b str r0, [sp, #44] ; 0x2c + 800c470: 7a98 ldrb r0, [r3, #10] + 800c472: 900a str r0, [sp, #40] ; 0x28 + 800c474: 7a58 ldrb r0, [r3, #9] + 800c476: 9009 str r0, [sp, #36] ; 0x24 + 800c478: 7a18 ldrb r0, [r3, #8] + 800c47a: 9008 str r0, [sp, #32] + 800c47c: 79d8 ldrb r0, [r3, #7] + 800c47e: 9007 str r0, [sp, #28] + 800c480: 7998 ldrb r0, [r3, #6] + 800c482: 9006 str r0, [sp, #24] + 800c484: 7958 ldrb r0, [r3, #5] + 800c486: 9005 str r0, [sp, #20] + 800c488: 7918 ldrb r0, [r3, #4] + 800c48a: 9004 str r0, [sp, #16] + 800c48c: 78d8 ldrb r0, [r3, #3] + 800c48e: 9003 str r0, [sp, #12] + 800c490: 7898 ldrb r0, [r3, #2] + 800c492: 9002 str r0, [sp, #8] + 800c494: 440a add r2, r1 + 800c496: 785b ldrb r3, [r3, #1] + 800c498: 9301 str r3, [sp, #4] + 800c49a: 6893 ldr r3, [r2, #8] + 800c49c: 9300 str r3, [sp, #0] + 800c49e: 2200 movs r2, #0 + 800c4a0: 4b06 ldr r3, [pc, #24] ; (800c4bc ) + 800c4a2: 4611 mov r1, r2 + 800c4a4: 2002 movs r0, #2 + 800c4a6: f002 fa19 bl 800e8dc + 800c4aa: b015 add sp, #84 ; 0x54 + 800c4ac: bd30 pop {r4, r5, pc} + 800c4ae: 3001 adds r0, #1 + 800c4b0: 280b cmp r0, #11 + 800c4b2: d1cb bne.n 800c44c + 800c4b4: e7f9 b.n 800c4aa + 800c4b6: bf00 nop + 800c4b8: 080100d4 .word 0x080100d4 + 800c4bc: 0800ff5c .word 0x0800ff5c -0800c4ac : - 800c4ac: 2b0b cmp r3, #11 - 800c4ae: b410 push {r4} - 800c4b0: d802 bhi.n 800c4b8 - 800c4b2: bc10 pop {r4} - 800c4b4: f7ff bf82 b.w 800c3bc - 800c4b8: 2003 movs r0, #3 - 800c4ba: bc10 pop {r4} - 800c4bc: 4770 bx lr +0800c4c0 : + 800c4c0: 2b0b cmp r3, #11 + 800c4c2: b410 push {r4} + 800c4c4: d802 bhi.n 800c4cc + 800c4c6: bc10 pop {r4} + 800c4c8: f7ff bf82 b.w 800c3d0 + 800c4cc: 2003 movs r0, #3 + 800c4ce: bc10 pop {r4} + 800c4d0: 4770 bx lr -0800c4be : - 800c4be: b530 push {r4, r5, lr} - 800c4c0: 460d mov r5, r1 - 800c4c2: b085 sub sp, #20 - 800c4c4: 4614 mov r4, r2 - 800c4c6: 4601 mov r1, r0 - 800c4c8: b168 cbz r0, 800c4e6 - 800c4ca: aa03 add r2, sp, #12 - 800c4cc: 2000 movs r0, #0 - 800c4ce: 9200 str r2, [sp, #0] - 800c4d0: 462a mov r2, r5 - 800c4d2: 9003 str r0, [sp, #12] - 800c4d4: f7ff ff72 bl 800c3bc - 800c4d8: b918 cbnz r0, 800c4e2 - 800c4da: 9803 ldr r0, [sp, #12] - 800c4dc: 1b00 subs r0, r0, r4 - 800c4de: bf18 it ne - 800c4e0: 2001 movne r0, #1 - 800c4e2: b005 add sp, #20 - 800c4e4: bd30 pop {r4, r5, pc} - 800c4e6: 2002 movs r0, #2 - 800c4e8: e7fb b.n 800c4e2 +0800c4d2 : + 800c4d2: b530 push {r4, r5, lr} + 800c4d4: 460d mov r5, r1 + 800c4d6: b085 sub sp, #20 + 800c4d8: 4614 mov r4, r2 + 800c4da: 4601 mov r1, r0 + 800c4dc: b168 cbz r0, 800c4fa + 800c4de: aa03 add r2, sp, #12 + 800c4e0: 2000 movs r0, #0 + 800c4e2: 9200 str r2, [sp, #0] + 800c4e4: 462a mov r2, r5 + 800c4e6: 9003 str r0, [sp, #12] + 800c4e8: f7ff ff72 bl 800c3d0 + 800c4ec: b918 cbnz r0, 800c4f6 + 800c4ee: 9803 ldr r0, [sp, #12] + 800c4f0: 1b00 subs r0, r0, r4 + 800c4f2: bf18 it ne + 800c4f4: 2001 movne r0, #1 + 800c4f6: b005 add sp, #20 + 800c4f8: bd30 pop {r4, r5, pc} + 800c4fa: 2002 movs r0, #2 + 800c4fc: e7fb b.n 800c4f6 -0800c4ea : - 800c4ea: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 800c4ee: 460d mov r5, r1 - 800c4f0: b0bf sub sp, #252 ; 0xfc - 800c4f2: 4614 mov r4, r2 - 800c4f4: 4699 mov r9, r3 - 800c4f6: 4680 mov r8, r0 - 800c4f8: b320 cbz r0, 800c544 - 800c4fa: b31b cbz r3, 800c544 - 800c4fc: f011 010f ands.w r1, r1, #15 - 800c500: d122 bne.n 800c548 - 800c502: 22f0 movs r2, #240 ; 0xf0 - 800c504: a801 add r0, sp, #4 - 800c506: f000 f9fd bl 800c904 - 800c50a: 4620 mov r0, r4 - 800c50c: 4669 mov r1, sp - 800c50e: f7ff ff3d bl 800c38c - 800c512: 4604 mov r4, r0 - 800c514: b948 cbnz r0, 800c52a - 800c516: 9800 ldr r0, [sp, #0] - 800c518: aa01 add r2, sp, #4 - 800c51a: 2110 movs r1, #16 - 800c51c: 3001 adds r0, #1 - 800c51e: f7ff fd45 bl 800bfac - 800c522: 462e mov r6, r5 - 800c524: 1baf subs r7, r5, r6 - 800c526: b2ff uxtb r7, r7 - 800c528: b91e cbnz r6, 800c532 - 800c52a: 4620 mov r0, r4 - 800c52c: b03f add sp, #252 ; 0xfc - 800c52e: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 800c532: aa01 add r2, sp, #4 - 800c534: eb09 0107 add.w r1, r9, r7 - 800c538: eb08 0007 add.w r0, r8, r7 - 800c53c: f7ff fdb0 bl 800c0a0 - 800c540: 3e10 subs r6, #16 - 800c542: e7ef b.n 800c524 - 800c544: 2402 movs r4, #2 - 800c546: e7f0 b.n 800c52a - 800c548: 2405 movs r4, #5 - 800c54a: e7ee b.n 800c52a +0800c4fe : + 800c4fe: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 800c502: 460d mov r5, r1 + 800c504: b0bf sub sp, #252 ; 0xfc + 800c506: 4614 mov r4, r2 + 800c508: 4699 mov r9, r3 + 800c50a: 4680 mov r8, r0 + 800c50c: b320 cbz r0, 800c558 + 800c50e: b31b cbz r3, 800c558 + 800c510: f011 010f ands.w r1, r1, #15 + 800c514: d122 bne.n 800c55c + 800c516: 22f0 movs r2, #240 ; 0xf0 + 800c518: a801 add r0, sp, #4 + 800c51a: f000 f9fd bl 800c918 + 800c51e: 4620 mov r0, r4 + 800c520: 4669 mov r1, sp + 800c522: f7ff ff3d bl 800c3a0 + 800c526: 4604 mov r4, r0 + 800c528: b948 cbnz r0, 800c53e + 800c52a: 9800 ldr r0, [sp, #0] + 800c52c: aa01 add r2, sp, #4 + 800c52e: 2110 movs r1, #16 + 800c530: 3001 adds r0, #1 + 800c532: f7ff fd45 bl 800bfc0 + 800c536: 462e mov r6, r5 + 800c538: 1baf subs r7, r5, r6 + 800c53a: b2ff uxtb r7, r7 + 800c53c: b91e cbnz r6, 800c546 + 800c53e: 4620 mov r0, r4 + 800c540: b03f add sp, #252 ; 0xfc + 800c542: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 800c546: aa01 add r2, sp, #4 + 800c548: eb09 0107 add.w r1, r9, r7 + 800c54c: eb08 0007 add.w r0, r8, r7 + 800c550: f7ff fdb0 bl 800c0b4 + 800c554: 3e10 subs r6, #16 + 800c556: e7ef b.n 800c538 + 800c558: 2402 movs r4, #2 + 800c55a: e7f0 b.n 800c53e + 800c55c: 2405 movs r4, #5 + 800c55e: e7ee b.n 800c53e -0800c54c : - 800c54c: b5f0 push {r4, r5, r6, r7, lr} - 800c54e: 4e18 ldr r6, [pc, #96] ; (800c5b0 ) - 800c550: 6834 ldr r4, [r6, #0] - 800c552: 4602 mov r2, r0 - 800c554: b085 sub sp, #20 - 800c556: 4608 mov r0, r1 - 800c558: 2300 movs r3, #0 - 800c55a: f104 0118 add.w r1, r4, #24 - 800c55e: eb03 1503 add.w r5, r3, r3, lsl #4 - 800c562: 5d4f ldrb r7, [r1, r5] - 800c564: 4297 cmp r7, r2 - 800c566: d11e bne.n 800c5a6 - 800c568: 2a0d cmp r2, #13 - 800c56a: f105 0519 add.w r5, r5, #25 - 800c56e: d113 bne.n 800c598 - 800c570: 2300 movs r3, #0 - 800c572: e9cd 3300 strd r3, r3, [sp] - 800c576: e9cd 3302 strd r3, r3, [sp, #8] - 800c57a: 220c movs r2, #12 - 800c57c: 2110 movs r1, #16 - 800c57e: 466b mov r3, sp - 800c580: f7ff ffb3 bl 800c4ea - 800c584: 4604 mov r4, r0 - 800c586: 6830 ldr r0, [r6, #0] - 800c588: 2210 movs r2, #16 - 800c58a: 4669 mov r1, sp - 800c58c: 4428 add r0, r5 - 800c58e: f000 f9a5 bl 800c8dc - 800c592: 4620 mov r0, r4 - 800c594: b005 add sp, #20 - 800c596: bdf0 pop {r4, r5, r6, r7, pc} - 800c598: 4601 mov r1, r0 - 800c59a: 2210 movs r2, #16 - 800c59c: 1960 adds r0, r4, r5 - 800c59e: f000 f99d bl 800c8dc - 800c5a2: 2400 movs r4, #0 - 800c5a4: e7f5 b.n 800c592 - 800c5a6: 3301 adds r3, #1 - 800c5a8: 2b0b cmp r3, #11 - 800c5aa: d1d8 bne.n 800c55e - 800c5ac: 2403 movs r4, #3 - 800c5ae: e7f0 b.n 800c592 - 800c5b0: 200019c8 .word 0x200019c8 +0800c560 : + 800c560: b5f0 push {r4, r5, r6, r7, lr} + 800c562: 4e18 ldr r6, [pc, #96] ; (800c5c4 ) + 800c564: 6834 ldr r4, [r6, #0] + 800c566: 4602 mov r2, r0 + 800c568: b085 sub sp, #20 + 800c56a: 4608 mov r0, r1 + 800c56c: 2300 movs r3, #0 + 800c56e: f104 0118 add.w r1, r4, #24 + 800c572: eb03 1503 add.w r5, r3, r3, lsl #4 + 800c576: 5d4f ldrb r7, [r1, r5] + 800c578: 4297 cmp r7, r2 + 800c57a: d11e bne.n 800c5ba + 800c57c: 2a0d cmp r2, #13 + 800c57e: f105 0519 add.w r5, r5, #25 + 800c582: d113 bne.n 800c5ac + 800c584: 2300 movs r3, #0 + 800c586: e9cd 3300 strd r3, r3, [sp] + 800c58a: e9cd 3302 strd r3, r3, [sp, #8] + 800c58e: 220c movs r2, #12 + 800c590: 2110 movs r1, #16 + 800c592: 466b mov r3, sp + 800c594: f7ff ffb3 bl 800c4fe + 800c598: 4604 mov r4, r0 + 800c59a: 6830 ldr r0, [r6, #0] + 800c59c: 2210 movs r2, #16 + 800c59e: 4669 mov r1, sp + 800c5a0: 4428 add r0, r5 + 800c5a2: f000 f9a5 bl 800c8f0 + 800c5a6: 4620 mov r0, r4 + 800c5a8: b005 add sp, #20 + 800c5aa: bdf0 pop {r4, r5, r6, r7, pc} + 800c5ac: 4601 mov r1, r0 + 800c5ae: 2210 movs r2, #16 + 800c5b0: 1960 adds r0, r4, r5 + 800c5b2: f000 f99d bl 800c8f0 + 800c5b6: 2400 movs r4, #0 + 800c5b8: e7f5 b.n 800c5a6 + 800c5ba: 3301 adds r3, #1 + 800c5bc: 2b0b cmp r3, #11 + 800c5be: d1d8 bne.n 800c572 + 800c5c0: 2403 movs r4, #3 + 800c5c2: e7f0 b.n 800c5a6 + 800c5c4: 200019c8 .word 0x200019c8 -0800c5b4 : - 800c5b4: b109 cbz r1, 800c5ba - 800c5b6: f7ff bfc9 b.w 800c54c - 800c5ba: 2002 movs r0, #2 - 800c5bc: 4770 bx lr +0800c5c8 : + 800c5c8: b109 cbz r1, 800c5ce + 800c5ca: f7ff bfc9 b.w 800c560 + 800c5ce: 2002 movs r0, #2 + 800c5d0: 4770 bx lr -0800c5be : - 800c5be: b51f push {r0, r1, r2, r3, r4, lr} - 800c5c0: 4614 mov r4, r2 - 800c5c2: b1a0 cbz r0, 800c5ee - 800c5c4: 2a0c cmp r2, #12 - 800c5c6: d101 bne.n 800c5cc - 800c5c8: 290b cmp r1, #11 - 800c5ca: d112 bne.n 800c5f2 - 800c5cc: 2300 movs r3, #0 - 800c5ce: e9cd 3300 strd r3, r3, [sp] - 800c5d2: e9cd 3302 strd r3, r3, [sp, #8] - 800c5d6: 460a mov r2, r1 - 800c5d8: 466b mov r3, sp - 800c5da: 2110 movs r1, #16 - 800c5dc: f7ff ff85 bl 800c4ea - 800c5e0: b918 cbnz r0, 800c5ea - 800c5e2: 4669 mov r1, sp - 800c5e4: 4620 mov r0, r4 - 800c5e6: f7ff ffb1 bl 800c54c - 800c5ea: b004 add sp, #16 - 800c5ec: bd10 pop {r4, pc} - 800c5ee: 2002 movs r0, #2 - 800c5f0: e7fb b.n 800c5ea - 800c5f2: 2003 movs r0, #3 - 800c5f4: e7f9 b.n 800c5ea +0800c5d2 : + 800c5d2: b51f push {r0, r1, r2, r3, r4, lr} + 800c5d4: 4614 mov r4, r2 + 800c5d6: b1a0 cbz r0, 800c602 + 800c5d8: 2a0c cmp r2, #12 + 800c5da: d101 bne.n 800c5e0 + 800c5dc: 290b cmp r1, #11 + 800c5de: d112 bne.n 800c606 + 800c5e0: 2300 movs r3, #0 + 800c5e2: e9cd 3300 strd r3, r3, [sp] + 800c5e6: e9cd 3302 strd r3, r3, [sp, #8] + 800c5ea: 460a mov r2, r1 + 800c5ec: 466b mov r3, sp + 800c5ee: 2110 movs r1, #16 + 800c5f0: f7ff ff85 bl 800c4fe + 800c5f4: b918 cbnz r0, 800c5fe + 800c5f6: 4669 mov r1, sp + 800c5f8: 4620 mov r0, r4 + 800c5fa: f7ff ffb1 bl 800c560 + 800c5fe: b004 add sp, #16 + 800c600: bd10 pop {r4, pc} + 800c602: 2002 movs r0, #2 + 800c604: e7fb b.n 800c5fe + 800c606: 2003 movs r0, #3 + 800c608: e7f9 b.n 800c5fe -0800c5f6 : - 800c5f6: b5f8 push {r3, r4, r5, r6, r7, lr} - 800c5f8: 461e mov r6, r3 - 800c5fa: e9dd 4707 ldrd r4, r7, [sp, #28] - 800c5fe: f89d 5018 ldrb.w r5, [sp, #24] - 800c602: b35b cbz r3, 800c65c - 800c604: b354 cbz r4, 800c65c - 800c606: b34f cbz r7, 800c65c - 800c608: 2d21 cmp r5, #33 ; 0x21 - 800c60a: d829 bhi.n 800c660 - 800c60c: 4619 mov r1, r3 - 800c60e: 462a mov r2, r5 - 800c610: 4620 mov r0, r4 - 800c612: f000 f963 bl 800c8dc - 800c616: 2201 movs r2, #1 - 800c618: 1c63 adds r3, r4, #1 - 800c61a: 1e69 subs r1, r5, #1 - 800c61c: 18b0 adds r0, r6, r2 - 800c61e: f7ff ff64 bl 800c4ea - 800c622: b9f8 cbnz r0, 800c664 - 800c624: 7ae3 ldrb r3, [r4, #11] - 800c626: 09db lsrs r3, r3, #7 - 800c628: 703b strb r3, [r7, #0] - 800c62a: b9eb cbnz r3, 800c668 - 800c62c: 1963 adds r3, r4, r5 - 800c62e: 4620 mov r0, r4 - 800c630: f813 2c01 ldrb.w r2, [r3, #-1] - 800c634: f813 1c02 ldrb.w r1, [r3, #-2] - 800c638: 0612 lsls r2, r2, #24 - 800c63a: ea42 4201 orr.w r2, r2, r1, lsl #16 - 800c63e: f813 1c04 ldrb.w r1, [r3, #-4] - 800c642: 430a orrs r2, r1 - 800c644: f813 1c03 ldrb.w r1, [r3, #-3] - 800c648: 2301 movs r3, #1 - 800c64a: ea42 2201 orr.w r2, r2, r1, lsl #8 - 800c64e: 1f29 subs r1, r5, #4 - 800c650: f7ff ff35 bl 800c4be - 800c654: 3800 subs r0, #0 - 800c656: bf18 it ne - 800c658: 2001 movne r0, #1 - 800c65a: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800c65c: 2002 movs r0, #2 - 800c65e: e7fc b.n 800c65a - 800c660: 2005 movs r0, #5 - 800c662: e7fa b.n 800c65a - 800c664: 2007 movs r0, #7 - 800c666: e7f8 b.n 800c65a - 800c668: 2004 movs r0, #4 - 800c66a: e7f6 b.n 800c65a +0800c60a : + 800c60a: b5f8 push {r3, r4, r5, r6, r7, lr} + 800c60c: 461e mov r6, r3 + 800c60e: e9dd 4707 ldrd r4, r7, [sp, #28] + 800c612: f89d 5018 ldrb.w r5, [sp, #24] + 800c616: b35b cbz r3, 800c670 + 800c618: b354 cbz r4, 800c670 + 800c61a: b34f cbz r7, 800c670 + 800c61c: 2d21 cmp r5, #33 ; 0x21 + 800c61e: d829 bhi.n 800c674 + 800c620: 4619 mov r1, r3 + 800c622: 462a mov r2, r5 + 800c624: 4620 mov r0, r4 + 800c626: f000 f963 bl 800c8f0 + 800c62a: 2201 movs r2, #1 + 800c62c: 1c63 adds r3, r4, #1 + 800c62e: 1e69 subs r1, r5, #1 + 800c630: 18b0 adds r0, r6, r2 + 800c632: f7ff ff64 bl 800c4fe + 800c636: b9f8 cbnz r0, 800c678 + 800c638: 7ae3 ldrb r3, [r4, #11] + 800c63a: 09db lsrs r3, r3, #7 + 800c63c: 703b strb r3, [r7, #0] + 800c63e: b9eb cbnz r3, 800c67c + 800c640: 1963 adds r3, r4, r5 + 800c642: 4620 mov r0, r4 + 800c644: f813 2c01 ldrb.w r2, [r3, #-1] + 800c648: f813 1c02 ldrb.w r1, [r3, #-2] + 800c64c: 0612 lsls r2, r2, #24 + 800c64e: ea42 4201 orr.w r2, r2, r1, lsl #16 + 800c652: f813 1c04 ldrb.w r1, [r3, #-4] + 800c656: 430a orrs r2, r1 + 800c658: f813 1c03 ldrb.w r1, [r3, #-3] + 800c65c: 2301 movs r3, #1 + 800c65e: ea42 2201 orr.w r2, r2, r1, lsl #8 + 800c662: 1f29 subs r1, r5, #4 + 800c664: f7ff ff35 bl 800c4d2 + 800c668: 3800 subs r0, #0 + 800c66a: bf18 it ne + 800c66c: 2001 movne r0, #1 + 800c66e: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800c670: 2002 movs r0, #2 + 800c672: e7fc b.n 800c66e + 800c674: 2005 movs r0, #5 + 800c676: e7fa b.n 800c66e + 800c678: 2007 movs r0, #7 + 800c67a: e7f8 b.n 800c66e + 800c67c: 2004 movs r0, #4 + 800c67e: e7f6 b.n 800c66e -0800c66c : - 800c66c: b510 push {r4, lr} - 800c66e: 4604 mov r4, r0 - 800c670: b128 cbz r0, 800c67e - 800c672: 4b04 ldr r3, [pc, #16] ; (800c684 ) - 800c674: 695b ldr r3, [r3, #20] - 800c676: 4798 blx r3 - 800c678: 6020 str r0, [r4, #0] - 800c67a: 2000 movs r0, #0 - 800c67c: bd10 pop {r4, pc} - 800c67e: 2002 movs r0, #2 - 800c680: e7fc b.n 800c67c - 800c682: bf00 nop - 800c684: 080101d4 .word 0x080101d4 +0800c680 : + 800c680: b510 push {r4, lr} + 800c682: 4604 mov r4, r0 + 800c684: b128 cbz r0, 800c692 + 800c686: 4b04 ldr r3, [pc, #16] ; (800c698 ) + 800c688: 695b ldr r3, [r3, #20] + 800c68a: 4798 blx r3 + 800c68c: 6020 str r0, [r4, #0] + 800c68e: 2000 movs r0, #0 + 800c690: bd10 pop {r4, pc} + 800c692: 2002 movs r0, #2 + 800c694: e7fc b.n 800c690 + 800c696: bf00 nop + 800c698: 080101ec .word 0x080101ec -0800c688 : - 800c688: b508 push {r3, lr} - 800c68a: 4601 mov r1, r0 - 800c68c: b130 cbz r0, 800c69c - 800c68e: 4b04 ldr r3, [pc, #16] ; (800c6a0 ) - 800c690: 2208 movs r2, #8 - 800c692: 6818 ldr r0, [r3, #0] - 800c694: f000 f922 bl 800c8dc - 800c698: 2000 movs r0, #0 - 800c69a: bd08 pop {r3, pc} - 800c69c: 2002 movs r0, #2 - 800c69e: e7fc b.n 800c69a - 800c6a0: 200019c8 .word 0x200019c8 +0800c69c : + 800c69c: b508 push {r3, lr} + 800c69e: 4601 mov r1, r0 + 800c6a0: b130 cbz r0, 800c6b0 + 800c6a2: 4b04 ldr r3, [pc, #16] ; (800c6b4 ) + 800c6a4: 2208 movs r2, #8 + 800c6a6: 6818 ldr r0, [r3, #0] + 800c6a8: f000 f922 bl 800c8f0 + 800c6ac: 2000 movs r0, #0 + 800c6ae: bd08 pop {r3, pc} + 800c6b0: 2002 movs r0, #2 + 800c6b2: e7fc b.n 800c6ae + 800c6b4: 200019c8 .word 0x200019c8 -0800c6a4 : - 800c6a4: b508 push {r3, lr} - 800c6a6: b130 cbz r0, 800c6b6 - 800c6a8: 4b04 ldr r3, [pc, #16] ; (800c6bc ) - 800c6aa: 2208 movs r2, #8 - 800c6ac: 6819 ldr r1, [r3, #0] - 800c6ae: f000 f915 bl 800c8dc - 800c6b2: 2000 movs r0, #0 - 800c6b4: bd08 pop {r3, pc} - 800c6b6: 2002 movs r0, #2 - 800c6b8: e7fc b.n 800c6b4 - 800c6ba: bf00 nop - 800c6bc: 200019c8 .word 0x200019c8 +0800c6b8 : + 800c6b8: b508 push {r3, lr} + 800c6ba: b130 cbz r0, 800c6ca + 800c6bc: 4b04 ldr r3, [pc, #16] ; (800c6d0 ) + 800c6be: 2208 movs r2, #8 + 800c6c0: 6819 ldr r1, [r3, #0] + 800c6c2: f000 f915 bl 800c8f0 + 800c6c6: 2000 movs r0, #0 + 800c6c8: bd08 pop {r3, pc} + 800c6ca: 2002 movs r0, #2 + 800c6cc: e7fc b.n 800c6c8 + 800c6ce: bf00 nop + 800c6d0: 200019c8 .word 0x200019c8 -0800c6c0 : - 800c6c0: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 800c6c2: 4e12 ldr r6, [pc, #72] ; (800c70c ) - 800c6c4: 2300 movs r3, #0 - 800c6c6: 4604 mov r4, r0 - 800c6c8: a802 add r0, sp, #8 - 800c6ca: 9301 str r3, [sp, #4] - 800c6cc: 460d mov r5, r1 - 800c6ce: f7ff ffe9 bl 800c6a4 - 800c6d2: 6833 ldr r3, [r6, #0] - 800c6d4: 695b ldr r3, [r3, #20] - 800c6d6: 9301 str r3, [sp, #4] - 800c6d8: b16c cbz r4, 800c6f6 - 800c6da: aa02 add r2, sp, #8 - 800c6dc: 2308 movs r3, #8 - 800c6de: f812 1b01 ldrb.w r1, [r2], #1 - 800c6e2: b941 cbnz r1, 800c6f6 - 800c6e4: 3b01 subs r3, #1 - 800c6e6: f013 03ff ands.w r3, r3, #255 ; 0xff - 800c6ea: d1f8 bne.n 800c6de - 800c6ec: a802 add r0, sp, #8 - 800c6ee: 47a0 blx r4 - 800c6f0: a802 add r0, sp, #8 - 800c6f2: f7ff ffc9 bl 800c688 - 800c6f6: b135 cbz r5, 800c706 - 800c6f8: 9b01 ldr r3, [sp, #4] - 800c6fa: b923 cbnz r3, 800c706 - 800c6fc: a801 add r0, sp, #4 - 800c6fe: 47a8 blx r5 - 800c700: 6833 ldr r3, [r6, #0] - 800c702: 9a01 ldr r2, [sp, #4] - 800c704: 615a str r2, [r3, #20] - 800c706: 2000 movs r0, #0 - 800c708: b004 add sp, #16 - 800c70a: bd70 pop {r4, r5, r6, pc} - 800c70c: 200019c8 .word 0x200019c8 +0800c6d4 : + 800c6d4: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 800c6d6: 4e12 ldr r6, [pc, #72] ; (800c720 ) + 800c6d8: 2300 movs r3, #0 + 800c6da: 4604 mov r4, r0 + 800c6dc: a802 add r0, sp, #8 + 800c6de: 9301 str r3, [sp, #4] + 800c6e0: 460d mov r5, r1 + 800c6e2: f7ff ffe9 bl 800c6b8 + 800c6e6: 6833 ldr r3, [r6, #0] + 800c6e8: 695b ldr r3, [r3, #20] + 800c6ea: 9301 str r3, [sp, #4] + 800c6ec: b16c cbz r4, 800c70a + 800c6ee: aa02 add r2, sp, #8 + 800c6f0: 2308 movs r3, #8 + 800c6f2: f812 1b01 ldrb.w r1, [r2], #1 + 800c6f6: b941 cbnz r1, 800c70a + 800c6f8: 3b01 subs r3, #1 + 800c6fa: f013 03ff ands.w r3, r3, #255 ; 0xff + 800c6fe: d1f8 bne.n 800c6f2 + 800c700: a802 add r0, sp, #8 + 800c702: 47a0 blx r4 + 800c704: a802 add r0, sp, #8 + 800c706: f7ff ffc9 bl 800c69c + 800c70a: b135 cbz r5, 800c71a + 800c70c: 9b01 ldr r3, [sp, #4] + 800c70e: b923 cbnz r3, 800c71a + 800c710: a801 add r0, sp, #4 + 800c712: 47a8 blx r5 + 800c714: 6833 ldr r3, [r6, #0] + 800c716: 9a01 ldr r2, [sp, #4] + 800c718: 615a str r2, [r3, #20] + 800c71a: 2000 movs r0, #0 + 800c71c: b004 add sp, #16 + 800c71e: bd70 pop {r4, r5, r6, pc} + 800c720: 200019c8 .word 0x200019c8 -0800c710 : - 800c710: b508 push {r3, lr} - 800c712: 4601 mov r1, r0 - 800c714: b138 cbz r0, 800c726 - 800c716: 4b05 ldr r3, [pc, #20] ; (800c72c ) - 800c718: 6818 ldr r0, [r3, #0] - 800c71a: 2208 movs r2, #8 - 800c71c: 4410 add r0, r2 - 800c71e: f000 f8dd bl 800c8dc - 800c722: 2000 movs r0, #0 - 800c724: bd08 pop {r3, pc} - 800c726: 2002 movs r0, #2 - 800c728: e7fc b.n 800c724 - 800c72a: bf00 nop - 800c72c: 200019c8 .word 0x200019c8 +0800c724 : + 800c724: b508 push {r3, lr} + 800c726: 4601 mov r1, r0 + 800c728: b138 cbz r0, 800c73a + 800c72a: 4b05 ldr r3, [pc, #20] ; (800c740 ) + 800c72c: 6818 ldr r0, [r3, #0] + 800c72e: 2208 movs r2, #8 + 800c730: 4410 add r0, r2 + 800c732: f000 f8dd bl 800c8f0 + 800c736: 2000 movs r0, #0 + 800c738: bd08 pop {r3, pc} + 800c73a: 2002 movs r0, #2 + 800c73c: e7fc b.n 800c738 + 800c73e: bf00 nop + 800c740: 200019c8 .word 0x200019c8 -0800c730 : - 800c730: b508 push {r3, lr} - 800c732: b138 cbz r0, 800c744 - 800c734: 4b04 ldr r3, [pc, #16] ; (800c748 ) - 800c736: 6819 ldr r1, [r3, #0] - 800c738: 2208 movs r2, #8 - 800c73a: 4411 add r1, r2 - 800c73c: f000 f8ce bl 800c8dc - 800c740: 2000 movs r0, #0 - 800c742: bd08 pop {r3, pc} - 800c744: 2002 movs r0, #2 - 800c746: e7fc b.n 800c742 - 800c748: 200019c8 .word 0x200019c8 - -0800c74c : - 800c74c: 4b03 ldr r3, [pc, #12] ; (800c75c ) - 800c74e: 681b ldr r3, [r3, #0] - 800c750: 2802 cmp r0, #2 - 800c752: bf0c ite eq - 800c754: 6119 streq r1, [r3, #16] - 800c756: 6159 strne r1, [r3, #20] - 800c758: 2000 movs r0, #0 - 800c75a: 4770 bx lr +0800c744 : + 800c744: b508 push {r3, lr} + 800c746: b138 cbz r0, 800c758 + 800c748: 4b04 ldr r3, [pc, #16] ; (800c75c ) + 800c74a: 6819 ldr r1, [r3, #0] + 800c74c: 2208 movs r2, #8 + 800c74e: 4411 add r1, r2 + 800c750: f000 f8ce bl 800c8f0 + 800c754: 2000 movs r0, #0 + 800c756: bd08 pop {r3, pc} + 800c758: 2002 movs r0, #2 + 800c75a: e7fc b.n 800c756 800c75c: 200019c8 .word 0x200019c8 -0800c760 : - 800c760: b141 cbz r1, 800c774 - 800c762: 4b05 ldr r3, [pc, #20] ; (800c778 ) - 800c764: 681b ldr r3, [r3, #0] - 800c766: 2802 cmp r0, #2 - 800c768: bf0c ite eq - 800c76a: 691b ldreq r3, [r3, #16] - 800c76c: 695b ldrne r3, [r3, #20] - 800c76e: 600b str r3, [r1, #0] - 800c770: 2000 movs r0, #0 - 800c772: 4770 bx lr - 800c774: 2002 movs r0, #2 - 800c776: 4770 bx lr - 800c778: 200019c8 .word 0x200019c8 +0800c760 : + 800c760: 4b03 ldr r3, [pc, #12] ; (800c770 ) + 800c762: 681b ldr r3, [r3, #0] + 800c764: 2802 cmp r0, #2 + 800c766: bf0c ite eq + 800c768: 6119 streq r1, [r3, #16] + 800c76a: 6159 strne r1, [r3, #20] + 800c76c: 2000 movs r0, #0 + 800c76e: 4770 bx lr + 800c770: 200019c8 .word 0x200019c8 -0800c77c : - 800c77c: b530 push {r4, r5, lr} - 800c77e: b08f sub sp, #60 ; 0x3c - 800c780: 2400 movs r4, #0 - 800c782: 4605 mov r5, r0 - 800c784: a80c add r0, sp, #48 ; 0x30 - 800c786: 9409 str r4, [sp, #36] ; 0x24 - 800c788: f7ff ff8c bl 800c6a4 - 800c78c: f89d 3037 ldrb.w r3, [sp, #55] ; 0x37 - 800c790: 9307 str r3, [sp, #28] - 800c792: f89d 3036 ldrb.w r3, [sp, #54] ; 0x36 - 800c796: 9306 str r3, [sp, #24] - 800c798: f89d 3035 ldrb.w r3, [sp, #53] ; 0x35 - 800c79c: 9305 str r3, [sp, #20] - 800c79e: f89d 3034 ldrb.w r3, [sp, #52] ; 0x34 - 800c7a2: 9304 str r3, [sp, #16] - 800c7a4: f89d 3033 ldrb.w r3, [sp, #51] ; 0x33 - 800c7a8: 9303 str r3, [sp, #12] - 800c7aa: f89d 3032 ldrb.w r3, [sp, #50] ; 0x32 - 800c7ae: 9302 str r3, [sp, #8] - 800c7b0: f89d 3031 ldrb.w r3, [sp, #49] ; 0x31 - 800c7b4: 9301 str r3, [sp, #4] - 800c7b6: f89d 3030 ldrb.w r3, [sp, #48] ; 0x30 - 800c7ba: 9300 str r3, [sp, #0] - 800c7bc: 4622 mov r2, r4 - 800c7be: 4621 mov r1, r4 - 800c7c0: 4b1e ldr r3, [pc, #120] ; (800c83c ) - 800c7c2: 2002 movs r0, #2 - 800c7c4: f002 f880 bl 800e8c8 - 800c7c8: a80a add r0, sp, #40 ; 0x28 - 800c7ca: f7ff ffb1 bl 800c730 - 800c7ce: f89d 302f ldrb.w r3, [sp, #47] ; 0x2f - 800c7d2: 9307 str r3, [sp, #28] - 800c7d4: f89d 302e ldrb.w r3, [sp, #46] ; 0x2e - 800c7d8: 9306 str r3, [sp, #24] - 800c7da: f89d 302d ldrb.w r3, [sp, #45] ; 0x2d - 800c7de: 9305 str r3, [sp, #20] - 800c7e0: f89d 302c ldrb.w r3, [sp, #44] ; 0x2c - 800c7e4: 9304 str r3, [sp, #16] - 800c7e6: f89d 302b ldrb.w r3, [sp, #43] ; 0x2b - 800c7ea: 9303 str r3, [sp, #12] - 800c7ec: f89d 302a ldrb.w r3, [sp, #42] ; 0x2a - 800c7f0: 9302 str r3, [sp, #8] - 800c7f2: f89d 3029 ldrb.w r3, [sp, #41] ; 0x29 - 800c7f6: 9301 str r3, [sp, #4] - 800c7f8: f89d 3028 ldrb.w r3, [sp, #40] ; 0x28 - 800c7fc: 9300 str r3, [sp, #0] - 800c7fe: 4622 mov r2, r4 - 800c800: 4b0f ldr r3, [pc, #60] ; (800c840 ) - 800c802: 4621 mov r1, r4 - 800c804: 2002 movs r0, #2 - 800c806: f002 f85f bl 800e8c8 - 800c80a: a909 add r1, sp, #36 ; 0x24 - 800c80c: 4628 mov r0, r5 - 800c80e: f7ff ffa7 bl 800c760 - 800c812: f89d 3024 ldrb.w r3, [sp, #36] ; 0x24 - 800c816: 9303 str r3, [sp, #12] - 800c818: f89d 3025 ldrb.w r3, [sp, #37] ; 0x25 - 800c81c: 9302 str r3, [sp, #8] - 800c81e: f89d 3026 ldrb.w r3, [sp, #38] ; 0x26 - 800c822: 9301 str r3, [sp, #4] - 800c824: f89d 3027 ldrb.w r3, [sp, #39] ; 0x27 - 800c828: 9300 str r3, [sp, #0] - 800c82a: 4622 mov r2, r4 - 800c82c: 4b05 ldr r3, [pc, #20] ; (800c844 ) - 800c82e: 4621 mov r1, r4 - 800c830: 2002 movs r0, #2 - 800c832: f002 f849 bl 800e8c8 - 800c836: b00f add sp, #60 ; 0x3c - 800c838: bd30 pop {r4, r5, pc} - 800c83a: bf00 nop - 800c83c: 0800ffa0 .word 0x0800ffa0 - 800c840: 0800ffde .word 0x0800ffde - 800c844: 0801001c .word 0x0801001c +0800c774 : + 800c774: b141 cbz r1, 800c788 + 800c776: 4b05 ldr r3, [pc, #20] ; (800c78c ) + 800c778: 681b ldr r3, [r3, #0] + 800c77a: 2802 cmp r0, #2 + 800c77c: bf0c ite eq + 800c77e: 691b ldreq r3, [r3, #16] + 800c780: 695b ldrne r3, [r3, #20] + 800c782: 600b str r3, [r1, #0] + 800c784: 2000 movs r0, #0 + 800c786: 4770 bx lr + 800c788: 2002 movs r0, #2 + 800c78a: 4770 bx lr + 800c78c: 200019c8 .word 0x200019c8 -0800c848 : - 800c848: b508 push {r3, lr} - 800c84a: 2000 movs r0, #0 - 800c84c: f7ff fdea bl 800c424 - 800c850: 2001 movs r0, #1 - 800c852: f7ff fde7 bl 800c424 - 800c856: 2009 movs r0, #9 - 800c858: f7ff fde4 bl 800c424 - 800c85c: 2008 movs r0, #8 - 800c85e: f7ff fde1 bl 800c424 - 800c862: 2000 movs r0, #0 - 800c864: f7ff ff8a bl 800c77c - 800c868: 2000 movs r0, #0 - 800c86a: bd08 pop {r3, pc} +0800c790 : + 800c790: b530 push {r4, r5, lr} + 800c792: b08f sub sp, #60 ; 0x3c + 800c794: 2400 movs r4, #0 + 800c796: 4605 mov r5, r0 + 800c798: a80c add r0, sp, #48 ; 0x30 + 800c79a: 9409 str r4, [sp, #36] ; 0x24 + 800c79c: f7ff ff8c bl 800c6b8 + 800c7a0: f89d 3037 ldrb.w r3, [sp, #55] ; 0x37 + 800c7a4: 9307 str r3, [sp, #28] + 800c7a6: f89d 3036 ldrb.w r3, [sp, #54] ; 0x36 + 800c7aa: 9306 str r3, [sp, #24] + 800c7ac: f89d 3035 ldrb.w r3, [sp, #53] ; 0x35 + 800c7b0: 9305 str r3, [sp, #20] + 800c7b2: f89d 3034 ldrb.w r3, [sp, #52] ; 0x34 + 800c7b6: 9304 str r3, [sp, #16] + 800c7b8: f89d 3033 ldrb.w r3, [sp, #51] ; 0x33 + 800c7bc: 9303 str r3, [sp, #12] + 800c7be: f89d 3032 ldrb.w r3, [sp, #50] ; 0x32 + 800c7c2: 9302 str r3, [sp, #8] + 800c7c4: f89d 3031 ldrb.w r3, [sp, #49] ; 0x31 + 800c7c8: 9301 str r3, [sp, #4] + 800c7ca: f89d 3030 ldrb.w r3, [sp, #48] ; 0x30 + 800c7ce: 9300 str r3, [sp, #0] + 800c7d0: 4622 mov r2, r4 + 800c7d2: 4621 mov r1, r4 + 800c7d4: 4b1e ldr r3, [pc, #120] ; (800c850 ) + 800c7d6: 2002 movs r0, #2 + 800c7d8: f002 f880 bl 800e8dc + 800c7dc: a80a add r0, sp, #40 ; 0x28 + 800c7de: f7ff ffb1 bl 800c744 + 800c7e2: f89d 302f ldrb.w r3, [sp, #47] ; 0x2f + 800c7e6: 9307 str r3, [sp, #28] + 800c7e8: f89d 302e ldrb.w r3, [sp, #46] ; 0x2e + 800c7ec: 9306 str r3, [sp, #24] + 800c7ee: f89d 302d ldrb.w r3, [sp, #45] ; 0x2d + 800c7f2: 9305 str r3, [sp, #20] + 800c7f4: f89d 302c ldrb.w r3, [sp, #44] ; 0x2c + 800c7f8: 9304 str r3, [sp, #16] + 800c7fa: f89d 302b ldrb.w r3, [sp, #43] ; 0x2b + 800c7fe: 9303 str r3, [sp, #12] + 800c800: f89d 302a ldrb.w r3, [sp, #42] ; 0x2a + 800c804: 9302 str r3, [sp, #8] + 800c806: f89d 3029 ldrb.w r3, [sp, #41] ; 0x29 + 800c80a: 9301 str r3, [sp, #4] + 800c80c: f89d 3028 ldrb.w r3, [sp, #40] ; 0x28 + 800c810: 9300 str r3, [sp, #0] + 800c812: 4622 mov r2, r4 + 800c814: 4b0f ldr r3, [pc, #60] ; (800c854 ) + 800c816: 4621 mov r1, r4 + 800c818: 2002 movs r0, #2 + 800c81a: f002 f85f bl 800e8dc + 800c81e: a909 add r1, sp, #36 ; 0x24 + 800c820: 4628 mov r0, r5 + 800c822: f7ff ffa7 bl 800c774 + 800c826: f89d 3024 ldrb.w r3, [sp, #36] ; 0x24 + 800c82a: 9303 str r3, [sp, #12] + 800c82c: f89d 3025 ldrb.w r3, [sp, #37] ; 0x25 + 800c830: 9302 str r3, [sp, #8] + 800c832: f89d 3026 ldrb.w r3, [sp, #38] ; 0x26 + 800c836: 9301 str r3, [sp, #4] + 800c838: f89d 3027 ldrb.w r3, [sp, #39] ; 0x27 + 800c83c: 9300 str r3, [sp, #0] + 800c83e: 4622 mov r2, r4 + 800c840: 4b05 ldr r3, [pc, #20] ; (800c858 ) + 800c842: 4621 mov r1, r4 + 800c844: 2002 movs r0, #2 + 800c846: f002 f849 bl 800e8dc + 800c84a: b00f add sp, #60 ; 0x3c + 800c84c: bd30 pop {r4, r5, pc} + 800c84e: bf00 nop + 800c850: 0800ffb8 .word 0x0800ffb8 + 800c854: 0800fff6 .word 0x0800fff6 + 800c858: 08010034 .word 0x08010034 -0800c86c : - 800c86c: b510 push {r4, lr} - 800c86e: 4604 mov r4, r0 - 800c870: 200b movs r0, #11 - 800c872: f7ff fdd7 bl 800c424 - 800c876: 200c movs r0, #12 - 800c878: f7ff fdd4 bl 800c424 - 800c87c: 2009 movs r0, #9 - 800c87e: f7ff fdd1 bl 800c424 - 800c882: 2008 movs r0, #8 - 800c884: f7ff fdce bl 800c424 - 800c888: 200a movs r0, #10 - 800c88a: f7ff fdcb bl 800c424 - 800c88e: 4620 mov r0, r4 - 800c890: f7ff ff74 bl 800c77c - 800c894: 2000 movs r0, #0 - 800c896: bd10 pop {r4, pc} +0800c85c : + 800c85c: b508 push {r3, lr} + 800c85e: 2000 movs r0, #0 + 800c860: f7ff fdea bl 800c438 + 800c864: 2001 movs r0, #1 + 800c866: f7ff fde7 bl 800c438 + 800c86a: 2009 movs r0, #9 + 800c86c: f7ff fde4 bl 800c438 + 800c870: 2008 movs r0, #8 + 800c872: f7ff fde1 bl 800c438 + 800c876: 2000 movs r0, #0 + 800c878: f7ff ff8a bl 800c790 + 800c87c: 2000 movs r0, #0 + 800c87e: bd08 pop {r3, pc} -0800c898 : - 800c898: 4b01 ldr r3, [pc, #4] ; (800c8a0 ) - 800c89a: 6018 str r0, [r3, #0] - 800c89c: 4770 bx lr - 800c89e: bf00 nop - 800c8a0: 200000f8 .word 0x200000f8 +0800c880 : + 800c880: b510 push {r4, lr} + 800c882: 4604 mov r4, r0 + 800c884: 200b movs r0, #11 + 800c886: f7ff fdd7 bl 800c438 + 800c88a: 200c movs r0, #12 + 800c88c: f7ff fdd4 bl 800c438 + 800c890: 2009 movs r0, #9 + 800c892: f7ff fdd1 bl 800c438 + 800c896: 2008 movs r0, #8 + 800c898: f7ff fdce bl 800c438 + 800c89c: 200a movs r0, #10 + 800c89e: f7ff fdcb bl 800c438 + 800c8a2: 4620 mov r0, r4 + 800c8a4: f7ff ff74 bl 800c790 + 800c8a8: 2000 movs r0, #0 + 800c8aa: bd10 pop {r4, pc} -0800c8a4 : - 800c8a4: 4a0b ldr r2, [pc, #44] ; (800c8d4 ) - 800c8a6: b530 push {r4, r5, lr} - 800c8a8: 6814 ldr r4, [r2, #0] - 800c8aa: 4d0b ldr r5, [pc, #44] ; (800c8d8 ) - 800c8ac: f243 0339 movw r3, #12345 ; 0x3039 - 800c8b0: fb05 3304 mla r3, r5, r4, r3 - 800c8b4: 6013 str r3, [r2, #0] - 800c8b6: 1a09 subs r1, r1, r0 - 800c8b8: f06f 4200 mvn.w r2, #2147483648 ; 0x80000000 - 800c8bc: fbb3 f2f2 udiv r2, r3, r2 - 800c8c0: ebc2 72c2 rsb r2, r2, r2, lsl #31 - 800c8c4: 3101 adds r1, #1 - 800c8c6: 1a9b subs r3, r3, r2 - 800c8c8: fb93 f2f1 sdiv r2, r3, r1 - 800c8cc: fb01 3312 mls r3, r1, r2, r3 - 800c8d0: 4418 add r0, r3 - 800c8d2: bd30 pop {r4, r5, pc} - 800c8d4: 200000f8 .word 0x200000f8 - 800c8d8: 41c64e6d .word 0x41c64e6d +0800c8ac : + 800c8ac: 4b01 ldr r3, [pc, #4] ; (800c8b4 ) + 800c8ae: 6018 str r0, [r3, #0] + 800c8b0: 4770 bx lr + 800c8b2: bf00 nop + 800c8b4: 200000f8 .word 0x200000f8 -0800c8dc : - 800c8dc: 3801 subs r0, #1 - 800c8de: 440a add r2, r1 - 800c8e0: 4291 cmp r1, r2 - 800c8e2: d100 bne.n 800c8e6 - 800c8e4: 4770 bx lr - 800c8e6: f811 3b01 ldrb.w r3, [r1], #1 - 800c8ea: f800 3f01 strb.w r3, [r0, #1]! - 800c8ee: e7f7 b.n 800c8e0 +0800c8b8 : + 800c8b8: 4a0b ldr r2, [pc, #44] ; (800c8e8 ) + 800c8ba: b530 push {r4, r5, lr} + 800c8bc: 6814 ldr r4, [r2, #0] + 800c8be: 4d0b ldr r5, [pc, #44] ; (800c8ec ) + 800c8c0: f243 0339 movw r3, #12345 ; 0x3039 + 800c8c4: fb05 3304 mla r3, r5, r4, r3 + 800c8c8: 6013 str r3, [r2, #0] + 800c8ca: 1a09 subs r1, r1, r0 + 800c8cc: f06f 4200 mvn.w r2, #2147483648 ; 0x80000000 + 800c8d0: fbb3 f2f2 udiv r2, r3, r2 + 800c8d4: ebc2 72c2 rsb r2, r2, r2, lsl #31 + 800c8d8: 3101 adds r1, #1 + 800c8da: 1a9b subs r3, r3, r2 + 800c8dc: fb93 f2f1 sdiv r2, r3, r1 + 800c8e0: fb01 3312 mls r3, r1, r2, r3 + 800c8e4: 4418 add r0, r3 + 800c8e6: bd30 pop {r4, r5, pc} + 800c8e8: 200000f8 .word 0x200000f8 + 800c8ec: 41c64e6d .word 0x41c64e6d -0800c8f0 : - 800c8f0: 4410 add r0, r2 +0800c8f0 : + 800c8f0: 3801 subs r0, #1 800c8f2: 440a add r2, r1 800c8f4: 4291 cmp r1, r2 - 800c8f6: d100 bne.n 800c8fa + 800c8f6: d100 bne.n 800c8fa 800c8f8: 4770 bx lr 800c8fa: f811 3b01 ldrb.w r3, [r1], #1 - 800c8fe: f800 3d01 strb.w r3, [r0, #-1]! - 800c902: e7f7 b.n 800c8f4 + 800c8fe: f800 3f01 strb.w r3, [r0, #1]! + 800c902: e7f7 b.n 800c8f4 -0800c904 : - 800c904: f002 bd10 b.w 800f328 +0800c904 : + 800c904: 4410 add r0, r2 + 800c906: 440a add r2, r1 + 800c908: 4291 cmp r1, r2 + 800c90a: d100 bne.n 800c90e + 800c90c: 4770 bx lr + 800c90e: f811 3b01 ldrb.w r3, [r1], #1 + 800c912: f800 3d01 strb.w r3, [r0, #-1]! + 800c916: e7f7 b.n 800c908 -0800c908 : - 800c908: b530 push {r4, r5, lr} - 800c90a: b130 cbz r0, 800c91a - 800c90c: 4d0a ldr r5, [pc, #40] ; (800c938 ) - 800c90e: 4401 add r1, r0 - 800c910: f04f 33ff mov.w r3, #4294967295 - 800c914: 4281 cmp r1, r0 - 800c916: d101 bne.n 800c91c - 800c918: 43d8 mvns r0, r3 - 800c91a: bd30 pop {r4, r5, pc} - 800c91c: f810 2b01 ldrb.w r2, [r0], #1 - 800c920: 4053 eors r3, r2 - 800c922: 2208 movs r2, #8 - 800c924: f343 0400 sbfx r4, r3, #0, #1 - 800c928: 3a01 subs r2, #1 - 800c92a: 402c ands r4, r5 - 800c92c: b292 uxth r2, r2 - 800c92e: ea84 0353 eor.w r3, r4, r3, lsr #1 - 800c932: 2a00 cmp r2, #0 - 800c934: d1f6 bne.n 800c924 - 800c936: e7ed b.n 800c914 - 800c938: edb88320 .word 0xedb88320 +0800c918 : + 800c918: f002 bd10 b.w 800f33c -0800c93c : - 800c93c: 2001 movs r0, #1 - 800c93e: 4770 bx lr +0800c91c : + 800c91c: b530 push {r4, r5, lr} + 800c91e: b130 cbz r0, 800c92e + 800c920: 4d0a ldr r5, [pc, #40] ; (800c94c ) + 800c922: 4401 add r1, r0 + 800c924: f04f 33ff mov.w r3, #4294967295 + 800c928: 4281 cmp r1, r0 + 800c92a: d101 bne.n 800c930 + 800c92c: 43d8 mvns r0, r3 + 800c92e: bd30 pop {r4, r5, pc} + 800c930: f810 2b01 ldrb.w r2, [r0], #1 + 800c934: 4053 eors r3, r2 + 800c936: 2208 movs r2, #8 + 800c938: f343 0400 sbfx r4, r3, #0, #1 + 800c93c: 3a01 subs r2, #1 + 800c93e: 402c ands r4, r5 + 800c940: b292 uxth r2, r2 + 800c942: ea84 0353 eor.w r3, r4, r3, lsr #1 + 800c946: 2a00 cmp r2, #0 + 800c948: d1f6 bne.n 800c938 + 800c94a: e7ed b.n 800c928 + 800c94c: edb88320 .word 0xedb88320 -0800c940 : - 800c940: 4b05 ldr r3, [pc, #20] ; (800c958 ) - 800c942: f44f 5200 mov.w r2, #8192 ; 0x2000 - 800c946: 629a str r2, [r3, #40] ; 0x28 - 800c948: 4b04 ldr r3, [pc, #16] ; (800c95c ) - 800c94a: 681b ldr r3, [r3, #0] - 800c94c: b113 cbz r3, 800c954 - 800c94e: 685b ldr r3, [r3, #4] - 800c950: b103 cbz r3, 800c954 - 800c952: 4718 bx r3 - 800c954: 4770 bx lr - 800c956: bf00 nop - 800c958: 48000400 .word 0x48000400 - 800c95c: 20001acc .word 0x20001acc +0800c950 : + 800c950: 2001 movs r0, #1 + 800c952: 4770 bx lr -0800c960 : - 800c960: 4b05 ldr r3, [pc, #20] ; (800c978 ) - 800c962: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800c966: 629a str r2, [r3, #40] ; 0x28 - 800c968: 4b04 ldr r3, [pc, #16] ; (800c97c ) - 800c96a: 681b ldr r3, [r3, #0] - 800c96c: b113 cbz r3, 800c974 - 800c96e: 68db ldr r3, [r3, #12] - 800c970: b103 cbz r3, 800c974 - 800c972: 4718 bx r3 - 800c974: 4770 bx lr - 800c976: bf00 nop - 800c978: 48000400 .word 0x48000400 - 800c97c: 20001acc .word 0x20001acc +0800c954 : + 800c954: 4b05 ldr r3, [pc, #20] ; (800c96c ) + 800c956: f44f 5200 mov.w r2, #8192 ; 0x2000 + 800c95a: 629a str r2, [r3, #40] ; 0x28 + 800c95c: 4b04 ldr r3, [pc, #16] ; (800c970 ) + 800c95e: 681b ldr r3, [r3, #0] + 800c960: b113 cbz r3, 800c968 + 800c962: 685b ldr r3, [r3, #4] + 800c964: b103 cbz r3, 800c968 + 800c966: 4718 bx r3 + 800c968: 4770 bx lr + 800c96a: bf00 nop + 800c96c: 48000400 .word 0x48000400 + 800c970: 20001acc .word 0x20001acc -0800c980 : - 800c980: 2001 movs r0, #1 - 800c982: 4770 bx lr +0800c974 : + 800c974: 4b05 ldr r3, [pc, #20] ; (800c98c ) + 800c976: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800c97a: 629a str r2, [r3, #40] ; 0x28 + 800c97c: 4b04 ldr r3, [pc, #16] ; (800c990 ) + 800c97e: 681b ldr r3, [r3, #0] + 800c980: b113 cbz r3, 800c988 + 800c982: 68db ldr r3, [r3, #12] + 800c984: b103 cbz r3, 800c988 + 800c986: 4718 bx r3 + 800c988: 4770 bx lr + 800c98a: bf00 nop + 800c98c: 48000400 .word 0x48000400 + 800c990: 20001acc .word 0x20001acc -0800c984 : - 800c984: 2001 movs r0, #1 - 800c986: 4770 bx lr +0800c994 : + 800c994: 2001 movs r0, #1 + 800c996: 4770 bx lr -0800c988 : - 800c988: f001 b948 b.w 800dc1c +0800c998 : + 800c998: 2001 movs r0, #1 + 800c99a: 4770 bx lr -0800c98c : - 800c98c: f001 b936 b.w 800dbfc +0800c99c : + 800c99c: f001 b948 b.w 800dc30 -0800c990 : - 800c990: b510 push {r4, lr} - 800c992: f001 fe19 bl 800e5c8 - 800c996: 210e movs r1, #14 - 800c998: 4604 mov r4, r0 - 800c99a: f640 101f movw r0, #2335 ; 0x91f - 800c99e: f001 f92d bl 800dbfc - 800c9a2: 4620 mov r0, r4 - 800c9a4: 2101 movs r1, #1 - 800c9a6: f001 fdf9 bl 800e59c - 800c9aa: e8bd 4010 ldmia.w sp!, {r4, lr} - 800c9ae: f001 bad7 b.w 800df60 +0800c9a0 : + 800c9a0: f001 b936 b.w 800dc10 + +0800c9a4 : + 800c9a4: b510 push {r4, lr} + 800c9a6: f001 fe19 bl 800e5dc + 800c9aa: 210e movs r1, #14 + 800c9ac: 4604 mov r4, r0 + 800c9ae: f640 101f movw r0, #2335 ; 0x91f + 800c9b2: f001 f92d bl 800dc10 + 800c9b6: 4620 mov r0, r4 + 800c9b8: 2101 movs r1, #1 + 800c9ba: f001 fdf9 bl 800e5b0 + 800c9be: e8bd 4010 ldmia.w sp!, {r4, lr} + 800c9c2: f001 bad7 b.w 800df74 ... -0800c9b4 : - 800c9b4: b570 push {r4, r5, r6, lr} - 800c9b6: 4e0c ldr r6, [pc, #48] ; (800c9e8 ) - 800c9b8: eb01 0340 add.w r3, r1, r0, lsl #1 - 800c9bc: 460d mov r5, r1 - 800c9be: 65b3 str r3, [r6, #88] ; 0x58 - 800c9c0: f64f 71ff movw r1, #65535 ; 0xffff - 800c9c4: 2300 movs r3, #0 - 800c9c6: 4604 mov r4, r0 - 800c9c8: 461a mov r2, r3 - 800c9ca: 4608 mov r0, r1 - 800c9cc: f001 fb5e bl 800e08c - 800c9d0: f896 0056 ldrb.w r0, [r6, #86] ; 0x56 - 800c9d4: 2100 movs r1, #0 - 800c9d6: f001 fde1 bl 800e59c - 800c9da: 4629 mov r1, r5 - 800c9dc: 4620 mov r0, r4 - 800c9de: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 800c9e2: f001 ba95 b.w 800df10 - 800c9e6: bf00 nop - 800c9e8: 20001ae8 .word 0x20001ae8 +0800c9c8 : + 800c9c8: b570 push {r4, r5, r6, lr} + 800c9ca: 4e0c ldr r6, [pc, #48] ; (800c9fc ) + 800c9cc: eb01 0340 add.w r3, r1, r0, lsl #1 + 800c9d0: 460d mov r5, r1 + 800c9d2: 65b3 str r3, [r6, #88] ; 0x58 + 800c9d4: f64f 71ff movw r1, #65535 ; 0xffff + 800c9d8: 2300 movs r3, #0 + 800c9da: 4604 mov r4, r0 + 800c9dc: 461a mov r2, r3 + 800c9de: 4608 mov r0, r1 + 800c9e0: f001 fb5e bl 800e0a0 + 800c9e4: f896 0056 ldrb.w r0, [r6, #86] ; 0x56 + 800c9e8: 2100 movs r1, #0 + 800c9ea: f001 fde1 bl 800e5b0 + 800c9ee: 4629 mov r1, r5 + 800c9f0: 4620 mov r0, r4 + 800c9f2: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 800c9f6: f001 ba95 b.w 800df24 + 800c9fa: bf00 nop + 800c9fc: 20001ae8 .word 0x20001ae8 -0800c9ec : - 800c9ec: b510 push {r4, lr} - 800c9ee: 4604 mov r4, r0 - 800c9f0: f001 feaa bl 800e748 - 800c9f4: 2801 cmp r0, #1 - 800c9f6: d11c bne.n 800ca32 - 800c9f8: f001 feae bl 800e758 - 800c9fc: b134 cbz r4, 800ca0c - 800c9fe: 4812 ldr r0, [pc, #72] ; (800ca48 ) - 800ca00: 4621 mov r1, r4 - 800ca02: f002 fb17 bl 800f034 - 800ca06: 4810 ldr r0, [pc, #64] ; (800ca48 ) - 800ca08: f002 fada bl 800efc0 - 800ca0c: 4c0f ldr r4, [pc, #60] ; (800ca4c ) - 800ca0e: 4b10 ldr r3, [pc, #64] ; (800ca50 ) - 800ca10: 2100 movs r1, #0 - 800ca12: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800ca16: 65a1 str r1, [r4, #88] ; 0x58 - 800ca18: 619a str r2, [r3, #24] - 800ca1a: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 - 800ca1e: f001 fdbd bl 800e59c - 800ca22: 7863 ldrb r3, [r4, #1] - 800ca24: b16b cbz r3, 800ca42 - 800ca26: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 - 800ca2a: e8bd 4010 ldmia.w sp!, {r4, lr} - 800ca2e: f001 ba53 b.w 800ded8 - 800ca32: 2300 movs r3, #0 - 800ca34: f240 2162 movw r1, #610 ; 0x262 - 800ca38: 461a mov r2, r3 - 800ca3a: 4608 mov r0, r1 - 800ca3c: f001 fb26 bl 800e08c - 800ca40: e7dc b.n 800c9fc - 800ca42: 68a0 ldr r0, [r4, #8] - 800ca44: 0180 lsls r0, r0, #6 - 800ca46: e7f0 b.n 800ca2a - 800ca48: 20001ad0 .word 0x20001ad0 - 800ca4c: 20001ae8 .word 0x20001ae8 - 800ca50: 48000400 .word 0x48000400 +0800ca00 : + 800ca00: b510 push {r4, lr} + 800ca02: 4604 mov r4, r0 + 800ca04: f001 feaa bl 800e75c + 800ca08: 2801 cmp r0, #1 + 800ca0a: d11c bne.n 800ca46 + 800ca0c: f001 feae bl 800e76c + 800ca10: b134 cbz r4, 800ca20 + 800ca12: 4812 ldr r0, [pc, #72] ; (800ca5c ) + 800ca14: 4621 mov r1, r4 + 800ca16: f002 fb17 bl 800f048 + 800ca1a: 4810 ldr r0, [pc, #64] ; (800ca5c ) + 800ca1c: f002 fada bl 800efd4 + 800ca20: 4c0f ldr r4, [pc, #60] ; (800ca60 ) + 800ca22: 4b10 ldr r3, [pc, #64] ; (800ca64 ) + 800ca24: 2100 movs r1, #0 + 800ca26: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800ca2a: 65a1 str r1, [r4, #88] ; 0x58 + 800ca2c: 619a str r2, [r3, #24] + 800ca2e: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 + 800ca32: f001 fdbd bl 800e5b0 + 800ca36: 7863 ldrb r3, [r4, #1] + 800ca38: b16b cbz r3, 800ca56 + 800ca3a: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 + 800ca3e: e8bd 4010 ldmia.w sp!, {r4, lr} + 800ca42: f001 ba53 b.w 800deec + 800ca46: 2300 movs r3, #0 + 800ca48: f240 2162 movw r1, #610 ; 0x262 + 800ca4c: 461a mov r2, r3 + 800ca4e: 4608 mov r0, r1 + 800ca50: f001 fb26 bl 800e0a0 + 800ca54: e7dc b.n 800ca10 + 800ca56: 68a0 ldr r0, [r4, #8] + 800ca58: 0180 lsls r0, r0, #6 + 800ca5a: e7f0 b.n 800ca3e + 800ca5c: 20001ad0 .word 0x20001ad0 + 800ca60: 20001ae8 .word 0x20001ae8 + 800ca64: 48000400 .word 0x48000400 -0800ca54 : - 800ca54: 2000 movs r0, #0 - 800ca56: f001 b9bf b.w 800ddd8 +0800ca68 : + 800ca68: 2000 movs r0, #0 + 800ca6a: f001 b9bf b.w 800ddec ... -0800ca5c : - 800ca5c: b508 push {r3, lr} - 800ca5e: f001 f8c7 bl 800dbf0 - 800ca62: 3804 subs r0, #4 - 800ca64: b2c0 uxtb r0, r0 - 800ca66: 2803 cmp r0, #3 - 800ca68: bf96 itet ls - 800ca6a: 4b02 ldrls r3, [pc, #8] ; (800ca74 ) - 800ca6c: 2000 movhi r0, #0 - 800ca6e: 5c18 ldrbls r0, [r3, r0] - 800ca70: bd08 pop {r3, pc} - 800ca72: bf00 nop - 800ca74: 080101d0 .word 0x080101d0 +0800ca70 : + 800ca70: b508 push {r3, lr} + 800ca72: f001 f8c7 bl 800dc04 + 800ca76: 3804 subs r0, #4 + 800ca78: b2c0 uxtb r0, r0 + 800ca7a: 2803 cmp r0, #3 + 800ca7c: bf96 itet ls + 800ca7e: 4b02 ldrls r3, [pc, #8] ; (800ca88 ) + 800ca80: 2000 movhi r0, #0 + 800ca82: 5c18 ldrbls r0, [r3, r0] + 800ca84: bd08 pop {r3, pc} + 800ca86: bf00 nop + 800ca88: 080101e8 .word 0x080101e8 -0800ca78 : - 800ca78: b508 push {r3, lr} - 800ca7a: f001 fdba bl 800e5f2 - 800ca7e: 3003 adds r0, #3 - 800ca80: bd08 pop {r3, pc} +0800ca8c : + 800ca8c: b508 push {r3, lr} + 800ca8e: f001 fdba bl 800e606 + 800ca92: 3003 adds r0, #3 + 800ca94: bd08 pop {r3, pc} -0800ca82 : - 800ca82: f001 b949 b.w 800dd18 +0800ca96 : + 800ca96: f001 b949 b.w 800dd2c -0800ca86 : - 800ca86: f001 b909 b.w 800dc9c +0800ca9a : + 800ca9a: f001 b909 b.w 800dcb0 -0800ca8a : - 800ca8a: b508 push {r3, lr} - 800ca8c: f001 fd00 bl 800e490 - 800ca90: b200 sxth r0, r0 - 800ca92: bd08 pop {r3, pc} +0800ca9e : + 800ca9e: b508 push {r3, lr} + 800caa0: f001 fd00 bl 800e4a4 + 800caa4: b200 sxth r0, r0 + 800caa6: bd08 pop {r3, pc} -0800ca94 : - 800ca94: b538 push {r3, r4, r5, lr} - 800ca96: 460d mov r5, r1 - 800ca98: 4614 mov r4, r2 - 800ca9a: f001 fb5d bl 800e158 - 800ca9e: 4628 mov r0, r5 - 800caa0: f001 fd92 bl 800e5c8 - 800caa4: 210e movs r1, #14 - 800caa6: 4605 mov r5, r0 - 800caa8: f640 101f movw r0, #2335 ; 0x91f - 800caac: f001 f8a6 bl 800dbfc - 800cab0: 4628 mov r0, r5 - 800cab2: 2101 movs r1, #1 - 800cab4: 4d07 ldr r5, [pc, #28] ; (800cad4 ) - 800cab6: f001 fd71 bl 800e59c - 800caba: f001 fa51 bl 800df60 - 800cabe: f44f 717a mov.w r1, #1000 ; 0x3e8 - 800cac2: 4361 muls r1, r4 +0800caa8 : + 800caa8: b538 push {r3, r4, r5, lr} + 800caaa: 460d mov r5, r1 + 800caac: 4614 mov r4, r2 + 800caae: f001 fb5d bl 800e16c + 800cab2: 4628 mov r0, r5 + 800cab4: f001 fd92 bl 800e5dc + 800cab8: 210e movs r1, #14 + 800caba: 4605 mov r5, r0 + 800cabc: f640 101f movw r0, #2335 ; 0x91f + 800cac0: f001 f8a6 bl 800dc10 800cac4: 4628 mov r0, r5 - 800cac6: f002 fab5 bl 800f034 - 800caca: 4628 mov r0, r5 - 800cacc: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 800cad0: f002 ba76 b.w 800efc0 - 800cad4: 20001b44 .word 0x20001b44 + 800cac6: 2101 movs r1, #1 + 800cac8: 4d07 ldr r5, [pc, #28] ; (800cae8 ) + 800caca: f001 fd71 bl 800e5b0 + 800cace: f001 fa51 bl 800df74 + 800cad2: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800cad6: 4361 muls r1, r4 + 800cad8: 4628 mov r0, r5 + 800cada: f002 fab5 bl 800f048 + 800cade: 4628 mov r0, r5 + 800cae0: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 800cae4: f002 ba76 b.w 800efd4 + 800cae8: 20001b44 .word 0x20001b44 -0800cad8 : - 800cad8: f001 bb3e b.w 800e158 +0800caec : + 800caec: f001 bb3e b.w 800e16c -0800cadc : - 800cadc: b508 push {r3, lr} - 800cade: 4b08 ldr r3, [pc, #32] ; (800cb00 ) - 800cae0: 2100 movs r1, #0 - 800cae2: f893 0056 ldrb.w r0, [r3, #86] ; 0x56 - 800cae6: f001 fd59 bl 800e59c - 800caea: 2300 movs r3, #0 - 800caec: f44f 71c0 mov.w r1, #384 ; 0x180 - 800caf0: 461a mov r2, r3 - 800caf2: 4608 mov r0, r1 - 800caf4: f001 faca bl 800e08c - 800caf8: e8bd 4008 ldmia.w sp!, {r3, lr} - 800cafc: f001 ba24 b.w 800df48 - 800cb00: 20001ae8 .word 0x20001ae8 +0800caf0 : + 800caf0: b508 push {r3, lr} + 800caf2: 4b08 ldr r3, [pc, #32] ; (800cb14 ) + 800caf4: 2100 movs r1, #0 + 800caf6: f893 0056 ldrb.w r0, [r3, #86] ; 0x56 + 800cafa: f001 fd59 bl 800e5b0 + 800cafe: 2300 movs r3, #0 + 800cb00: f44f 71c0 mov.w r1, #384 ; 0x180 + 800cb04: 461a mov r2, r3 + 800cb06: 4608 mov r0, r1 + 800cb08: f001 faca bl 800e0a0 + 800cb0c: e8bd 4008 ldmia.w sp!, {r3, lr} + 800cb10: f001 ba24 b.w 800df5c + 800cb14: 20001ae8 .word 0x20001ae8 -0800cb04 : - 800cb04: b510 push {r4, lr} - 800cb06: 4604 mov r4, r0 - 800cb08: f001 fe1e bl 800e748 - 800cb0c: 2801 cmp r0, #1 - 800cb0e: d11c bne.n 800cb4a - 800cb10: f001 fe22 bl 800e758 - 800cb14: b134 cbz r4, 800cb24 - 800cb16: 4812 ldr r0, [pc, #72] ; (800cb60 ) - 800cb18: 4621 mov r1, r4 - 800cb1a: f002 fa8b bl 800f034 - 800cb1e: 4810 ldr r0, [pc, #64] ; (800cb60 ) - 800cb20: f002 fa4e bl 800efc0 - 800cb24: 4c0f ldr r4, [pc, #60] ; (800cb64 ) - 800cb26: 4b10 ldr r3, [pc, #64] ; (800cb68 ) - 800cb28: 2100 movs r1, #0 - 800cb2a: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800cb2e: 65a1 str r1, [r4, #88] ; 0x58 - 800cb30: 619a str r2, [r3, #24] - 800cb32: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 - 800cb36: f001 fd31 bl 800e59c - 800cb3a: 7863 ldrb r3, [r4, #1] - 800cb3c: b16b cbz r3, 800cb5a - 800cb3e: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 - 800cb42: e8bd 4010 ldmia.w sp!, {r4, lr} - 800cb46: f001 b97d b.w 800de44 - 800cb4a: 2300 movs r3, #0 - 800cb4c: f240 2162 movw r1, #610 ; 0x262 - 800cb50: 461a mov r2, r3 - 800cb52: 4608 mov r0, r1 - 800cb54: f001 fa9a bl 800e08c - 800cb58: e7dc b.n 800cb14 - 800cb5a: 68a0 ldr r0, [r4, #8] - 800cb5c: 0180 lsls r0, r0, #6 - 800cb5e: e7f0 b.n 800cb42 - 800cb60: 20001ad0 .word 0x20001ad0 - 800cb64: 20001ae8 .word 0x20001ae8 - 800cb68: 48000400 .word 0x48000400 +0800cb18 : + 800cb18: b510 push {r4, lr} + 800cb1a: 4604 mov r4, r0 + 800cb1c: f001 fe1e bl 800e75c + 800cb20: 2801 cmp r0, #1 + 800cb22: d11c bne.n 800cb5e + 800cb24: f001 fe22 bl 800e76c + 800cb28: b134 cbz r4, 800cb38 + 800cb2a: 4812 ldr r0, [pc, #72] ; (800cb74 ) + 800cb2c: 4621 mov r1, r4 + 800cb2e: f002 fa8b bl 800f048 + 800cb32: 4810 ldr r0, [pc, #64] ; (800cb74 ) + 800cb34: f002 fa4e bl 800efd4 + 800cb38: 4c0f ldr r4, [pc, #60] ; (800cb78 ) + 800cb3a: 4b10 ldr r3, [pc, #64] ; (800cb7c ) + 800cb3c: 2100 movs r1, #0 + 800cb3e: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800cb42: 65a1 str r1, [r4, #88] ; 0x58 + 800cb44: 619a str r2, [r3, #24] + 800cb46: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 + 800cb4a: f001 fd31 bl 800e5b0 + 800cb4e: 7863 ldrb r3, [r4, #1] + 800cb50: b16b cbz r3, 800cb6e + 800cb52: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 + 800cb56: e8bd 4010 ldmia.w sp!, {r4, lr} + 800cb5a: f001 b97d b.w 800de58 + 800cb5e: 2300 movs r3, #0 + 800cb60: f240 2162 movw r1, #610 ; 0x262 + 800cb64: 461a mov r2, r3 + 800cb66: 4608 mov r0, r1 + 800cb68: f001 fa9a bl 800e0a0 + 800cb6c: e7dc b.n 800cb28 + 800cb6e: 68a0 ldr r0, [r4, #8] + 800cb70: 0180 lsls r0, r0, #6 + 800cb72: e7f0 b.n 800cb56 + 800cb74: 20001ad0 .word 0x20001ad0 + 800cb78: 20001ae8 .word 0x20001ae8 + 800cb7c: 48000400 .word 0x48000400 -0800cb6c : - 800cb6c: b508 push {r3, lr} - 800cb6e: f04f 0004 mov.w r0, #4 - 800cb72: f001 f917 bl 800dda4 - 800cb76: e8bd 4008 ldmia.w sp!, {r3, lr} - 800cb7a: 2002 movs r0, #2 - 800cb7c: f7f4 bea8 b.w 80018d0 - -0800cb80 : +0800cb80 : 800cb80: b508 push {r3, lr} - 800cb82: 2300 movs r3, #0 - 800cb84: 461a mov r2, r3 - 800cb86: 4619 mov r1, r3 - 800cb88: 4618 mov r0, r3 - 800cb8a: f001 fa7f bl 800e08c - 800cb8e: e8bd 4008 ldmia.w sp!, {r3, lr} - 800cb92: f001 b96d b.w 800de70 + 800cb82: f04f 0004 mov.w r0, #4 + 800cb86: f001 f917 bl 800ddb8 + 800cb8a: e8bd 4008 ldmia.w sp!, {r3, lr} + 800cb8e: 2002 movs r0, #2 + 800cb90: f7f4 be9e b.w 80018d0 + +0800cb94 : + 800cb94: b508 push {r3, lr} + 800cb96: 2300 movs r3, #0 + 800cb98: 461a mov r2, r3 + 800cb9a: 4619 mov r1, r3 + 800cb9c: 4618 mov r0, r3 + 800cb9e: f001 fa7f bl 800e0a0 + 800cba2: e8bd 4008 ldmia.w sp!, {r3, lr} + 800cba6: f001 b96d b.w 800de84 ... -0800cb98 : - 800cb98: 4b1d ldr r3, [pc, #116] ; (800cc10 ) - 800cb9a: b573 push {r0, r1, r4, r5, r6, lr} - 800cb9c: 4d1d ldr r5, [pc, #116] ; (800cc14 ) - 800cb9e: 6018 str r0, [r3, #0] - 800cba0: 2400 movs r4, #0 - 800cba2: 481d ldr r0, [pc, #116] ; (800cc18 ) - 800cba4: 706c strb r4, [r5, #1] - 800cba6: e9c5 4401 strd r4, r4, [r5, #4] - 800cbaa: 65ac str r4, [r5, #88] ; 0x58 - 800cbac: f001 fa98 bl 800e0e0 - 800cbb0: 81ac strh r4, [r5, #12] - 800cbb2: f001 fa03 bl 800dfbc - 800cbb6: 4621 mov r1, r4 - 800cbb8: 4620 mov r0, r4 - 800cbba: f001 fc4b bl 800e454 - 800cbbe: 4621 mov r1, r4 - 800cbc0: 2204 movs r2, #4 - 800cbc2: 2001 movs r0, #1 - 800cbc4: f001 fafc bl 800e1c0 - 800cbc8: 4e14 ldr r6, [pc, #80] ; (800cc1c ) - 800cbca: 4d15 ldr r5, [pc, #84] ; (800cc20 ) - 800cbcc: f64f 71ff movw r1, #65535 ; 0xffff - 800cbd0: 4623 mov r3, r4 - 800cbd2: 4622 mov r2, r4 - 800cbd4: 4608 mov r0, r1 - 800cbd6: f001 fa59 bl 800e08c - 800cbda: f7ff ffc7 bl 800cb6c - 800cbde: 4622 mov r2, r4 - 800cbe0: 4b10 ldr r3, [pc, #64] ; (800cc24 ) - 800cbe2: 9400 str r4, [sp, #0] - 800cbe4: f04f 31ff mov.w r1, #4294967295 - 800cbe8: 4630 mov r0, r6 - 800cbea: f002 f93d bl 800ee68 - 800cbee: 4b0e ldr r3, [pc, #56] ; (800cc28 ) - 800cbf0: 9400 str r4, [sp, #0] +0800cbac : + 800cbac: 4b1d ldr r3, [pc, #116] ; (800cc24 ) + 800cbae: b573 push {r0, r1, r4, r5, r6, lr} + 800cbb0: 4d1d ldr r5, [pc, #116] ; (800cc28 ) + 800cbb2: 6018 str r0, [r3, #0] + 800cbb4: 2400 movs r4, #0 + 800cbb6: 481d ldr r0, [pc, #116] ; (800cc2c ) + 800cbb8: 706c strb r4, [r5, #1] + 800cbba: e9c5 4401 strd r4, r4, [r5, #4] + 800cbbe: 65ac str r4, [r5, #88] ; 0x58 + 800cbc0: f001 fa98 bl 800e0f4 + 800cbc4: 81ac strh r4, [r5, #12] + 800cbc6: f001 fa03 bl 800dfd0 + 800cbca: 4621 mov r1, r4 + 800cbcc: 4620 mov r0, r4 + 800cbce: f001 fc4b bl 800e468 + 800cbd2: 4621 mov r1, r4 + 800cbd4: 2204 movs r2, #4 + 800cbd6: 2001 movs r0, #1 + 800cbd8: f001 fafc bl 800e1d4 + 800cbdc: 4e14 ldr r6, [pc, #80] ; (800cc30 ) + 800cbde: 4d15 ldr r5, [pc, #84] ; (800cc34 ) + 800cbe0: f64f 71ff movw r1, #65535 ; 0xffff + 800cbe4: 4623 mov r3, r4 + 800cbe6: 4622 mov r2, r4 + 800cbe8: 4608 mov r0, r1 + 800cbea: f001 fa59 bl 800e0a0 + 800cbee: f7ff ffc7 bl 800cb80 800cbf2: 4622 mov r2, r4 - 800cbf4: f04f 31ff mov.w r1, #4294967295 - 800cbf8: 4628 mov r0, r5 - 800cbfa: f002 f935 bl 800ee68 - 800cbfe: 4630 mov r0, r6 - 800cc00: f002 f990 bl 800ef24 - 800cc04: 4628 mov r0, r5 - 800cc06: b002 add sp, #8 - 800cc08: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 800cc0c: f002 b98a b.w 800ef24 - 800cc10: 20001acc .word 0x20001acc - 800cc14: 20001ae8 .word 0x20001ae8 - 800cc18: 0800dbe1 .word 0x0800dbe1 - 800cc1c: 20001b44 .word 0x20001b44 - 800cc20: 20001ad0 .word 0x20001ad0 - 800cc24: 0800c941 .word 0x0800c941 - 800cc28: 0800c961 .word 0x0800c961 + 800cbf4: 4b10 ldr r3, [pc, #64] ; (800cc38 ) + 800cbf6: 9400 str r4, [sp, #0] + 800cbf8: f04f 31ff mov.w r1, #4294967295 + 800cbfc: 4630 mov r0, r6 + 800cbfe: f002 f93d bl 800ee7c + 800cc02: 4b0e ldr r3, [pc, #56] ; (800cc3c ) + 800cc04: 9400 str r4, [sp, #0] + 800cc06: 4622 mov r2, r4 + 800cc08: f04f 31ff mov.w r1, #4294967295 + 800cc0c: 4628 mov r0, r5 + 800cc0e: f002 f935 bl 800ee7c + 800cc12: 4630 mov r0, r6 + 800cc14: f002 f990 bl 800ef38 + 800cc18: 4628 mov r0, r5 + 800cc1a: b002 add sp, #8 + 800cc1c: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 800cc20: f002 b98a b.w 800ef38 + 800cc24: 20001acc .word 0x20001acc + 800cc28: 20001ae8 .word 0x20001ae8 + 800cc2c: 0800dbf5 .word 0x0800dbf5 + 800cc30: 20001b44 .word 0x20001b44 + 800cc34: 20001ad0 .word 0x20001ad0 + 800cc38: 0800c955 .word 0x0800c955 + 800cc3c: 0800c975 .word 0x0800c975 -0800cc2c : - 800cc2c: 2801 cmp r0, #1 - 800cc2e: 4808 ldr r0, [pc, #32] ; (800cc50 ) - 800cc30: d105 bne.n 800cc3e - 800cc32: 4b08 ldr r3, [pc, #32] ; (800cc54 ) - 800cc34: 77c1 strb r1, [r0, #31] - 800cc36: 7019 strb r1, [r3, #0] - 800cc38: 300e adds r0, #14 - 800cc3a: f001 bba7 b.w 800e38c - 800cc3e: 7d43 ldrb r3, [r0, #21] - 800cc40: 2b01 cmp r3, #1 - 800cc42: d103 bne.n 800cc4c - 800cc44: 4b03 ldr r3, [pc, #12] ; (800cc54 ) - 800cc46: 7581 strb r1, [r0, #22] - 800cc48: 7019 strb r1, [r3, #0] - 800cc4a: e7f5 b.n 800cc38 - 800cc4c: 4770 bx lr - 800cc4e: bf00 nop - 800cc50: 20001ae8 .word 0x20001ae8 - 800cc54: 200000fc .word 0x200000fc +0800cc40 : + 800cc40: 2801 cmp r0, #1 + 800cc42: 4808 ldr r0, [pc, #32] ; (800cc64 ) + 800cc44: d105 bne.n 800cc52 + 800cc46: 4b08 ldr r3, [pc, #32] ; (800cc68 ) + 800cc48: 77c1 strb r1, [r0, #31] + 800cc4a: 7019 strb r1, [r3, #0] + 800cc4c: 300e adds r0, #14 + 800cc4e: f001 bba7 b.w 800e3a0 + 800cc52: 7d43 ldrb r3, [r0, #21] + 800cc54: 2b01 cmp r3, #1 + 800cc56: d103 bne.n 800cc60 + 800cc58: 4b03 ldr r3, [pc, #12] ; (800cc68 ) + 800cc5a: 7581 strb r1, [r0, #22] + 800cc5c: 7019 strb r1, [r3, #0] + 800cc5e: e7f5 b.n 800cc4c + 800cc60: 4770 bx lr + 800cc62: bf00 nop + 800cc64: 20001ae8 .word 0x20001ae8 + 800cc68: 200000fc .word 0x200000fc -0800cc58 : - 800cc58: 4b0d ldr r3, [pc, #52] ; (800cc90 ) - 800cc5a: b510 push {r4, lr} - 800cc5c: 4604 mov r4, r0 - 800cc5e: 7318 strb r0, [r3, #12] - 800cc60: 7358 strb r0, [r3, #13] - 800cc62: 2001 movs r0, #1 - 800cc64: f000 f816 bl 800cc94 - 800cc68: b15c cbz r4, 800cc82 - 800cc6a: 2134 movs r1, #52 ; 0x34 - 800cc6c: f44f 60e8 mov.w r0, #1856 ; 0x740 - 800cc70: f000 ffc4 bl 800dbfc - 800cc74: 2144 movs r1, #68 ; 0x44 - 800cc76: e8bd 4010 ldmia.w sp!, {r4, lr} - 800cc7a: f240 7041 movw r0, #1857 ; 0x741 - 800cc7e: f000 bfbd b.w 800dbfc - 800cc82: 2114 movs r1, #20 - 800cc84: f44f 60e8 mov.w r0, #1856 ; 0x740 - 800cc88: f000 ffb8 bl 800dbfc - 800cc8c: 2124 movs r1, #36 ; 0x24 - 800cc8e: e7f2 b.n 800cc76 - 800cc90: 20001ae8 .word 0x20001ae8 +0800cc6c : + 800cc6c: 4b0d ldr r3, [pc, #52] ; (800cca4 ) + 800cc6e: b510 push {r4, lr} + 800cc70: 4604 mov r4, r0 + 800cc72: 7318 strb r0, [r3, #12] + 800cc74: 7358 strb r0, [r3, #13] + 800cc76: 2001 movs r0, #1 + 800cc78: f000 f816 bl 800cca8 + 800cc7c: b15c cbz r4, 800cc96 + 800cc7e: 2134 movs r1, #52 ; 0x34 + 800cc80: f44f 60e8 mov.w r0, #1856 ; 0x740 + 800cc84: f000 ffc4 bl 800dc10 + 800cc88: 2144 movs r1, #68 ; 0x44 + 800cc8a: e8bd 4010 ldmia.w sp!, {r4, lr} + 800cc8e: f240 7041 movw r0, #1857 ; 0x741 + 800cc92: f000 bfbd b.w 800dc10 + 800cc96: 2114 movs r1, #20 + 800cc98: f44f 60e8 mov.w r0, #1856 ; 0x740 + 800cc9c: f000 ffb8 bl 800dc10 + 800cca0: 2124 movs r1, #36 ; 0x24 + 800cca2: e7f2 b.n 800cc8a + 800cca4: 20001ae8 .word 0x20001ae8 -0800cc94 : - 800cc94: b538 push {r3, r4, r5, lr} - 800cc96: 4c11 ldr r4, [pc, #68] ; (800ccdc ) - 800cc98: 4605 mov r5, r0 - 800cc9a: 7020 strb r0, [r4, #0] - 800cc9c: f001 fd61 bl 800e762 - 800cca0: 2d05 cmp r5, #5 - 800cca2: d804 bhi.n 800ccae - 800cca4: e8df f005 tbb [pc, r5] - 800cca8: 17030b09 .word 0x17030b09 - 800ccac: 0917 .short 0x0917 - 800ccae: 2003 movs r0, #3 - 800ccb0: f001 fa70 bl 800e194 - 800ccb4: 2300 movs r3, #0 - 800ccb6: 7363 strb r3, [r4, #13] - 800ccb8: bd38 pop {r3, r4, r5, pc} - 800ccba: 2000 movs r0, #0 - 800ccbc: e7f8 b.n 800ccb0 - 800ccbe: 2001 movs r0, #1 - 800ccc0: f001 fa68 bl 800e194 - 800ccc4: 7b20 ldrb r0, [r4, #12] - 800ccc6: 7b63 ldrb r3, [r4, #13] - 800ccc8: 4283 cmp r3, r0 - 800ccca: d0f5 beq.n 800ccb8 - 800cccc: 7360 strb r0, [r4, #13] - 800ccce: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 800ccd2: f7ff bfc1 b.w 800cc58 - 800ccd6: 2002 movs r0, #2 - 800ccd8: e7ea b.n 800ccb0 - 800ccda: bf00 nop - 800ccdc: 20001ae8 .word 0x20001ae8 +0800cca8 : + 800cca8: b538 push {r3, r4, r5, lr} + 800ccaa: 4c11 ldr r4, [pc, #68] ; (800ccf0 ) + 800ccac: 4605 mov r5, r0 + 800ccae: 7020 strb r0, [r4, #0] + 800ccb0: f001 fd61 bl 800e776 + 800ccb4: 2d05 cmp r5, #5 + 800ccb6: d804 bhi.n 800ccc2 + 800ccb8: e8df f005 tbb [pc, r5] + 800ccbc: 17030b09 .word 0x17030b09 + 800ccc0: 0917 .short 0x0917 + 800ccc2: 2003 movs r0, #3 + 800ccc4: f001 fa70 bl 800e1a8 + 800ccc8: 2300 movs r3, #0 + 800ccca: 7363 strb r3, [r4, #13] + 800cccc: bd38 pop {r3, r4, r5, pc} + 800ccce: 2000 movs r0, #0 + 800ccd0: e7f8 b.n 800ccc4 + 800ccd2: 2001 movs r0, #1 + 800ccd4: f001 fa68 bl 800e1a8 + 800ccd8: 7b20 ldrb r0, [r4, #12] + 800ccda: 7b63 ldrb r3, [r4, #13] + 800ccdc: 4283 cmp r3, r0 + 800ccde: d0f5 beq.n 800cccc + 800cce0: 7360 strb r0, [r4, #13] + 800cce2: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 800cce6: f7ff bfc1 b.w 800cc6c + 800ccea: 2002 movs r0, #2 + 800ccec: e7ea b.n 800ccc4 + 800ccee: bf00 nop + 800ccf0: 20001ae8 .word 0x20001ae8 -0800cce0 : - 800cce0: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 800cce4: 461e mov r6, r3 - 800cce6: b087 sub sp, #28 - 800cce8: 2300 movs r3, #0 - 800ccea: 4605 mov r5, r0 - 800ccec: e9cd 3301 strd r3, r3, [sp, #4] - 800ccf0: 460c mov r4, r1 - 800ccf2: 4617 mov r7, r2 - 800ccf4: f001 fd27 bl 800e746 - 800ccf8: 2d03 cmp r5, #3 - 800ccfa: d861 bhi.n 800cdc0 - 800ccfc: e8df f015 tbh [pc, r5, lsl #1] - 800cd00: 00c3007b .word 0x00c3007b - 800cd04: 0004010e .word 0x0004010e - 800cd08: 7ca2 ldrb r2, [r4, #18] - 800cd0a: 2a08 cmp r2, #8 - 800cd0c: d904 bls.n 800cd18 - 800cd0e: f04f 30ff mov.w r0, #4294967295 - 800cd12: b007 add sp, #28 - 800cd14: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 800cd18: 68a1 ldr r1, [r4, #8] - 800cd1a: a801 add r0, sp, #4 - 800cd1c: f001 fedc bl 800ead8 - 800cd20: 6821 ldr r1, [r4, #0] - 800cd22: 2900 cmp r1, #0 - 800cd24: d0f3 beq.n 800cd0e - 800cd26: f242 7210 movw r2, #10000 ; 0x2710 - 800cd2a: 4291 cmp r1, r2 - 800cd2c: 7ce3 ldrb r3, [r4, #19] - 800cd2e: 4d86 ldr r5, [pc, #536] ; (800cf48 ) - 800cd30: d851 bhi.n 800cdd6 - 800cd32: 2203 movs r2, #3 - 800cd34: 73aa strb r2, [r5, #14] - 800cd36: f885 2038 strb.w r2, [r5, #56] ; 0x38 - 800cd3a: 63e9 str r1, [r5, #60] ; 0x3c - 800cd3c: f885 3044 strb.w r3, [r5, #68] ; 0x44 - 800cd40: f04f 0802 mov.w r8, #2 - 800cd44: 6863 ldr r3, [r4, #4] - 800cd46: 7da1 ldrb r1, [r4, #22] - 800cd48: 00db lsls r3, r3, #3 - 800cd4a: 822b strh r3, [r5, #16] - 800cd4c: 2304 movs r3, #4 - 800cd4e: 74ab strb r3, [r5, #18] - 800cd50: 7ca3 ldrb r3, [r4, #18] - 800cd52: 00db lsls r3, r3, #3 - 800cd54: 74eb strb r3, [r5, #19] - 800cd56: 2902 cmp r1, #2 - 800cd58: f04f 0300 mov.w r3, #0 - 800cd5c: 752b strb r3, [r5, #20] - 800cd5e: 7d63 ldrb r3, [r4, #21] - 800cd60: d002 beq.n 800cd68 - 800cd62: 7d22 ldrb r2, [r4, #20] - 800cd64: 2a02 cmp r2, #2 - 800cd66: d142 bne.n 800cdee - 800cd68: f103 020f add.w r2, r3, #15 - 800cd6c: b2d2 uxtb r2, r2 - 800cd6e: 2a01 cmp r2, #1 - 800cd70: d901 bls.n 800cd76 - 800cd72: 2b01 cmp r3, #1 - 800cd74: d1cb bne.n 800cd0e - 800cd76: 4b75 ldr r3, [pc, #468] ; (800cf4c ) - 800cd78: 4a75 ldr r2, [pc, #468] ; (800cf50 ) - 800cd7a: 6819 ldr r1, [r3, #0] - 800cd7c: 9403 str r4, [sp, #12] - 800cd7e: f04f 0901 mov.w r9, #1 - 800cd82: a803 add r0, sp, #12 - 800cd84: f88d 9014 strb.w r9, [sp, #20] - 800cd88: f001 fcda bl 800e740 - 800cd8c: 2800 cmp r0, #0 - 800cd8e: d1be bne.n 800cd0e - 800cd90: 7628 strb r0, [r5, #24] - 800cd92: f885 9017 strb.w r9, [r5, #23] - 800cd96: 7568 strb r0, [r5, #21] - 800cd98: f7ff fe5c bl 800ca54 - 800cd9c: 4640 mov r0, r8 - 800cd9e: f7ff ff79 bl 800cc94 - 800cda2: 486c ldr r0, [pc, #432] ; (800cf54 ) - 800cda4: f001 fa86 bl 800e2b4 - 800cda8: 486b ldr r0, [pc, #428] ; (800cf58 ) - 800cdaa: f001 faef bl 800e38c - 800cdae: a801 add r0, sp, #4 - 800cdb0: f000 ff84 bl 800dcbc - 800cdb4: 8a20 ldrh r0, [r4, #16] - 800cdb6: f000 ff55 bl 800dc64 - 800cdba: 89a0 ldrh r0, [r4, #12] - 800cdbc: f000 ff9a bl 800dcf4 - 800cdc0: 4638 mov r0, r7 - 800cdc2: f001 fc01 bl 800e5c8 - 800cdc6: 4c60 ldr r4, [pc, #384] ; (800cf48 ) - 800cdc8: f884 0056 strb.w r0, [r4, #86] ; 0x56 - 800cdcc: f001 fcc0 bl 800e750 - 800cdd0: 6066 str r6, [r4, #4] - 800cdd2: 2000 movs r0, #0 - 800cdd4: e79d b.n 800cd12 - 800cdd6: f04f 0800 mov.w r8, #0 - 800cdda: 63e9 str r1, [r5, #60] ; 0x3c - 800cddc: 0889 lsrs r1, r1, #2 - 800cdde: f885 800e strb.w r8, [r5, #14] - 800cde2: f885 8038 strb.w r8, [r5, #56] ; 0x38 - 800cde6: f885 3044 strb.w r3, [r5, #68] ; 0x44 - 800cdea: 6429 str r1, [r5, #64] ; 0x40 - 800cdec: e7aa b.n 800cd44 - 800cdee: 75eb strb r3, [r5, #23] - 800cdf0: 7629 strb r1, [r5, #24] - 800cdf2: 756a strb r2, [r5, #21] - 800cdf4: e7d0 b.n 800cd98 - 800cdf6: 6823 ldr r3, [r4, #0] - 800cdf8: 2b00 cmp r3, #0 - 800cdfa: d088 beq.n 800cd0e - 800cdfc: 7ca2 ldrb r2, [r4, #18] - 800cdfe: 2a08 cmp r2, #8 - 800ce00: d885 bhi.n 800cd0e - 800ce02: 4d51 ldr r5, [pc, #324] ; (800cf48 ) - 800ce04: 68a1 ldr r1, [r4, #8] - 800ce06: a801 add r0, sp, #4 - 800ce08: f001 fe66 bl 800ead8 - 800ce0c: 2300 movs r3, #0 - 800ce0e: f885 3038 strb.w r3, [r5, #56] ; 0x38 - 800ce12: 6822 ldr r2, [r4, #0] - 800ce14: 63ea str r2, [r5, #60] ; 0x3c - 800ce16: 7ce2 ldrb r2, [r4, #19] - 800ce18: f885 2044 strb.w r2, [r5, #68] ; 0x44 - 800ce1c: 69a2 ldr r2, [r4, #24] - 800ce1e: 73ab strb r3, [r5, #14] - 800ce20: 642a str r2, [r5, #64] ; 0x40 - 800ce22: 6862 ldr r2, [r4, #4] - 800ce24: 7da1 ldrb r1, [r4, #22] - 800ce26: 00d2 lsls r2, r2, #3 - 800ce28: 822a strh r2, [r5, #16] - 800ce2a: 2204 movs r2, #4 - 800ce2c: 74aa strb r2, [r5, #18] - 800ce2e: 7ca2 ldrb r2, [r4, #18] - 800ce30: 752b strb r3, [r5, #20] - 800ce32: 00d2 lsls r2, r2, #3 - 800ce34: 2902 cmp r1, #2 - 800ce36: 7d63 ldrb r3, [r4, #21] - 800ce38: 74ea strb r2, [r5, #19] - 800ce3a: d002 beq.n 800ce42 - 800ce3c: 7d22 ldrb r2, [r4, #20] - 800ce3e: 2a02 cmp r2, #2 - 800ce40: d11d bne.n 800ce7e - 800ce42: f103 020f add.w r2, r3, #15 - 800ce46: b2d2 uxtb r2, r2 - 800ce48: 2a01 cmp r2, #1 - 800ce4a: d902 bls.n 800ce52 - 800ce4c: 2b01 cmp r3, #1 - 800ce4e: f47f af5e bne.w 800cd0e - 800ce52: 4b3e ldr r3, [pc, #248] ; (800cf4c ) - 800ce54: 4a3e ldr r2, [pc, #248] ; (800cf50 ) - 800ce56: 6819 ldr r1, [r3, #0] - 800ce58: 9403 str r4, [sp, #12] - 800ce5a: f04f 0801 mov.w r8, #1 - 800ce5e: a803 add r0, sp, #12 - 800ce60: f88d 8014 strb.w r8, [sp, #20] - 800ce64: f001 fc6c bl 800e740 - 800ce68: 2800 cmp r0, #0 - 800ce6a: f47f af50 bne.w 800cd0e - 800ce6e: 7628 strb r0, [r5, #24] - 800ce70: f885 8017 strb.w r8, [r5, #23] - 800ce74: 7568 strb r0, [r5, #21] - 800ce76: f7ff fded bl 800ca54 - 800ce7a: 2000 movs r0, #0 - 800ce7c: e78f b.n 800cd9e - 800ce7e: 75eb strb r3, [r5, #23] - 800ce80: 7629 strb r1, [r5, #24] - 800ce82: 756a strb r2, [r5, #21] - 800ce84: e7f7 b.n 800ce76 - 800ce86: 4d30 ldr r5, [pc, #192] ; (800cf48 ) - 800ce88: 2101 movs r1, #1 - 800ce8a: f885 1038 strb.w r1, [r5, #56] ; 0x38 - 800ce8e: 7822 ldrb r2, [r4, #0] - 800ce90: f885 2050 strb.w r2, [r5, #80] ; 0x50 - 800ce94: 7863 ldrb r3, [r4, #1] - 800ce96: f885 3051 strb.w r3, [r5, #81] ; 0x51 - 800ce9a: 78a3 ldrb r3, [r4, #2] - 800ce9c: f885 3052 strb.w r3, [r5, #82] ; 0x52 - 800cea0: 78e3 ldrb r3, [r4, #3] - 800cea2: 428b cmp r3, r1 - 800cea4: d002 beq.n 800ceac - 800cea6: 2b02 cmp r3, #2 - 800cea8: d003 beq.n 800ceb2 - 800ceaa: b93b cbnz r3, 800cebc - 800ceac: f885 3053 strb.w r3, [r5, #83] ; 0x53 - 800ceb0: e004 b.n 800cebc - 800ceb2: 3a0b subs r2, #11 - 800ceb4: 2a01 cmp r2, #1 - 800ceb6: d829 bhi.n 800cf0c - 800ceb8: f885 1053 strb.w r1, [r5, #83] ; 0x53 - 800cebc: f04f 0801 mov.w r8, #1 - 800cec0: f885 800e strb.w r8, [r5, #14] - 800cec4: 88a3 ldrh r3, [r4, #4] - 800cec6: 83ab strh r3, [r5, #28] - 800cec8: 79a3 ldrb r3, [r4, #6] - 800ceca: 77ab strb r3, [r5, #30] - 800cecc: 79e3 ldrb r3, [r4, #7] - 800cece: f885 3020 strb.w r3, [r5, #32] - 800ced2: 7a23 ldrb r3, [r4, #8] - 800ced4: f885 3021 strb.w r3, [r5, #33] ; 0x21 - 800ced8: f7ff fdbc bl 800ca54 - 800cedc: 4640 mov r0, r8 - 800cede: f7ff fed9 bl 800cc94 - 800cee2: 481c ldr r0, [pc, #112] ; (800cf54 ) - 800cee4: f001 f9e6 bl 800e2b4 - 800cee8: 481b ldr r0, [pc, #108] ; (800cf58 ) - 800ceea: f001 fa4f bl 800e38c - 800ceee: f895 3051 ldrb.w r3, [r5, #81] ; 0x51 - 800cef2: 2b06 cmp r3, #6 - 800cef4: f640 0089 movw r0, #2185 ; 0x889 - 800cef8: d10a bne.n 800cf10 - 800cefa: f000 fe8f bl 800dc1c - 800cefe: f000 01fb and.w r1, r0, #251 ; 0xfb - 800cf02: f640 0089 movw r0, #2185 ; 0x889 - 800cf06: f000 fe79 bl 800dbfc - 800cf0a: e759 b.n 800cdc0 - 800cf0c: 2300 movs r3, #0 - 800cf0e: e7cd b.n 800ceac - 800cf10: f000 fe84 bl 800dc1c - 800cf14: f040 0104 orr.w r1, r0, #4 - 800cf18: b2c9 uxtb r1, r1 - 800cf1a: e7f2 b.n 800cf02 - 800cf1c: 6823 ldr r3, [r4, #0] - 800cf1e: 3b01 subs r3, #1 - 800cf20: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 - 800cf24: f4bf aef3 bcs.w 800cd0e - 800cf28: 2003 movs r0, #3 - 800cf2a: f7ff feb3 bl 800cc94 - 800cf2e: 4806 ldr r0, [pc, #24] ; (800cf48 ) - 800cf30: 2302 movs r3, #2 - 800cf32: f880 3038 strb.w r3, [r0, #56] ; 0x38 - 800cf36: 6823 ldr r3, [r4, #0] - 800cf38: 6483 str r3, [r0, #72] ; 0x48 - 800cf3a: 2316 movs r3, #22 - 800cf3c: f880 304c strb.w r3, [r0, #76] ; 0x4c - 800cf40: 3038 adds r0, #56 ; 0x38 - 800cf42: f001 f9b7 bl 800e2b4 - 800cf46: e73b b.n 800cdc0 - 800cf48: 20001ae8 .word 0x20001ae8 - 800cf4c: 20001acc .word 0x20001acc - 800cf50: 20001b44 .word 0x20001b44 - 800cf54: 20001b20 .word 0x20001b20 - 800cf58: 20001af6 .word 0x20001af6 +0800ccf4 : + 800ccf4: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 800ccf8: 461e mov r6, r3 + 800ccfa: b087 sub sp, #28 + 800ccfc: 2300 movs r3, #0 + 800ccfe: 4605 mov r5, r0 + 800cd00: e9cd 3301 strd r3, r3, [sp, #4] + 800cd04: 460c mov r4, r1 + 800cd06: 4617 mov r7, r2 + 800cd08: f001 fd27 bl 800e75a + 800cd0c: 2d03 cmp r5, #3 + 800cd0e: d861 bhi.n 800cdd4 + 800cd10: e8df f015 tbh [pc, r5, lsl #1] + 800cd14: 00c3007b .word 0x00c3007b + 800cd18: 0004010e .word 0x0004010e + 800cd1c: 7ca2 ldrb r2, [r4, #18] + 800cd1e: 2a08 cmp r2, #8 + 800cd20: d904 bls.n 800cd2c + 800cd22: f04f 30ff mov.w r0, #4294967295 + 800cd26: b007 add sp, #28 + 800cd28: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 800cd2c: 68a1 ldr r1, [r4, #8] + 800cd2e: a801 add r0, sp, #4 + 800cd30: f001 fedc bl 800eaec + 800cd34: 6821 ldr r1, [r4, #0] + 800cd36: 2900 cmp r1, #0 + 800cd38: d0f3 beq.n 800cd22 + 800cd3a: f242 7210 movw r2, #10000 ; 0x2710 + 800cd3e: 4291 cmp r1, r2 + 800cd40: 7ce3 ldrb r3, [r4, #19] + 800cd42: 4d86 ldr r5, [pc, #536] ; (800cf5c ) + 800cd44: d851 bhi.n 800cdea + 800cd46: 2203 movs r2, #3 + 800cd48: 73aa strb r2, [r5, #14] + 800cd4a: f885 2038 strb.w r2, [r5, #56] ; 0x38 + 800cd4e: 63e9 str r1, [r5, #60] ; 0x3c + 800cd50: f885 3044 strb.w r3, [r5, #68] ; 0x44 + 800cd54: f04f 0802 mov.w r8, #2 + 800cd58: 6863 ldr r3, [r4, #4] + 800cd5a: 7da1 ldrb r1, [r4, #22] + 800cd5c: 00db lsls r3, r3, #3 + 800cd5e: 822b strh r3, [r5, #16] + 800cd60: 2304 movs r3, #4 + 800cd62: 74ab strb r3, [r5, #18] + 800cd64: 7ca3 ldrb r3, [r4, #18] + 800cd66: 00db lsls r3, r3, #3 + 800cd68: 74eb strb r3, [r5, #19] + 800cd6a: 2902 cmp r1, #2 + 800cd6c: f04f 0300 mov.w r3, #0 + 800cd70: 752b strb r3, [r5, #20] + 800cd72: 7d63 ldrb r3, [r4, #21] + 800cd74: d002 beq.n 800cd7c + 800cd76: 7d22 ldrb r2, [r4, #20] + 800cd78: 2a02 cmp r2, #2 + 800cd7a: d142 bne.n 800ce02 + 800cd7c: f103 020f add.w r2, r3, #15 + 800cd80: b2d2 uxtb r2, r2 + 800cd82: 2a01 cmp r2, #1 + 800cd84: d901 bls.n 800cd8a + 800cd86: 2b01 cmp r3, #1 + 800cd88: d1cb bne.n 800cd22 + 800cd8a: 4b75 ldr r3, [pc, #468] ; (800cf60 ) + 800cd8c: 4a75 ldr r2, [pc, #468] ; (800cf64 ) + 800cd8e: 6819 ldr r1, [r3, #0] + 800cd90: 9403 str r4, [sp, #12] + 800cd92: f04f 0901 mov.w r9, #1 + 800cd96: a803 add r0, sp, #12 + 800cd98: f88d 9014 strb.w r9, [sp, #20] + 800cd9c: f001 fcda bl 800e754 + 800cda0: 2800 cmp r0, #0 + 800cda2: d1be bne.n 800cd22 + 800cda4: 7628 strb r0, [r5, #24] + 800cda6: f885 9017 strb.w r9, [r5, #23] + 800cdaa: 7568 strb r0, [r5, #21] + 800cdac: f7ff fe5c bl 800ca68 + 800cdb0: 4640 mov r0, r8 + 800cdb2: f7ff ff79 bl 800cca8 + 800cdb6: 486c ldr r0, [pc, #432] ; (800cf68 ) + 800cdb8: f001 fa86 bl 800e2c8 + 800cdbc: 486b ldr r0, [pc, #428] ; (800cf6c ) + 800cdbe: f001 faef bl 800e3a0 + 800cdc2: a801 add r0, sp, #4 + 800cdc4: f000 ff84 bl 800dcd0 + 800cdc8: 8a20 ldrh r0, [r4, #16] + 800cdca: f000 ff55 bl 800dc78 + 800cdce: 89a0 ldrh r0, [r4, #12] + 800cdd0: f000 ff9a bl 800dd08 + 800cdd4: 4638 mov r0, r7 + 800cdd6: f001 fc01 bl 800e5dc + 800cdda: 4c60 ldr r4, [pc, #384] ; (800cf5c ) + 800cddc: f884 0056 strb.w r0, [r4, #86] ; 0x56 + 800cde0: f001 fcc0 bl 800e764 + 800cde4: 6066 str r6, [r4, #4] + 800cde6: 2000 movs r0, #0 + 800cde8: e79d b.n 800cd26 + 800cdea: f04f 0800 mov.w r8, #0 + 800cdee: 63e9 str r1, [r5, #60] ; 0x3c + 800cdf0: 0889 lsrs r1, r1, #2 + 800cdf2: f885 800e strb.w r8, [r5, #14] + 800cdf6: f885 8038 strb.w r8, [r5, #56] ; 0x38 + 800cdfa: f885 3044 strb.w r3, [r5, #68] ; 0x44 + 800cdfe: 6429 str r1, [r5, #64] ; 0x40 + 800ce00: e7aa b.n 800cd58 + 800ce02: 75eb strb r3, [r5, #23] + 800ce04: 7629 strb r1, [r5, #24] + 800ce06: 756a strb r2, [r5, #21] + 800ce08: e7d0 b.n 800cdac + 800ce0a: 6823 ldr r3, [r4, #0] + 800ce0c: 2b00 cmp r3, #0 + 800ce0e: d088 beq.n 800cd22 + 800ce10: 7ca2 ldrb r2, [r4, #18] + 800ce12: 2a08 cmp r2, #8 + 800ce14: d885 bhi.n 800cd22 + 800ce16: 4d51 ldr r5, [pc, #324] ; (800cf5c ) + 800ce18: 68a1 ldr r1, [r4, #8] + 800ce1a: a801 add r0, sp, #4 + 800ce1c: f001 fe66 bl 800eaec + 800ce20: 2300 movs r3, #0 + 800ce22: f885 3038 strb.w r3, [r5, #56] ; 0x38 + 800ce26: 6822 ldr r2, [r4, #0] + 800ce28: 63ea str r2, [r5, #60] ; 0x3c + 800ce2a: 7ce2 ldrb r2, [r4, #19] + 800ce2c: f885 2044 strb.w r2, [r5, #68] ; 0x44 + 800ce30: 69a2 ldr r2, [r4, #24] + 800ce32: 73ab strb r3, [r5, #14] + 800ce34: 642a str r2, [r5, #64] ; 0x40 + 800ce36: 6862 ldr r2, [r4, #4] + 800ce38: 7da1 ldrb r1, [r4, #22] + 800ce3a: 00d2 lsls r2, r2, #3 + 800ce3c: 822a strh r2, [r5, #16] + 800ce3e: 2204 movs r2, #4 + 800ce40: 74aa strb r2, [r5, #18] + 800ce42: 7ca2 ldrb r2, [r4, #18] + 800ce44: 752b strb r3, [r5, #20] + 800ce46: 00d2 lsls r2, r2, #3 + 800ce48: 2902 cmp r1, #2 + 800ce4a: 7d63 ldrb r3, [r4, #21] + 800ce4c: 74ea strb r2, [r5, #19] + 800ce4e: d002 beq.n 800ce56 + 800ce50: 7d22 ldrb r2, [r4, #20] + 800ce52: 2a02 cmp r2, #2 + 800ce54: d11d bne.n 800ce92 + 800ce56: f103 020f add.w r2, r3, #15 + 800ce5a: b2d2 uxtb r2, r2 + 800ce5c: 2a01 cmp r2, #1 + 800ce5e: d902 bls.n 800ce66 + 800ce60: 2b01 cmp r3, #1 + 800ce62: f47f af5e bne.w 800cd22 + 800ce66: 4b3e ldr r3, [pc, #248] ; (800cf60 ) + 800ce68: 4a3e ldr r2, [pc, #248] ; (800cf64 ) + 800ce6a: 6819 ldr r1, [r3, #0] + 800ce6c: 9403 str r4, [sp, #12] + 800ce6e: f04f 0801 mov.w r8, #1 + 800ce72: a803 add r0, sp, #12 + 800ce74: f88d 8014 strb.w r8, [sp, #20] + 800ce78: f001 fc6c bl 800e754 + 800ce7c: 2800 cmp r0, #0 + 800ce7e: f47f af50 bne.w 800cd22 + 800ce82: 7628 strb r0, [r5, #24] + 800ce84: f885 8017 strb.w r8, [r5, #23] + 800ce88: 7568 strb r0, [r5, #21] + 800ce8a: f7ff fded bl 800ca68 + 800ce8e: 2000 movs r0, #0 + 800ce90: e78f b.n 800cdb2 + 800ce92: 75eb strb r3, [r5, #23] + 800ce94: 7629 strb r1, [r5, #24] + 800ce96: 756a strb r2, [r5, #21] + 800ce98: e7f7 b.n 800ce8a + 800ce9a: 4d30 ldr r5, [pc, #192] ; (800cf5c ) + 800ce9c: 2101 movs r1, #1 + 800ce9e: f885 1038 strb.w r1, [r5, #56] ; 0x38 + 800cea2: 7822 ldrb r2, [r4, #0] + 800cea4: f885 2050 strb.w r2, [r5, #80] ; 0x50 + 800cea8: 7863 ldrb r3, [r4, #1] + 800ceaa: f885 3051 strb.w r3, [r5, #81] ; 0x51 + 800ceae: 78a3 ldrb r3, [r4, #2] + 800ceb0: f885 3052 strb.w r3, [r5, #82] ; 0x52 + 800ceb4: 78e3 ldrb r3, [r4, #3] + 800ceb6: 428b cmp r3, r1 + 800ceb8: d002 beq.n 800cec0 + 800ceba: 2b02 cmp r3, #2 + 800cebc: d003 beq.n 800cec6 + 800cebe: b93b cbnz r3, 800ced0 + 800cec0: f885 3053 strb.w r3, [r5, #83] ; 0x53 + 800cec4: e004 b.n 800ced0 + 800cec6: 3a0b subs r2, #11 + 800cec8: 2a01 cmp r2, #1 + 800ceca: d829 bhi.n 800cf20 + 800cecc: f885 1053 strb.w r1, [r5, #83] ; 0x53 + 800ced0: f04f 0801 mov.w r8, #1 + 800ced4: f885 800e strb.w r8, [r5, #14] + 800ced8: 88a3 ldrh r3, [r4, #4] + 800ceda: 83ab strh r3, [r5, #28] + 800cedc: 79a3 ldrb r3, [r4, #6] + 800cede: 77ab strb r3, [r5, #30] + 800cee0: 79e3 ldrb r3, [r4, #7] + 800cee2: f885 3020 strb.w r3, [r5, #32] + 800cee6: 7a23 ldrb r3, [r4, #8] + 800cee8: f885 3021 strb.w r3, [r5, #33] ; 0x21 + 800ceec: f7ff fdbc bl 800ca68 + 800cef0: 4640 mov r0, r8 + 800cef2: f7ff fed9 bl 800cca8 + 800cef6: 481c ldr r0, [pc, #112] ; (800cf68 ) + 800cef8: f001 f9e6 bl 800e2c8 + 800cefc: 481b ldr r0, [pc, #108] ; (800cf6c ) + 800cefe: f001 fa4f bl 800e3a0 + 800cf02: f895 3051 ldrb.w r3, [r5, #81] ; 0x51 + 800cf06: 2b06 cmp r3, #6 + 800cf08: f640 0089 movw r0, #2185 ; 0x889 + 800cf0c: d10a bne.n 800cf24 + 800cf0e: f000 fe8f bl 800dc30 + 800cf12: f000 01fb and.w r1, r0, #251 ; 0xfb + 800cf16: f640 0089 movw r0, #2185 ; 0x889 + 800cf1a: f000 fe79 bl 800dc10 + 800cf1e: e759 b.n 800cdd4 + 800cf20: 2300 movs r3, #0 + 800cf22: e7cd b.n 800cec0 + 800cf24: f000 fe84 bl 800dc30 + 800cf28: f040 0104 orr.w r1, r0, #4 + 800cf2c: b2c9 uxtb r1, r1 + 800cf2e: e7f2 b.n 800cf16 + 800cf30: 6823 ldr r3, [r4, #0] + 800cf32: 3b01 subs r3, #1 + 800cf34: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 + 800cf38: f4bf aef3 bcs.w 800cd22 + 800cf3c: 2003 movs r0, #3 + 800cf3e: f7ff feb3 bl 800cca8 + 800cf42: 4806 ldr r0, [pc, #24] ; (800cf5c ) + 800cf44: 2302 movs r3, #2 + 800cf46: f880 3038 strb.w r3, [r0, #56] ; 0x38 + 800cf4a: 6823 ldr r3, [r4, #0] + 800cf4c: 6483 str r3, [r0, #72] ; 0x48 + 800cf4e: 2316 movs r3, #22 + 800cf50: f880 304c strb.w r3, [r0, #76] ; 0x4c + 800cf54: 3038 adds r0, #56 ; 0x38 + 800cf56: f001 f9b7 bl 800e2c8 + 800cf5a: e73b b.n 800cdd4 + 800cf5c: 20001ae8 .word 0x20001ae8 + 800cf60: 20001acc .word 0x20001acc + 800cf64: 20001b44 .word 0x20001b44 + 800cf68: 20001b20 .word 0x20001b20 + 800cf6c: 20001af6 .word 0x20001af6 -0800cf5c : - 800cf5c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800cf60: 2600 movs r6, #0 - 800cf62: b086 sub sp, #24 - 800cf64: 461f mov r7, r3 - 800cf66: 4614 mov r4, r2 - 800cf68: e9cd 6601 strd r6, r6, [sp, #4] - 800cf6c: 4680 mov r8, r0 - 800cf6e: 460d mov r5, r1 - 800cf70: f001 fbe9 bl 800e746 - 800cf74: 42b4 cmp r4, r6 - 800cf76: 4c76 ldr r4, [pc, #472] ; (800d150 ) - 800cf78: bf16 itet ne - 800cf7a: 2301 movne r3, #1 - 800cf7c: 4633 moveq r3, r6 - 800cf7e: 4637 movne r7, r6 - 800cf80: 7063 strb r3, [r4, #1] - 800cf82: f1b8 0f00 cmp.w r8, #0 - 800cf86: d006 beq.n 800cf96 - 800cf88: f1b8 0f01 cmp.w r8, #1 - 800cf8c: d07c beq.n 800d088 - 800cf8e: 2000 movs r0, #0 - 800cf90: b006 add sp, #24 - 800cf92: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800cf96: 68ab ldr r3, [r5, #8] - 800cf98: 2b00 cmp r3, #0 - 800cf9a: f000 80d6 beq.w 800d14a - 800cf9e: 68eb ldr r3, [r5, #12] - 800cfa0: 2b00 cmp r3, #0 - 800cfa2: f000 80d2 beq.w 800d14a - 800cfa6: 7faa ldrb r2, [r5, #30] - 800cfa8: 2a08 cmp r2, #8 - 800cfaa: f200 80ce bhi.w 800d14a - 800cfae: 6929 ldr r1, [r5, #16] - 800cfb0: a801 add r0, sp, #4 - 800cfb2: f001 fd91 bl 800ead8 - 800cfb6: 6828 ldr r0, [r5, #0] - 800cfb8: 3800 subs r0, #0 - 800cfba: bf18 it ne - 800cfbc: 2001 movne r0, #1 - 800cfbe: f000 ffd9 bl 800df74 - 800cfc2: f884 8038 strb.w r8, [r4, #56] ; 0x38 - 800cfc6: 68ab ldr r3, [r5, #8] - 800cfc8: 63e3 str r3, [r4, #60] ; 0x3c - 800cfca: f895 3020 ldrb.w r3, [r5, #32] - 800cfce: f884 3044 strb.w r3, [r4, #68] ; 0x44 - 800cfd2: 6868 ldr r0, [r5, #4] - 800cfd4: f001 fb5a bl 800e68c - 800cfd8: f884 800e strb.w r8, [r4, #14] - 800cfdc: f884 0045 strb.w r0, [r4, #69] ; 0x45 - 800cfe0: 68eb ldr r3, [r5, #12] - 800cfe2: 00db lsls r3, r3, #3 - 800cfe4: 8223 strh r3, [r4, #16] - 800cfe6: 7feb ldrb r3, [r5, #31] - 800cfe8: 74a3 strb r3, [r4, #18] - 800cfea: 7fab ldrb r3, [r5, #30] - 800cfec: 00db lsls r3, r3, #3 - 800cfee: 74e3 strb r3, [r4, #19] - 800cff0: f895 3021 ldrb.w r3, [r5, #33] ; 0x21 - 800cff4: 7523 strb r3, [r4, #20] - 800cff6: f895 3022 ldrb.w r3, [r5, #34] ; 0x22 - 800cffa: 2b00 cmp r3, #0 - 800cffc: d13e bne.n 800d07c - 800cffe: 7d2a ldrb r2, [r5, #20] - 800d000: f895 1024 ldrb.w r1, [r5, #36] ; 0x24 - 800d004: 75a2 strb r2, [r4, #22] - 800d006: 2902 cmp r1, #2 - 800d008: f895 2023 ldrb.w r2, [r5, #35] ; 0x23 - 800d00c: d001 beq.n 800d012 - 800d00e: 2b02 cmp r3, #2 - 800d010: d136 bne.n 800d080 - 800d012: f102 030f add.w r3, r2, #15 - 800d016: b2db uxtb r3, r3 - 800d018: 2b01 cmp r3, #1 - 800d01a: d902 bls.n 800d022 - 800d01c: 2a01 cmp r2, #1 - 800d01e: f040 8094 bne.w 800d14a - 800d022: 2300 movs r3, #0 - 800d024: f88d 3014 strb.w r3, [sp, #20] - 800d028: 4b4a ldr r3, [pc, #296] ; (800d154 ) - 800d02a: 4a4b ldr r2, [pc, #300] ; (800d158 ) - 800d02c: 6819 ldr r1, [r3, #0] - 800d02e: 9504 str r5, [sp, #16] - 800d030: a803 add r0, sp, #12 - 800d032: f001 fb85 bl 800e740 - 800d036: 2800 cmp r0, #0 - 800d038: f040 8087 bne.w 800d14a - 800d03c: 2301 movs r3, #1 - 800d03e: 7620 strb r0, [r4, #24] - 800d040: 75e3 strb r3, [r4, #23] - 800d042: 7560 strb r0, [r4, #21] - 800d044: f7ff fd06 bl 800ca54 - 800d048: 2000 movs r0, #0 - 800d04a: f7ff fe23 bl 800cc94 - 800d04e: 4843 ldr r0, [pc, #268] ; (800d15c ) - 800d050: f001 f930 bl 800e2b4 - 800d054: 4842 ldr r0, [pc, #264] ; (800d160 ) - 800d056: f001 f999 bl 800e38c - 800d05a: a801 add r0, sp, #4 - 800d05c: f000 fe2e bl 800dcbc - 800d060: 8ba8 ldrh r0, [r5, #28] - 800d062: f000 fdff bl 800dc64 - 800d066: 8b28 ldrh r0, [r5, #24] - 800d068: f000 fe44 bl 800dcf4 - 800d06c: f44f 53fa mov.w r3, #8000 ; 0x1f40 - 800d070: 68aa ldr r2, [r5, #8] - 800d072: 437b muls r3, r7 - 800d074: fbb3 f3f2 udiv r3, r3, r2 - 800d078: 60a3 str r3, [r4, #8] - 800d07a: e788 b.n 800cf8e - 800d07c: 22ff movs r2, #255 ; 0xff - 800d07e: e7bf b.n 800d000 - 800d080: 75e2 strb r2, [r4, #23] - 800d082: 7621 strb r1, [r4, #24] - 800d084: 7563 strb r3, [r4, #21] - 800d086: e7dd b.n 800d044 - 800d088: 8e2b ldrh r3, [r5, #48] ; 0x30 - 800d08a: 2b00 cmp r3, #0 - 800d08c: d05d beq.n 800d14a - 800d08e: f895 3032 ldrb.w r3, [r5, #50] ; 0x32 - 800d092: 6aa8 ldr r0, [r5, #40] ; 0x28 - 800d094: 2b01 cmp r3, #1 - 800d096: bf0c ite eq - 800d098: f895 8014 ldrbeq.w r8, [r5, #20] - 800d09c: f04f 08ff movne.w r8, #255 ; 0xff - 800d0a0: 3800 subs r0, #0 - 800d0a2: bf18 it ne - 800d0a4: 2001 movne r0, #1 - 800d0a6: f000 ff65 bl 800df74 - 800d0aa: b2f8 uxtb r0, r7 - 800d0ac: f000 ff6e bl 800df8c - 800d0b0: 2101 movs r1, #1 - 800d0b2: f884 1038 strb.w r1, [r4, #56] ; 0x38 - 800d0b6: f895 202c ldrb.w r2, [r5, #44] ; 0x2c - 800d0ba: f884 2050 strb.w r2, [r4, #80] ; 0x50 - 800d0be: f895 302d ldrb.w r3, [r5, #45] ; 0x2d - 800d0c2: f884 3051 strb.w r3, [r4, #81] ; 0x51 - 800d0c6: f895 302e ldrb.w r3, [r5, #46] ; 0x2e - 800d0ca: f884 3052 strb.w r3, [r4, #82] ; 0x52 - 800d0ce: f895 302f ldrb.w r3, [r5, #47] ; 0x2f - 800d0d2: 428b cmp r3, r1 - 800d0d4: d002 beq.n 800d0dc - 800d0d6: 2b02 cmp r3, #2 - 800d0d8: d003 beq.n 800d0e2 - 800d0da: b93b cbnz r3, 800d0ec - 800d0dc: f884 3053 strb.w r3, [r4, #83] ; 0x53 - 800d0e0: e004 b.n 800d0ec - 800d0e2: 3a0b subs r2, #11 - 800d0e4: 2a01 cmp r2, #1 - 800d0e6: d828 bhi.n 800d13a - 800d0e8: f884 1053 strb.w r1, [r4, #83] ; 0x53 - 800d0ec: 8e2b ldrh r3, [r5, #48] ; 0x30 - 800d0ee: 83a3 strh r3, [r4, #28] - 800d0f0: f895 3032 ldrb.w r3, [r5, #50] ; 0x32 - 800d0f4: 77a3 strb r3, [r4, #30] - 800d0f6: 8eab ldrh r3, [r5, #52] ; 0x34 - 800d0f8: 8423 strh r3, [r4, #32] - 800d0fa: 2601 movs r6, #1 - 800d0fc: 73a6 strb r6, [r4, #14] - 800d0fe: f884 801f strb.w r8, [r4, #31] - 800d102: f7ff fca7 bl 800ca54 - 800d106: 4630 mov r0, r6 - 800d108: f7ff fdc4 bl 800cc94 - 800d10c: 4813 ldr r0, [pc, #76] ; (800d15c ) - 800d10e: f001 f8d1 bl 800e2b4 - 800d112: 4813 ldr r0, [pc, #76] ; (800d160 ) - 800d114: f001 f93a bl 800e38c - 800d118: f894 3021 ldrb.w r3, [r4, #33] ; 0x21 - 800d11c: 42b3 cmp r3, r6 - 800d11e: f240 7036 movw r0, #1846 ; 0x736 - 800d122: d10c bne.n 800d13e - 800d124: f000 fd7a bl 800dc1c - 800d128: f000 01fb and.w r1, r0, #251 ; 0xfb - 800d12c: f240 7036 movw r0, #1846 ; 0x736 - 800d130: f000 fd64 bl 800dbfc - 800d134: f64f 73ff movw r3, #65535 ; 0xffff - 800d138: e79e b.n 800d078 - 800d13a: 2300 movs r3, #0 - 800d13c: e7ce b.n 800d0dc - 800d13e: f000 fd6d bl 800dc1c - 800d142: f040 0104 orr.w r1, r0, #4 - 800d146: b2c9 uxtb r1, r1 - 800d148: e7f0 b.n 800d12c - 800d14a: f04f 30ff mov.w r0, #4294967295 - 800d14e: e71f b.n 800cf90 - 800d150: 20001ae8 .word 0x20001ae8 - 800d154: 20001acc .word 0x20001acc - 800d158: 20001ad0 .word 0x20001ad0 - 800d15c: 20001b20 .word 0x20001b20 - 800d160: 20001af6 .word 0x20001af6 +0800cf70 : + 800cf70: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800cf74: 2600 movs r6, #0 + 800cf76: b086 sub sp, #24 + 800cf78: 461f mov r7, r3 + 800cf7a: 4614 mov r4, r2 + 800cf7c: e9cd 6601 strd r6, r6, [sp, #4] + 800cf80: 4680 mov r8, r0 + 800cf82: 460d mov r5, r1 + 800cf84: f001 fbe9 bl 800e75a + 800cf88: 42b4 cmp r4, r6 + 800cf8a: 4c76 ldr r4, [pc, #472] ; (800d164 ) + 800cf8c: bf16 itet ne + 800cf8e: 2301 movne r3, #1 + 800cf90: 4633 moveq r3, r6 + 800cf92: 4637 movne r7, r6 + 800cf94: 7063 strb r3, [r4, #1] + 800cf96: f1b8 0f00 cmp.w r8, #0 + 800cf9a: d006 beq.n 800cfaa + 800cf9c: f1b8 0f01 cmp.w r8, #1 + 800cfa0: d07c beq.n 800d09c + 800cfa2: 2000 movs r0, #0 + 800cfa4: b006 add sp, #24 + 800cfa6: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800cfaa: 68ab ldr r3, [r5, #8] + 800cfac: 2b00 cmp r3, #0 + 800cfae: f000 80d6 beq.w 800d15e + 800cfb2: 68eb ldr r3, [r5, #12] + 800cfb4: 2b00 cmp r3, #0 + 800cfb6: f000 80d2 beq.w 800d15e + 800cfba: 7faa ldrb r2, [r5, #30] + 800cfbc: 2a08 cmp r2, #8 + 800cfbe: f200 80ce bhi.w 800d15e + 800cfc2: 6929 ldr r1, [r5, #16] + 800cfc4: a801 add r0, sp, #4 + 800cfc6: f001 fd91 bl 800eaec + 800cfca: 6828 ldr r0, [r5, #0] + 800cfcc: 3800 subs r0, #0 + 800cfce: bf18 it ne + 800cfd0: 2001 movne r0, #1 + 800cfd2: f000 ffd9 bl 800df88 + 800cfd6: f884 8038 strb.w r8, [r4, #56] ; 0x38 + 800cfda: 68ab ldr r3, [r5, #8] + 800cfdc: 63e3 str r3, [r4, #60] ; 0x3c + 800cfde: f895 3020 ldrb.w r3, [r5, #32] + 800cfe2: f884 3044 strb.w r3, [r4, #68] ; 0x44 + 800cfe6: 6868 ldr r0, [r5, #4] + 800cfe8: f001 fb5a bl 800e6a0 + 800cfec: f884 800e strb.w r8, [r4, #14] + 800cff0: f884 0045 strb.w r0, [r4, #69] ; 0x45 + 800cff4: 68eb ldr r3, [r5, #12] + 800cff6: 00db lsls r3, r3, #3 + 800cff8: 8223 strh r3, [r4, #16] + 800cffa: 7feb ldrb r3, [r5, #31] + 800cffc: 74a3 strb r3, [r4, #18] + 800cffe: 7fab ldrb r3, [r5, #30] + 800d000: 00db lsls r3, r3, #3 + 800d002: 74e3 strb r3, [r4, #19] + 800d004: f895 3021 ldrb.w r3, [r5, #33] ; 0x21 + 800d008: 7523 strb r3, [r4, #20] + 800d00a: f895 3022 ldrb.w r3, [r5, #34] ; 0x22 + 800d00e: 2b00 cmp r3, #0 + 800d010: d13e bne.n 800d090 + 800d012: 7d2a ldrb r2, [r5, #20] + 800d014: f895 1024 ldrb.w r1, [r5, #36] ; 0x24 + 800d018: 75a2 strb r2, [r4, #22] + 800d01a: 2902 cmp r1, #2 + 800d01c: f895 2023 ldrb.w r2, [r5, #35] ; 0x23 + 800d020: d001 beq.n 800d026 + 800d022: 2b02 cmp r3, #2 + 800d024: d136 bne.n 800d094 + 800d026: f102 030f add.w r3, r2, #15 + 800d02a: b2db uxtb r3, r3 + 800d02c: 2b01 cmp r3, #1 + 800d02e: d902 bls.n 800d036 + 800d030: 2a01 cmp r2, #1 + 800d032: f040 8094 bne.w 800d15e + 800d036: 2300 movs r3, #0 + 800d038: f88d 3014 strb.w r3, [sp, #20] + 800d03c: 4b4a ldr r3, [pc, #296] ; (800d168 ) + 800d03e: 4a4b ldr r2, [pc, #300] ; (800d16c ) + 800d040: 6819 ldr r1, [r3, #0] + 800d042: 9504 str r5, [sp, #16] + 800d044: a803 add r0, sp, #12 + 800d046: f001 fb85 bl 800e754 + 800d04a: 2800 cmp r0, #0 + 800d04c: f040 8087 bne.w 800d15e + 800d050: 2301 movs r3, #1 + 800d052: 7620 strb r0, [r4, #24] + 800d054: 75e3 strb r3, [r4, #23] + 800d056: 7560 strb r0, [r4, #21] + 800d058: f7ff fd06 bl 800ca68 + 800d05c: 2000 movs r0, #0 + 800d05e: f7ff fe23 bl 800cca8 + 800d062: 4843 ldr r0, [pc, #268] ; (800d170 ) + 800d064: f001 f930 bl 800e2c8 + 800d068: 4842 ldr r0, [pc, #264] ; (800d174 ) + 800d06a: f001 f999 bl 800e3a0 + 800d06e: a801 add r0, sp, #4 + 800d070: f000 fe2e bl 800dcd0 + 800d074: 8ba8 ldrh r0, [r5, #28] + 800d076: f000 fdff bl 800dc78 + 800d07a: 8b28 ldrh r0, [r5, #24] + 800d07c: f000 fe44 bl 800dd08 + 800d080: f44f 53fa mov.w r3, #8000 ; 0x1f40 + 800d084: 68aa ldr r2, [r5, #8] + 800d086: 437b muls r3, r7 + 800d088: fbb3 f3f2 udiv r3, r3, r2 + 800d08c: 60a3 str r3, [r4, #8] + 800d08e: e788 b.n 800cfa2 + 800d090: 22ff movs r2, #255 ; 0xff + 800d092: e7bf b.n 800d014 + 800d094: 75e2 strb r2, [r4, #23] + 800d096: 7621 strb r1, [r4, #24] + 800d098: 7563 strb r3, [r4, #21] + 800d09a: e7dd b.n 800d058 + 800d09c: 8e2b ldrh r3, [r5, #48] ; 0x30 + 800d09e: 2b00 cmp r3, #0 + 800d0a0: d05d beq.n 800d15e + 800d0a2: f895 3032 ldrb.w r3, [r5, #50] ; 0x32 + 800d0a6: 6aa8 ldr r0, [r5, #40] ; 0x28 + 800d0a8: 2b01 cmp r3, #1 + 800d0aa: bf0c ite eq + 800d0ac: f895 8014 ldrbeq.w r8, [r5, #20] + 800d0b0: f04f 08ff movne.w r8, #255 ; 0xff + 800d0b4: 3800 subs r0, #0 + 800d0b6: bf18 it ne + 800d0b8: 2001 movne r0, #1 + 800d0ba: f000 ff65 bl 800df88 + 800d0be: b2f8 uxtb r0, r7 + 800d0c0: f000 ff6e bl 800dfa0 + 800d0c4: 2101 movs r1, #1 + 800d0c6: f884 1038 strb.w r1, [r4, #56] ; 0x38 + 800d0ca: f895 202c ldrb.w r2, [r5, #44] ; 0x2c + 800d0ce: f884 2050 strb.w r2, [r4, #80] ; 0x50 + 800d0d2: f895 302d ldrb.w r3, [r5, #45] ; 0x2d + 800d0d6: f884 3051 strb.w r3, [r4, #81] ; 0x51 + 800d0da: f895 302e ldrb.w r3, [r5, #46] ; 0x2e + 800d0de: f884 3052 strb.w r3, [r4, #82] ; 0x52 + 800d0e2: f895 302f ldrb.w r3, [r5, #47] ; 0x2f + 800d0e6: 428b cmp r3, r1 + 800d0e8: d002 beq.n 800d0f0 + 800d0ea: 2b02 cmp r3, #2 + 800d0ec: d003 beq.n 800d0f6 + 800d0ee: b93b cbnz r3, 800d100 + 800d0f0: f884 3053 strb.w r3, [r4, #83] ; 0x53 + 800d0f4: e004 b.n 800d100 + 800d0f6: 3a0b subs r2, #11 + 800d0f8: 2a01 cmp r2, #1 + 800d0fa: d828 bhi.n 800d14e + 800d0fc: f884 1053 strb.w r1, [r4, #83] ; 0x53 + 800d100: 8e2b ldrh r3, [r5, #48] ; 0x30 + 800d102: 83a3 strh r3, [r4, #28] + 800d104: f895 3032 ldrb.w r3, [r5, #50] ; 0x32 + 800d108: 77a3 strb r3, [r4, #30] + 800d10a: 8eab ldrh r3, [r5, #52] ; 0x34 + 800d10c: 8423 strh r3, [r4, #32] + 800d10e: 2601 movs r6, #1 + 800d110: 73a6 strb r6, [r4, #14] + 800d112: f884 801f strb.w r8, [r4, #31] + 800d116: f7ff fca7 bl 800ca68 + 800d11a: 4630 mov r0, r6 + 800d11c: f7ff fdc4 bl 800cca8 + 800d120: 4813 ldr r0, [pc, #76] ; (800d170 ) + 800d122: f001 f8d1 bl 800e2c8 + 800d126: 4813 ldr r0, [pc, #76] ; (800d174 ) + 800d128: f001 f93a bl 800e3a0 + 800d12c: f894 3021 ldrb.w r3, [r4, #33] ; 0x21 + 800d130: 42b3 cmp r3, r6 + 800d132: f240 7036 movw r0, #1846 ; 0x736 + 800d136: d10c bne.n 800d152 + 800d138: f000 fd7a bl 800dc30 + 800d13c: f000 01fb and.w r1, r0, #251 ; 0xfb + 800d140: f240 7036 movw r0, #1846 ; 0x736 + 800d144: f000 fd64 bl 800dc10 + 800d148: f64f 73ff movw r3, #65535 ; 0xffff + 800d14c: e79e b.n 800d08c + 800d14e: 2300 movs r3, #0 + 800d150: e7ce b.n 800d0f0 + 800d152: f000 fd6d bl 800dc30 + 800d156: f040 0104 orr.w r1, r0, #4 + 800d15a: b2c9 uxtb r1, r1 + 800d15c: e7f0 b.n 800d140 + 800d15e: f04f 30ff mov.w r0, #4294967295 + 800d162: e71f b.n 800cfa4 + 800d164: 20001ae8 .word 0x20001ae8 + 800d168: 20001acc .word 0x20001acc + 800d16c: 20001ad0 .word 0x20001ad0 + 800d170: 20001b20 .word 0x20001b20 + 800d174: 20001af6 .word 0x20001af6 -0800d164 : - 800d164: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800d168: b085 sub sp, #20 - 800d16a: 4682 mov sl, r0 - 800d16c: 9d0e ldr r5, [sp, #56] ; 0x38 - 800d16e: f8bd b040 ldrh.w fp, [sp, #64] ; 0x40 - 800d172: f89d 7044 ldrb.w r7, [sp, #68] ; 0x44 - 800d176: f89d 9048 ldrb.w r9, [sp, #72] ; 0x48 - 800d17a: 9201 str r2, [sp, #4] - 800d17c: 4688 mov r8, r1 - 800d17e: 461e mov r6, r3 - 800d180: f001 fae1 bl 800e746 - 800d184: f1ba 0f01 cmp.w sl, #1 - 800d188: 4c52 ldr r4, [pc, #328] ; (800d2d4 ) - 800d18a: d054 beq.n 800d236 - 800d18c: f1ba 0f04 cmp.w sl, #4 - 800d190: f000 8091 beq.w 800d2b6 - 800d194: f1ba 0f00 cmp.w sl, #0 - 800d198: d13a bne.n 800d210 - 800d19a: 220b movs r2, #11 - 800d19c: 4630 mov r0, r6 - 800d19e: f884 2044 strb.w r2, [r4, #68] ; 0x44 - 800d1a2: f884 a038 strb.w sl, [r4, #56] ; 0x38 - 800d1a6: 63e5 str r5, [r4, #60] ; 0x3c - 800d1a8: f001 fa70 bl 800e68c - 800d1ac: 9b01 ldr r3, [sp, #4] - 800d1ae: 6423 str r3, [r4, #64] ; 0x40 - 800d1b0: ea4f 03cb mov.w r3, fp, lsl #3 - 800d1b4: f1b9 0f00 cmp.w r9, #0 - 800d1b8: 8223 strh r3, [r4, #16] - 800d1ba: f641 0304 movw r3, #6148 ; 0x1804 - 800d1be: 8263 strh r3, [r4, #18] - 800d1c0: bf14 ite ne - 800d1c2: 23f2 movne r3, #242 ; 0xf2 - 800d1c4: 2301 moveq r3, #1 - 800d1c6: 75e3 strb r3, [r4, #23] - 800d1c8: f087 0701 eor.w r7, r7, #1 - 800d1cc: 2301 movs r3, #1 - 800d1ce: 7623 strb r3, [r4, #24] - 800d1d0: f884 0045 strb.w r0, [r4, #69] ; 0x45 - 800d1d4: f884 a00e strb.w sl, [r4, #14] - 800d1d8: f884 a014 strb.w sl, [r4, #20] - 800d1dc: 7567 strb r7, [r4, #21] - 800d1de: f7ff fc39 bl 800ca54 - 800d1e2: 4650 mov r0, sl - 800d1e4: f7ff fd56 bl 800cc94 - 800d1e8: f104 0038 add.w r0, r4, #56 ; 0x38 - 800d1ec: f001 f862 bl 800e2b4 - 800d1f0: f104 000e add.w r0, r4, #14 - 800d1f4: f001 f8ca bl 800e38c - 800d1f8: 4a37 ldr r2, [pc, #220] ; (800d2d8 ) - 800d1fa: 6810 ldr r0, [r2, #0] - 800d1fc: 6851 ldr r1, [r2, #4] - 800d1fe: ab02 add r3, sp, #8 - 800d200: c303 stmia r3!, {r0, r1} - 800d202: a802 add r0, sp, #8 - 800d204: f000 fd5a bl 800dcbc - 800d208: f240 10ff movw r0, #511 ; 0x1ff - 800d20c: f000 fd2a bl 800dc64 - 800d210: 4640 mov r0, r8 - 800d212: f001 f9d9 bl 800e5c8 - 800d216: 210e movs r1, #14 - 800d218: f884 0056 strb.w r0, [r4, #86] ; 0x56 - 800d21c: f640 101f movw r0, #2335 ; 0x91f - 800d220: f000 fcec bl 800dbfc - 800d224: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 - 800d228: f001 fa92 bl 800e750 - 800d22c: 9b16 ldr r3, [sp, #88] ; 0x58 - 800d22e: 6063 str r3, [r4, #4] - 800d230: b005 add sp, #20 - 800d232: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800d236: 4929 ldr r1, [pc, #164] ; (800d2dc ) - 800d238: f884 a038 strb.w sl, [r4, #56] ; 0x38 - 800d23c: b2ea uxtb r2, r5 - 800d23e: 5d89 ldrb r1, [r1, r6] - 800d240: f884 2050 strb.w r2, [r4, #80] ; 0x50 - 800d244: bb76 cbnz r6, 800d2a4 - 800d246: 3d0b subs r5, #11 - 800d248: 2d01 cmp r5, #1 - 800d24a: bf8c ite hi - 800d24c: 2500 movhi r5, #0 - 800d24e: 2501 movls r5, #1 - 800d250: 3a05 subs r2, #5 - 800d252: 2a01 cmp r2, #1 - 800d254: d804 bhi.n 800d260 - 800d256: f1bb 0f0c cmp.w fp, #12 - 800d25a: bf38 it cc - 800d25c: f04f 0b0c movcc.w fp, #12 - 800d260: 4b1f ldr r3, [pc, #124] ; (800d2e0 ) - 800d262: f89d 203c ldrb.w r2, [sp, #60] ; 0x3c - 800d266: 781b ldrb r3, [r3, #0] - 800d268: f884 5053 strb.w r5, [r4, #83] ; 0x53 - 800d26c: 77e3 strb r3, [r4, #31] - 800d26e: 2501 movs r5, #1 - 800d270: f89d 3054 ldrb.w r3, [sp, #84] ; 0x54 - 800d274: f884 1051 strb.w r1, [r4, #81] ; 0x51 - 800d278: f884 2052 strb.w r2, [r4, #82] ; 0x52 - 800d27c: f884 3021 strb.w r3, [r4, #33] ; 0x21 - 800d280: 73a5 strb r5, [r4, #14] - 800d282: f8a4 b01c strh.w fp, [r4, #28] - 800d286: 77a7 strb r7, [r4, #30] - 800d288: f884 9020 strb.w r9, [r4, #32] - 800d28c: f7ff fbe2 bl 800ca54 - 800d290: 4628 mov r0, r5 - 800d292: f7ff fcff bl 800cc94 - 800d296: 4813 ldr r0, [pc, #76] ; (800d2e4 ) - 800d298: f001 f80c bl 800e2b4 - 800d29c: 4812 ldr r0, [pc, #72] ; (800d2e8 ) - 800d29e: f001 f875 bl 800e38c - 800d2a2: e7b5 b.n 800d210 - 800d2a4: 2e01 cmp r6, #1 - 800d2a6: d104 bne.n 800d2b2 - 800d2a8: f1a5 030c sub.w r3, r5, #12 - 800d2ac: 425d negs r5, r3 - 800d2ae: 415d adcs r5, r3 - 800d2b0: e7ce b.n 800d250 - 800d2b2: 2500 movs r5, #0 - 800d2b4: e7cc b.n 800d250 - 800d2b6: 4650 mov r0, sl - 800d2b8: f7ff fcec bl 800cc94 - 800d2bc: 2302 movs r3, #2 - 800d2be: f884 3038 strb.w r3, [r4, #56] ; 0x38 - 800d2c2: f104 0038 add.w r0, r4, #56 ; 0x38 - 800d2c6: 2316 movs r3, #22 - 800d2c8: 64a5 str r5, [r4, #72] ; 0x48 - 800d2ca: f884 304c strb.w r3, [r4, #76] ; 0x4c - 800d2ce: f000 fff1 bl 800e2b4 - 800d2d2: e79d b.n 800d210 - 800d2d4: 20001ae8 .word 0x20001ae8 - 800d2d8: 0800f4e8 .word 0x0800f4e8 - 800d2dc: 0801019e .word 0x0801019e - 800d2e0: 200000fc .word 0x200000fc - 800d2e4: 20001b20 .word 0x20001b20 - 800d2e8: 20001af6 .word 0x20001af6 +0800d178 : + 800d178: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800d17c: b085 sub sp, #20 + 800d17e: 4682 mov sl, r0 + 800d180: 9d0e ldr r5, [sp, #56] ; 0x38 + 800d182: f8bd b040 ldrh.w fp, [sp, #64] ; 0x40 + 800d186: f89d 7044 ldrb.w r7, [sp, #68] ; 0x44 + 800d18a: f89d 9048 ldrb.w r9, [sp, #72] ; 0x48 + 800d18e: 9201 str r2, [sp, #4] + 800d190: 4688 mov r8, r1 + 800d192: 461e mov r6, r3 + 800d194: f001 fae1 bl 800e75a + 800d198: f1ba 0f01 cmp.w sl, #1 + 800d19c: 4c52 ldr r4, [pc, #328] ; (800d2e8 ) + 800d19e: d054 beq.n 800d24a + 800d1a0: f1ba 0f04 cmp.w sl, #4 + 800d1a4: f000 8091 beq.w 800d2ca + 800d1a8: f1ba 0f00 cmp.w sl, #0 + 800d1ac: d13a bne.n 800d224 + 800d1ae: 220b movs r2, #11 + 800d1b0: 4630 mov r0, r6 + 800d1b2: f884 2044 strb.w r2, [r4, #68] ; 0x44 + 800d1b6: f884 a038 strb.w sl, [r4, #56] ; 0x38 + 800d1ba: 63e5 str r5, [r4, #60] ; 0x3c + 800d1bc: f001 fa70 bl 800e6a0 + 800d1c0: 9b01 ldr r3, [sp, #4] + 800d1c2: 6423 str r3, [r4, #64] ; 0x40 + 800d1c4: ea4f 03cb mov.w r3, fp, lsl #3 + 800d1c8: f1b9 0f00 cmp.w r9, #0 + 800d1cc: 8223 strh r3, [r4, #16] + 800d1ce: f641 0304 movw r3, #6148 ; 0x1804 + 800d1d2: 8263 strh r3, [r4, #18] + 800d1d4: bf14 ite ne + 800d1d6: 23f2 movne r3, #242 ; 0xf2 + 800d1d8: 2301 moveq r3, #1 + 800d1da: 75e3 strb r3, [r4, #23] + 800d1dc: f087 0701 eor.w r7, r7, #1 + 800d1e0: 2301 movs r3, #1 + 800d1e2: 7623 strb r3, [r4, #24] + 800d1e4: f884 0045 strb.w r0, [r4, #69] ; 0x45 + 800d1e8: f884 a00e strb.w sl, [r4, #14] + 800d1ec: f884 a014 strb.w sl, [r4, #20] + 800d1f0: 7567 strb r7, [r4, #21] + 800d1f2: f7ff fc39 bl 800ca68 + 800d1f6: 4650 mov r0, sl + 800d1f8: f7ff fd56 bl 800cca8 + 800d1fc: f104 0038 add.w r0, r4, #56 ; 0x38 + 800d200: f001 f862 bl 800e2c8 + 800d204: f104 000e add.w r0, r4, #14 + 800d208: f001 f8ca bl 800e3a0 + 800d20c: 4a37 ldr r2, [pc, #220] ; (800d2ec ) + 800d20e: 6810 ldr r0, [r2, #0] + 800d210: 6851 ldr r1, [r2, #4] + 800d212: ab02 add r3, sp, #8 + 800d214: c303 stmia r3!, {r0, r1} + 800d216: a802 add r0, sp, #8 + 800d218: f000 fd5a bl 800dcd0 + 800d21c: f240 10ff movw r0, #511 ; 0x1ff + 800d220: f000 fd2a bl 800dc78 + 800d224: 4640 mov r0, r8 + 800d226: f001 f9d9 bl 800e5dc + 800d22a: 210e movs r1, #14 + 800d22c: f884 0056 strb.w r0, [r4, #86] ; 0x56 + 800d230: f640 101f movw r0, #2335 ; 0x91f + 800d234: f000 fcec bl 800dc10 + 800d238: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 + 800d23c: f001 fa92 bl 800e764 + 800d240: 9b16 ldr r3, [sp, #88] ; 0x58 + 800d242: 6063 str r3, [r4, #4] + 800d244: b005 add sp, #20 + 800d246: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800d24a: 4929 ldr r1, [pc, #164] ; (800d2f0 ) + 800d24c: f884 a038 strb.w sl, [r4, #56] ; 0x38 + 800d250: b2ea uxtb r2, r5 + 800d252: 5d89 ldrb r1, [r1, r6] + 800d254: f884 2050 strb.w r2, [r4, #80] ; 0x50 + 800d258: bb76 cbnz r6, 800d2b8 + 800d25a: 3d0b subs r5, #11 + 800d25c: 2d01 cmp r5, #1 + 800d25e: bf8c ite hi + 800d260: 2500 movhi r5, #0 + 800d262: 2501 movls r5, #1 + 800d264: 3a05 subs r2, #5 + 800d266: 2a01 cmp r2, #1 + 800d268: d804 bhi.n 800d274 + 800d26a: f1bb 0f0c cmp.w fp, #12 + 800d26e: bf38 it cc + 800d270: f04f 0b0c movcc.w fp, #12 + 800d274: 4b1f ldr r3, [pc, #124] ; (800d2f4 ) + 800d276: f89d 203c ldrb.w r2, [sp, #60] ; 0x3c + 800d27a: 781b ldrb r3, [r3, #0] + 800d27c: f884 5053 strb.w r5, [r4, #83] ; 0x53 + 800d280: 77e3 strb r3, [r4, #31] + 800d282: 2501 movs r5, #1 + 800d284: f89d 3054 ldrb.w r3, [sp, #84] ; 0x54 + 800d288: f884 1051 strb.w r1, [r4, #81] ; 0x51 + 800d28c: f884 2052 strb.w r2, [r4, #82] ; 0x52 + 800d290: f884 3021 strb.w r3, [r4, #33] ; 0x21 + 800d294: 73a5 strb r5, [r4, #14] + 800d296: f8a4 b01c strh.w fp, [r4, #28] + 800d29a: 77a7 strb r7, [r4, #30] + 800d29c: f884 9020 strb.w r9, [r4, #32] + 800d2a0: f7ff fbe2 bl 800ca68 + 800d2a4: 4628 mov r0, r5 + 800d2a6: f7ff fcff bl 800cca8 + 800d2aa: 4813 ldr r0, [pc, #76] ; (800d2f8 ) + 800d2ac: f001 f80c bl 800e2c8 + 800d2b0: 4812 ldr r0, [pc, #72] ; (800d2fc ) + 800d2b2: f001 f875 bl 800e3a0 + 800d2b6: e7b5 b.n 800d224 + 800d2b8: 2e01 cmp r6, #1 + 800d2ba: d104 bne.n 800d2c6 + 800d2bc: f1a5 030c sub.w r3, r5, #12 + 800d2c0: 425d negs r5, r3 + 800d2c2: 415d adcs r5, r3 + 800d2c4: e7ce b.n 800d264 + 800d2c6: 2500 movs r5, #0 + 800d2c8: e7cc b.n 800d264 + 800d2ca: 4650 mov r0, sl + 800d2cc: f7ff fcec bl 800cca8 + 800d2d0: 2302 movs r3, #2 + 800d2d2: f884 3038 strb.w r3, [r4, #56] ; 0x38 + 800d2d6: f104 0038 add.w r0, r4, #56 ; 0x38 + 800d2da: 2316 movs r3, #22 + 800d2dc: 64a5 str r5, [r4, #72] ; 0x48 + 800d2de: f884 304c strb.w r3, [r4, #76] ; 0x4c + 800d2e2: f000 fff1 bl 800e2c8 + 800d2e6: e79d b.n 800d224 + 800d2e8: 20001ae8 .word 0x20001ae8 + 800d2ec: 0800f500 .word 0x0800f500 + 800d2f0: 080101b6 .word 0x080101b6 + 800d2f4: 200000fc .word 0x200000fc + 800d2f8: 20001b20 .word 0x20001b20 + 800d2fc: 20001af6 .word 0x20001af6 -0800d2ec : - 800d2ec: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800d2f0: b087 sub sp, #28 - 800d2f2: f8df b2b4 ldr.w fp, [pc, #692] ; 800d5a8 - 800d2f6: f89d a064 ldrb.w sl, [sp, #100] ; 0x64 - 800d2fa: f89d 904c ldrb.w r9, [sp, #76] ; 0x4c - 800d2fe: 9302 str r3, [sp, #8] - 800d300: 4614 mov r4, r2 - 800d302: f89d 3054 ldrb.w r3, [sp, #84] ; 0x54 - 800d306: f89d 2050 ldrb.w r2, [sp, #80] ; 0x50 - 800d30a: f8bd 8048 ldrh.w r8, [sp, #72] ; 0x48 - 800d30e: 9203 str r2, [sp, #12] - 800d310: 4605 mov r5, r0 - 800d312: f88b a001 strb.w sl, [fp, #1] - 800d316: f8bd 6044 ldrh.w r6, [sp, #68] ; 0x44 - 800d31a: 9301 str r3, [sp, #4] - 800d31c: 460f mov r7, r1 - 800d31e: f001 fa12 bl 800e746 - 800d322: f1ba 0f00 cmp.w sl, #0 - 800d326: bf18 it ne - 800d328: f04f 0800 movne.w r8, #0 - 800d32c: f8df a27c ldr.w sl, [pc, #636] ; 800d5ac - 800d330: 9a03 ldr r2, [sp, #12] - 800d332: f1b9 0f00 cmp.w r9, #0 - 800d336: bf08 it eq - 800d338: 22ff moveq r2, #255 ; 0xff - 800d33a: 2d01 cmp r5, #1 - 800d33c: f88a 2000 strb.w r2, [sl] - 800d340: f000 80c8 beq.w 800d4d4 - 800d344: 2d05 cmp r5, #5 - 800d346: d048 beq.n 800d3da - 800d348: 2d00 cmp r5, #0 - 800d34a: f040 80c0 bne.w 800d4ce - 800d34e: 4628 mov r0, r5 - 800d350: f000 fe10 bl 800df74 - 800d354: 220b movs r2, #11 - 800d356: 4638 mov r0, r7 - 800d358: f88b 2044 strb.w r2, [fp, #68] ; 0x44 - 800d35c: f88b 5038 strb.w r5, [fp, #56] ; 0x38 - 800d360: f8cb 403c str.w r4, [fp, #60] ; 0x3c - 800d364: f001 f992 bl 800e68c - 800d368: 9b01 ldr r3, [sp, #4] - 800d36a: f88b 0045 strb.w r0, [fp, #69] ; 0x45 - 800d36e: f641 0204 movw r2, #6148 ; 0x1804 - 800d372: 2b00 cmp r3, #0 - 800d374: f8ab 2012 strh.w r2, [fp, #18] - 800d378: f89a 2000 ldrb.w r2, [sl] - 800d37c: f88b 2016 strb.w r2, [fp, #22] - 800d380: bf14 ite ne - 800d382: 22f2 movne r2, #242 ; 0xf2 - 800d384: 2201 moveq r2, #1 - 800d386: f88b 2017 strb.w r2, [fp, #23] - 800d38a: 00f6 lsls r6, r6, #3 - 800d38c: 2201 movs r2, #1 - 800d38e: f089 0901 eor.w r9, r9, #1 - 800d392: f88b 2018 strb.w r2, [fp, #24] - 800d396: f88b 500e strb.w r5, [fp, #14] - 800d39a: f8ab 6010 strh.w r6, [fp, #16] - 800d39e: f88b 5014 strb.w r5, [fp, #20] - 800d3a2: f88b 9015 strb.w r9, [fp, #21] - 800d3a6: f7ff fb55 bl 800ca54 - 800d3aa: 4628 mov r0, r5 - 800d3ac: f7ff fc72 bl 800cc94 - 800d3b0: f10b 0038 add.w r0, fp, #56 ; 0x38 - 800d3b4: f000 ff7e bl 800e2b4 - 800d3b8: f10b 000e add.w r0, fp, #14 - 800d3bc: f000 ffe6 bl 800e38c - 800d3c0: 497b ldr r1, [pc, #492] ; (800d5b0 ) - 800d3c2: 6808 ldr r0, [r1, #0] - 800d3c4: 6849 ldr r1, [r1, #4] - 800d3c6: aa04 add r2, sp, #16 - 800d3c8: c203 stmia r2!, {r0, r1} - 800d3ca: a804 add r0, sp, #16 - 800d3cc: f000 fc76 bl 800dcbc - 800d3d0: f240 10ff movw r0, #511 ; 0x1ff - 800d3d4: f000 fc46 bl 800dc64 - 800d3d8: e071 b.n 800d4be - 800d3da: 2001 movs r0, #1 - 800d3dc: f000 fdca bl 800df74 - 800d3e0: 2209 movs r2, #9 - 800d3e2: f04f 0900 mov.w r9, #0 - 800d3e6: f88b 2044 strb.w r2, [fp, #68] ; 0x44 - 800d3ea: 4638 mov r0, r7 - 800d3ec: f44f 7248 mov.w r2, #800 ; 0x320 - 800d3f0: f8cb 2040 str.w r2, [fp, #64] ; 0x40 - 800d3f4: f88b 9038 strb.w r9, [fp, #56] ; 0x38 - 800d3f8: f8cb 403c str.w r4, [fp, #60] ; 0x3c - 800d3fc: f001 f946 bl 800e68c - 800d400: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800d404: f8ab 2012 strh.w r2, [fp, #18] - 800d408: f89a 2000 ldrb.w r2, [sl] - 800d40c: f88b 0045 strb.w r0, [fp, #69] ; 0x45 - 800d410: f88b 2016 strb.w r2, [fp, #22] - 800d414: 4628 mov r0, r5 - 800d416: 2201 movs r2, #1 - 800d418: 00f6 lsls r6, r6, #3 - 800d41a: f88b 2017 strb.w r2, [fp, #23] - 800d41e: f88b 900e strb.w r9, [fp, #14] - 800d422: f8ab 6010 strh.w r6, [fp, #16] - 800d426: f8ab 9014 strh.w r9, [fp, #20] - 800d42a: f88b 9018 strb.w r9, [fp, #24] - 800d42e: f7ff fc31 bl 800cc94 - 800d432: f10b 0038 add.w r0, fp, #56 ; 0x38 - 800d436: f000 ff3d bl 800e2b4 - 800d43a: f10b 000e add.w r0, fp, #14 - 800d43e: f000 ffa5 bl 800e38c - 800d442: 495b ldr r1, [pc, #364] ; (800d5b0 ) - 800d444: 6888 ldr r0, [r1, #8] - 800d446: 68c9 ldr r1, [r1, #12] - 800d448: aa04 add r2, sp, #16 - 800d44a: c203 stmia r2!, {r0, r1} - 800d44c: a804 add r0, sp, #16 - 800d44e: f000 fc35 bl 800dcbc - 800d452: f240 10ff movw r0, #511 ; 0x1ff - 800d456: f000 fc05 bl 800dc64 - 800d45a: f640 00b8 movw r0, #2232 ; 0x8b8 - 800d45e: f000 fbdd bl 800dc1c - 800d462: f000 01ef and.w r1, r0, #239 ; 0xef - 800d466: f640 00b8 movw r0, #2232 ; 0x8b8 - 800d46a: f000 fbc7 bl 800dbfc - 800d46e: 2104 movs r1, #4 - 800d470: f640 00b9 movw r0, #2233 ; 0x8b9 - 800d474: f000 fbc2 bl 800dbfc - 800d478: f640 009b movw r0, #2203 ; 0x89b - 800d47c: f000 fbce bl 800dc1c - 800d480: f000 01e3 and.w r1, r0, #227 ; 0xe3 - 800d484: f041 0108 orr.w r1, r1, #8 - 800d488: f640 009b movw r0, #2203 ; 0x89b - 800d48c: f000 fbb6 bl 800dbfc - 800d490: f240 60d1 movw r0, #1745 ; 0x6d1 - 800d494: f000 fbc2 bl 800dc1c - 800d498: f040 0118 orr.w r1, r0, #24 - 800d49c: b2c9 uxtb r1, r1 - 800d49e: f240 60d1 movw r0, #1745 ; 0x6d1 - 800d4a2: f000 fbab bl 800dbfc - 800d4a6: f240 60ac movw r0, #1708 ; 0x6ac - 800d4aa: f000 fbb7 bl 800dc1c - 800d4ae: f000 018f and.w r1, r0, #143 ; 0x8f - 800d4b2: f041 0150 orr.w r1, r1, #80 ; 0x50 - 800d4b6: f240 60ac movw r0, #1708 ; 0x6ac - 800d4ba: f000 fb9f bl 800dbfc - 800d4be: f44f 52fa mov.w r2, #8000 ; 0x1f40 - 800d4c2: fb02 f208 mul.w r2, r2, r8 - 800d4c6: fbb2 f2f4 udiv r2, r2, r4 - 800d4ca: f8cb 2008 str.w r2, [fp, #8] - 800d4ce: b007 add sp, #28 - 800d4d0: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800d4d4: 2000 movs r0, #0 - 800d4d6: f000 fd4d bl 800df74 - 800d4da: 4936 ldr r1, [pc, #216] ; (800d5b4 ) - 800d4dc: f88b 5038 strb.w r5, [fp, #56] ; 0x38 - 800d4e0: b2e2 uxtb r2, r4 - 800d4e2: 5dc9 ldrb r1, [r1, r7] - 800d4e4: f88b 2050 strb.w r2, [fp, #80] ; 0x50 - 800d4e8: 2f00 cmp r7, #0 - 800d4ea: d14d bne.n 800d588 - 800d4ec: 3c0b subs r4, #11 - 800d4ee: 2c01 cmp r4, #1 - 800d4f0: bf8c ite hi - 800d4f2: 2400 movhi r4, #0 - 800d4f4: 2401 movls r4, #1 - 800d4f6: 3a05 subs r2, #5 - 800d4f8: 2a01 cmp r2, #1 - 800d4fa: d802 bhi.n 800d502 - 800d4fc: 2e0c cmp r6, #12 - 800d4fe: bf38 it cc - 800d500: 260c movcc r6, #12 - 800d502: 9b02 ldr r3, [sp, #8] - 800d504: f89a 2000 ldrb.w r2, [sl] - 800d508: f88b 3052 strb.w r3, [fp, #82] ; 0x52 - 800d50c: f88b 4053 strb.w r4, [fp, #83] ; 0x53 - 800d510: 9b01 ldr r3, [sp, #4] - 800d512: f88b 201f strb.w r2, [fp, #31] - 800d516: 2401 movs r4, #1 - 800d518: f89d 2060 ldrb.w r2, [sp, #96] ; 0x60 - 800d51c: f88b 2021 strb.w r2, [fp, #33] ; 0x21 - 800d520: f88b 1051 strb.w r1, [fp, #81] ; 0x51 - 800d524: f88b 3020 strb.w r3, [fp, #32] - 800d528: f88b 400e strb.w r4, [fp, #14] - 800d52c: f8ab 601c strh.w r6, [fp, #28] - 800d530: f88b 901e strb.w r9, [fp, #30] - 800d534: f7ff fa8e bl 800ca54 - 800d538: 4620 mov r0, r4 - 800d53a: f7ff fbab bl 800cc94 - 800d53e: 481e ldr r0, [pc, #120] ; (800d5b8 ) - 800d540: f000 feb8 bl 800e2b4 - 800d544: 481d ldr r0, [pc, #116] ; (800d5bc ) - 800d546: f000 ff21 bl 800e38c - 800d54a: fa5f f088 uxtb.w r0, r8 - 800d54e: f000 fd1d bl 800df8c - 800d552: f640 00a3 movw r0, #2211 ; 0x8a3 - 800d556: f000 fb61 bl 800dc1c - 800d55a: ea00 0104 and.w r1, r0, r4 - 800d55e: f640 00a3 movw r0, #2211 ; 0x8a3 - 800d562: f000 fb4b bl 800dbfc - 800d566: f89b 2021 ldrb.w r2, [fp, #33] ; 0x21 - 800d56a: 42a2 cmp r2, r4 - 800d56c: f240 7036 movw r0, #1846 ; 0x736 - 800d570: d113 bne.n 800d59a - 800d572: f000 fb53 bl 800dc1c - 800d576: f000 01fb and.w r1, r0, #251 ; 0xfb - 800d57a: f240 7036 movw r0, #1846 ; 0x736 - 800d57e: f000 fb3d bl 800dbfc - 800d582: f64f 72ff movw r2, #65535 ; 0xffff - 800d586: e7a0 b.n 800d4ca - 800d588: 2f01 cmp r7, #1 - 800d58a: d104 bne.n 800d596 - 800d58c: f1a4 030c sub.w r3, r4, #12 - 800d590: 425c negs r4, r3 - 800d592: 415c adcs r4, r3 - 800d594: e7af b.n 800d4f6 - 800d596: 2400 movs r4, #0 - 800d598: e7ad b.n 800d4f6 - 800d59a: f000 fb3f bl 800dc1c - 800d59e: f040 0104 orr.w r1, r0, #4 - 800d5a2: b2c9 uxtb r1, r1 - 800d5a4: e7e9 b.n 800d57a - 800d5a6: bf00 nop - 800d5a8: 20001ae8 .word 0x20001ae8 - 800d5ac: 200000fc .word 0x200000fc - 800d5b0: 0800f4e8 .word 0x0800f4e8 - 800d5b4: 0801019e .word 0x0801019e - 800d5b8: 20001b20 .word 0x20001b20 - 800d5bc: 20001af6 .word 0x20001af6 +0800d300 : + 800d300: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800d304: b087 sub sp, #28 + 800d306: f8df b2b4 ldr.w fp, [pc, #692] ; 800d5bc + 800d30a: f89d a064 ldrb.w sl, [sp, #100] ; 0x64 + 800d30e: f89d 904c ldrb.w r9, [sp, #76] ; 0x4c + 800d312: 9302 str r3, [sp, #8] + 800d314: 4614 mov r4, r2 + 800d316: f89d 3054 ldrb.w r3, [sp, #84] ; 0x54 + 800d31a: f89d 2050 ldrb.w r2, [sp, #80] ; 0x50 + 800d31e: f8bd 8048 ldrh.w r8, [sp, #72] ; 0x48 + 800d322: 9203 str r2, [sp, #12] + 800d324: 4605 mov r5, r0 + 800d326: f88b a001 strb.w sl, [fp, #1] + 800d32a: f8bd 6044 ldrh.w r6, [sp, #68] ; 0x44 + 800d32e: 9301 str r3, [sp, #4] + 800d330: 460f mov r7, r1 + 800d332: f001 fa12 bl 800e75a + 800d336: f1ba 0f00 cmp.w sl, #0 + 800d33a: bf18 it ne + 800d33c: f04f 0800 movne.w r8, #0 + 800d340: f8df a27c ldr.w sl, [pc, #636] ; 800d5c0 + 800d344: 9a03 ldr r2, [sp, #12] + 800d346: f1b9 0f00 cmp.w r9, #0 + 800d34a: bf08 it eq + 800d34c: 22ff moveq r2, #255 ; 0xff + 800d34e: 2d01 cmp r5, #1 + 800d350: f88a 2000 strb.w r2, [sl] + 800d354: f000 80c8 beq.w 800d4e8 + 800d358: 2d05 cmp r5, #5 + 800d35a: d048 beq.n 800d3ee + 800d35c: 2d00 cmp r5, #0 + 800d35e: f040 80c0 bne.w 800d4e2 + 800d362: 4628 mov r0, r5 + 800d364: f000 fe10 bl 800df88 + 800d368: 220b movs r2, #11 + 800d36a: 4638 mov r0, r7 + 800d36c: f88b 2044 strb.w r2, [fp, #68] ; 0x44 + 800d370: f88b 5038 strb.w r5, [fp, #56] ; 0x38 + 800d374: f8cb 403c str.w r4, [fp, #60] ; 0x3c + 800d378: f001 f992 bl 800e6a0 + 800d37c: 9b01 ldr r3, [sp, #4] + 800d37e: f88b 0045 strb.w r0, [fp, #69] ; 0x45 + 800d382: f641 0204 movw r2, #6148 ; 0x1804 + 800d386: 2b00 cmp r3, #0 + 800d388: f8ab 2012 strh.w r2, [fp, #18] + 800d38c: f89a 2000 ldrb.w r2, [sl] + 800d390: f88b 2016 strb.w r2, [fp, #22] + 800d394: bf14 ite ne + 800d396: 22f2 movne r2, #242 ; 0xf2 + 800d398: 2201 moveq r2, #1 + 800d39a: f88b 2017 strb.w r2, [fp, #23] + 800d39e: 00f6 lsls r6, r6, #3 + 800d3a0: 2201 movs r2, #1 + 800d3a2: f089 0901 eor.w r9, r9, #1 + 800d3a6: f88b 2018 strb.w r2, [fp, #24] + 800d3aa: f88b 500e strb.w r5, [fp, #14] + 800d3ae: f8ab 6010 strh.w r6, [fp, #16] + 800d3b2: f88b 5014 strb.w r5, [fp, #20] + 800d3b6: f88b 9015 strb.w r9, [fp, #21] + 800d3ba: f7ff fb55 bl 800ca68 + 800d3be: 4628 mov r0, r5 + 800d3c0: f7ff fc72 bl 800cca8 + 800d3c4: f10b 0038 add.w r0, fp, #56 ; 0x38 + 800d3c8: f000 ff7e bl 800e2c8 + 800d3cc: f10b 000e add.w r0, fp, #14 + 800d3d0: f000 ffe6 bl 800e3a0 + 800d3d4: 497b ldr r1, [pc, #492] ; (800d5c4 ) + 800d3d6: 6808 ldr r0, [r1, #0] + 800d3d8: 6849 ldr r1, [r1, #4] + 800d3da: aa04 add r2, sp, #16 + 800d3dc: c203 stmia r2!, {r0, r1} + 800d3de: a804 add r0, sp, #16 + 800d3e0: f000 fc76 bl 800dcd0 + 800d3e4: f240 10ff movw r0, #511 ; 0x1ff + 800d3e8: f000 fc46 bl 800dc78 + 800d3ec: e071 b.n 800d4d2 + 800d3ee: 2001 movs r0, #1 + 800d3f0: f000 fdca bl 800df88 + 800d3f4: 2209 movs r2, #9 + 800d3f6: f04f 0900 mov.w r9, #0 + 800d3fa: f88b 2044 strb.w r2, [fp, #68] ; 0x44 + 800d3fe: 4638 mov r0, r7 + 800d400: f44f 7248 mov.w r2, #800 ; 0x320 + 800d404: f8cb 2040 str.w r2, [fp, #64] ; 0x40 + 800d408: f88b 9038 strb.w r9, [fp, #56] ; 0x38 + 800d40c: f8cb 403c str.w r4, [fp, #60] ; 0x3c + 800d410: f001 f946 bl 800e6a0 + 800d414: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800d418: f8ab 2012 strh.w r2, [fp, #18] + 800d41c: f89a 2000 ldrb.w r2, [sl] + 800d420: f88b 0045 strb.w r0, [fp, #69] ; 0x45 + 800d424: f88b 2016 strb.w r2, [fp, #22] + 800d428: 4628 mov r0, r5 + 800d42a: 2201 movs r2, #1 + 800d42c: 00f6 lsls r6, r6, #3 + 800d42e: f88b 2017 strb.w r2, [fp, #23] + 800d432: f88b 900e strb.w r9, [fp, #14] + 800d436: f8ab 6010 strh.w r6, [fp, #16] + 800d43a: f8ab 9014 strh.w r9, [fp, #20] + 800d43e: f88b 9018 strb.w r9, [fp, #24] + 800d442: f7ff fc31 bl 800cca8 + 800d446: f10b 0038 add.w r0, fp, #56 ; 0x38 + 800d44a: f000 ff3d bl 800e2c8 + 800d44e: f10b 000e add.w r0, fp, #14 + 800d452: f000 ffa5 bl 800e3a0 + 800d456: 495b ldr r1, [pc, #364] ; (800d5c4 ) + 800d458: 6888 ldr r0, [r1, #8] + 800d45a: 68c9 ldr r1, [r1, #12] + 800d45c: aa04 add r2, sp, #16 + 800d45e: c203 stmia r2!, {r0, r1} + 800d460: a804 add r0, sp, #16 + 800d462: f000 fc35 bl 800dcd0 + 800d466: f240 10ff movw r0, #511 ; 0x1ff + 800d46a: f000 fc05 bl 800dc78 + 800d46e: f640 00b8 movw r0, #2232 ; 0x8b8 + 800d472: f000 fbdd bl 800dc30 + 800d476: f000 01ef and.w r1, r0, #239 ; 0xef + 800d47a: f640 00b8 movw r0, #2232 ; 0x8b8 + 800d47e: f000 fbc7 bl 800dc10 + 800d482: 2104 movs r1, #4 + 800d484: f640 00b9 movw r0, #2233 ; 0x8b9 + 800d488: f000 fbc2 bl 800dc10 + 800d48c: f640 009b movw r0, #2203 ; 0x89b + 800d490: f000 fbce bl 800dc30 + 800d494: f000 01e3 and.w r1, r0, #227 ; 0xe3 + 800d498: f041 0108 orr.w r1, r1, #8 + 800d49c: f640 009b movw r0, #2203 ; 0x89b + 800d4a0: f000 fbb6 bl 800dc10 + 800d4a4: f240 60d1 movw r0, #1745 ; 0x6d1 + 800d4a8: f000 fbc2 bl 800dc30 + 800d4ac: f040 0118 orr.w r1, r0, #24 + 800d4b0: b2c9 uxtb r1, r1 + 800d4b2: f240 60d1 movw r0, #1745 ; 0x6d1 + 800d4b6: f000 fbab bl 800dc10 + 800d4ba: f240 60ac movw r0, #1708 ; 0x6ac + 800d4be: f000 fbb7 bl 800dc30 + 800d4c2: f000 018f and.w r1, r0, #143 ; 0x8f + 800d4c6: f041 0150 orr.w r1, r1, #80 ; 0x50 + 800d4ca: f240 60ac movw r0, #1708 ; 0x6ac + 800d4ce: f000 fb9f bl 800dc10 + 800d4d2: f44f 52fa mov.w r2, #8000 ; 0x1f40 + 800d4d6: fb02 f208 mul.w r2, r2, r8 + 800d4da: fbb2 f2f4 udiv r2, r2, r4 + 800d4de: f8cb 2008 str.w r2, [fp, #8] + 800d4e2: b007 add sp, #28 + 800d4e4: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800d4e8: 2000 movs r0, #0 + 800d4ea: f000 fd4d bl 800df88 + 800d4ee: 4936 ldr r1, [pc, #216] ; (800d5c8 ) + 800d4f0: f88b 5038 strb.w r5, [fp, #56] ; 0x38 + 800d4f4: b2e2 uxtb r2, r4 + 800d4f6: 5dc9 ldrb r1, [r1, r7] + 800d4f8: f88b 2050 strb.w r2, [fp, #80] ; 0x50 + 800d4fc: 2f00 cmp r7, #0 + 800d4fe: d14d bne.n 800d59c + 800d500: 3c0b subs r4, #11 + 800d502: 2c01 cmp r4, #1 + 800d504: bf8c ite hi + 800d506: 2400 movhi r4, #0 + 800d508: 2401 movls r4, #1 + 800d50a: 3a05 subs r2, #5 + 800d50c: 2a01 cmp r2, #1 + 800d50e: d802 bhi.n 800d516 + 800d510: 2e0c cmp r6, #12 + 800d512: bf38 it cc + 800d514: 260c movcc r6, #12 + 800d516: 9b02 ldr r3, [sp, #8] + 800d518: f89a 2000 ldrb.w r2, [sl] + 800d51c: f88b 3052 strb.w r3, [fp, #82] ; 0x52 + 800d520: f88b 4053 strb.w r4, [fp, #83] ; 0x53 + 800d524: 9b01 ldr r3, [sp, #4] + 800d526: f88b 201f strb.w r2, [fp, #31] + 800d52a: 2401 movs r4, #1 + 800d52c: f89d 2060 ldrb.w r2, [sp, #96] ; 0x60 + 800d530: f88b 2021 strb.w r2, [fp, #33] ; 0x21 + 800d534: f88b 1051 strb.w r1, [fp, #81] ; 0x51 + 800d538: f88b 3020 strb.w r3, [fp, #32] + 800d53c: f88b 400e strb.w r4, [fp, #14] + 800d540: f8ab 601c strh.w r6, [fp, #28] + 800d544: f88b 901e strb.w r9, [fp, #30] + 800d548: f7ff fa8e bl 800ca68 + 800d54c: 4620 mov r0, r4 + 800d54e: f7ff fbab bl 800cca8 + 800d552: 481e ldr r0, [pc, #120] ; (800d5cc ) + 800d554: f000 feb8 bl 800e2c8 + 800d558: 481d ldr r0, [pc, #116] ; (800d5d0 ) + 800d55a: f000 ff21 bl 800e3a0 + 800d55e: fa5f f088 uxtb.w r0, r8 + 800d562: f000 fd1d bl 800dfa0 + 800d566: f640 00a3 movw r0, #2211 ; 0x8a3 + 800d56a: f000 fb61 bl 800dc30 + 800d56e: ea00 0104 and.w r1, r0, r4 + 800d572: f640 00a3 movw r0, #2211 ; 0x8a3 + 800d576: f000 fb4b bl 800dc10 + 800d57a: f89b 2021 ldrb.w r2, [fp, #33] ; 0x21 + 800d57e: 42a2 cmp r2, r4 + 800d580: f240 7036 movw r0, #1846 ; 0x736 + 800d584: d113 bne.n 800d5ae + 800d586: f000 fb53 bl 800dc30 + 800d58a: f000 01fb and.w r1, r0, #251 ; 0xfb + 800d58e: f240 7036 movw r0, #1846 ; 0x736 + 800d592: f000 fb3d bl 800dc10 + 800d596: f64f 72ff movw r2, #65535 ; 0xffff + 800d59a: e7a0 b.n 800d4de + 800d59c: 2f01 cmp r7, #1 + 800d59e: d104 bne.n 800d5aa + 800d5a0: f1a4 030c sub.w r3, r4, #12 + 800d5a4: 425c negs r4, r3 + 800d5a6: 415c adcs r4, r3 + 800d5a8: e7af b.n 800d50a + 800d5aa: 2400 movs r4, #0 + 800d5ac: e7ad b.n 800d50a + 800d5ae: f000 fb3f bl 800dc30 + 800d5b2: f040 0104 orr.w r1, r0, #4 + 800d5b6: b2c9 uxtb r1, r1 + 800d5b8: e7e9 b.n 800d58e + 800d5ba: bf00 nop + 800d5bc: 20001ae8 .word 0x20001ae8 + 800d5c0: 200000fc .word 0x200000fc + 800d5c4: 0800f500 .word 0x0800f500 + 800d5c8: 080101b6 .word 0x080101b6 + 800d5cc: 20001b20 .word 0x20001b20 + 800d5d0: 20001af6 .word 0x20001af6 -0800d5c0 : - 800d5c0: b5f0 push {r4, r5, r6, r7, lr} - 800d5c2: b08b sub sp, #44 ; 0x2c - 800d5c4: 460d mov r5, r1 - 800d5c6: 4604 mov r4, r0 - 800d5c8: 4617 mov r7, r2 - 800d5ca: 461e mov r6, r3 - 800d5cc: f7ff fa42 bl 800ca54 - 800d5d0: 2000 movs r0, #0 - 800d5d2: f7ff fb5f bl 800cc94 - 800d5d6: 4620 mov r0, r4 - 800d5d8: f000 fdbe bl 800e158 - 800d5dc: 2400 movs r4, #0 - 800d5de: 2301 movs r3, #1 - 800d5e0: e9cd 4308 strd r4, r3, [sp, #32] - 800d5e4: 2303 movs r3, #3 - 800d5e6: f44f 7216 mov.w r2, #600 ; 0x258 - 800d5ea: 4629 mov r1, r5 - 800d5ec: 4620 mov r0, r4 - 800d5ee: e9cd 4406 strd r4, r4, [sp, #24] - 800d5f2: e9cd 4404 strd r4, r4, [sp, #16] - 800d5f6: e9cd 4402 strd r4, r4, [sp, #8] - 800d5fa: e9cd 5300 strd r5, r3, [sp] - 800d5fe: 4623 mov r3, r4 - 800d600: f7ff fe74 bl 800d2ec - 800d604: 4620 mov r0, r4 - 800d606: f7ff fa7d bl 800cb04 - 800d60a: f7ff fa35 bl 800ca78 - 800d60e: f7f4 f95f bl 80018d0 - 800d612: f001 fc43 bl 800ee9c - 800d616: 4604 mov r4, r0 +0800d5d4 : + 800d5d4: b5f0 push {r4, r5, r6, r7, lr} + 800d5d6: b08b sub sp, #44 ; 0x2c + 800d5d8: 460d mov r5, r1 + 800d5da: 4604 mov r4, r0 + 800d5dc: 4617 mov r7, r2 + 800d5de: 461e mov r6, r3 + 800d5e0: f7ff fa42 bl 800ca68 + 800d5e4: 2000 movs r0, #0 + 800d5e6: f7ff fb5f bl 800cca8 + 800d5ea: 4620 mov r0, r4 + 800d5ec: f000 fdbe bl 800e16c + 800d5f0: 2400 movs r4, #0 + 800d5f2: 2301 movs r3, #1 + 800d5f4: e9cd 4308 strd r4, r3, [sp, #32] + 800d5f8: 2303 movs r3, #3 + 800d5fa: f44f 7216 mov.w r2, #600 ; 0x258 + 800d5fe: 4629 mov r1, r5 + 800d600: 4620 mov r0, r4 + 800d602: e9cd 4406 strd r4, r4, [sp, #24] + 800d606: e9cd 4404 strd r4, r4, [sp, #16] + 800d60a: e9cd 4402 strd r4, r4, [sp, #8] + 800d60e: e9cd 5300 strd r5, r3, [sp] + 800d612: 4623 mov r3, r4 + 800d614: f7ff fe74 bl 800d300 800d618: 4620 mov r0, r4 - 800d61a: f001 fc49 bl 800eeb0 - 800d61e: 42b0 cmp r0, r6 - 800d620: d305 bcc.n 800d62e - 800d622: 2401 movs r4, #1 - 800d624: f7ff fa16 bl 800ca54 - 800d628: 4620 mov r0, r4 - 800d62a: b00b add sp, #44 ; 0x2c - 800d62c: bdf0 pop {r4, r5, r6, r7, pc} - 800d62e: f000 ff2f bl 800e490 - 800d632: b200 sxth r0, r0 - 800d634: 4287 cmp r7, r0 - 800d636: daef bge.n 800d618 - 800d638: 2400 movs r4, #0 - 800d63a: e7f3 b.n 800d624 + 800d61a: f7ff fa7d bl 800cb18 + 800d61e: f7ff fa35 bl 800ca8c + 800d622: f7f4 f955 bl 80018d0 + 800d626: f001 fc43 bl 800eeb0 + 800d62a: 4604 mov r4, r0 + 800d62c: 4620 mov r0, r4 + 800d62e: f001 fc49 bl 800eec4 + 800d632: 42b0 cmp r0, r6 + 800d634: d305 bcc.n 800d642 + 800d636: 2401 movs r4, #1 + 800d638: f7ff fa16 bl 800ca68 + 800d63c: 4620 mov r0, r4 + 800d63e: b00b add sp, #44 ; 0x2c + 800d640: bdf0 pop {r4, r5, r6, r7, pc} + 800d642: f000 ff2f bl 800e4a4 + 800d646: b200 sxth r0, r0 + 800d648: 4287 cmp r7, r0 + 800d64a: daef bge.n 800d62c + 800d64c: 2400 movs r4, #0 + 800d64e: e7f3 b.n 800d638 -0800d63c : - 800d63c: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 800d63e: 2300 movs r3, #0 - 800d640: 460c mov r4, r1 - 800d642: f240 2101 movw r1, #513 ; 0x201 - 800d646: 461a mov r2, r3 - 800d648: 4606 mov r6, r0 - 800d64a: 4608 mov r0, r1 - 800d64c: f000 fd1e bl 800e08c - 800d650: 4b64 ldr r3, [pc, #400] ; (800d7e4 ) - 800d652: 4d65 ldr r5, [pc, #404] ; (800d7e8 ) - 800d654: f44f 5200 mov.w r2, #8192 ; 0x2000 - 800d658: 619a str r2, [r3, #24] - 800d65a: f895 0056 ldrb.w r0, [r5, #86] ; 0x56 - 800d65e: 2101 movs r1, #1 - 800d660: f000 ff9c bl 800e59c - 800d664: 782b ldrb r3, [r5, #0] - 800d666: 2b01 cmp r3, #1 - 800d668: f640 0089 movw r0, #2185 ; 0x889 - 800d66c: d113 bne.n 800d696 - 800d66e: f895 3051 ldrb.w r3, [r5, #81] ; 0x51 - 800d672: 2b06 cmp r3, #6 - 800d674: d10f bne.n 800d696 - 800d676: f000 fad1 bl 800dc1c - 800d67a: f000 01fb and.w r1, r0, #251 ; 0xfb - 800d67e: f640 0089 movw r0, #2185 ; 0x889 - 800d682: f000 fabb bl 800dbfc - 800d686: 782b ldrb r3, [r5, #0] - 800d688: 2b04 cmp r3, #4 - 800d68a: d86c bhi.n 800d766 - 800d68c: e8df f003 tbb [pc, r3] - 800d690: 7f524b52 .word 0x7f524b52 - 800d694: 09 .byte 0x09 - 800d695: 00 .byte 0x00 - 800d696: f000 fac1 bl 800dc1c - 800d69a: f040 0104 orr.w r1, r0, #4 - 800d69e: b2c9 uxtb r1, r1 - 800d6a0: e7ed b.n 800d67e - 800d6a2: 4a52 ldr r2, [pc, #328] ; (800d7ec ) - 800d6a4: 1e73 subs r3, r6, #1 - 800d6a6: 4610 mov r0, r2 - 800d6a8: f1c6 0701 rsb r7, r6, #1 - 800d6ac: f04f 0c00 mov.w ip, #0 - 800d6b0: 18f9 adds r1, r7, r3 - 800d6b2: 428c cmp r4, r1 - 800d6b4: dc6f bgt.n 800d796 - 800d6b6: 2200 movs r2, #0 - 800d6b8: 00e7 lsls r7, r4, #3 - 800d6ba: 4613 mov r3, r2 - 800d6bc: 42ba cmp r2, r7 - 800d6be: d171 bne.n 800d7a4 - 800d6c0: 019a lsls r2, r3, #6 - 800d6c2: ea42 12c3 orr.w r2, r2, r3, lsl #7 - 800d6c6: 015b lsls r3, r3, #5 - 800d6c8: f083 0320 eor.w r3, r3, #32 - 800d6cc: 4313 orrs r3, r2 - 800d6ce: 1c66 adds r6, r4, #1 - 800d6d0: 5503 strb r3, [r0, r4] - 800d6d2: b2f6 uxtb r6, r6 - 800d6d4: 2302 movs r3, #2 - 800d6d6: 4846 ldr r0, [pc, #280] ; (800d7f0 ) - 800d6d8: 73ab strb r3, [r5, #14] - 800d6da: 76ae strb r6, [r5, #26] - 800d6dc: f000 fe56 bl 800e38c - 800d6e0: 2100 movs r1, #0 - 800d6e2: 20f1 movs r0, #241 ; 0xf1 - 800d6e4: f000 fa8a bl 800dbfc - 800d6e8: 2100 movs r1, #0 - 800d6ea: 20f0 movs r0, #240 ; 0xf0 - 800d6ec: f000 fa86 bl 800dbfc - 800d6f0: 6cab ldr r3, [r5, #72] ; 0x48 - 800d6f2: 2b64 cmp r3, #100 ; 0x64 - 800d6f4: d170 bne.n 800d7d8 - 800d6f6: 2170 movs r1, #112 ; 0x70 - 800d6f8: 20f3 movs r0, #243 ; 0xf3 - 800d6fa: f000 fa7f bl 800dbfc - 800d6fe: 211d movs r1, #29 - 800d700: 20f2 movs r0, #242 ; 0xf2 - 800d702: f000 fa7b bl 800dbfc - 800d706: 00e1 lsls r1, r4, #3 - 800d708: 1c8c adds r4, r1, #2 - 800d70a: 20f4 movs r0, #244 ; 0xf4 - 800d70c: 0a09 lsrs r1, r1, #8 - 800d70e: f000 fa75 bl 800dbfc - 800d712: f004 01fe and.w r1, r4, #254 ; 0xfe - 800d716: 20f5 movs r0, #245 ; 0xf5 - 800d718: f000 fa70 bl 800dbfc - 800d71c: 4833 ldr r0, [pc, #204] ; (800d7ec ) - 800d71e: f06f 427f mvn.w r2, #4278190080 ; 0xff000000 - 800d722: 4631 mov r1, r6 - 800d724: e01d b.n 800d762 - 800d726: 77ec strb r4, [r5, #31] - 800d728: 4831 ldr r0, [pc, #196] ; (800d7f0 ) - 800d72a: f000 fe2f bl 800e38c - 800d72e: 2200 movs r2, #0 - 800d730: 4621 mov r1, r4 - 800d732: e015 b.n 800d760 - 800d734: f001 f808 bl 800e748 - 800d738: 2801 cmp r0, #1 - 800d73a: 4607 mov r7, r0 - 800d73c: d125 bne.n 800d78a - 800d73e: 4621 mov r1, r4 - 800d740: f10d 0207 add.w r2, sp, #7 - 800d744: 4630 mov r0, r6 - 800d746: f001 f804 bl 800e752 - 800d74a: 4604 mov r4, r0 - 800d74c: b9a0 cbnz r0, 800d778 - 800d74e: f89d 3007 ldrb.w r3, [sp, #7] - 800d752: 4827 ldr r0, [pc, #156] ; (800d7f0 ) - 800d754: 75ab strb r3, [r5, #22] - 800d756: f000 fe19 bl 800e38c - 800d75a: f89d 1007 ldrb.w r1, [sp, #7] - 800d75e: 4622 mov r2, r4 - 800d760: 4630 mov r0, r6 - 800d762: f000 fb65 bl 800de30 - 800d766: 6869 ldr r1, [r5, #4] - 800d768: 4822 ldr r0, [pc, #136] ; (800d7f4 ) - 800d76a: f001 fc63 bl 800f034 - 800d76e: 4821 ldr r0, [pc, #132] ; (800d7f4 ) - 800d770: f001 fc26 bl 800efc0 - 800d774: 2000 movs r0, #0 - 800d776: e006 b.n 800d786 - 800d778: 4b1f ldr r3, [pc, #124] ; (800d7f8 ) - 800d77a: 463a mov r2, r7 - 800d77c: 2100 movs r1, #0 - 800d77e: 2002 movs r0, #2 - 800d780: f001 f8a2 bl 800e8c8 - 800d784: 2003 movs r0, #3 - 800d786: b003 add sp, #12 - 800d788: bdf0 pop {r4, r5, r6, r7, pc} - 800d78a: 75ac strb r4, [r5, #22] - 800d78c: e7cc b.n 800d728 - 800d78e: 2302 movs r3, #2 - 800d790: 73ab strb r3, [r5, #14] - 800d792: 76ac strb r4, [r5, #26] - 800d794: e7c8 b.n 800d728 - 800d796: f813 1f01 ldrb.w r1, [r3, #1]! - 800d79a: 43c9 mvns r1, r1 - 800d79c: 7019 strb r1, [r3, #0] - 800d79e: f802 cb01 strb.w ip, [r2], #1 - 800d7a2: e785 b.n 800d6b0 - 800d7a4: 10d1 asrs r1, r2, #3 - 800d7a6: ea6f 0c02 mvn.w ip, r2 - 800d7aa: 5c71 ldrb r1, [r6, r1] - 800d7ac: f00c 0c07 and.w ip, ip, #7 - 800d7b0: 3201 adds r2, #1 - 800d7b2: fa41 f10c asr.w r1, r1, ip - 800d7b6: f001 0101 and.w r1, r1, #1 - 800d7ba: ea4f 0ce2 mov.w ip, r2, asr #3 - 800d7be: 404b eors r3, r1 - 800d7c0: 43d1 mvns r1, r2 - 800d7c2: f810 e00c ldrb.w lr, [r0, ip] - 800d7c6: f001 0107 and.w r1, r1, #7 - 800d7ca: fa03 f101 lsl.w r1, r3, r1 - 800d7ce: ea41 010e orr.w r1, r1, lr - 800d7d2: f800 100c strb.w r1, [r0, ip] - 800d7d6: e771 b.n 800d6bc - 800d7d8: 21e1 movs r1, #225 ; 0xe1 - 800d7da: 20f3 movs r0, #243 ; 0xf3 - 800d7dc: f000 fa0e bl 800dbfc - 800d7e0: 2104 movs r1, #4 - 800d7e2: e78d b.n 800d700 - 800d7e4: 48000400 .word 0x48000400 - 800d7e8: 20001ae8 .word 0x20001ae8 - 800d7ec: 200019cc .word 0x200019cc - 800d7f0: 20001af6 .word 0x20001af6 - 800d7f4: 20001b44 .word 0x20001b44 - 800d7f8: 08010140 .word 0x08010140 +0800d650 : + 800d650: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 800d652: 2300 movs r3, #0 + 800d654: 460c mov r4, r1 + 800d656: f240 2101 movw r1, #513 ; 0x201 + 800d65a: 461a mov r2, r3 + 800d65c: 4606 mov r6, r0 + 800d65e: 4608 mov r0, r1 + 800d660: f000 fd1e bl 800e0a0 + 800d664: 4b64 ldr r3, [pc, #400] ; (800d7f8 ) + 800d666: 4d65 ldr r5, [pc, #404] ; (800d7fc ) + 800d668: f44f 5200 mov.w r2, #8192 ; 0x2000 + 800d66c: 619a str r2, [r3, #24] + 800d66e: f895 0056 ldrb.w r0, [r5, #86] ; 0x56 + 800d672: 2101 movs r1, #1 + 800d674: f000 ff9c bl 800e5b0 + 800d678: 782b ldrb r3, [r5, #0] + 800d67a: 2b01 cmp r3, #1 + 800d67c: f640 0089 movw r0, #2185 ; 0x889 + 800d680: d113 bne.n 800d6aa + 800d682: f895 3051 ldrb.w r3, [r5, #81] ; 0x51 + 800d686: 2b06 cmp r3, #6 + 800d688: d10f bne.n 800d6aa + 800d68a: f000 fad1 bl 800dc30 + 800d68e: f000 01fb and.w r1, r0, #251 ; 0xfb + 800d692: f640 0089 movw r0, #2185 ; 0x889 + 800d696: f000 fabb bl 800dc10 + 800d69a: 782b ldrb r3, [r5, #0] + 800d69c: 2b04 cmp r3, #4 + 800d69e: d86c bhi.n 800d77a + 800d6a0: e8df f003 tbb [pc, r3] + 800d6a4: 7f524b52 .word 0x7f524b52 + 800d6a8: 09 .byte 0x09 + 800d6a9: 00 .byte 0x00 + 800d6aa: f000 fac1 bl 800dc30 + 800d6ae: f040 0104 orr.w r1, r0, #4 + 800d6b2: b2c9 uxtb r1, r1 + 800d6b4: e7ed b.n 800d692 + 800d6b6: 4a52 ldr r2, [pc, #328] ; (800d800 ) + 800d6b8: 1e73 subs r3, r6, #1 + 800d6ba: 4610 mov r0, r2 + 800d6bc: f1c6 0701 rsb r7, r6, #1 + 800d6c0: f04f 0c00 mov.w ip, #0 + 800d6c4: 18f9 adds r1, r7, r3 + 800d6c6: 428c cmp r4, r1 + 800d6c8: dc6f bgt.n 800d7aa + 800d6ca: 2200 movs r2, #0 + 800d6cc: 00e7 lsls r7, r4, #3 + 800d6ce: 4613 mov r3, r2 + 800d6d0: 42ba cmp r2, r7 + 800d6d2: d171 bne.n 800d7b8 + 800d6d4: 019a lsls r2, r3, #6 + 800d6d6: ea42 12c3 orr.w r2, r2, r3, lsl #7 + 800d6da: 015b lsls r3, r3, #5 + 800d6dc: f083 0320 eor.w r3, r3, #32 + 800d6e0: 4313 orrs r3, r2 + 800d6e2: 1c66 adds r6, r4, #1 + 800d6e4: 5503 strb r3, [r0, r4] + 800d6e6: b2f6 uxtb r6, r6 + 800d6e8: 2302 movs r3, #2 + 800d6ea: 4846 ldr r0, [pc, #280] ; (800d804 ) + 800d6ec: 73ab strb r3, [r5, #14] + 800d6ee: 76ae strb r6, [r5, #26] + 800d6f0: f000 fe56 bl 800e3a0 + 800d6f4: 2100 movs r1, #0 + 800d6f6: 20f1 movs r0, #241 ; 0xf1 + 800d6f8: f000 fa8a bl 800dc10 + 800d6fc: 2100 movs r1, #0 + 800d6fe: 20f0 movs r0, #240 ; 0xf0 + 800d700: f000 fa86 bl 800dc10 + 800d704: 6cab ldr r3, [r5, #72] ; 0x48 + 800d706: 2b64 cmp r3, #100 ; 0x64 + 800d708: d170 bne.n 800d7ec + 800d70a: 2170 movs r1, #112 ; 0x70 + 800d70c: 20f3 movs r0, #243 ; 0xf3 + 800d70e: f000 fa7f bl 800dc10 + 800d712: 211d movs r1, #29 + 800d714: 20f2 movs r0, #242 ; 0xf2 + 800d716: f000 fa7b bl 800dc10 + 800d71a: 00e1 lsls r1, r4, #3 + 800d71c: 1c8c adds r4, r1, #2 + 800d71e: 20f4 movs r0, #244 ; 0xf4 + 800d720: 0a09 lsrs r1, r1, #8 + 800d722: f000 fa75 bl 800dc10 + 800d726: f004 01fe and.w r1, r4, #254 ; 0xfe + 800d72a: 20f5 movs r0, #245 ; 0xf5 + 800d72c: f000 fa70 bl 800dc10 + 800d730: 4833 ldr r0, [pc, #204] ; (800d800 ) + 800d732: f06f 427f mvn.w r2, #4278190080 ; 0xff000000 + 800d736: 4631 mov r1, r6 + 800d738: e01d b.n 800d776 + 800d73a: 77ec strb r4, [r5, #31] + 800d73c: 4831 ldr r0, [pc, #196] ; (800d804 ) + 800d73e: f000 fe2f bl 800e3a0 + 800d742: 2200 movs r2, #0 + 800d744: 4621 mov r1, r4 + 800d746: e015 b.n 800d774 + 800d748: f001 f808 bl 800e75c + 800d74c: 2801 cmp r0, #1 + 800d74e: 4607 mov r7, r0 + 800d750: d125 bne.n 800d79e + 800d752: 4621 mov r1, r4 + 800d754: f10d 0207 add.w r2, sp, #7 + 800d758: 4630 mov r0, r6 + 800d75a: f001 f804 bl 800e766 + 800d75e: 4604 mov r4, r0 + 800d760: b9a0 cbnz r0, 800d78c + 800d762: f89d 3007 ldrb.w r3, [sp, #7] + 800d766: 4827 ldr r0, [pc, #156] ; (800d804 ) + 800d768: 75ab strb r3, [r5, #22] + 800d76a: f000 fe19 bl 800e3a0 + 800d76e: f89d 1007 ldrb.w r1, [sp, #7] + 800d772: 4622 mov r2, r4 + 800d774: 4630 mov r0, r6 + 800d776: f000 fb65 bl 800de44 + 800d77a: 6869 ldr r1, [r5, #4] + 800d77c: 4822 ldr r0, [pc, #136] ; (800d808 ) + 800d77e: f001 fc63 bl 800f048 + 800d782: 4821 ldr r0, [pc, #132] ; (800d808 ) + 800d784: f001 fc26 bl 800efd4 + 800d788: 2000 movs r0, #0 + 800d78a: e006 b.n 800d79a + 800d78c: 4b1f ldr r3, [pc, #124] ; (800d80c ) + 800d78e: 463a mov r2, r7 + 800d790: 2100 movs r1, #0 + 800d792: 2002 movs r0, #2 + 800d794: f001 f8a2 bl 800e8dc + 800d798: 2003 movs r0, #3 + 800d79a: b003 add sp, #12 + 800d79c: bdf0 pop {r4, r5, r6, r7, pc} + 800d79e: 75ac strb r4, [r5, #22] + 800d7a0: e7cc b.n 800d73c + 800d7a2: 2302 movs r3, #2 + 800d7a4: 73ab strb r3, [r5, #14] + 800d7a6: 76ac strb r4, [r5, #26] + 800d7a8: e7c8 b.n 800d73c + 800d7aa: f813 1f01 ldrb.w r1, [r3, #1]! + 800d7ae: 43c9 mvns r1, r1 + 800d7b0: 7019 strb r1, [r3, #0] + 800d7b2: f802 cb01 strb.w ip, [r2], #1 + 800d7b6: e785 b.n 800d6c4 + 800d7b8: 10d1 asrs r1, r2, #3 + 800d7ba: ea6f 0c02 mvn.w ip, r2 + 800d7be: 5c71 ldrb r1, [r6, r1] + 800d7c0: f00c 0c07 and.w ip, ip, #7 + 800d7c4: 3201 adds r2, #1 + 800d7c6: fa41 f10c asr.w r1, r1, ip + 800d7ca: f001 0101 and.w r1, r1, #1 + 800d7ce: ea4f 0ce2 mov.w ip, r2, asr #3 + 800d7d2: 404b eors r3, r1 + 800d7d4: 43d1 mvns r1, r2 + 800d7d6: f810 e00c ldrb.w lr, [r0, ip] + 800d7da: f001 0107 and.w r1, r1, #7 + 800d7de: fa03 f101 lsl.w r1, r3, r1 + 800d7e2: ea41 010e orr.w r1, r1, lr + 800d7e6: f800 100c strb.w r1, [r0, ip] + 800d7ea: e771 b.n 800d6d0 + 800d7ec: 21e1 movs r1, #225 ; 0xe1 + 800d7ee: 20f3 movs r0, #243 ; 0xf3 + 800d7f0: f000 fa0e bl 800dc10 + 800d7f4: 2104 movs r1, #4 + 800d7f6: e78d b.n 800d714 + 800d7f8: 48000400 .word 0x48000400 + 800d7fc: 20001ae8 .word 0x20001ae8 + 800d800: 200019cc .word 0x200019cc + 800d804: 20001af6 .word 0x20001af6 + 800d808: 20001b44 .word 0x20001b44 + 800d80c: 08010158 .word 0x08010158 -0800d7fc : - 800d7fc: b5f0 push {r4, r5, r6, r7, lr} - 800d7fe: f8bd 4014 ldrh.w r4, [sp, #20] - 800d802: f89d 7018 ldrb.w r7, [sp, #24] - 800d806: f89d e01c ldrb.w lr, [sp, #28] - 800d80a: f89d 5020 ldrb.w r5, [sp, #32] - 800d80e: b140 cbz r0, 800d822 - 800d810: 2801 cmp r0, #1 - 800d812: d014 beq.n 800d83e - 800d814: 2201 movs r2, #1 - 800d816: 2300 movs r3, #0 - 800d818: 1898 adds r0, r3, r2 - 800d81a: 3801 subs r0, #1 - 800d81c: fbb0 f0f2 udiv r0, r0, r2 - 800d820: bdf0 pop {r4, r5, r6, r7, pc} - 800d822: f087 0701 eor.w r7, r7, #1 - 800d826: 00e3 lsls r3, r4, #3 - 800d828: eb03 03c7 add.w r3, r3, r7, lsl #3 - 800d82c: 3318 adds r3, #24 - 800d82e: eb0e 0545 add.w r5, lr, r5, lsl #1 - 800d832: eb03 03c5 add.w r3, r3, r5, lsl #3 - 800d836: f44f 717a mov.w r1, #1000 ; 0x3e8 - 800d83a: 434b muls r3, r1 - 800d83c: e7ec b.n 800d818 - 800d83e: 1f50 subs r0, r2, #5 - 800d840: 2801 cmp r0, #1 - 800d842: f103 0304 add.w r3, r3, #4 - 800d846: d802 bhi.n 800d84e - 800d848: 2c0c cmp r4, #12 - 800d84a: bf38 it cc - 800d84c: 240c movcc r4, #12 - 800d84e: b9d1 cbnz r1, 800d886 - 800d850: f1a2 0c0b sub.w ip, r2, #11 - 800d854: f1bc 0f01 cmp.w ip, #1 - 800d858: bf8c ite hi - 800d85a: f04f 0c00 movhi.w ip, #0 - 800d85e: f04f 0c01 movls.w ip, #1 - 800d862: 0128 lsls r0, r5, #4 - 800d864: 2f00 cmp r7, #0 - 800d866: eb00 00ce add.w r0, r0, lr, lsl #3 - 800d86a: bf14 ite ne - 800d86c: 2500 movne r5, #0 - 800d86e: 2514 moveq r5, #20 - 800d870: eba0 0082 sub.w r0, r0, r2, lsl #2 - 800d874: 2a06 cmp r2, #6 - 800d876: ea4f 0682 mov.w r6, r2, lsl #2 - 800d87a: 4428 add r0, r5 - 800d87c: f1a2 0702 sub.w r7, r2, #2 - 800d880: d80d bhi.n 800d89e - 800d882: 4635 mov r5, r6 - 800d884: e010 b.n 800d8a8 - 800d886: 2901 cmp r1, #1 - 800d888: d106 bne.n 800d898 - 800d88a: f1a2 000c sub.w r0, r2, #12 - 800d88e: f1d0 0c00 rsbs ip, r0, #0 - 800d892: eb4c 0c00 adc.w ip, ip, r0 - 800d896: e7e4 b.n 800d862 - 800d898: f04f 0c00 mov.w ip, #0 - 800d89c: e7e1 b.n 800d862 - 800d89e: 3008 adds r0, #8 - 800d8a0: f1bc 0f00 cmp.w ip, #0 - 800d8a4: d0ed beq.n 800d882 - 800d8a6: 00bd lsls r5, r7, #2 - 800d8a8: 2800 cmp r0, #0 - 800d8aa: bfac ite ge - 800d8ac: 182e addge r6, r5, r0 - 800d8ae: 1c2e addlt r6, r5, #0 - 800d8b0: 1e70 subs r0, r6, #1 - 800d8b2: fb90 f0f5 sdiv r0, r0, r5 - 800d8b6: fb03 4400 mla r4, r3, r0, r4 - 800d8ba: 4b09 ldr r3, [pc, #36] ; (800d8e0 ) - 800d8bc: 2a06 cmp r2, #6 - 800d8be: 5c5a ldrb r2, [r3, r1] - 800d8c0: bf8c ite hi - 800d8c2: 340c addhi r4, #12 - 800d8c4: 340e addls r4, #14 - 800d8c6: 2a0a cmp r2, #10 - 800d8c8: d809 bhi.n 800d8de - 800d8ca: 00a3 lsls r3, r4, #2 - 800d8cc: 3301 adds r3, #1 - 800d8ce: f44f 717a mov.w r1, #1000 ; 0x3e8 - 800d8d2: 40bb lsls r3, r7 - 800d8d4: 434b muls r3, r1 - 800d8d6: 4903 ldr r1, [pc, #12] ; (800d8e4 ) - 800d8d8: f851 2022 ldr.w r2, [r1, r2, lsl #2] - 800d8dc: e79c b.n 800d818 - 800d8de: deff udf #255 ; 0xff - 800d8e0: 0801019e .word 0x0801019e - 800d8e4: 080101a4 .word 0x080101a4 +0800d810 : + 800d810: b5f0 push {r4, r5, r6, r7, lr} + 800d812: f8bd 4014 ldrh.w r4, [sp, #20] + 800d816: f89d 7018 ldrb.w r7, [sp, #24] + 800d81a: f89d e01c ldrb.w lr, [sp, #28] + 800d81e: f89d 5020 ldrb.w r5, [sp, #32] + 800d822: b140 cbz r0, 800d836 + 800d824: 2801 cmp r0, #1 + 800d826: d014 beq.n 800d852 + 800d828: 2201 movs r2, #1 + 800d82a: 2300 movs r3, #0 + 800d82c: 1898 adds r0, r3, r2 + 800d82e: 3801 subs r0, #1 + 800d830: fbb0 f0f2 udiv r0, r0, r2 + 800d834: bdf0 pop {r4, r5, r6, r7, pc} + 800d836: f087 0701 eor.w r7, r7, #1 + 800d83a: 00e3 lsls r3, r4, #3 + 800d83c: eb03 03c7 add.w r3, r3, r7, lsl #3 + 800d840: 3318 adds r3, #24 + 800d842: eb0e 0545 add.w r5, lr, r5, lsl #1 + 800d846: eb03 03c5 add.w r3, r3, r5, lsl #3 + 800d84a: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800d84e: 434b muls r3, r1 + 800d850: e7ec b.n 800d82c + 800d852: 1f50 subs r0, r2, #5 + 800d854: 2801 cmp r0, #1 + 800d856: f103 0304 add.w r3, r3, #4 + 800d85a: d802 bhi.n 800d862 + 800d85c: 2c0c cmp r4, #12 + 800d85e: bf38 it cc + 800d860: 240c movcc r4, #12 + 800d862: b9d1 cbnz r1, 800d89a + 800d864: f1a2 0c0b sub.w ip, r2, #11 + 800d868: f1bc 0f01 cmp.w ip, #1 + 800d86c: bf8c ite hi + 800d86e: f04f 0c00 movhi.w ip, #0 + 800d872: f04f 0c01 movls.w ip, #1 + 800d876: 0128 lsls r0, r5, #4 + 800d878: 2f00 cmp r7, #0 + 800d87a: eb00 00ce add.w r0, r0, lr, lsl #3 + 800d87e: bf14 ite ne + 800d880: 2500 movne r5, #0 + 800d882: 2514 moveq r5, #20 + 800d884: eba0 0082 sub.w r0, r0, r2, lsl #2 + 800d888: 2a06 cmp r2, #6 + 800d88a: ea4f 0682 mov.w r6, r2, lsl #2 + 800d88e: 4428 add r0, r5 + 800d890: f1a2 0702 sub.w r7, r2, #2 + 800d894: d80d bhi.n 800d8b2 + 800d896: 4635 mov r5, r6 + 800d898: e010 b.n 800d8bc + 800d89a: 2901 cmp r1, #1 + 800d89c: d106 bne.n 800d8ac + 800d89e: f1a2 000c sub.w r0, r2, #12 + 800d8a2: f1d0 0c00 rsbs ip, r0, #0 + 800d8a6: eb4c 0c00 adc.w ip, ip, r0 + 800d8aa: e7e4 b.n 800d876 + 800d8ac: f04f 0c00 mov.w ip, #0 + 800d8b0: e7e1 b.n 800d876 + 800d8b2: 3008 adds r0, #8 + 800d8b4: f1bc 0f00 cmp.w ip, #0 + 800d8b8: d0ed beq.n 800d896 + 800d8ba: 00bd lsls r5, r7, #2 + 800d8bc: 2800 cmp r0, #0 + 800d8be: bfac ite ge + 800d8c0: 182e addge r6, r5, r0 + 800d8c2: 1c2e addlt r6, r5, #0 + 800d8c4: 1e70 subs r0, r6, #1 + 800d8c6: fb90 f0f5 sdiv r0, r0, r5 + 800d8ca: fb03 4400 mla r4, r3, r0, r4 + 800d8ce: 4b09 ldr r3, [pc, #36] ; (800d8f4 ) + 800d8d0: 2a06 cmp r2, #6 + 800d8d2: 5c5a ldrb r2, [r3, r1] + 800d8d4: bf8c ite hi + 800d8d6: 340c addhi r4, #12 + 800d8d8: 340e addls r4, #14 + 800d8da: 2a0a cmp r2, #10 + 800d8dc: d809 bhi.n 800d8f2 + 800d8de: 00a3 lsls r3, r4, #2 + 800d8e0: 3301 adds r3, #1 + 800d8e2: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800d8e6: 40bb lsls r3, r7 + 800d8e8: 434b muls r3, r1 + 800d8ea: 4903 ldr r1, [pc, #12] ; (800d8f8 ) + 800d8ec: f851 2022 ldr.w r2, [r1, r2, lsl #2] + 800d8f0: e79c b.n 800d82c + 800d8f2: deff udf #255 ; 0xff + 800d8f4: 080101b6 .word 0x080101b6 + 800d8f8: 080101bc .word 0x080101bc -0800d8e8 : - 800d8e8: b508 push {r3, lr} - 800d8ea: 4b09 ldr r3, [pc, #36] ; (800d910 ) - 800d8ec: 2101 movs r1, #1 - 800d8ee: f893 0056 ldrb.w r0, [r3, #86] ; 0x56 - 800d8f2: f000 fe53 bl 800e59c - 800d8f6: f44f 60d7 mov.w r0, #1720 ; 0x6b8 - 800d8fa: 212d movs r1, #45 ; 0x2d - 800d8fc: f000 f97e bl 800dbfc - 800d900: f000 fb33 bl 800df6a - 800d904: e8bd 4008 ldmia.w sp!, {r3, lr} - 800d908: 4802 ldr r0, [pc, #8] ; (800d914 ) - 800d90a: f000 ba7b b.w 800de04 - 800d90e: bf00 nop - 800d910: 20001ae8 .word 0x20001ae8 - 800d914: 000fffff .word 0x000fffff +0800d8fc : + 800d8fc: b508 push {r3, lr} + 800d8fe: 4b09 ldr r3, [pc, #36] ; (800d924 ) + 800d900: 2101 movs r1, #1 + 800d902: f893 0056 ldrb.w r0, [r3, #86] ; 0x56 + 800d906: f000 fe53 bl 800e5b0 + 800d90a: f44f 60d7 mov.w r0, #1720 ; 0x6b8 + 800d90e: 212d movs r1, #45 ; 0x2d + 800d910: f000 f97e bl 800dc10 + 800d914: f000 fb33 bl 800df7e + 800d918: e8bd 4008 ldmia.w sp!, {r3, lr} + 800d91c: 4802 ldr r0, [pc, #8] ; (800d928 ) + 800d91e: f000 ba7b b.w 800de18 + 800d922: bf00 nop + 800d924: 20001ae8 .word 0x20001ae8 + 800d928: 000fffff .word 0x000fffff -0800d918 : - 800d918: b573 push {r0, r1, r4, r5, r6, lr} - 800d91a: 4ca4 ldr r4, [pc, #656] ; (800dbac ) - 800d91c: f8b4 3054 ldrh.w r3, [r4, #84] ; 0x54 - 800d920: 2500 movs r5, #0 - 800d922: 2b20 cmp r3, #32 - 800d924: f88d 5003 strb.w r5, [sp, #3] - 800d928: 9501 str r5, [sp, #4] - 800d92a: f000 811b beq.w 800db64 - 800d92e: d814 bhi.n 800d95a - 800d930: 2b08 cmp r3, #8 - 800d932: d80d bhi.n 800d950 - 800d934: b17b cbz r3, 800d956 - 800d936: 3b01 subs r3, #1 - 800d938: 2b07 cmp r3, #7 - 800d93a: d80c bhi.n 800d956 - 800d93c: e8df f013 tbh [pc, r3, lsl #1] - 800d940: 005b0042 .word 0x005b0042 - 800d944: 00cd000b .word 0x00cd000b - 800d948: 000b000b .word 0x000b000b - 800d94c: 00fd000b .word 0x00fd000b - 800d950: 2b10 cmp r3, #16 - 800d952: f000 8100 beq.w 800db56 - 800d956: b002 add sp, #8 - 800d958: bd70 pop {r4, r5, r6, pc} - 800d95a: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 800d95e: f000 8098 beq.w 800da92 - 800d962: d811 bhi.n 800d988 - 800d964: 2b40 cmp r3, #64 ; 0x40 - 800d966: f000 8110 beq.w 800db8a - 800d96a: 2b80 cmp r3, #128 ; 0x80 - 800d96c: d1f3 bne.n 800d956 - 800d96e: 4628 mov r0, r5 - 800d970: f000 fa32 bl 800ddd8 - 800d974: 4b8e ldr r3, [pc, #568] ; (800dbb0 ) - 800d976: 681b ldr r3, [r3, #0] - 800d978: 2b00 cmp r3, #0 - 800d97a: d0ec beq.n 800d956 - 800d97c: 699b ldr r3, [r3, #24] - 800d97e: 2b00 cmp r3, #0 - 800d980: d0e9 beq.n 800d956 +0800d92c : + 800d92c: b573 push {r0, r1, r4, r5, r6, lr} + 800d92e: 4ca4 ldr r4, [pc, #656] ; (800dbc0 ) + 800d930: f8b4 3054 ldrh.w r3, [r4, #84] ; 0x54 + 800d934: 2500 movs r5, #0 + 800d936: 2b20 cmp r3, #32 + 800d938: f88d 5003 strb.w r5, [sp, #3] + 800d93c: 9501 str r5, [sp, #4] + 800d93e: f000 811b beq.w 800db78 + 800d942: d814 bhi.n 800d96e + 800d944: 2b08 cmp r3, #8 + 800d946: d80d bhi.n 800d964 + 800d948: b17b cbz r3, 800d96a + 800d94a: 3b01 subs r3, #1 + 800d94c: 2b07 cmp r3, #7 + 800d94e: d80c bhi.n 800d96a + 800d950: e8df f013 tbh [pc, r3, lsl #1] + 800d954: 005b0042 .word 0x005b0042 + 800d958: 00cd000b .word 0x00cd000b + 800d95c: 000b000b .word 0x000b000b + 800d960: 00fd000b .word 0x00fd000b + 800d964: 2b10 cmp r3, #16 + 800d966: f000 8100 beq.w 800db6a + 800d96a: b002 add sp, #8 + 800d96c: bd70 pop {r4, r5, r6, pc} + 800d96e: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 800d972: f000 8098 beq.w 800daa6 + 800d976: d811 bhi.n 800d99c + 800d978: 2b40 cmp r3, #64 ; 0x40 + 800d97a: f000 8110 beq.w 800db9e + 800d97e: 2b80 cmp r3, #128 ; 0x80 + 800d980: d1f3 bne.n 800d96a 800d982: 4628 mov r0, r5 - 800d984: 4798 blx r3 - 800d986: e7e6 b.n 800d956 - 800d988: f5b3 7f00 cmp.w r3, #512 ; 0x200 - 800d98c: d1e3 bne.n 800d956 - 800d98e: 4b89 ldr r3, [pc, #548] ; (800dbb4 ) - 800d990: 2201 movs r2, #1 - 800d992: 4629 mov r1, r5 - 800d994: 2002 movs r0, #2 - 800d996: f000 ff97 bl 800e8c8 - 800d99a: f000 f929 bl 800dbf0 - 800d99e: 2804 cmp r0, #4 - 800d9a0: f040 8085 bne.w 800daae - 800d9a4: 4b84 ldr r3, [pc, #528] ; (800dbb8 ) - 800d9a6: 4885 ldr r0, [pc, #532] ; (800dbbc ) - 800d9a8: f44f 5200 mov.w r2, #8192 ; 0x2000 - 800d9ac: 629a str r2, [r3, #40] ; 0x28 - 800d9ae: f001 fab9 bl 800ef24 - 800d9b2: 4628 mov r0, r5 - 800d9b4: f000 fa10 bl 800ddd8 - 800d9b8: 4b7d ldr r3, [pc, #500] ; (800dbb0 ) - 800d9ba: 681b ldr r3, [r3, #0] - 800d9bc: 2b00 cmp r3, #0 - 800d9be: d0ca beq.n 800d956 - 800d9c0: 685b ldr r3, [r3, #4] - 800d9c2: e014 b.n 800d9ee - 800d9c4: 4b7c ldr r3, [pc, #496] ; (800dbb8 ) - 800d9c6: 487d ldr r0, [pc, #500] ; (800dbbc ) - 800d9c8: f44f 5200 mov.w r2, #8192 ; 0x2000 - 800d9cc: 629a str r2, [r3, #40] ; 0x28 - 800d9ce: f001 faa9 bl 800ef24 - 800d9d2: 2000 movs r0, #0 - 800d9d4: f000 fa00 bl 800ddd8 - 800d9d8: f000 feb8 bl 800e74c - 800d9dc: 2801 cmp r0, #1 - 800d9de: d101 bne.n 800d9e4 - 800d9e0: f000 febd bl 800e75e - 800d9e4: 4b72 ldr r3, [pc, #456] ; (800dbb0 ) - 800d9e6: 681b ldr r3, [r3, #0] - 800d9e8: 2b00 cmp r3, #0 - 800d9ea: d0b4 beq.n 800d956 - 800d9ec: 681b ldr r3, [r3, #0] - 800d9ee: 2b00 cmp r3, #0 - 800d9f0: d0b1 beq.n 800d956 - 800d9f2: 4798 blx r3 - 800d9f4: e7af b.n 800d956 - 800d9f6: 4b70 ldr r3, [pc, #448] ; (800dbb8 ) - 800d9f8: 4871 ldr r0, [pc, #452] ; (800dbc0 ) - 800d9fa: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800d9fe: 629a str r2, [r3, #40] ; 0x28 - 800da00: f001 fa90 bl 800ef24 - 800da04: 7865 ldrb r5, [r4, #1] - 800da06: b995 cbnz r5, 800da2e - 800da08: 4628 mov r0, r5 - 800da0a: f000 f9e5 bl 800ddd8 - 800da0e: 4629 mov r1, r5 - 800da10: f640 1002 movw r0, #2306 ; 0x902 - 800da14: f000 f8f2 bl 800dbfc - 800da18: f640 1044 movw r0, #2372 ; 0x944 - 800da1c: f000 f8fe bl 800dc1c - 800da20: f040 0102 orr.w r1, r0, #2 - 800da24: b2c9 uxtb r1, r1 - 800da26: f640 1044 movw r0, #2372 ; 0x944 - 800da2a: f000 f8e7 bl 800dbfc - 800da2e: 22ff movs r2, #255 ; 0xff - 800da30: f10d 0103 add.w r1, sp, #3 - 800da34: 4863 ldr r0, [pc, #396] ; (800dbc4 ) - 800da36: 4d5e ldr r5, [pc, #376] ; (800dbb0 ) - 800da38: f000 fd5a bl 800e4f0 - 800da3c: 4862 ldr r0, [pc, #392] ; (800dbc8 ) - 800da3e: f000 fd71 bl 800e524 - 800da42: 682b ldr r3, [r5, #0] - 800da44: 2b00 cmp r3, #0 - 800da46: d086 beq.n 800d956 - 800da48: 689e ldr r6, [r3, #8] - 800da4a: 2e00 cmp r6, #0 - 800da4c: d083 beq.n 800d956 - 800da4e: f894 3024 ldrb.w r3, [r4, #36] ; 0x24 - 800da52: 2b01 cmp r3, #1 - 800da54: d108 bne.n 800da68 - 800da56: f994 3031 ldrsb.w r3, [r4, #49] ; 0x31 - 800da5a: f994 2030 ldrsb.w r2, [r4, #48] ; 0x30 - 800da5e: f89d 1003 ldrb.w r1, [sp, #3] - 800da62: 4858 ldr r0, [pc, #352] ; (800dbc4 ) - 800da64: 47b0 blx r6 - 800da66: e776 b.n 800d956 - 800da68: 6be0 ldr r0, [r4, #60] ; 0x3c - 800da6a: a901 add r1, sp, #4 - 800da6c: f000 fe22 bl 800e6b4 - 800da70: 9b01 ldr r3, [sp, #4] + 800d984: f000 fa32 bl 800ddec + 800d988: 4b8e ldr r3, [pc, #568] ; (800dbc4 ) + 800d98a: 681b ldr r3, [r3, #0] + 800d98c: 2b00 cmp r3, #0 + 800d98e: d0ec beq.n 800d96a + 800d990: 699b ldr r3, [r3, #24] + 800d992: 2b00 cmp r3, #0 + 800d994: d0e9 beq.n 800d96a + 800d996: 4628 mov r0, r5 + 800d998: 4798 blx r3 + 800d99a: e7e6 b.n 800d96a + 800d99c: f5b3 7f00 cmp.w r3, #512 ; 0x200 + 800d9a0: d1e3 bne.n 800d96a + 800d9a2: 4b89 ldr r3, [pc, #548] ; (800dbc8 ) + 800d9a4: 2201 movs r2, #1 + 800d9a6: 4629 mov r1, r5 + 800d9a8: 2002 movs r0, #2 + 800d9aa: f000 ff97 bl 800e8dc + 800d9ae: f000 f929 bl 800dc04 + 800d9b2: 2804 cmp r0, #4 + 800d9b4: f040 8085 bne.w 800dac2 + 800d9b8: 4b84 ldr r3, [pc, #528] ; (800dbcc ) + 800d9ba: 4885 ldr r0, [pc, #532] ; (800dbd0 ) + 800d9bc: f44f 5200 mov.w r2, #8192 ; 0x2000 + 800d9c0: 629a str r2, [r3, #40] ; 0x28 + 800d9c2: f001 fab9 bl 800ef38 + 800d9c6: 4628 mov r0, r5 + 800d9c8: f000 fa10 bl 800ddec + 800d9cc: 4b7d ldr r3, [pc, #500] ; (800dbc4 ) + 800d9ce: 681b ldr r3, [r3, #0] + 800d9d0: 2b00 cmp r3, #0 + 800d9d2: d0ca beq.n 800d96a + 800d9d4: 685b ldr r3, [r3, #4] + 800d9d6: e014 b.n 800da02 + 800d9d8: 4b7c ldr r3, [pc, #496] ; (800dbcc ) + 800d9da: 487d ldr r0, [pc, #500] ; (800dbd0 ) + 800d9dc: f44f 5200 mov.w r2, #8192 ; 0x2000 + 800d9e0: 629a str r2, [r3, #40] ; 0x28 + 800d9e2: f001 faa9 bl 800ef38 + 800d9e6: 2000 movs r0, #0 + 800d9e8: f000 fa00 bl 800ddec + 800d9ec: f000 feb8 bl 800e760 + 800d9f0: 2801 cmp r0, #1 + 800d9f2: d101 bne.n 800d9f8 + 800d9f4: f000 febd bl 800e772 + 800d9f8: 4b72 ldr r3, [pc, #456] ; (800dbc4 ) + 800d9fa: 681b ldr r3, [r3, #0] + 800d9fc: 2b00 cmp r3, #0 + 800d9fe: d0b4 beq.n 800d96a + 800da00: 681b ldr r3, [r3, #0] + 800da02: 2b00 cmp r3, #0 + 800da04: d0b1 beq.n 800d96a + 800da06: 4798 blx r3 + 800da08: e7af b.n 800d96a + 800da0a: 4b70 ldr r3, [pc, #448] ; (800dbcc ) + 800da0c: 4871 ldr r0, [pc, #452] ; (800dbd4 ) + 800da0e: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800da12: 629a str r2, [r3, #40] ; 0x28 + 800da14: f001 fa90 bl 800ef38 + 800da18: 7865 ldrb r5, [r4, #1] + 800da1a: b995 cbnz r5, 800da42 + 800da1c: 4628 mov r0, r5 + 800da1e: f000 f9e5 bl 800ddec + 800da22: 4629 mov r1, r5 + 800da24: f640 1002 movw r0, #2306 ; 0x902 + 800da28: f000 f8f2 bl 800dc10 + 800da2c: f640 1044 movw r0, #2372 ; 0x944 + 800da30: f000 f8fe bl 800dc30 + 800da34: f040 0102 orr.w r1, r0, #2 + 800da38: b2c9 uxtb r1, r1 + 800da3a: f640 1044 movw r0, #2372 ; 0x944 + 800da3e: f000 f8e7 bl 800dc10 + 800da42: 22ff movs r2, #255 ; 0xff + 800da44: f10d 0103 add.w r1, sp, #3 + 800da48: 4863 ldr r0, [pc, #396] ; (800dbd8 ) + 800da4a: 4d5e ldr r5, [pc, #376] ; (800dbc4 ) + 800da4c: f000 fd5a bl 800e504 + 800da50: 4862 ldr r0, [pc, #392] ; (800dbdc ) + 800da52: f000 fd71 bl 800e538 + 800da56: 682b ldr r3, [r5, #0] + 800da58: 2b00 cmp r3, #0 + 800da5a: d086 beq.n 800d96a + 800da5c: 689e ldr r6, [r3, #8] + 800da5e: 2e00 cmp r6, #0 + 800da60: d083 beq.n 800d96a + 800da62: f894 3024 ldrb.w r3, [r4, #36] ; 0x24 + 800da66: 2b01 cmp r3, #1 + 800da68: d108 bne.n 800da7c + 800da6a: f994 3031 ldrsb.w r3, [r4, #49] ; 0x31 + 800da6e: f994 2030 ldrsb.w r2, [r4, #48] ; 0x30 800da72: f89d 1003 ldrb.w r1, [sp, #3] - 800da76: 4853 ldr r0, [pc, #332] ; (800dbc4 ) - 800da78: f44f 727a mov.w r2, #1000 ; 0x3e8 - 800da7c: f503 73fa add.w r3, r3, #500 ; 0x1f4 - 800da80: fb93 f3f2 sdiv r3, r3, r2 - 800da84: 682a ldr r2, [r5, #0] - 800da86: b25b sxtb r3, r3 - 800da88: 6895 ldr r5, [r2, #8] - 800da8a: f994 2029 ldrsb.w r2, [r4, #41] ; 0x29 - 800da8e: 47a8 blx r5 - 800da90: e761 b.n 800d956 - 800da92: 4628 mov r0, r5 - 800da94: f000 f9a0 bl 800ddd8 - 800da98: 4b45 ldr r3, [pc, #276] ; (800dbb0 ) - 800da9a: 681b ldr r3, [r3, #0] - 800da9c: 2b00 cmp r3, #0 - 800da9e: f43f af5a beq.w 800d956 - 800daa2: 699b ldr r3, [r3, #24] - 800daa4: 2b00 cmp r3, #0 - 800daa6: f43f af56 beq.w 800d956 - 800daaa: 2001 movs r0, #1 - 800daac: e76a b.n 800d984 - 800daae: f000 f89f bl 800dbf0 - 800dab2: 2805 cmp r0, #5 - 800dab4: f47f af4f bne.w 800d956 - 800dab8: 4b3f ldr r3, [pc, #252] ; (800dbb8 ) - 800daba: 4841 ldr r0, [pc, #260] ; (800dbc0 ) - 800dabc: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800dac0: 629a str r2, [r3, #40] ; 0x28 - 800dac2: f001 fa2f bl 800ef24 - 800dac6: 4628 mov r0, r5 - 800dac8: f000 f986 bl 800ddd8 - 800dacc: 4b38 ldr r3, [pc, #224] ; (800dbb0 ) - 800dace: 681b ldr r3, [r3, #0] - 800dad0: 2b00 cmp r3, #0 - 800dad2: f43f af40 beq.w 800d956 - 800dad6: 68db ldr r3, [r3, #12] - 800dad8: e789 b.n 800d9ee - 800dada: 2100 movs r1, #0 - 800dadc: 4b3b ldr r3, [pc, #236] ; (800dbcc ) - 800dade: 2201 movs r2, #1 - 800dae0: 2002 movs r0, #2 - 800dae2: f000 fef1 bl 800e8c8 - 800dae6: 6da1 ldr r1, [r4, #88] ; 0x58 - 800dae8: 2900 cmp r1, #0 - 800daea: f43f af34 beq.w 800d956 - 800daee: f3c1 4107 ubfx r1, r1, #16, #8 - 800daf2: f640 1003 movw r0, #2307 ; 0x903 - 800daf6: f000 f881 bl 800dbfc - 800dafa: f894 1059 ldrb.w r1, [r4, #89] ; 0x59 - 800dafe: f640 1004 movw r0, #2308 ; 0x904 - 800db02: f000 f87b bl 800dbfc - 800db06: f894 1058 ldrb.w r1, [r4, #88] ; 0x58 - 800db0a: f640 1005 movw r0, #2309 ; 0x905 - 800db0e: f000 f875 bl 800dbfc - 800db12: f640 1002 movw r0, #2306 ; 0x902 - 800db16: f000 f881 bl 800dc1c - 800db1a: f040 0101 orr.w r1, r0, #1 - 800db1e: b2c9 uxtb r1, r1 - 800db20: f640 1002 movw r0, #2306 ; 0x902 - 800db24: f000 f86a bl 800dbfc - 800db28: 2300 movs r3, #0 - 800db2a: f240 2162 movw r1, #610 ; 0x262 - 800db2e: 461a mov r2, r3 - 800db30: 4608 mov r0, r1 - 800db32: 65a3 str r3, [r4, #88] ; 0x58 - 800db34: f000 faaa bl 800e08c - 800db38: e70d b.n 800d956 - 800db3a: 4b25 ldr r3, [pc, #148] ; (800dbd0 ) - 800db3c: 2201 movs r2, #1 - 800db3e: 2100 movs r1, #0 - 800db40: 2002 movs r0, #2 - 800db42: f000 fec1 bl 800e8c8 - 800db46: f000 fdff bl 800e748 - 800db4a: 2801 cmp r0, #1 - 800db4c: f47f af03 bne.w 800d956 - 800db50: f000 fe06 bl 800e760 - 800db54: e6ff b.n 800d956 - 800db56: 4b1f ldr r3, [pc, #124] ; (800dbd4 ) - 800db58: 2201 movs r2, #1 - 800db5a: 2100 movs r1, #0 - 800db5c: 2002 movs r0, #2 - 800db5e: f000 feb3 bl 800e8c8 - 800db62: e6f8 b.n 800d956 - 800db64: 4816 ldr r0, [pc, #88] ; (800dbc0 ) - 800db66: f001 f9dd bl 800ef24 - 800db6a: 7860 ldrb r0, [r4, #1] - 800db6c: b908 cbnz r0, 800db72 - 800db6e: f000 f933 bl 800ddd8 - 800db72: 4b0f ldr r3, [pc, #60] ; (800dbb0 ) - 800db74: 681b ldr r3, [r3, #0] - 800db76: 2b00 cmp r3, #0 - 800db78: f43f aeed beq.w 800d956 - 800db7c: 68db ldr r3, [r3, #12] - 800db7e: 2b00 cmp r3, #0 - 800db80: f43f aee9 beq.w 800d956 - 800db84: 4798 blx r3 - 800db86: 4b14 ldr r3, [pc, #80] ; (800dbd8 ) - 800db88: e7e6 b.n 800db58 - 800db8a: 4b14 ldr r3, [pc, #80] ; (800dbdc ) - 800db8c: 2201 movs r2, #1 - 800db8e: 4629 mov r1, r5 - 800db90: 2002 movs r0, #2 - 800db92: f000 fe99 bl 800e8c8 - 800db96: 7860 ldrb r0, [r4, #1] - 800db98: b908 cbnz r0, 800db9e - 800db9a: f000 f91d bl 800ddd8 - 800db9e: 4b04 ldr r3, [pc, #16] ; (800dbb0 ) - 800dba0: 681b ldr r3, [r3, #0] - 800dba2: 2b00 cmp r3, #0 - 800dba4: f43f aed7 beq.w 800d956 - 800dba8: 691b ldr r3, [r3, #16] - 800dbaa: e720 b.n 800d9ee - 800dbac: 20001ae8 .word 0x20001ae8 - 800dbb0: 20001acc .word 0x20001acc - 800dbb4: 08010155 .word 0x08010155 - 800dbb8: 48000400 .word 0x48000400 - 800dbbc: 20001b44 .word 0x20001b44 - 800dbc0: 20001ad0 .word 0x20001ad0 - 800dbc4: 200019cc .word 0x200019cc - 800dbc8: 20001b0c .word 0x20001b0c - 800dbcc: 08010169 .word 0x08010169 - 800dbd0: 08010172 .word 0x08010172 - 800dbd4: 0801017c .word 0x0801017c - 800dbd8: 08010185 .word 0x08010185 - 800dbdc: 0801018e .word 0x0801018e + 800da76: 4858 ldr r0, [pc, #352] ; (800dbd8 ) + 800da78: 47b0 blx r6 + 800da7a: e776 b.n 800d96a + 800da7c: 6be0 ldr r0, [r4, #60] ; 0x3c + 800da7e: a901 add r1, sp, #4 + 800da80: f000 fe22 bl 800e6c8 + 800da84: 9b01 ldr r3, [sp, #4] + 800da86: f89d 1003 ldrb.w r1, [sp, #3] + 800da8a: 4853 ldr r0, [pc, #332] ; (800dbd8 ) + 800da8c: f44f 727a mov.w r2, #1000 ; 0x3e8 + 800da90: f503 73fa add.w r3, r3, #500 ; 0x1f4 + 800da94: fb93 f3f2 sdiv r3, r3, r2 + 800da98: 682a ldr r2, [r5, #0] + 800da9a: b25b sxtb r3, r3 + 800da9c: 6895 ldr r5, [r2, #8] + 800da9e: f994 2029 ldrsb.w r2, [r4, #41] ; 0x29 + 800daa2: 47a8 blx r5 + 800daa4: e761 b.n 800d96a + 800daa6: 4628 mov r0, r5 + 800daa8: f000 f9a0 bl 800ddec + 800daac: 4b45 ldr r3, [pc, #276] ; (800dbc4 ) + 800daae: 681b ldr r3, [r3, #0] + 800dab0: 2b00 cmp r3, #0 + 800dab2: f43f af5a beq.w 800d96a + 800dab6: 699b ldr r3, [r3, #24] + 800dab8: 2b00 cmp r3, #0 + 800daba: f43f af56 beq.w 800d96a + 800dabe: 2001 movs r0, #1 + 800dac0: e76a b.n 800d998 + 800dac2: f000 f89f bl 800dc04 + 800dac6: 2805 cmp r0, #5 + 800dac8: f47f af4f bne.w 800d96a + 800dacc: 4b3f ldr r3, [pc, #252] ; (800dbcc ) + 800dace: 4841 ldr r0, [pc, #260] ; (800dbd4 ) + 800dad0: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800dad4: 629a str r2, [r3, #40] ; 0x28 + 800dad6: f001 fa2f bl 800ef38 + 800dada: 4628 mov r0, r5 + 800dadc: f000 f986 bl 800ddec + 800dae0: 4b38 ldr r3, [pc, #224] ; (800dbc4 ) + 800dae2: 681b ldr r3, [r3, #0] + 800dae4: 2b00 cmp r3, #0 + 800dae6: f43f af40 beq.w 800d96a + 800daea: 68db ldr r3, [r3, #12] + 800daec: e789 b.n 800da02 + 800daee: 2100 movs r1, #0 + 800daf0: 4b3b ldr r3, [pc, #236] ; (800dbe0 ) + 800daf2: 2201 movs r2, #1 + 800daf4: 2002 movs r0, #2 + 800daf6: f000 fef1 bl 800e8dc + 800dafa: 6da1 ldr r1, [r4, #88] ; 0x58 + 800dafc: 2900 cmp r1, #0 + 800dafe: f43f af34 beq.w 800d96a + 800db02: f3c1 4107 ubfx r1, r1, #16, #8 + 800db06: f640 1003 movw r0, #2307 ; 0x903 + 800db0a: f000 f881 bl 800dc10 + 800db0e: f894 1059 ldrb.w r1, [r4, #89] ; 0x59 + 800db12: f640 1004 movw r0, #2308 ; 0x904 + 800db16: f000 f87b bl 800dc10 + 800db1a: f894 1058 ldrb.w r1, [r4, #88] ; 0x58 + 800db1e: f640 1005 movw r0, #2309 ; 0x905 + 800db22: f000 f875 bl 800dc10 + 800db26: f640 1002 movw r0, #2306 ; 0x902 + 800db2a: f000 f881 bl 800dc30 + 800db2e: f040 0101 orr.w r1, r0, #1 + 800db32: b2c9 uxtb r1, r1 + 800db34: f640 1002 movw r0, #2306 ; 0x902 + 800db38: f000 f86a bl 800dc10 + 800db3c: 2300 movs r3, #0 + 800db3e: f240 2162 movw r1, #610 ; 0x262 + 800db42: 461a mov r2, r3 + 800db44: 4608 mov r0, r1 + 800db46: 65a3 str r3, [r4, #88] ; 0x58 + 800db48: f000 faaa bl 800e0a0 + 800db4c: e70d b.n 800d96a + 800db4e: 4b25 ldr r3, [pc, #148] ; (800dbe4 ) + 800db50: 2201 movs r2, #1 + 800db52: 2100 movs r1, #0 + 800db54: 2002 movs r0, #2 + 800db56: f000 fec1 bl 800e8dc + 800db5a: f000 fdff bl 800e75c + 800db5e: 2801 cmp r0, #1 + 800db60: f47f af03 bne.w 800d96a + 800db64: f000 fe06 bl 800e774 + 800db68: e6ff b.n 800d96a + 800db6a: 4b1f ldr r3, [pc, #124] ; (800dbe8 ) + 800db6c: 2201 movs r2, #1 + 800db6e: 2100 movs r1, #0 + 800db70: 2002 movs r0, #2 + 800db72: f000 feb3 bl 800e8dc + 800db76: e6f8 b.n 800d96a + 800db78: 4816 ldr r0, [pc, #88] ; (800dbd4 ) + 800db7a: f001 f9dd bl 800ef38 + 800db7e: 7860 ldrb r0, [r4, #1] + 800db80: b908 cbnz r0, 800db86 + 800db82: f000 f933 bl 800ddec + 800db86: 4b0f ldr r3, [pc, #60] ; (800dbc4 ) + 800db88: 681b ldr r3, [r3, #0] + 800db8a: 2b00 cmp r3, #0 + 800db8c: f43f aeed beq.w 800d96a + 800db90: 68db ldr r3, [r3, #12] + 800db92: 2b00 cmp r3, #0 + 800db94: f43f aee9 beq.w 800d96a + 800db98: 4798 blx r3 + 800db9a: 4b14 ldr r3, [pc, #80] ; (800dbec ) + 800db9c: e7e6 b.n 800db6c + 800db9e: 4b14 ldr r3, [pc, #80] ; (800dbf0 ) + 800dba0: 2201 movs r2, #1 + 800dba2: 4629 mov r1, r5 + 800dba4: 2002 movs r0, #2 + 800dba6: f000 fe99 bl 800e8dc + 800dbaa: 7860 ldrb r0, [r4, #1] + 800dbac: b908 cbnz r0, 800dbb2 + 800dbae: f000 f91d bl 800ddec + 800dbb2: 4b04 ldr r3, [pc, #16] ; (800dbc4 ) + 800dbb4: 681b ldr r3, [r3, #0] + 800dbb6: 2b00 cmp r3, #0 + 800dbb8: f43f aed7 beq.w 800d96a + 800dbbc: 691b ldr r3, [r3, #16] + 800dbbe: e720 b.n 800da02 + 800dbc0: 20001ae8 .word 0x20001ae8 + 800dbc4: 20001acc .word 0x20001acc + 800dbc8: 0801016d .word 0x0801016d + 800dbcc: 48000400 .word 0x48000400 + 800dbd0: 20001b44 .word 0x20001b44 + 800dbd4: 20001ad0 .word 0x20001ad0 + 800dbd8: 200019cc .word 0x200019cc + 800dbdc: 20001b0c .word 0x20001b0c + 800dbe0: 08010181 .word 0x08010181 + 800dbe4: 0801018a .word 0x0801018a + 800dbe8: 08010194 .word 0x08010194 + 800dbec: 0801019d .word 0x0801019d + 800dbf0: 080101a6 .word 0x080101a6 -0800dbe0 : - 800dbe0: 4b02 ldr r3, [pc, #8] ; (800dbec ) - 800dbe2: f8a3 0054 strh.w r0, [r3, #84] ; 0x54 - 800dbe6: f7ff be97 b.w 800d918 - 800dbea: bf00 nop - 800dbec: 20001ae8 .word 0x20001ae8 +0800dbf4 : + 800dbf4: 4b02 ldr r3, [pc, #8] ; (800dc00 ) + 800dbf6: f8a3 0054 strh.w r0, [r3, #84] ; 0x54 + 800dbfa: f7ff be97 b.w 800d92c + 800dbfe: bf00 nop + 800dc00: 20001ae8 .word 0x20001ae8 -0800dbf0 : - 800dbf0: 4b01 ldr r3, [pc, #4] ; (800dbf8 ) - 800dbf2: 7818 ldrb r0, [r3, #0] - 800dbf4: 4770 bx lr - 800dbf6: bf00 nop - 800dbf8: 20001b62 .word 0x20001b62 +0800dc04 : + 800dc04: 4b01 ldr r3, [pc, #4] ; (800dc0c ) + 800dc06: 7818 ldrb r0, [r3, #0] + 800dc08: 4770 bx lr + 800dc0a: bf00 nop + 800dc0c: 20001b62 .word 0x20001b62 -0800dbfc : - 800dbfc: b507 push {r0, r1, r2, lr} - 800dbfe: 2301 movs r3, #1 - 800dc00: f88d 1007 strb.w r1, [sp, #7] - 800dc04: f10d 0207 add.w r2, sp, #7 - 800dc08: 4601 mov r1, r0 - 800dc0a: 4803 ldr r0, [pc, #12] ; (800dc18 ) - 800dc0c: f7f7 f874 bl 8004cf8 - 800dc10: b003 add sp, #12 - 800dc12: f85d fb04 ldr.w pc, [sp], #4 - 800dc16: bf00 nop - 800dc18: 200001c4 .word 0x200001c4 +0800dc10 : + 800dc10: b507 push {r0, r1, r2, lr} + 800dc12: 2301 movs r3, #1 + 800dc14: f88d 1007 strb.w r1, [sp, #7] + 800dc18: f10d 0207 add.w r2, sp, #7 + 800dc1c: 4601 mov r1, r0 + 800dc1e: 4803 ldr r0, [pc, #12] ; (800dc2c ) + 800dc20: f7f7 f874 bl 8004d0c + 800dc24: b003 add sp, #12 + 800dc26: f85d fb04 ldr.w pc, [sp], #4 + 800dc2a: bf00 nop + 800dc2c: 200001c4 .word 0x200001c4 -0800dc1c : - 800dc1c: b507 push {r0, r1, r2, lr} - 800dc1e: 2301 movs r3, #1 - 800dc20: 4601 mov r1, r0 - 800dc22: f10d 0207 add.w r2, sp, #7 - 800dc26: 4804 ldr r0, [pc, #16] ; (800dc38 ) - 800dc28: f7f7 f89f bl 8004d6a - 800dc2c: f89d 0007 ldrb.w r0, [sp, #7] - 800dc30: b003 add sp, #12 - 800dc32: f85d fb04 ldr.w pc, [sp], #4 - 800dc36: bf00 nop - 800dc38: 200001c4 .word 0x200001c4 +0800dc30 : + 800dc30: b507 push {r0, r1, r2, lr} + 800dc32: 2301 movs r3, #1 + 800dc34: 4601 mov r1, r0 + 800dc36: f10d 0207 add.w r2, sp, #7 + 800dc3a: 4804 ldr r0, [pc, #16] ; (800dc4c ) + 800dc3c: f7f7 f89f bl 8004d7e + 800dc40: f89d 0007 ldrb.w r0, [sp, #7] + 800dc44: b003 add sp, #12 + 800dc46: f85d fb04 ldr.w pc, [sp], #4 + 800dc4a: bf00 nop + 800dc4c: 200001c4 .word 0x200001c4 -0800dc3c : - 800dc3c: b510 push {r4, lr} - 800dc3e: 4604 mov r4, r0 - 800dc40: f7f4 fda0 bl 8002784 - 800dc44: 2801 cmp r0, #1 - 800dc46: d10c bne.n 800dc62 - 800dc48: f640 1023 movw r0, #2339 ; 0x923 - 800dc4c: f7ff ffe6 bl 800dc1c - 800dc50: f000 01f9 and.w r1, r0, #249 ; 0xf9 - 800dc54: 4321 orrs r1, r4 - 800dc56: f640 1023 movw r0, #2339 ; 0x923 - 800dc5a: e8bd 4010 ldmia.w sp!, {r4, lr} - 800dc5e: f7ff bfcd b.w 800dbfc - 800dc62: bd10 pop {r4, pc} +0800dc50 : + 800dc50: b510 push {r4, lr} + 800dc52: 4604 mov r4, r0 + 800dc54: f7f4 fda0 bl 8002798 + 800dc58: 2801 cmp r0, #1 + 800dc5a: d10c bne.n 800dc76 + 800dc5c: f640 1023 movw r0, #2339 ; 0x923 + 800dc60: f7ff ffe6 bl 800dc30 + 800dc64: f000 01f9 and.w r1, r0, #249 ; 0xf9 + 800dc68: 4321 orrs r1, r4 + 800dc6a: f640 1023 movw r0, #2339 ; 0x923 + 800dc6e: e8bd 4010 ldmia.w sp!, {r4, lr} + 800dc72: f7ff bfcd b.w 800dc10 + 800dc76: bd10 pop {r4, pc} -0800dc64 : - 800dc64: b510 push {r4, lr} - 800dc66: 4b0c ldr r3, [pc, #48] ; (800dc98 ) - 800dc68: 781b ldrb r3, [r3, #0] - 800dc6a: 4604 mov r4, r0 - 800dc6c: b99b cbnz r3, 800dc96 - 800dc6e: f44f 60d7 mov.w r0, #1720 ; 0x6b8 - 800dc72: f7ff ffd3 bl 800dc1c - 800dc76: f3c4 2100 ubfx r1, r4, #8, #1 - 800dc7a: f000 00fe and.w r0, r0, #254 ; 0xfe - 800dc7e: 4301 orrs r1, r0 - 800dc80: f44f 60d7 mov.w r0, #1720 ; 0x6b8 - 800dc84: f7ff ffba bl 800dbfc - 800dc88: b2e1 uxtb r1, r4 - 800dc8a: f240 60b9 movw r0, #1721 ; 0x6b9 - 800dc8e: e8bd 4010 ldmia.w sp!, {r4, lr} - 800dc92: f7ff bfb3 b.w 800dbfc - 800dc96: bd10 pop {r4, pc} - 800dc98: 20001b63 .word 0x20001b63 +0800dc78 : + 800dc78: b510 push {r4, lr} + 800dc7a: 4b0c ldr r3, [pc, #48] ; (800dcac ) + 800dc7c: 781b ldrb r3, [r3, #0] + 800dc7e: 4604 mov r4, r0 + 800dc80: b99b cbnz r3, 800dcaa + 800dc82: f44f 60d7 mov.w r0, #1720 ; 0x6b8 + 800dc86: f7ff ffd3 bl 800dc30 + 800dc8a: f3c4 2100 ubfx r1, r4, #8, #1 + 800dc8e: f000 00fe and.w r0, r0, #254 ; 0xfe + 800dc92: 4301 orrs r1, r0 + 800dc94: f44f 60d7 mov.w r0, #1720 ; 0x6b8 + 800dc98: f7ff ffba bl 800dc10 + 800dc9c: b2e1 uxtb r1, r4 + 800dc9e: f240 60b9 movw r0, #1721 ; 0x6b9 + 800dca2: e8bd 4010 ldmia.w sp!, {r4, lr} + 800dca6: f7ff bfb3 b.w 800dc10 + 800dcaa: bd10 pop {r4, pc} + 800dcac: 20001b63 .word 0x20001b63 -0800dc9c : - 800dc9c: b510 push {r4, lr} - 800dc9e: 4613 mov r3, r2 - 800dca0: f3ef 8410 mrs r4, PRIMASK - 800dca4: b672 cpsid i - 800dca6: 460a mov r2, r1 - 800dca8: 4601 mov r1, r0 - 800dcaa: 4803 ldr r0, [pc, #12] ; (800dcb8 ) - 800dcac: f7f7 f824 bl 8004cf8 - 800dcb0: f384 8810 msr PRIMASK, r4 - 800dcb4: bd10 pop {r4, pc} - 800dcb6: bf00 nop - 800dcb8: 200001c4 .word 0x200001c4 +0800dcb0 : + 800dcb0: b510 push {r4, lr} + 800dcb2: 4613 mov r3, r2 + 800dcb4: f3ef 8410 mrs r4, PRIMASK + 800dcb8: b672 cpsid i + 800dcba: 460a mov r2, r1 + 800dcbc: 4601 mov r1, r0 + 800dcbe: 4803 ldr r0, [pc, #12] ; (800dccc ) + 800dcc0: f7f7 f824 bl 8004d0c + 800dcc4: f384 8810 msr PRIMASK, r4 + 800dcc8: bd10 pop {r4, pc} + 800dcca: bf00 nop + 800dccc: 200001c4 .word 0x200001c4 -0800dcbc : - 800dcbc: b508 push {r3, lr} - 800dcbe: 4601 mov r1, r0 - 800dcc0: 2208 movs r2, #8 - 800dcc2: f44f 60d8 mov.w r0, #1728 ; 0x6c0 - 800dcc6: f7ff ffe9 bl 800dc9c - 800dcca: 2000 movs r0, #0 - 800dccc: bd08 pop {r3, pc} +0800dcd0 : + 800dcd0: b508 push {r3, lr} + 800dcd2: 4601 mov r1, r0 + 800dcd4: 2208 movs r2, #8 + 800dcd6: f44f 60d8 mov.w r0, #1728 ; 0x6c0 + 800dcda: f7ff ffe9 bl 800dcb0 + 800dcde: 2000 movs r0, #0 + 800dce0: bd08 pop {r3, pc} ... -0800dcd0 : - 800dcd0: b507 push {r0, r1, r2, lr} - 800dcd2: 4b07 ldr r3, [pc, #28] ; (800dcf0 ) - 800dcd4: 781b ldrb r3, [r3, #0] - 800dcd6: ba40 rev16 r0, r0 - 800dcd8: f8ad 0004 strh.w r0, [sp, #4] - 800dcdc: b92b cbnz r3, 800dcea - 800dcde: 2202 movs r2, #2 - 800dce0: a901 add r1, sp, #4 - 800dce2: f240 60bc movw r0, #1724 ; 0x6bc - 800dce6: f7ff ffd9 bl 800dc9c - 800dcea: b003 add sp, #12 - 800dcec: f85d fb04 ldr.w pc, [sp], #4 - 800dcf0: 20001b63 .word 0x20001b63 +0800dce4 : + 800dce4: b507 push {r0, r1, r2, lr} + 800dce6: 4b07 ldr r3, [pc, #28] ; (800dd04 ) + 800dce8: 781b ldrb r3, [r3, #0] + 800dcea: ba40 rev16 r0, r0 + 800dcec: f8ad 0004 strh.w r0, [sp, #4] + 800dcf0: b92b cbnz r3, 800dcfe + 800dcf2: 2202 movs r2, #2 + 800dcf4: a901 add r1, sp, #4 + 800dcf6: f240 60bc movw r0, #1724 ; 0x6bc + 800dcfa: f7ff ffd9 bl 800dcb0 + 800dcfe: b003 add sp, #12 + 800dd00: f85d fb04 ldr.w pc, [sp], #4 + 800dd04: 20001b63 .word 0x20001b63 -0800dcf4 : - 800dcf4: b507 push {r0, r1, r2, lr} - 800dcf6: 4b07 ldr r3, [pc, #28] ; (800dd14 ) - 800dcf8: 781b ldrb r3, [r3, #0] - 800dcfa: ba40 rev16 r0, r0 - 800dcfc: f8ad 0004 strh.w r0, [sp, #4] - 800dd00: b92b cbnz r3, 800dd0e - 800dd02: 2202 movs r2, #2 - 800dd04: a901 add r1, sp, #4 - 800dd06: f240 60be movw r0, #1726 ; 0x6be - 800dd0a: f7ff ffc7 bl 800dc9c - 800dd0e: b003 add sp, #12 - 800dd10: f85d fb04 ldr.w pc, [sp], #4 - 800dd14: 20001b63 .word 0x20001b63 +0800dd08 : + 800dd08: b507 push {r0, r1, r2, lr} + 800dd0a: 4b07 ldr r3, [pc, #28] ; (800dd28 ) + 800dd0c: 781b ldrb r3, [r3, #0] + 800dd0e: ba40 rev16 r0, r0 + 800dd10: f8ad 0004 strh.w r0, [sp, #4] + 800dd14: b92b cbnz r3, 800dd22 + 800dd16: 2202 movs r2, #2 + 800dd18: a901 add r1, sp, #4 + 800dd1a: f240 60be movw r0, #1726 ; 0x6be + 800dd1e: f7ff ffc7 bl 800dcb0 + 800dd22: b003 add sp, #12 + 800dd24: f85d fb04 ldr.w pc, [sp], #4 + 800dd28: 20001b63 .word 0x20001b63 -0800dd18 : - 800dd18: b510 push {r4, lr} - 800dd1a: 4613 mov r3, r2 - 800dd1c: f3ef 8410 mrs r4, PRIMASK - 800dd20: b672 cpsid i - 800dd22: 460a mov r2, r1 - 800dd24: 4601 mov r1, r0 - 800dd26: 4803 ldr r0, [pc, #12] ; (800dd34 ) - 800dd28: f7f7 f81f bl 8004d6a - 800dd2c: f384 8810 msr PRIMASK, r4 - 800dd30: bd10 pop {r4, pc} - 800dd32: bf00 nop - 800dd34: 200001c4 .word 0x200001c4 +0800dd2c : + 800dd2c: b510 push {r4, lr} + 800dd2e: 4613 mov r3, r2 + 800dd30: f3ef 8410 mrs r4, PRIMASK + 800dd34: b672 cpsid i + 800dd36: 460a mov r2, r1 + 800dd38: 4601 mov r1, r0 + 800dd3a: 4803 ldr r0, [pc, #12] ; (800dd48 ) + 800dd3c: f7f7 f81f bl 8004d7e + 800dd40: f384 8810 msr PRIMASK, r4 + 800dd44: bd10 pop {r4, pc} + 800dd46: bf00 nop + 800dd48: 200001c4 .word 0x200001c4 -0800dd38 : - 800dd38: b510 push {r4, lr} - 800dd3a: 4613 mov r3, r2 - 800dd3c: f3ef 8410 mrs r4, PRIMASK - 800dd40: b672 cpsid i - 800dd42: 460a mov r2, r1 - 800dd44: 4601 mov r1, r0 - 800dd46: 4803 ldr r0, [pc, #12] ; (800dd54 ) - 800dd48: f7f7 f901 bl 8004f4e - 800dd4c: f384 8810 msr PRIMASK, r4 - 800dd50: bd10 pop {r4, pc} - 800dd52: bf00 nop - 800dd54: 200001c4 .word 0x200001c4 +0800dd4c : + 800dd4c: b510 push {r4, lr} + 800dd4e: 4613 mov r3, r2 + 800dd50: f3ef 8410 mrs r4, PRIMASK + 800dd54: b672 cpsid i + 800dd56: 460a mov r2, r1 + 800dd58: 4601 mov r1, r0 + 800dd5a: 4803 ldr r0, [pc, #12] ; (800dd68 ) + 800dd5c: f7f7 f901 bl 8004f62 + 800dd60: f384 8810 msr PRIMASK, r4 + 800dd64: bd10 pop {r4, pc} + 800dd66: bf00 nop + 800dd68: 200001c4 .word 0x200001c4 -0800dd58 : - 800dd58: 460a mov r2, r1 - 800dd5a: 4601 mov r1, r0 - 800dd5c: 2000 movs r0, #0 - 800dd5e: f7ff bfeb b.w 800dd38 +0800dd6c : + 800dd6c: 460a mov r2, r1 + 800dd6e: 4601 mov r1, r0 + 800dd70: 2000 movs r0, #0 + 800dd72: f7ff bfeb b.w 800dd4c ... -0800dd64 : - 800dd64: b510 push {r4, lr} - 800dd66: 4613 mov r3, r2 - 800dd68: f3ef 8410 mrs r4, PRIMASK - 800dd6c: b672 cpsid i - 800dd6e: 460a mov r2, r1 - 800dd70: 4601 mov r1, r0 - 800dd72: 4803 ldr r0, [pc, #12] ; (800dd80 ) - 800dd74: f7f7 f91e bl 8004fb4 - 800dd78: f384 8810 msr PRIMASK, r4 - 800dd7c: bd10 pop {r4, pc} - 800dd7e: bf00 nop - 800dd80: 200001c4 .word 0x200001c4 +0800dd78 : + 800dd78: b510 push {r4, lr} + 800dd7a: 4613 mov r3, r2 + 800dd7c: f3ef 8410 mrs r4, PRIMASK + 800dd80: b672 cpsid i + 800dd82: 460a mov r2, r1 + 800dd84: 4601 mov r1, r0 + 800dd86: 4803 ldr r0, [pc, #12] ; (800dd94 ) + 800dd88: f7f7 f91e bl 8004fc8 + 800dd8c: f384 8810 msr PRIMASK, r4 + 800dd90: bd10 pop {r4, pc} + 800dd92: bf00 nop + 800dd94: 200001c4 .word 0x200001c4 -0800dd84 : - 800dd84: b510 push {r4, lr} - 800dd86: 4613 mov r3, r2 - 800dd88: f3ef 8410 mrs r4, PRIMASK - 800dd8c: b672 cpsid i - 800dd8e: 460a mov r2, r1 - 800dd90: 4601 mov r1, r0 - 800dd92: 4803 ldr r0, [pc, #12] ; (800dda0 ) - 800dd94: f7f7 f824 bl 8004de0 - 800dd98: f384 8810 msr PRIMASK, r4 - 800dd9c: bd10 pop {r4, pc} - 800dd9e: bf00 nop - 800dda0: 200001c4 .word 0x200001c4 +0800dd98 : + 800dd98: b510 push {r4, lr} + 800dd9a: 4613 mov r3, r2 + 800dd9c: f3ef 8410 mrs r4, PRIMASK + 800dda0: b672 cpsid i + 800dda2: 460a mov r2, r1 + 800dda4: 4601 mov r1, r0 + 800dda6: 4803 ldr r0, [pc, #12] ; (800ddb4 ) + 800dda8: f7f7 f824 bl 8004df4 + 800ddac: f384 8810 msr PRIMASK, r4 + 800ddb0: bd10 pop {r4, pc} + 800ddb2: bf00 nop + 800ddb4: 200001c4 .word 0x200001c4 -0800dda4 : - 800dda4: b513 push {r0, r1, r4, lr} - 800dda6: 4604 mov r4, r0 - 800dda8: 2000 movs r0, #0 - 800ddaa: f7f4 fcc5 bl 8002738 - 800ddae: 2002 movs r0, #2 - 800ddb0: f7ff ff44 bl 800dc3c - 800ddb4: f004 0407 and.w r4, r4, #7 - 800ddb8: 2201 movs r2, #1 - 800ddba: f10d 0107 add.w r1, sp, #7 - 800ddbe: 2084 movs r0, #132 ; 0x84 - 800ddc0: f88d 4007 strb.w r4, [sp, #7] - 800ddc4: f7ff ffde bl 800dd84 - 800ddc8: 4b02 ldr r3, [pc, #8] ; (800ddd4 ) - 800ddca: 2200 movs r2, #0 - 800ddcc: 701a strb r2, [r3, #0] - 800ddce: b002 add sp, #8 - 800ddd0: bd10 pop {r4, pc} - 800ddd2: bf00 nop - 800ddd4: 20001b62 .word 0x20001b62 +0800ddb8 : + 800ddb8: b513 push {r0, r1, r4, lr} + 800ddba: 4604 mov r4, r0 + 800ddbc: 2000 movs r0, #0 + 800ddbe: f7f4 fcc5 bl 800274c + 800ddc2: 2002 movs r0, #2 + 800ddc4: f7ff ff44 bl 800dc50 + 800ddc8: f004 0407 and.w r4, r4, #7 + 800ddcc: 2201 movs r2, #1 + 800ddce: f10d 0107 add.w r1, sp, #7 + 800ddd2: 2084 movs r0, #132 ; 0x84 + 800ddd4: f88d 4007 strb.w r4, [sp, #7] + 800ddd8: f7ff ffde bl 800dd98 + 800dddc: 4b02 ldr r3, [pc, #8] ; (800dde8 ) + 800ddde: 2200 movs r2, #0 + 800dde0: 701a strb r2, [r3, #0] + 800dde2: b002 add sp, #8 + 800dde4: bd10 pop {r4, pc} + 800dde6: bf00 nop + 800dde8: 20001b62 .word 0x20001b62 -0800ddd8 : - 800ddd8: b507 push {r0, r1, r2, lr} - 800ddda: 2201 movs r2, #1 - 800dddc: f88d 0007 strb.w r0, [sp, #7] - 800dde0: f10d 0107 add.w r1, sp, #7 - 800dde4: 2080 movs r0, #128 ; 0x80 - 800dde6: f7ff ffcd bl 800dd84 - 800ddea: f89d 3007 ldrb.w r3, [sp, #7] - 800ddee: 2b00 cmp r3, #0 - 800ddf0: 4b03 ldr r3, [pc, #12] ; (800de00 ) - 800ddf2: bf0c ite eq - 800ddf4: 2201 moveq r2, #1 - 800ddf6: 2202 movne r2, #2 - 800ddf8: 701a strb r2, [r3, #0] - 800ddfa: b003 add sp, #12 - 800ddfc: f85d fb04 ldr.w pc, [sp], #4 - 800de00: 20001b62 .word 0x20001b62 +0800ddec : + 800ddec: b507 push {r0, r1, r2, lr} + 800ddee: 2201 movs r2, #1 + 800ddf0: f88d 0007 strb.w r0, [sp, #7] + 800ddf4: f10d 0107 add.w r1, sp, #7 + 800ddf8: 2080 movs r0, #128 ; 0x80 + 800ddfa: f7ff ffcd bl 800dd98 + 800ddfe: f89d 3007 ldrb.w r3, [sp, #7] + 800de02: 2b00 cmp r3, #0 + 800de04: 4b03 ldr r3, [pc, #12] ; (800de14 ) + 800de06: bf0c ite eq + 800de08: 2201 moveq r2, #1 + 800de0a: 2202 movne r2, #2 + 800de0c: 701a strb r2, [r3, #0] + 800de0e: b003 add sp, #12 + 800de10: f85d fb04 ldr.w pc, [sp], #4 + 800de14: 20001b62 .word 0x20001b62 -0800de04 : - 800de04: b507 push {r0, r1, r2, lr} - 800de06: 4b09 ldr r3, [pc, #36] ; (800de2c ) - 800de08: f88d 0006 strb.w r0, [sp, #6] - 800de0c: 2204 movs r2, #4 - 800de0e: 701a strb r2, [r3, #0] - 800de10: 0c03 lsrs r3, r0, #16 - 800de12: f88d 3004 strb.w r3, [sp, #4] - 800de16: 2203 movs r2, #3 - 800de18: 0a03 lsrs r3, r0, #8 - 800de1a: a901 add r1, sp, #4 - 800de1c: 2083 movs r0, #131 ; 0x83 - 800de1e: f88d 3005 strb.w r3, [sp, #5] - 800de22: f7ff ffaf bl 800dd84 - 800de26: b003 add sp, #12 - 800de28: f85d fb04 ldr.w pc, [sp], #4 - 800de2c: 20001b62 .word 0x20001b62 +0800de18 : + 800de18: b507 push {r0, r1, r2, lr} + 800de1a: 4b09 ldr r3, [pc, #36] ; (800de40 ) + 800de1c: f88d 0006 strb.w r0, [sp, #6] + 800de20: 2204 movs r2, #4 + 800de22: 701a strb r2, [r3, #0] + 800de24: 0c03 lsrs r3, r0, #16 + 800de26: f88d 3004 strb.w r3, [sp, #4] + 800de2a: 2203 movs r2, #3 + 800de2c: 0a03 lsrs r3, r0, #8 + 800de2e: a901 add r1, sp, #4 + 800de30: 2083 movs r0, #131 ; 0x83 + 800de32: f88d 3005 strb.w r3, [sp, #5] + 800de36: f7ff ffaf bl 800dd98 + 800de3a: b003 add sp, #12 + 800de3c: f85d fb04 ldr.w pc, [sp], #4 + 800de40: 20001b62 .word 0x20001b62 -0800de30 : - 800de30: b510 push {r4, lr} - 800de32: 4614 mov r4, r2 - 800de34: f7ff ff90 bl 800dd58 - 800de38: 4620 mov r0, r4 - 800de3a: e8bd 4010 ldmia.w sp!, {r4, lr} - 800de3e: f7ff bfe1 b.w 800de04 +0800de44 : + 800de44: b510 push {r4, lr} + 800de46: 4614 mov r4, r2 + 800de48: f7ff ff90 bl 800dd6c + 800de4c: 4620 mov r0, r4 + 800de4e: e8bd 4010 ldmia.w sp!, {r4, lr} + 800de52: f7ff bfe1 b.w 800de18 ... -0800de44 : - 800de44: b507 push {r0, r1, r2, lr} - 800de46: 4b09 ldr r3, [pc, #36] ; (800de6c ) - 800de48: f88d 0006 strb.w r0, [sp, #6] - 800de4c: 2205 movs r2, #5 - 800de4e: 701a strb r2, [r3, #0] - 800de50: 0c03 lsrs r3, r0, #16 - 800de52: f88d 3004 strb.w r3, [sp, #4] - 800de56: 2203 movs r2, #3 - 800de58: 0a03 lsrs r3, r0, #8 - 800de5a: a901 add r1, sp, #4 - 800de5c: 2082 movs r0, #130 ; 0x82 - 800de5e: f88d 3005 strb.w r3, [sp, #5] - 800de62: f7ff ff8f bl 800dd84 - 800de66: b003 add sp, #12 - 800de68: f85d fb04 ldr.w pc, [sp], #4 - 800de6c: 20001b62 .word 0x20001b62 +0800de58 : + 800de58: b507 push {r0, r1, r2, lr} + 800de5a: 4b09 ldr r3, [pc, #36] ; (800de80 ) + 800de5c: f88d 0006 strb.w r0, [sp, #6] + 800de60: 2205 movs r2, #5 + 800de62: 701a strb r2, [r3, #0] + 800de64: 0c03 lsrs r3, r0, #16 + 800de66: f88d 3004 strb.w r3, [sp, #4] + 800de6a: 2203 movs r2, #3 + 800de6c: 0a03 lsrs r3, r0, #8 + 800de6e: a901 add r1, sp, #4 + 800de70: 2082 movs r0, #130 ; 0x82 + 800de72: f88d 3005 strb.w r3, [sp, #5] + 800de76: f7ff ff8f bl 800dd98 + 800de7a: b003 add sp, #12 + 800de7c: f85d fb04 ldr.w pc, [sp], #4 + 800de80: 20001b62 .word 0x20001b62 -0800de70 : - 800de70: b573 push {r0, r1, r4, r5, r6, lr} - 800de72: 2600 movs r6, #0 - 800de74: f640 00e2 movw r0, #2274 ; 0x8e2 - 800de78: 9601 str r6, [sp, #4] - 800de7a: f7ff fecf bl 800dc1c - 800de7e: f000 01fe and.w r1, r0, #254 ; 0xfe - 800de82: 4605 mov r5, r0 - 800de84: f640 00e2 movw r0, #2274 ; 0x8e2 - 800de88: f7ff feb8 bl 800dbfc - 800de8c: f640 00e5 movw r0, #2277 ; 0x8e5 - 800de90: f7ff fec4 bl 800dc1c - 800de94: f000 017f and.w r1, r0, #127 ; 0x7f - 800de98: 4604 mov r4, r0 - 800de9a: f640 00e5 movw r0, #2277 ; 0x8e5 - 800de9e: f7ff fead bl 800dbfc - 800dea2: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 - 800dea6: f7ff ffcd bl 800de44 - 800deaa: 2204 movs r2, #4 - 800deac: eb0d 0102 add.w r1, sp, r2 - 800deb0: f640 0019 movw r0, #2073 ; 0x819 - 800deb4: f7ff ff30 bl 800dd18 - 800deb8: 4630 mov r0, r6 - 800deba: f7ff ff8d bl 800ddd8 - 800debe: 4629 mov r1, r5 - 800dec0: f640 00e2 movw r0, #2274 ; 0x8e2 - 800dec4: f7ff fe9a bl 800dbfc - 800dec8: 4621 mov r1, r4 - 800deca: f640 00e5 movw r0, #2277 ; 0x8e5 - 800dece: f7ff fe95 bl 800dbfc - 800ded2: 9801 ldr r0, [sp, #4] - 800ded4: b002 add sp, #8 - 800ded6: bd70 pop {r4, r5, r6, pc} +0800de84 : + 800de84: b573 push {r0, r1, r4, r5, r6, lr} + 800de86: 2600 movs r6, #0 + 800de88: f640 00e2 movw r0, #2274 ; 0x8e2 + 800de8c: 9601 str r6, [sp, #4] + 800de8e: f7ff fecf bl 800dc30 + 800de92: f000 01fe and.w r1, r0, #254 ; 0xfe + 800de96: 4605 mov r5, r0 + 800de98: f640 00e2 movw r0, #2274 ; 0x8e2 + 800de9c: f7ff feb8 bl 800dc10 + 800dea0: f640 00e5 movw r0, #2277 ; 0x8e5 + 800dea4: f7ff fec4 bl 800dc30 + 800dea8: f000 017f and.w r1, r0, #127 ; 0x7f + 800deac: 4604 mov r4, r0 + 800deae: f640 00e5 movw r0, #2277 ; 0x8e5 + 800deb2: f7ff fead bl 800dc10 + 800deb6: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 + 800deba: f7ff ffcd bl 800de58 + 800debe: 2204 movs r2, #4 + 800dec0: eb0d 0102 add.w r1, sp, r2 + 800dec4: f640 0019 movw r0, #2073 ; 0x819 + 800dec8: f7ff ff30 bl 800dd2c + 800decc: 4630 mov r0, r6 + 800dece: f7ff ff8d bl 800ddec + 800ded2: 4629 mov r1, r5 + 800ded4: f640 00e2 movw r0, #2274 ; 0x8e2 + 800ded8: f7ff fe9a bl 800dc10 + 800dedc: 4621 mov r1, r4 + 800dede: f640 00e5 movw r0, #2277 ; 0x8e5 + 800dee2: f7ff fe95 bl 800dc10 + 800dee6: 9801 ldr r0, [sp, #4] + 800dee8: b002 add sp, #8 + 800deea: bd70 pop {r4, r5, r6, pc} -0800ded8 : - 800ded8: b513 push {r0, r1, r4, lr} - 800deda: 4b0c ldr r3, [pc, #48] ; (800df0c ) - 800dedc: 4604 mov r4, r0 - 800dede: 2205 movs r2, #5 - 800dee0: 2197 movs r1, #151 ; 0x97 - 800dee2: f640 00ac movw r0, #2220 ; 0x8ac - 800dee6: 701a strb r2, [r3, #0] - 800dee8: f7ff fe88 bl 800dbfc - 800deec: 0c23 lsrs r3, r4, #16 - 800deee: f88d 3004 strb.w r3, [sp, #4] - 800def2: 2203 movs r2, #3 - 800def4: 0a23 lsrs r3, r4, #8 - 800def6: a901 add r1, sp, #4 - 800def8: 2082 movs r0, #130 ; 0x82 - 800defa: f88d 3005 strb.w r3, [sp, #5] - 800defe: f88d 4006 strb.w r4, [sp, #6] - 800df02: f7ff ff3f bl 800dd84 - 800df06: b002 add sp, #8 - 800df08: bd10 pop {r4, pc} - 800df0a: bf00 nop - 800df0c: 20001b62 .word 0x20001b62 +0800deec : + 800deec: b513 push {r0, r1, r4, lr} + 800deee: 4b0c ldr r3, [pc, #48] ; (800df20 ) + 800def0: 4604 mov r4, r0 + 800def2: 2205 movs r2, #5 + 800def4: 2197 movs r1, #151 ; 0x97 + 800def6: f640 00ac movw r0, #2220 ; 0x8ac + 800defa: 701a strb r2, [r3, #0] + 800defc: f7ff fe88 bl 800dc10 + 800df00: 0c23 lsrs r3, r4, #16 + 800df02: f88d 3004 strb.w r3, [sp, #4] + 800df06: 2203 movs r2, #3 + 800df08: 0a23 lsrs r3, r4, #8 + 800df0a: a901 add r1, sp, #4 + 800df0c: 2082 movs r0, #130 ; 0x82 + 800df0e: f88d 3005 strb.w r3, [sp, #5] + 800df12: f88d 4006 strb.w r4, [sp, #6] + 800df16: f7ff ff3f bl 800dd98 + 800df1a: b002 add sp, #8 + 800df1c: bd10 pop {r4, pc} + 800df1e: bf00 nop + 800df20: 20001b62 .word 0x20001b62 -0800df10 : - 800df10: b507 push {r0, r1, r2, lr} - 800df12: 0c03 lsrs r3, r0, #16 - 800df14: f88d 3000 strb.w r3, [sp] - 800df18: 0a03 lsrs r3, r0, #8 - 800df1a: f88d 3001 strb.w r3, [sp, #1] - 800df1e: 0c0b lsrs r3, r1, #16 - 800df20: ba49 rev16 r1, r1 - 800df22: f88d 0002 strb.w r0, [sp, #2] - 800df26: f8ad 1004 strh.w r1, [sp, #4] - 800df2a: 2206 movs r2, #6 - 800df2c: 4669 mov r1, sp - 800df2e: 2094 movs r0, #148 ; 0x94 - 800df30: f88d 3003 strb.w r3, [sp, #3] - 800df34: f7ff ff26 bl 800dd84 - 800df38: 4b02 ldr r3, [pc, #8] ; (800df44 ) - 800df3a: 2206 movs r2, #6 - 800df3c: 701a strb r2, [r3, #0] - 800df3e: b003 add sp, #12 - 800df40: f85d fb04 ldr.w pc, [sp], #4 - 800df44: 20001b62 .word 0x20001b62 +0800df24 : + 800df24: b507 push {r0, r1, r2, lr} + 800df26: 0c03 lsrs r3, r0, #16 + 800df28: f88d 3000 strb.w r3, [sp] + 800df2c: 0a03 lsrs r3, r0, #8 + 800df2e: f88d 3001 strb.w r3, [sp, #1] + 800df32: 0c0b lsrs r3, r1, #16 + 800df34: ba49 rev16 r1, r1 + 800df36: f88d 0002 strb.w r0, [sp, #2] + 800df3a: f8ad 1004 strh.w r1, [sp, #4] + 800df3e: 2206 movs r2, #6 + 800df40: 4669 mov r1, sp + 800df42: 2094 movs r0, #148 ; 0x94 + 800df44: f88d 3003 strb.w r3, [sp, #3] + 800df48: f7ff ff26 bl 800dd98 + 800df4c: 4b02 ldr r3, [pc, #8] ; (800df58 ) + 800df4e: 2206 movs r2, #6 + 800df50: 701a strb r2, [r3, #0] + 800df52: b003 add sp, #12 + 800df54: f85d fb04 ldr.w pc, [sp], #4 + 800df58: 20001b62 .word 0x20001b62 -0800df48 : - 800df48: 2200 movs r2, #0 - 800df4a: b508 push {r3, lr} - 800df4c: 4611 mov r1, r2 - 800df4e: 20c5 movs r0, #197 ; 0xc5 - 800df50: f7ff ff18 bl 800dd84 - 800df54: 4b01 ldr r3, [pc, #4] ; (800df5c ) - 800df56: 2207 movs r2, #7 - 800df58: 701a strb r2, [r3, #0] - 800df5a: bd08 pop {r3, pc} - 800df5c: 20001b62 .word 0x20001b62 +0800df5c : + 800df5c: 2200 movs r2, #0 + 800df5e: b508 push {r3, lr} + 800df60: 4611 mov r1, r2 + 800df62: 20c5 movs r0, #197 ; 0xc5 + 800df64: f7ff ff18 bl 800dd98 + 800df68: 4b01 ldr r3, [pc, #4] ; (800df70 ) + 800df6a: 2207 movs r2, #7 + 800df6c: 701a strb r2, [r3, #0] + 800df6e: bd08 pop {r3, pc} + 800df70: 20001b62 .word 0x20001b62 -0800df60 : - 800df60: 2200 movs r2, #0 - 800df62: 4611 mov r1, r2 - 800df64: 20d1 movs r0, #209 ; 0xd1 - 800df66: f7ff bf0d b.w 800dd84 +0800df74 : + 800df74: 2200 movs r2, #0 + 800df76: 4611 mov r1, r2 + 800df78: 20d1 movs r0, #209 ; 0xd1 + 800df7a: f7ff bf0d b.w 800dd98 -0800df6a : - 800df6a: 2200 movs r2, #0 - 800df6c: 4611 mov r1, r2 - 800df6e: 20d2 movs r0, #210 ; 0xd2 - 800df70: f7ff bf08 b.w 800dd84 +0800df7e : + 800df7e: 2200 movs r2, #0 + 800df80: 4611 mov r1, r2 + 800df82: 20d2 movs r0, #210 ; 0xd2 + 800df84: f7ff bf08 b.w 800dd98 -0800df74 : - 800df74: b507 push {r0, r1, r2, lr} - 800df76: 2201 movs r2, #1 - 800df78: f88d 0007 strb.w r0, [sp, #7] - 800df7c: f10d 0107 add.w r1, sp, #7 - 800df80: 209f movs r0, #159 ; 0x9f - 800df82: f7ff feff bl 800dd84 - 800df86: b003 add sp, #12 - 800df88: f85d fb04 ldr.w pc, [sp], #4 +0800df88 : + 800df88: b507 push {r0, r1, r2, lr} + 800df8a: 2201 movs r2, #1 + 800df8c: f88d 0007 strb.w r0, [sp, #7] + 800df90: f10d 0107 add.w r1, sp, #7 + 800df94: 209f movs r0, #159 ; 0x9f + 800df96: f7ff feff bl 800dd98 + 800df9a: b003 add sp, #12 + 800df9c: f85d fb04 ldr.w pc, [sp], #4 -0800df8c : - 800df8c: b507 push {r0, r1, r2, lr} - 800df8e: 2201 movs r2, #1 - 800df90: f88d 0007 strb.w r0, [sp, #7] - 800df94: f10d 0107 add.w r1, sp, #7 - 800df98: 20a0 movs r0, #160 ; 0xa0 - 800df9a: f7ff fef3 bl 800dd84 - 800df9e: f89d 1007 ldrb.w r1, [sp, #7] - 800dfa2: 293f cmp r1, #63 ; 0x3f - 800dfa4: d907 bls.n 800dfb6 - 800dfa6: f001 01f8 and.w r1, r1, #248 ; 0xf8 - 800dfaa: 3101 adds r1, #1 - 800dfac: b2c9 uxtb r1, r1 - 800dfae: f240 7006 movw r0, #1798 ; 0x706 - 800dfb2: f7ff fe23 bl 800dbfc - 800dfb6: b003 add sp, #12 - 800dfb8: f85d fb04 ldr.w pc, [sp], #4 +0800dfa0 : + 800dfa0: b507 push {r0, r1, r2, lr} + 800dfa2: 2201 movs r2, #1 + 800dfa4: f88d 0007 strb.w r0, [sp, #7] + 800dfa8: f10d 0107 add.w r1, sp, #7 + 800dfac: 20a0 movs r0, #160 ; 0xa0 + 800dfae: f7ff fef3 bl 800dd98 + 800dfb2: f89d 1007 ldrb.w r1, [sp, #7] + 800dfb6: 293f cmp r1, #63 ; 0x3f + 800dfb8: d907 bls.n 800dfca + 800dfba: f001 01f8 and.w r1, r1, #248 ; 0xf8 + 800dfbe: 3101 adds r1, #1 + 800dfc0: b2c9 uxtb r1, r1 + 800dfc2: f240 7006 movw r0, #1798 ; 0x706 + 800dfc6: f7ff fe23 bl 800dc10 + 800dfca: b003 add sp, #12 + 800dfcc: f85d fb04 ldr.w pc, [sp], #4 -0800dfbc : - 800dfbc: b507 push {r0, r1, r2, lr} - 800dfbe: f7f4 fbe1 bl 8002784 - 800dfc2: 1e43 subs r3, r0, #1 - 800dfc4: 4258 negs r0, r3 - 800dfc6: 4158 adcs r0, r3 - 800dfc8: f88d 0007 strb.w r0, [sp, #7] - 800dfcc: 2201 movs r2, #1 - 800dfce: f10d 0107 add.w r1, sp, #7 - 800dfd2: 2096 movs r0, #150 ; 0x96 - 800dfd4: f7ff fed6 bl 800dd84 - 800dfd8: b003 add sp, #12 - 800dfda: f85d fb04 ldr.w pc, [sp], #4 +0800dfd0 : + 800dfd0: b507 push {r0, r1, r2, lr} + 800dfd2: f7f4 fbe1 bl 8002798 + 800dfd6: 1e43 subs r3, r0, #1 + 800dfd8: 4258 negs r0, r3 + 800dfda: 4158 adcs r0, r3 + 800dfdc: f88d 0007 strb.w r0, [sp, #7] + 800dfe0: 2201 movs r2, #1 + 800dfe2: f10d 0107 add.w r1, sp, #7 + 800dfe6: 2096 movs r0, #150 ; 0x96 + 800dfe8: f7ff fed6 bl 800dd98 + 800dfec: b003 add sp, #12 + 800dfee: f85d fb04 ldr.w pc, [sp], #4 -0800dfde : - 800dfde: b507 push {r0, r1, r2, lr} - 800dfe0: f000 007f and.w r0, r0, #127 ; 0x7f - 800dfe4: f88d 0007 strb.w r0, [sp, #7] - 800dfe8: 2201 movs r2, #1 - 800dfea: f10d 0107 add.w r1, sp, #7 - 800dfee: 2089 movs r0, #137 ; 0x89 - 800dff0: f7ff fec8 bl 800dd84 - 800dff4: b003 add sp, #12 - 800dff6: f85d fb04 ldr.w pc, [sp], #4 +0800dff2 : + 800dff2: b507 push {r0, r1, r2, lr} + 800dff4: f000 007f and.w r0, r0, #127 ; 0x7f + 800dff8: f88d 0007 strb.w r0, [sp, #7] + 800dffc: 2201 movs r2, #1 + 800dffe: f10d 0107 add.w r1, sp, #7 + 800e002: 2089 movs r0, #137 ; 0x89 + 800e004: f7ff fec8 bl 800dd98 + 800e008: b003 add sp, #12 + 800e00a: f85d fb04 ldr.w pc, [sp], #4 ... -0800dffc : - 800dffc: 4b15 ldr r3, [pc, #84] ; (800e054 ) - 800dffe: 4298 cmp r0, r3 - 800e000: b507 push {r0, r1, r2, lr} - 800e002: d81b bhi.n 800e03c - 800e004: 4b14 ldr r3, [pc, #80] ; (800e058 ) - 800e006: 4298 cmp r0, r3 - 800e008: d81b bhi.n 800e042 - 800e00a: 4b14 ldr r3, [pc, #80] ; (800e05c ) - 800e00c: 4298 cmp r0, r3 - 800e00e: d81b bhi.n 800e048 - 800e010: 4b13 ldr r3, [pc, #76] ; (800e060 ) +0800e010 : + 800e010: 4b15 ldr r3, [pc, #84] ; (800e068 ) 800e012: 4298 cmp r0, r3 - 800e014: d81b bhi.n 800e04e - 800e016: 4b13 ldr r3, [pc, #76] ; (800e064 ) - 800e018: 4298 cmp r0, r3 - 800e01a: bf95 itete ls - 800e01c: 2229 movls r2, #41 ; 0x29 - 800e01e: 226b movhi r2, #107 ; 0x6b - 800e020: 232b movls r3, #43 ; 0x2b - 800e022: 236f movhi r3, #111 ; 0x6f - 800e024: f88d 2004 strb.w r2, [sp, #4] - 800e028: a901 add r1, sp, #4 - 800e02a: 2202 movs r2, #2 - 800e02c: 2098 movs r0, #152 ; 0x98 - 800e02e: f88d 3005 strb.w r3, [sp, #5] - 800e032: f7ff fea7 bl 800dd84 - 800e036: b003 add sp, #12 - 800e038: f85d fb04 ldr.w pc, [sp], #4 - 800e03c: 22e1 movs r2, #225 ; 0xe1 - 800e03e: 23e9 movs r3, #233 ; 0xe9 - 800e040: e7f0 b.n 800e024 - 800e042: 22d7 movs r2, #215 ; 0xd7 - 800e044: 23db movs r3, #219 ; 0xdb - 800e046: e7ed b.n 800e024 - 800e048: 22c1 movs r2, #193 ; 0xc1 - 800e04a: 23c5 movs r3, #197 ; 0xc5 - 800e04c: e7ea b.n 800e024 - 800e04e: 2275 movs r2, #117 ; 0x75 - 800e050: 2381 movs r3, #129 ; 0x81 - 800e052: e7e7 b.n 800e024 - 800e054: 35a4e900 .word 0x35a4e900 - 800e058: 32a9f880 .word 0x32a9f880 - 800e05c: 2de54480 .word 0x2de54480 - 800e060: 1b6b0b00 .word 0x1b6b0b00 - 800e064: 1954fc40 .word 0x1954fc40 + 800e014: b507 push {r0, r1, r2, lr} + 800e016: d81b bhi.n 800e050 + 800e018: 4b14 ldr r3, [pc, #80] ; (800e06c ) + 800e01a: 4298 cmp r0, r3 + 800e01c: d81b bhi.n 800e056 + 800e01e: 4b14 ldr r3, [pc, #80] ; (800e070 ) + 800e020: 4298 cmp r0, r3 + 800e022: d81b bhi.n 800e05c + 800e024: 4b13 ldr r3, [pc, #76] ; (800e074 ) + 800e026: 4298 cmp r0, r3 + 800e028: d81b bhi.n 800e062 + 800e02a: 4b13 ldr r3, [pc, #76] ; (800e078 ) + 800e02c: 4298 cmp r0, r3 + 800e02e: bf95 itete ls + 800e030: 2229 movls r2, #41 ; 0x29 + 800e032: 226b movhi r2, #107 ; 0x6b + 800e034: 232b movls r3, #43 ; 0x2b + 800e036: 236f movhi r3, #111 ; 0x6f + 800e038: f88d 2004 strb.w r2, [sp, #4] + 800e03c: a901 add r1, sp, #4 + 800e03e: 2202 movs r2, #2 + 800e040: 2098 movs r0, #152 ; 0x98 + 800e042: f88d 3005 strb.w r3, [sp, #5] + 800e046: f7ff fea7 bl 800dd98 + 800e04a: b003 add sp, #12 + 800e04c: f85d fb04 ldr.w pc, [sp], #4 + 800e050: 22e1 movs r2, #225 ; 0xe1 + 800e052: 23e9 movs r3, #233 ; 0xe9 + 800e054: e7f0 b.n 800e038 + 800e056: 22d7 movs r2, #215 ; 0xd7 + 800e058: 23db movs r3, #219 ; 0xdb + 800e05a: e7ed b.n 800e038 + 800e05c: 22c1 movs r2, #193 ; 0xc1 + 800e05e: 23c5 movs r3, #197 ; 0xc5 + 800e060: e7ea b.n 800e038 + 800e062: 2275 movs r2, #117 ; 0x75 + 800e064: 2381 movs r3, #129 ; 0x81 + 800e066: e7e7 b.n 800e038 + 800e068: 35a4e900 .word 0x35a4e900 + 800e06c: 32a9f880 .word 0x32a9f880 + 800e070: 2de54480 .word 0x2de54480 + 800e074: 1b6b0b00 .word 0x1b6b0b00 + 800e078: 1954fc40 .word 0x1954fc40 -0800e068 : - 800e068: b507 push {r0, r1, r2, lr} - 800e06a: f88d 2006 strb.w r2, [sp, #6] - 800e06e: 2204 movs r2, #4 - 800e070: f88d 0004 strb.w r0, [sp, #4] - 800e074: f88d 1005 strb.w r1, [sp, #5] - 800e078: 2095 movs r0, #149 ; 0x95 - 800e07a: eb0d 0102 add.w r1, sp, r2 - 800e07e: f88d 3007 strb.w r3, [sp, #7] - 800e082: f7ff fe7f bl 800dd84 - 800e086: b003 add sp, #12 - 800e088: f85d fb04 ldr.w pc, [sp], #4 +0800e07c : + 800e07c: b507 push {r0, r1, r2, lr} + 800e07e: f88d 2006 strb.w r2, [sp, #6] + 800e082: 2204 movs r2, #4 + 800e084: f88d 0004 strb.w r0, [sp, #4] + 800e088: f88d 1005 strb.w r1, [sp, #5] + 800e08c: 2095 movs r0, #149 ; 0x95 + 800e08e: eb0d 0102 add.w r1, sp, r2 + 800e092: f88d 3007 strb.w r3, [sp, #7] + 800e096: f7ff fe7f bl 800dd98 + 800e09a: b003 add sp, #12 + 800e09c: f85d fb04 ldr.w pc, [sp], #4 -0800e08c : - 800e08c: b507 push {r0, r1, r2, lr} - 800e08e: ba52 rev16 r2, r2 - 800e090: f8ad 2004 strh.w r2, [sp, #4] - 800e094: ba40 rev16 r0, r0 - 800e096: 2208 movs r2, #8 - 800e098: ba49 rev16 r1, r1 - 800e09a: f8ad 0000 strh.w r0, [sp] - 800e09e: f8ad 1002 strh.w r1, [sp, #2] - 800e0a2: ba5b rev16 r3, r3 - 800e0a4: 4669 mov r1, sp - 800e0a6: 4610 mov r0, r2 - 800e0a8: f8ad 3006 strh.w r3, [sp, #6] - 800e0ac: f7ff fe6a bl 800dd84 - 800e0b0: b003 add sp, #12 - 800e0b2: f85d fb04 ldr.w pc, [sp], #4 +0800e0a0 : + 800e0a0: b507 push {r0, r1, r2, lr} + 800e0a2: ba52 rev16 r2, r2 + 800e0a4: f8ad 2004 strh.w r2, [sp, #4] + 800e0a8: ba40 rev16 r0, r0 + 800e0aa: 2208 movs r2, #8 + 800e0ac: ba49 rev16 r1, r1 + 800e0ae: f8ad 0000 strh.w r0, [sp] + 800e0b2: f8ad 1002 strh.w r1, [sp, #2] + 800e0b6: ba5b rev16 r3, r3 + 800e0b8: 4669 mov r1, sp + 800e0ba: 4610 mov r0, r2 + 800e0bc: f8ad 3006 strh.w r3, [sp, #6] + 800e0c0: f7ff fe6a bl 800dd98 + 800e0c4: b003 add sp, #12 + 800e0c6: f85d fb04 ldr.w pc, [sp], #4 -0800e0b6 : - 800e0b6: b507 push {r0, r1, r2, lr} - 800e0b8: 0c0b lsrs r3, r1, #16 - 800e0ba: 2204 movs r2, #4 - 800e0bc: f000 0007 and.w r0, r0, #7 - 800e0c0: ba49 rev16 r1, r1 - 800e0c2: f88d 0004 strb.w r0, [sp, #4] - 800e0c6: f8ad 1006 strh.w r1, [sp, #6] - 800e0ca: 2097 movs r0, #151 ; 0x97 - 800e0cc: eb0d 0102 add.w r1, sp, r2 - 800e0d0: f88d 3005 strb.w r3, [sp, #5] - 800e0d4: f7ff fe56 bl 800dd84 - 800e0d8: b003 add sp, #12 - 800e0da: f85d fb04 ldr.w pc, [sp], #4 +0800e0ca : + 800e0ca: b507 push {r0, r1, r2, lr} + 800e0cc: 0c0b lsrs r3, r1, #16 + 800e0ce: 2204 movs r2, #4 + 800e0d0: f000 0007 and.w r0, r0, #7 + 800e0d4: ba49 rev16 r1, r1 + 800e0d6: f88d 0004 strb.w r0, [sp, #4] + 800e0da: f8ad 1006 strh.w r1, [sp, #6] + 800e0de: 2097 movs r0, #151 ; 0x97 + 800e0e0: eb0d 0102 add.w r1, sp, r2 + 800e0e4: f88d 3005 strb.w r3, [sp, #5] + 800e0e8: f7ff fe56 bl 800dd98 + 800e0ec: b003 add sp, #12 + 800e0ee: f85d fb04 ldr.w pc, [sp], #4 ... -0800e0e0 : - 800e0e0: b510 push {r4, lr} - 800e0e2: b108 cbz r0, 800e0e8 - 800e0e4: 4b19 ldr r3, [pc, #100] ; (800e14c ) - 800e0e6: 6018 str r0, [r3, #0] - 800e0e8: f7f3 faf4 bl 80016d4 - 800e0ec: 2002 movs r0, #2 - 800e0ee: f7ff fda5 bl 800dc3c - 800e0f2: 2400 movs r4, #0 - 800e0f4: 4b16 ldr r3, [pc, #88] ; (800e150 ) - 800e0f6: 4620 mov r0, r4 - 800e0f8: 701c strb r4, [r3, #0] - 800e0fa: f7ff fe6d bl 800ddd8 - 800e0fe: f7f4 fb3f bl 8002780 - 800e102: 2801 cmp r0, #1 - 800e104: d117 bne.n 800e136 - 800e106: f44f 7120 mov.w r1, #640 ; 0x280 - 800e10a: f7ff ffd4 bl 800e0b6 - 800e10e: f640 1011 movw r0, #2321 ; 0x911 - 800e112: 4621 mov r1, r4 - 800e114: f7ff fd72 bl 800dbfc - 800e118: f04f 007f mov.w r0, #127 ; 0x7f - 800e11c: f7ff ff5f bl 800dfde - 800e120: 210e movs r1, #14 - 800e122: f640 101f movw r0, #2335 ; 0x91f - 800e126: f7ff fd69 bl 800dbfc - 800e12a: f7f4 fad1 bl 80026d0 - 800e12e: 4b09 ldr r3, [pc, #36] ; (800e154 ) - 800e130: 2201 movs r2, #1 - 800e132: 701a strb r2, [r3, #0] - 800e134: bd10 pop {r4, pc} - 800e136: 2110 movs r1, #16 - 800e138: f640 1011 movw r0, #2321 ; 0x911 - 800e13c: f7ff fd5e bl 800dbfc - 800e140: 2110 movs r1, #16 - 800e142: f640 1012 movw r0, #2322 ; 0x912 - 800e146: f7ff fd59 bl 800dbfc - 800e14a: e7e9 b.n 800e120 - 800e14c: 20001b64 .word 0x20001b64 - 800e150: 20001b60 .word 0x20001b60 - 800e154: 20001b62 .word 0x20001b62 +0800e0f4 : + 800e0f4: b510 push {r4, lr} + 800e0f6: b108 cbz r0, 800e0fc + 800e0f8: 4b19 ldr r3, [pc, #100] ; (800e160 ) + 800e0fa: 6018 str r0, [r3, #0] + 800e0fc: f7f3 faea bl 80016d4 + 800e100: 2002 movs r0, #2 + 800e102: f7ff fda5 bl 800dc50 + 800e106: 2400 movs r4, #0 + 800e108: 4b16 ldr r3, [pc, #88] ; (800e164 ) + 800e10a: 4620 mov r0, r4 + 800e10c: 701c strb r4, [r3, #0] + 800e10e: f7ff fe6d bl 800ddec + 800e112: f7f4 fb3f bl 8002794 + 800e116: 2801 cmp r0, #1 + 800e118: d117 bne.n 800e14a + 800e11a: f44f 7120 mov.w r1, #640 ; 0x280 + 800e11e: f7ff ffd4 bl 800e0ca + 800e122: f640 1011 movw r0, #2321 ; 0x911 + 800e126: 4621 mov r1, r4 + 800e128: f7ff fd72 bl 800dc10 + 800e12c: f04f 007f mov.w r0, #127 ; 0x7f + 800e130: f7ff ff5f bl 800dff2 + 800e134: 210e movs r1, #14 + 800e136: f640 101f movw r0, #2335 ; 0x91f + 800e13a: f7ff fd69 bl 800dc10 + 800e13e: f7f4 fad1 bl 80026e4 + 800e142: 4b09 ldr r3, [pc, #36] ; (800e168 ) + 800e144: 2201 movs r2, #1 + 800e146: 701a strb r2, [r3, #0] + 800e148: bd10 pop {r4, pc} + 800e14a: 2110 movs r1, #16 + 800e14c: f640 1011 movw r0, #2321 ; 0x911 + 800e150: f7ff fd5e bl 800dc10 + 800e154: 2110 movs r1, #16 + 800e156: f640 1012 movw r0, #2322 ; 0x912 + 800e15a: f7ff fd59 bl 800dc10 + 800e15e: e7e9 b.n 800e134 + 800e160: 20001b64 .word 0x20001b64 + 800e164: 20001b60 .word 0x20001b60 + 800e168: 20001b62 .word 0x20001b62 -0800e158 : - 800e158: b537 push {r0, r1, r2, r4, r5, lr} - 800e15a: 4d0c ldr r5, [pc, #48] ; (800e18c ) - 800e15c: 782b ldrb r3, [r5, #0] - 800e15e: 4604 mov r4, r0 - 800e160: b91b cbnz r3, 800e16a - 800e162: f7ff ff4b bl 800dffc - 800e166: 2301 movs r3, #1 - 800e168: 702b strb r3, [r5, #0] - 800e16a: 2300 movs r3, #0 - 800e16c: 4a08 ldr r2, [pc, #32] ; (800e190 ) - 800e16e: 0660 lsls r0, r4, #25 - 800e170: 09e1 lsrs r1, r4, #7 - 800e172: f7f2 fd19 bl 8000ba8 <__aeabi_uldivmod> - 800e176: 2204 movs r2, #4 - 800e178: ba00 rev r0, r0 - 800e17a: 9001 str r0, [sp, #4] - 800e17c: eb0d 0102 add.w r1, sp, r2 - 800e180: 2086 movs r0, #134 ; 0x86 - 800e182: f7ff fdff bl 800dd84 - 800e186: b003 add sp, #12 - 800e188: bd30 pop {r4, r5, pc} - 800e18a: bf00 nop - 800e18c: 20001b60 .word 0x20001b60 - 800e190: 01e84800 .word 0x01e84800 +0800e16c : + 800e16c: b537 push {r0, r1, r2, r4, r5, lr} + 800e16e: 4d0c ldr r5, [pc, #48] ; (800e1a0 ) + 800e170: 782b ldrb r3, [r5, #0] + 800e172: 4604 mov r4, r0 + 800e174: b91b cbnz r3, 800e17e + 800e176: f7ff ff4b bl 800e010 + 800e17a: 2301 movs r3, #1 + 800e17c: 702b strb r3, [r5, #0] + 800e17e: 2300 movs r3, #0 + 800e180: 4a08 ldr r2, [pc, #32] ; (800e1a4 ) + 800e182: 0660 lsls r0, r4, #25 + 800e184: 09e1 lsrs r1, r4, #7 + 800e186: f7f2 fd0f bl 8000ba8 <__aeabi_uldivmod> + 800e18a: 2204 movs r2, #4 + 800e18c: ba00 rev r0, r0 + 800e18e: 9001 str r0, [sp, #4] + 800e190: eb0d 0102 add.w r1, sp, r2 + 800e194: 2086 movs r0, #134 ; 0x86 + 800e196: f7ff fdff bl 800dd98 + 800e19a: b003 add sp, #12 + 800e19c: bd30 pop {r4, r5, pc} + 800e19e: bf00 nop + 800e1a0: 20001b60 .word 0x20001b60 + 800e1a4: 01e84800 .word 0x01e84800 -0800e194 : - 800e194: b507 push {r0, r1, r2, lr} - 800e196: 4b09 ldr r3, [pc, #36] ; (800e1bc ) - 800e198: f88d 0007 strb.w r0, [sp, #7] - 800e19c: 4601 mov r1, r0 - 800e19e: 7018 strb r0, [r3, #0] - 800e1a0: b918 cbnz r0, 800e1aa - 800e1a2: f240 60ac movw r0, #1708 ; 0x6ac - 800e1a6: f7ff fd29 bl 800dbfc - 800e1aa: 2201 movs r2, #1 - 800e1ac: f10d 0107 add.w r1, sp, #7 - 800e1b0: 208a movs r0, #138 ; 0x8a - 800e1b2: f7ff fde7 bl 800dd84 - 800e1b6: b003 add sp, #12 - 800e1b8: f85d fb04 ldr.w pc, [sp], #4 - 800e1bc: 20001b63 .word 0x20001b63 +0800e1a8 : + 800e1a8: b507 push {r0, r1, r2, lr} + 800e1aa: 4b09 ldr r3, [pc, #36] ; (800e1d0 ) + 800e1ac: f88d 0007 strb.w r0, [sp, #7] + 800e1b0: 4601 mov r1, r0 + 800e1b2: 7018 strb r0, [r3, #0] + 800e1b4: b918 cbnz r0, 800e1be + 800e1b6: f240 60ac movw r0, #1708 ; 0x6ac + 800e1ba: f7ff fd29 bl 800dc10 + 800e1be: 2201 movs r2, #1 + 800e1c0: f10d 0107 add.w r1, sp, #7 + 800e1c4: 208a movs r0, #138 ; 0x8a + 800e1c6: f7ff fde7 bl 800dd98 + 800e1ca: b003 add sp, #12 + 800e1cc: f85d fb04 ldr.w pc, [sp], #4 + 800e1d0: 20001b63 .word 0x20001b63 -0800e1c0 : - 800e1c0: 2801 cmp r0, #1 - 800e1c2: b573 push {r0, r1, r4, r5, r6, lr} - 800e1c4: 460c mov r4, r1 - 800e1c6: 4616 mov r6, r2 - 800e1c8: d137 bne.n 800e23a - 800e1ca: 2000 movs r0, #0 - 800e1cc: f7f4 fadc bl 8002788 - 800e1d0: 42a0 cmp r0, r4 - 800e1d2: bfb8 it lt - 800e1d4: b244 sxtblt r4, r0 - 800e1d6: 280e cmp r0, #14 - 800e1d8: 4605 mov r5, r0 - 800e1da: d11a bne.n 800e212 - 800e1dc: 2301 movs r3, #1 - 800e1de: 461a mov r2, r3 - 800e1e0: 2100 movs r1, #0 - 800e1e2: 2004 movs r0, #4 - 800e1e4: f7ff ff40 bl 800e068 - 800e1e8: f06f 0310 mvn.w r3, #16 - 800e1ec: 429c cmp r4, r3 - 800e1ee: bfb8 it lt - 800e1f0: 461c movlt r4, r3 - 800e1f2: 2118 movs r1, #24 - 800e1f4: f640 00e7 movw r0, #2279 ; 0x8e7 - 800e1f8: f7ff fd00 bl 800dbfc - 800e1fc: 2202 movs r2, #2 - 800e1fe: a901 add r1, sp, #4 - 800e200: 208e movs r0, #142 ; 0x8e - 800e202: f88d 4004 strb.w r4, [sp, #4] - 800e206: f88d 6005 strb.w r6, [sp, #5] - 800e20a: f7ff fdbb bl 800dd84 - 800e20e: b002 add sp, #8 - 800e210: bd70 pop {r4, r5, r6, pc} - 800e212: 2301 movs r3, #1 - 800e214: 280a cmp r0, #10 - 800e216: b2e4 uxtb r4, r4 - 800e218: 461a mov r2, r3 - 800e21a: f04f 0100 mov.w r1, #0 - 800e21e: d105 bne.n 800e22c - 800e220: 4618 mov r0, r3 - 800e222: f7ff ff21 bl 800e068 - 800e226: 3403 adds r4, #3 - 800e228: b264 sxtb r4, r4 - 800e22a: e7dd b.n 800e1e8 - 800e22c: 2007 movs r0, #7 - 800e22e: f1c5 050e rsb r5, r5, #14 - 800e232: f7ff ff19 bl 800e068 - 800e236: 442c add r4, r5 - 800e238: e7f6 b.n 800e228 - 800e23a: f640 00d8 movw r0, #2264 ; 0x8d8 - 800e23e: f7ff fced bl 800dc1c - 800e242: f040 011e orr.w r1, r0, #30 - 800e246: b2c9 uxtb r1, r1 - 800e248: f640 00d8 movw r0, #2264 ; 0x8d8 - 800e24c: f7ff fcd6 bl 800dbfc - 800e250: 2001 movs r0, #1 - 800e252: f7f4 fa99 bl 8002788 - 800e256: 42a0 cmp r0, r4 - 800e258: bfb8 it lt - 800e25a: b244 sxtblt r4, r0 - 800e25c: 2814 cmp r0, #20 - 800e25e: 4605 mov r5, r0 - 800e260: f04f 0301 mov.w r3, #1 - 800e264: f04f 0200 mov.w r2, #0 - 800e268: d10c bne.n 800e284 - 800e26a: 2105 movs r1, #5 - 800e26c: 2003 movs r0, #3 - 800e26e: f7ff fefb bl 800e068 - 800e272: 3402 adds r4, #2 - 800e274: b264 sxtb r4, r4 - 800e276: f06f 0308 mvn.w r3, #8 - 800e27a: 429c cmp r4, r3 - 800e27c: bfb8 it lt - 800e27e: 461c movlt r4, r3 - 800e280: 2138 movs r1, #56 ; 0x38 - 800e282: e7b7 b.n 800e1f4 - 800e284: 2811 cmp r0, #17 - 800e286: d105 bne.n 800e294 - 800e288: 2103 movs r1, #3 - 800e28a: 2002 movs r0, #2 - 800e28c: f7ff feec bl 800e068 - 800e290: 3405 adds r4, #5 - 800e292: e7ef b.n 800e274 - 800e294: 280e cmp r0, #14 - 800e296: d104 bne.n 800e2a2 - 800e298: 2102 movs r1, #2 - 800e29a: 4608 mov r0, r1 - 800e29c: f7ff fee4 bl 800e068 - 800e2a0: e7e9 b.n 800e276 - 800e2a2: f1c5 0516 rsb r5, r5, #22 - 800e2a6: 2107 movs r1, #7 - 800e2a8: 2004 movs r0, #4 - 800e2aa: 4425 add r5, r4 - 800e2ac: f7ff fedc bl 800e068 - 800e2b0: b26c sxtb r4, r5 - 800e2b2: e7e0 b.n 800e276 +0800e1d4 : + 800e1d4: 2801 cmp r0, #1 + 800e1d6: b573 push {r0, r1, r4, r5, r6, lr} + 800e1d8: 460c mov r4, r1 + 800e1da: 4616 mov r6, r2 + 800e1dc: d137 bne.n 800e24e + 800e1de: 2000 movs r0, #0 + 800e1e0: f7f4 fadc bl 800279c + 800e1e4: 42a0 cmp r0, r4 + 800e1e6: bfb8 it lt + 800e1e8: b244 sxtblt r4, r0 + 800e1ea: 280e cmp r0, #14 + 800e1ec: 4605 mov r5, r0 + 800e1ee: d11a bne.n 800e226 + 800e1f0: 2301 movs r3, #1 + 800e1f2: 461a mov r2, r3 + 800e1f4: 2100 movs r1, #0 + 800e1f6: 2004 movs r0, #4 + 800e1f8: f7ff ff40 bl 800e07c + 800e1fc: f06f 0310 mvn.w r3, #16 + 800e200: 429c cmp r4, r3 + 800e202: bfb8 it lt + 800e204: 461c movlt r4, r3 + 800e206: 2118 movs r1, #24 + 800e208: f640 00e7 movw r0, #2279 ; 0x8e7 + 800e20c: f7ff fd00 bl 800dc10 + 800e210: 2202 movs r2, #2 + 800e212: a901 add r1, sp, #4 + 800e214: 208e movs r0, #142 ; 0x8e + 800e216: f88d 4004 strb.w r4, [sp, #4] + 800e21a: f88d 6005 strb.w r6, [sp, #5] + 800e21e: f7ff fdbb bl 800dd98 + 800e222: b002 add sp, #8 + 800e224: bd70 pop {r4, r5, r6, pc} + 800e226: 2301 movs r3, #1 + 800e228: 280a cmp r0, #10 + 800e22a: b2e4 uxtb r4, r4 + 800e22c: 461a mov r2, r3 + 800e22e: f04f 0100 mov.w r1, #0 + 800e232: d105 bne.n 800e240 + 800e234: 4618 mov r0, r3 + 800e236: f7ff ff21 bl 800e07c + 800e23a: 3403 adds r4, #3 + 800e23c: b264 sxtb r4, r4 + 800e23e: e7dd b.n 800e1fc + 800e240: 2007 movs r0, #7 + 800e242: f1c5 050e rsb r5, r5, #14 + 800e246: f7ff ff19 bl 800e07c + 800e24a: 442c add r4, r5 + 800e24c: e7f6 b.n 800e23c + 800e24e: f640 00d8 movw r0, #2264 ; 0x8d8 + 800e252: f7ff fced bl 800dc30 + 800e256: f040 011e orr.w r1, r0, #30 + 800e25a: b2c9 uxtb r1, r1 + 800e25c: f640 00d8 movw r0, #2264 ; 0x8d8 + 800e260: f7ff fcd6 bl 800dc10 + 800e264: 2001 movs r0, #1 + 800e266: f7f4 fa99 bl 800279c + 800e26a: 42a0 cmp r0, r4 + 800e26c: bfb8 it lt + 800e26e: b244 sxtblt r4, r0 + 800e270: 2814 cmp r0, #20 + 800e272: 4605 mov r5, r0 + 800e274: f04f 0301 mov.w r3, #1 + 800e278: f04f 0200 mov.w r2, #0 + 800e27c: d10c bne.n 800e298 + 800e27e: 2105 movs r1, #5 + 800e280: 2003 movs r0, #3 + 800e282: f7ff fefb bl 800e07c + 800e286: 3402 adds r4, #2 + 800e288: b264 sxtb r4, r4 + 800e28a: f06f 0308 mvn.w r3, #8 + 800e28e: 429c cmp r4, r3 + 800e290: bfb8 it lt + 800e292: 461c movlt r4, r3 + 800e294: 2138 movs r1, #56 ; 0x38 + 800e296: e7b7 b.n 800e208 + 800e298: 2811 cmp r0, #17 + 800e29a: d105 bne.n 800e2a8 + 800e29c: 2103 movs r1, #3 + 800e29e: 2002 movs r0, #2 + 800e2a0: f7ff feec bl 800e07c + 800e2a4: 3405 adds r4, #5 + 800e2a6: e7ef b.n 800e288 + 800e2a8: 280e cmp r0, #14 + 800e2aa: d104 bne.n 800e2b6 + 800e2ac: 2102 movs r1, #2 + 800e2ae: 4608 mov r0, r1 + 800e2b0: f7ff fee4 bl 800e07c + 800e2b4: e7e9 b.n 800e28a + 800e2b6: f1c5 0516 rsb r5, r5, #22 + 800e2ba: 2107 movs r1, #7 + 800e2bc: 2004 movs r0, #4 + 800e2be: 4425 add r5, r4 + 800e2c0: f7ff fedc bl 800e07c + 800e2c4: b26c sxtb r4, r5 + 800e2c6: e7e0 b.n 800e28a -0800e2b4 : - 800e2b4: b513 push {r0, r1, r4, lr} - 800e2b6: 4a31 ldr r2, [pc, #196] ; (800e37c ) - 800e2b8: 4604 mov r4, r0 - 800e2ba: 6851 ldr r1, [r2, #4] - 800e2bc: 6810 ldr r0, [r2, #0] - 800e2be: 466b mov r3, sp - 800e2c0: c303 stmia r3!, {r0, r1} - 800e2c2: 4b2f ldr r3, [pc, #188] ; (800e380 ) - 800e2c4: 7820 ldrb r0, [r4, #0] - 800e2c6: 781b ldrb r3, [r3, #0] - 800e2c8: 4283 cmp r3, r0 - 800e2ca: d001 beq.n 800e2d0 - 800e2cc: f7ff ff62 bl 800e194 - 800e2d0: 7823 ldrb r3, [r4, #0] - 800e2d2: 2b03 cmp r3, #3 - 800e2d4: d827 bhi.n 800e326 - 800e2d6: e8df f003 tbb [pc, r3] - 800e2da: 3902 .short 0x3902 - 800e2dc: 3c28 .short 0x3c28 - 800e2de: 6862 ldr r2, [r4, #4] - 800e2e0: 4b28 ldr r3, [pc, #160] ; (800e384 ) - 800e2e2: fbb3 f3f2 udiv r3, r3, r2 - 800e2e6: 0c1a lsrs r2, r3, #16 - 800e2e8: 68a1 ldr r1, [r4, #8] - 800e2ea: f88d 2000 strb.w r2, [sp] - 800e2ee: f88d 3002 strb.w r3, [sp, #2] - 800e2f2: 0a1a lsrs r2, r3, #8 - 800e2f4: 7b23 ldrb r3, [r4, #12] - 800e2f6: f88d 3003 strb.w r3, [sp, #3] - 800e2fa: 7b63 ldrb r3, [r4, #13] - 800e2fc: f88d 2001 strb.w r2, [sp, #1] - 800e300: f88d 3004 strb.w r3, [sp, #4] - 800e304: 4a20 ldr r2, [pc, #128] ; (800e388 ) - 800e306: 2300 movs r3, #0 - 800e308: 0648 lsls r0, r1, #25 - 800e30a: 09c9 lsrs r1, r1, #7 - 800e30c: f7f2 fc4c bl 8000ba8 <__aeabi_uldivmod> - 800e310: 0c03 lsrs r3, r0, #16 - 800e312: ba40 rev16 r0, r0 - 800e314: f88d 3005 strb.w r3, [sp, #5] - 800e318: f8ad 0006 strh.w r0, [sp, #6] - 800e31c: 2208 movs r2, #8 - 800e31e: 4669 mov r1, sp - 800e320: 208b movs r0, #139 ; 0x8b - 800e322: f7ff fd2f bl 800dd84 - 800e326: b002 add sp, #8 - 800e328: bd10 pop {r4, pc} - 800e32a: 6922 ldr r2, [r4, #16] - 800e32c: 4b15 ldr r3, [pc, #84] ; (800e384 ) - 800e32e: fbb3 f3f2 udiv r3, r3, r2 - 800e332: 0c1a lsrs r2, r3, #16 - 800e334: f88d 2000 strb.w r2, [sp] - 800e338: f88d 3002 strb.w r3, [sp, #2] - 800e33c: 0a1a lsrs r2, r3, #8 - 800e33e: 7d23 ldrb r3, [r4, #20] - 800e340: f88d 2001 strb.w r2, [sp, #1] - 800e344: f88d 3003 strb.w r3, [sp, #3] - 800e348: 2204 movs r2, #4 - 800e34a: e7e8 b.n 800e31e - 800e34c: 69a3 ldr r3, [r4, #24] - 800e34e: 9300 str r3, [sp, #0] - 800e350: e7fa b.n 800e348 - 800e352: 6862 ldr r2, [r4, #4] - 800e354: 4b0b ldr r3, [pc, #44] ; (800e384 ) - 800e356: fbb3 f3f2 udiv r3, r3, r2 - 800e35a: 0c1a lsrs r2, r3, #16 - 800e35c: f88d 2000 strb.w r2, [sp] - 800e360: f88d 3002 strb.w r3, [sp, #2] - 800e364: 0a1a lsrs r2, r3, #8 - 800e366: 7b23 ldrb r3, [r4, #12] - 800e368: f88d 3003 strb.w r3, [sp, #3] - 800e36c: 7b63 ldrb r3, [r4, #13] - 800e36e: f88d 2001 strb.w r2, [sp, #1] - 800e372: f88d 3004 strb.w r3, [sp, #4] - 800e376: 2205 movs r2, #5 - 800e378: e7d1 b.n 800e31e - 800e37a: bf00 nop - 800e37c: 0800f4f8 .word 0x0800f4f8 - 800e380: 20001b63 .word 0x20001b63 - 800e384: 3d090000 .word 0x3d090000 - 800e388: 01e84800 .word 0x01e84800 +0800e2c8 : + 800e2c8: b513 push {r0, r1, r4, lr} + 800e2ca: 4a31 ldr r2, [pc, #196] ; (800e390 ) + 800e2cc: 4604 mov r4, r0 + 800e2ce: 6851 ldr r1, [r2, #4] + 800e2d0: 6810 ldr r0, [r2, #0] + 800e2d2: 466b mov r3, sp + 800e2d4: c303 stmia r3!, {r0, r1} + 800e2d6: 4b2f ldr r3, [pc, #188] ; (800e394 ) + 800e2d8: 7820 ldrb r0, [r4, #0] + 800e2da: 781b ldrb r3, [r3, #0] + 800e2dc: 4283 cmp r3, r0 + 800e2de: d001 beq.n 800e2e4 + 800e2e0: f7ff ff62 bl 800e1a8 + 800e2e4: 7823 ldrb r3, [r4, #0] + 800e2e6: 2b03 cmp r3, #3 + 800e2e8: d827 bhi.n 800e33a + 800e2ea: e8df f003 tbb [pc, r3] + 800e2ee: 3902 .short 0x3902 + 800e2f0: 3c28 .short 0x3c28 + 800e2f2: 6862 ldr r2, [r4, #4] + 800e2f4: 4b28 ldr r3, [pc, #160] ; (800e398 ) + 800e2f6: fbb3 f3f2 udiv r3, r3, r2 + 800e2fa: 0c1a lsrs r2, r3, #16 + 800e2fc: 68a1 ldr r1, [r4, #8] + 800e2fe: f88d 2000 strb.w r2, [sp] + 800e302: f88d 3002 strb.w r3, [sp, #2] + 800e306: 0a1a lsrs r2, r3, #8 + 800e308: 7b23 ldrb r3, [r4, #12] + 800e30a: f88d 3003 strb.w r3, [sp, #3] + 800e30e: 7b63 ldrb r3, [r4, #13] + 800e310: f88d 2001 strb.w r2, [sp, #1] + 800e314: f88d 3004 strb.w r3, [sp, #4] + 800e318: 4a20 ldr r2, [pc, #128] ; (800e39c ) + 800e31a: 2300 movs r3, #0 + 800e31c: 0648 lsls r0, r1, #25 + 800e31e: 09c9 lsrs r1, r1, #7 + 800e320: f7f2 fc42 bl 8000ba8 <__aeabi_uldivmod> + 800e324: 0c03 lsrs r3, r0, #16 + 800e326: ba40 rev16 r0, r0 + 800e328: f88d 3005 strb.w r3, [sp, #5] + 800e32c: f8ad 0006 strh.w r0, [sp, #6] + 800e330: 2208 movs r2, #8 + 800e332: 4669 mov r1, sp + 800e334: 208b movs r0, #139 ; 0x8b + 800e336: f7ff fd2f bl 800dd98 + 800e33a: b002 add sp, #8 + 800e33c: bd10 pop {r4, pc} + 800e33e: 6922 ldr r2, [r4, #16] + 800e340: 4b15 ldr r3, [pc, #84] ; (800e398 ) + 800e342: fbb3 f3f2 udiv r3, r3, r2 + 800e346: 0c1a lsrs r2, r3, #16 + 800e348: f88d 2000 strb.w r2, [sp] + 800e34c: f88d 3002 strb.w r3, [sp, #2] + 800e350: 0a1a lsrs r2, r3, #8 + 800e352: 7d23 ldrb r3, [r4, #20] + 800e354: f88d 2001 strb.w r2, [sp, #1] + 800e358: f88d 3003 strb.w r3, [sp, #3] + 800e35c: 2204 movs r2, #4 + 800e35e: e7e8 b.n 800e332 + 800e360: 69a3 ldr r3, [r4, #24] + 800e362: 9300 str r3, [sp, #0] + 800e364: e7fa b.n 800e35c + 800e366: 6862 ldr r2, [r4, #4] + 800e368: 4b0b ldr r3, [pc, #44] ; (800e398 ) + 800e36a: fbb3 f3f2 udiv r3, r3, r2 + 800e36e: 0c1a lsrs r2, r3, #16 + 800e370: f88d 2000 strb.w r2, [sp] + 800e374: f88d 3002 strb.w r3, [sp, #2] + 800e378: 0a1a lsrs r2, r3, #8 + 800e37a: 7b23 ldrb r3, [r4, #12] + 800e37c: f88d 3003 strb.w r3, [sp, #3] + 800e380: 7b63 ldrb r3, [r4, #13] + 800e382: f88d 2001 strb.w r2, [sp, #1] + 800e386: f88d 3004 strb.w r3, [sp, #4] + 800e38a: 2205 movs r2, #5 + 800e38c: e7d1 b.n 800e332 + 800e38e: bf00 nop + 800e390: 0800f510 .word 0x0800f510 + 800e394: 20001b63 .word 0x20001b63 + 800e398: 3d090000 .word 0x3d090000 + 800e39c: 01e84800 .word 0x01e84800 -0800e38c : - 800e38c: b51f push {r0, r1, r2, r3, r4, lr} - 800e38e: 4a2e ldr r2, [pc, #184] ; (800e448 ) - 800e390: 4604 mov r4, r0 - 800e392: 68d1 ldr r1, [r2, #12] - 800e394: 6890 ldr r0, [r2, #8] - 800e396: 7c12 ldrb r2, [r2, #16] - 800e398: ab01 add r3, sp, #4 - 800e39a: c303 stmia r3!, {r0, r1} - 800e39c: 701a strb r2, [r3, #0] - 800e39e: 4b2b ldr r3, [pc, #172] ; (800e44c ) - 800e3a0: 7820 ldrb r0, [r4, #0] - 800e3a2: 781b ldrb r3, [r3, #0] - 800e3a4: 4283 cmp r3, r0 - 800e3a6: d001 beq.n 800e3ac - 800e3a8: f7ff fef4 bl 800e194 - 800e3ac: 7823 ldrb r3, [r4, #0] - 800e3ae: 2b03 cmp r3, #3 - 800e3b0: d826 bhi.n 800e400 - 800e3b2: e8df f003 tbb [pc, r3] - 800e3b6: 3802 .short 0x3802 - 800e3b8: 0233 .short 0x0233 - 800e3ba: 7a63 ldrb r3, [r4, #9] - 800e3bc: 2bf1 cmp r3, #241 ; 0xf1 - 800e3be: d121 bne.n 800e404 - 800e3c0: f64f 70ff movw r0, #65535 ; 0xffff - 800e3c4: f7ff fc84 bl 800dcd0 - 800e3c8: f248 0005 movw r0, #32773 ; 0x8005 - 800e3cc: f7ff fc92 bl 800dcf4 - 800e3d0: 2302 movs r3, #2 - 800e3d2: 8862 ldrh r2, [r4, #2] - 800e3d4: 88a1 ldrh r1, [r4, #4] - 800e3d6: f8ad 1006 strh.w r1, [sp, #6] - 800e3da: ba52 rev16 r2, r2 - 800e3dc: 88e1 ldrh r1, [r4, #6] - 800e3de: f8ad 2004 strh.w r2, [sp, #4] - 800e3e2: f88d 300b strb.w r3, [sp, #11] - 800e3e6: 7a22 ldrb r2, [r4, #8] - 800e3e8: 7aa3 ldrb r3, [r4, #10] - 800e3ea: f88d 200a strb.w r2, [sp, #10] - 800e3ee: f8ad 1008 strh.w r1, [sp, #8] - 800e3f2: f88d 300c strb.w r3, [sp, #12] - 800e3f6: 2209 movs r2, #9 - 800e3f8: a901 add r1, sp, #4 - 800e3fa: 208c movs r0, #140 ; 0x8c - 800e3fc: f7ff fcc2 bl 800dd84 - 800e400: b004 add sp, #16 - 800e402: bd10 pop {r4, pc} - 800e404: 2bf2 cmp r3, #242 ; 0xf2 - 800e406: d1e4 bne.n 800e3d2 - 800e408: f641 500f movw r0, #7439 ; 0x1d0f - 800e40c: f7ff fc60 bl 800dcd0 - 800e410: f241 0021 movw r0, #4129 ; 0x1021 - 800e414: f7ff fc6e bl 800dcf4 - 800e418: 2306 movs r3, #6 - 800e41a: e7da b.n 800e3d2 - 800e41c: 7b23 ldrb r3, [r4, #12] - 800e41e: f88d 3004 strb.w r3, [sp, #4] - 800e422: 2201 movs r2, #1 - 800e424: e7e8 b.n 800e3f8 - 800e426: 89e3 ldrh r3, [r4, #14] - 800e428: 4a09 ldr r2, [pc, #36] ; (800e450 ) - 800e42a: ba5b rev16 r3, r3 - 800e42c: f8ad 3004 strh.w r3, [sp, #4] - 800e430: 7c23 ldrb r3, [r4, #16] - 800e432: 7013 strb r3, [r2, #0] - 800e434: f88d 3006 strb.w r3, [sp, #6] - 800e438: 7c63 ldrb r3, [r4, #17] - 800e43a: f88d 3007 strb.w r3, [sp, #7] - 800e43e: 8a63 ldrh r3, [r4, #18] - 800e440: f8ad 3008 strh.w r3, [sp, #8] - 800e444: 2206 movs r2, #6 - 800e446: e7d7 b.n 800e3f8 - 800e448: 0800f4f8 .word 0x0800f4f8 - 800e44c: 20001b63 .word 0x20001b63 - 800e450: 20001b61 .word 0x20001b61 +0800e3a0 : + 800e3a0: b51f push {r0, r1, r2, r3, r4, lr} + 800e3a2: 4a2e ldr r2, [pc, #184] ; (800e45c ) + 800e3a4: 4604 mov r4, r0 + 800e3a6: 68d1 ldr r1, [r2, #12] + 800e3a8: 6890 ldr r0, [r2, #8] + 800e3aa: 7c12 ldrb r2, [r2, #16] + 800e3ac: ab01 add r3, sp, #4 + 800e3ae: c303 stmia r3!, {r0, r1} + 800e3b0: 701a strb r2, [r3, #0] + 800e3b2: 4b2b ldr r3, [pc, #172] ; (800e460 ) + 800e3b4: 7820 ldrb r0, [r4, #0] + 800e3b6: 781b ldrb r3, [r3, #0] + 800e3b8: 4283 cmp r3, r0 + 800e3ba: d001 beq.n 800e3c0 + 800e3bc: f7ff fef4 bl 800e1a8 + 800e3c0: 7823 ldrb r3, [r4, #0] + 800e3c2: 2b03 cmp r3, #3 + 800e3c4: d826 bhi.n 800e414 + 800e3c6: e8df f003 tbb [pc, r3] + 800e3ca: 3802 .short 0x3802 + 800e3cc: 0233 .short 0x0233 + 800e3ce: 7a63 ldrb r3, [r4, #9] + 800e3d0: 2bf1 cmp r3, #241 ; 0xf1 + 800e3d2: d121 bne.n 800e418 + 800e3d4: f64f 70ff movw r0, #65535 ; 0xffff + 800e3d8: f7ff fc84 bl 800dce4 + 800e3dc: f248 0005 movw r0, #32773 ; 0x8005 + 800e3e0: f7ff fc92 bl 800dd08 + 800e3e4: 2302 movs r3, #2 + 800e3e6: 8862 ldrh r2, [r4, #2] + 800e3e8: 88a1 ldrh r1, [r4, #4] + 800e3ea: f8ad 1006 strh.w r1, [sp, #6] + 800e3ee: ba52 rev16 r2, r2 + 800e3f0: 88e1 ldrh r1, [r4, #6] + 800e3f2: f8ad 2004 strh.w r2, [sp, #4] + 800e3f6: f88d 300b strb.w r3, [sp, #11] + 800e3fa: 7a22 ldrb r2, [r4, #8] + 800e3fc: 7aa3 ldrb r3, [r4, #10] + 800e3fe: f88d 200a strb.w r2, [sp, #10] + 800e402: f8ad 1008 strh.w r1, [sp, #8] + 800e406: f88d 300c strb.w r3, [sp, #12] + 800e40a: 2209 movs r2, #9 + 800e40c: a901 add r1, sp, #4 + 800e40e: 208c movs r0, #140 ; 0x8c + 800e410: f7ff fcc2 bl 800dd98 + 800e414: b004 add sp, #16 + 800e416: bd10 pop {r4, pc} + 800e418: 2bf2 cmp r3, #242 ; 0xf2 + 800e41a: d1e4 bne.n 800e3e6 + 800e41c: f641 500f movw r0, #7439 ; 0x1d0f + 800e420: f7ff fc60 bl 800dce4 + 800e424: f241 0021 movw r0, #4129 ; 0x1021 + 800e428: f7ff fc6e bl 800dd08 + 800e42c: 2306 movs r3, #6 + 800e42e: e7da b.n 800e3e6 + 800e430: 7b23 ldrb r3, [r4, #12] + 800e432: f88d 3004 strb.w r3, [sp, #4] + 800e436: 2201 movs r2, #1 + 800e438: e7e8 b.n 800e40c + 800e43a: 89e3 ldrh r3, [r4, #14] + 800e43c: 4a09 ldr r2, [pc, #36] ; (800e464 ) + 800e43e: ba5b rev16 r3, r3 + 800e440: f8ad 3004 strh.w r3, [sp, #4] + 800e444: 7c23 ldrb r3, [r4, #16] + 800e446: 7013 strb r3, [r2, #0] + 800e448: f88d 3006 strb.w r3, [sp, #6] + 800e44c: 7c63 ldrb r3, [r4, #17] + 800e44e: f88d 3007 strb.w r3, [sp, #7] + 800e452: 8a63 ldrh r3, [r4, #18] + 800e454: f8ad 3008 strh.w r3, [sp, #8] + 800e458: 2206 movs r2, #6 + 800e45a: e7d7 b.n 800e40c + 800e45c: 0800f510 .word 0x0800f510 + 800e460: 20001b63 .word 0x20001b63 + 800e464: 20001b61 .word 0x20001b61 -0800e454 : - 800e454: b507 push {r0, r1, r2, lr} - 800e456: 2202 movs r2, #2 - 800e458: f88d 0004 strb.w r0, [sp, #4] - 800e45c: f88d 1005 strb.w r1, [sp, #5] - 800e460: 208f movs r0, #143 ; 0x8f - 800e462: a901 add r1, sp, #4 - 800e464: f7ff fc8e bl 800dd84 - 800e468: b003 add sp, #12 - 800e46a: f85d fb04 ldr.w pc, [sp], #4 +0800e468 : + 800e468: b507 push {r0, r1, r2, lr} + 800e46a: 2202 movs r2, #2 + 800e46c: f88d 0004 strb.w r0, [sp, #4] + 800e470: f88d 1005 strb.w r1, [sp, #5] + 800e474: 208f movs r0, #143 ; 0x8f + 800e476: a901 add r1, sp, #4 + 800e478: f7ff fc8e bl 800dd98 + 800e47c: b003 add sp, #12 + 800e47e: f85d fb04 ldr.w pc, [sp], #4 ... -0800e470 : - 800e470: b510 push {r4, lr} - 800e472: 4613 mov r3, r2 - 800e474: f3ef 8410 mrs r4, PRIMASK - 800e478: b672 cpsid i - 800e47a: 460a mov r2, r1 - 800e47c: 4601 mov r1, r0 - 800e47e: 4803 ldr r0, [pc, #12] ; (800e48c ) - 800e480: f7f6 fce6 bl 8004e50 - 800e484: f384 8810 msr PRIMASK, r4 - 800e488: bd10 pop {r4, pc} - 800e48a: bf00 nop - 800e48c: 200001c4 .word 0x200001c4 +0800e484 : + 800e484: b510 push {r4, lr} + 800e486: 4613 mov r3, r2 + 800e488: f3ef 8410 mrs r4, PRIMASK + 800e48c: b672 cpsid i + 800e48e: 460a mov r2, r1 + 800e490: 4601 mov r1, r0 + 800e492: 4803 ldr r0, [pc, #12] ; (800e4a0 ) + 800e494: f7f6 fce6 bl 8004e64 + 800e498: f384 8810 msr PRIMASK, r4 + 800e49c: bd10 pop {r4, pc} + 800e49e: bf00 nop + 800e4a0: 200001c4 .word 0x200001c4 -0800e490 : - 800e490: b507 push {r0, r1, r2, lr} - 800e492: 2201 movs r2, #1 - 800e494: a901 add r1, sp, #4 - 800e496: 2015 movs r0, #21 - 800e498: f7ff ffea bl 800e470 - 800e49c: f89d 0004 ldrb.w r0, [sp, #4] - 800e4a0: 4240 negs r0, r0 - 800e4a2: 1040 asrs r0, r0, #1 - 800e4a4: b003 add sp, #12 - 800e4a6: f85d fb04 ldr.w pc, [sp], #4 +0800e4a4 : + 800e4a4: b507 push {r0, r1, r2, lr} + 800e4a6: 2201 movs r2, #1 + 800e4a8: a901 add r1, sp, #4 + 800e4aa: 2015 movs r0, #21 + 800e4ac: f7ff ffea bl 800e484 + 800e4b0: f89d 0004 ldrb.w r0, [sp, #4] + 800e4b4: 4240 negs r0, r0 + 800e4b6: 1040 asrs r0, r0, #1 + 800e4b8: b003 add sp, #12 + 800e4ba: f85d fb04 ldr.w pc, [sp], #4 ... -0800e4ac : - 800e4ac: b537 push {r0, r1, r2, r4, r5, lr} - 800e4ae: 4605 mov r5, r0 - 800e4b0: 460c mov r4, r1 - 800e4b2: 2202 movs r2, #2 - 800e4b4: a901 add r1, sp, #4 - 800e4b6: 2013 movs r0, #19 - 800e4b8: f7ff ffda bl 800e470 - 800e4bc: 4b0a ldr r3, [pc, #40] ; (800e4e8 ) - 800e4be: 781b ldrb r3, [r3, #0] - 800e4c0: 2b01 cmp r3, #1 - 800e4c2: d10d bne.n 800e4e0 - 800e4c4: 4b09 ldr r3, [pc, #36] ; (800e4ec ) - 800e4c6: 781b ldrb r3, [r3, #0] - 800e4c8: 2b01 cmp r3, #1 - 800e4ca: d109 bne.n 800e4e0 - 800e4cc: f240 7002 movw r0, #1794 ; 0x702 - 800e4d0: f7ff fba4 bl 800dc1c - 800e4d4: f89d 3005 ldrb.w r3, [sp, #5] - 800e4d8: 7028 strb r0, [r5, #0] - 800e4da: 7023 strb r3, [r4, #0] - 800e4dc: b003 add sp, #12 - 800e4de: bd30 pop {r4, r5, pc} - 800e4e0: f89d 0004 ldrb.w r0, [sp, #4] - 800e4e4: e7f6 b.n 800e4d4 - 800e4e6: bf00 nop - 800e4e8: 20001b63 .word 0x20001b63 - 800e4ec: 20001b61 .word 0x20001b61 +0800e4c0 : + 800e4c0: b537 push {r0, r1, r2, r4, r5, lr} + 800e4c2: 4605 mov r5, r0 + 800e4c4: 460c mov r4, r1 + 800e4c6: 2202 movs r2, #2 + 800e4c8: a901 add r1, sp, #4 + 800e4ca: 2013 movs r0, #19 + 800e4cc: f7ff ffda bl 800e484 + 800e4d0: 4b0a ldr r3, [pc, #40] ; (800e4fc ) + 800e4d2: 781b ldrb r3, [r3, #0] + 800e4d4: 2b01 cmp r3, #1 + 800e4d6: d10d bne.n 800e4f4 + 800e4d8: 4b09 ldr r3, [pc, #36] ; (800e500 ) + 800e4da: 781b ldrb r3, [r3, #0] + 800e4dc: 2b01 cmp r3, #1 + 800e4de: d109 bne.n 800e4f4 + 800e4e0: f240 7002 movw r0, #1794 ; 0x702 + 800e4e4: f7ff fba4 bl 800dc30 + 800e4e8: f89d 3005 ldrb.w r3, [sp, #5] + 800e4ec: 7028 strb r0, [r5, #0] + 800e4ee: 7023 strb r3, [r4, #0] + 800e4f0: b003 add sp, #12 + 800e4f2: bd30 pop {r4, r5, pc} + 800e4f4: f89d 0004 ldrb.w r0, [sp, #4] + 800e4f8: e7f6 b.n 800e4e8 + 800e4fa: bf00 nop + 800e4fc: 20001b63 .word 0x20001b63 + 800e500: 20001b61 .word 0x20001b61 -0800e4f0 : - 800e4f0: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 800e4f2: 460d mov r5, r1 - 800e4f4: 4606 mov r6, r0 - 800e4f6: 2400 movs r4, #0 - 800e4f8: f10d 0107 add.w r1, sp, #7 - 800e4fc: 4628 mov r0, r5 - 800e4fe: 4617 mov r7, r2 - 800e500: f88d 4007 strb.w r4, [sp, #7] - 800e504: f7ff ffd2 bl 800e4ac - 800e508: 782a ldrb r2, [r5, #0] - 800e50a: 42ba cmp r2, r7 - 800e50c: d807 bhi.n 800e51e - 800e50e: f89d 0007 ldrb.w r0, [sp, #7] - 800e512: 4631 mov r1, r6 - 800e514: f7ff fc26 bl 800dd64 - 800e518: 4620 mov r0, r4 - 800e51a: b003 add sp, #12 - 800e51c: bdf0 pop {r4, r5, r6, r7, pc} - 800e51e: 2001 movs r0, #1 - 800e520: e7fb b.n 800e51a +0800e504 : + 800e504: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 800e506: 460d mov r5, r1 + 800e508: 4606 mov r6, r0 + 800e50a: 2400 movs r4, #0 + 800e50c: f10d 0107 add.w r1, sp, #7 + 800e510: 4628 mov r0, r5 + 800e512: 4617 mov r7, r2 + 800e514: f88d 4007 strb.w r4, [sp, #7] + 800e518: f7ff ffd2 bl 800e4c0 + 800e51c: 782a ldrb r2, [r5, #0] + 800e51e: 42ba cmp r2, r7 + 800e520: d807 bhi.n 800e532 + 800e522: f89d 0007 ldrb.w r0, [sp, #7] + 800e526: 4631 mov r1, r6 + 800e528: f7ff fc26 bl 800dd78 + 800e52c: 4620 mov r0, r4 + 800e52e: b003 add sp, #12 + 800e530: bdf0 pop {r4, r5, r6, r7, pc} + 800e532: 2001 movs r0, #1 + 800e534: e7fb b.n 800e52e ... -0800e524 : - 800e524: b513 push {r0, r1, r4, lr} - 800e526: 2203 movs r2, #3 - 800e528: 4604 mov r4, r0 - 800e52a: a901 add r1, sp, #4 - 800e52c: 2014 movs r0, #20 - 800e52e: f7ff ff9f bl 800e470 - 800e532: 4b18 ldr r3, [pc, #96] ; (800e594 ) - 800e534: 781a ldrb r2, [r3, #0] - 800e536: 7022 strb r2, [r4, #0] - 800e538: b14a cbz r2, 800e54e - 800e53a: 2a01 cmp r2, #1 - 800e53c: d017 beq.n 800e56e - 800e53e: 2214 movs r2, #20 - 800e540: 2100 movs r1, #0 - 800e542: 4620 mov r0, r4 - 800e544: f000 fad2 bl 800eaec - 800e548: 230f movs r3, #15 - 800e54a: 7023 strb r3, [r4, #0] - 800e54c: e00d b.n 800e56a - 800e54e: f89d 3004 ldrb.w r3, [sp, #4] - 800e552: 7123 strb r3, [r4, #4] - 800e554: f89d 3005 ldrb.w r3, [sp, #5] - 800e558: 60a2 str r2, [r4, #8] - 800e55a: 425b negs r3, r3 - 800e55c: 105b asrs r3, r3, #1 - 800e55e: 71a3 strb r3, [r4, #6] - 800e560: f89d 3006 ldrb.w r3, [sp, #6] - 800e564: 425b negs r3, r3 - 800e566: 105b asrs r3, r3, #1 - 800e568: 7163 strb r3, [r4, #5] - 800e56a: b002 add sp, #8 - 800e56c: bd10 pop {r4, pc} - 800e56e: f89d 3004 ldrb.w r3, [sp, #4] - 800e572: 425b negs r3, r3 - 800e574: 105b asrs r3, r3, #1 - 800e576: 7323 strb r3, [r4, #12] - 800e578: f99d 3005 ldrsb.w r3, [sp, #5] - 800e57c: 3302 adds r3, #2 - 800e57e: 109b asrs r3, r3, #2 - 800e580: 7363 strb r3, [r4, #13] - 800e582: f89d 3006 ldrb.w r3, [sp, #6] +0800e538 : + 800e538: b513 push {r0, r1, r4, lr} + 800e53a: 2203 movs r2, #3 + 800e53c: 4604 mov r4, r0 + 800e53e: a901 add r1, sp, #4 + 800e540: 2014 movs r0, #20 + 800e542: f7ff ff9f bl 800e484 + 800e546: 4b18 ldr r3, [pc, #96] ; (800e5a8 ) + 800e548: 781a ldrb r2, [r3, #0] + 800e54a: 7022 strb r2, [r4, #0] + 800e54c: b14a cbz r2, 800e562 + 800e54e: 2a01 cmp r2, #1 + 800e550: d017 beq.n 800e582 + 800e552: 2214 movs r2, #20 + 800e554: 2100 movs r1, #0 + 800e556: 4620 mov r0, r4 + 800e558: f000 fad2 bl 800eb00 + 800e55c: 230f movs r3, #15 + 800e55e: 7023 strb r3, [r4, #0] + 800e560: e00d b.n 800e57e + 800e562: f89d 3004 ldrb.w r3, [sp, #4] + 800e566: 7123 strb r3, [r4, #4] + 800e568: f89d 3005 ldrb.w r3, [sp, #5] + 800e56c: 60a2 str r2, [r4, #8] + 800e56e: 425b negs r3, r3 + 800e570: 105b asrs r3, r3, #1 + 800e572: 71a3 strb r3, [r4, #6] + 800e574: f89d 3006 ldrb.w r3, [sp, #6] + 800e578: 425b negs r3, r3 + 800e57a: 105b asrs r3, r3, #1 + 800e57c: 7163 strb r3, [r4, #5] + 800e57e: b002 add sp, #8 + 800e580: bd10 pop {r4, pc} + 800e582: f89d 3004 ldrb.w r3, [sp, #4] 800e586: 425b negs r3, r3 800e588: 105b asrs r3, r3, #1 - 800e58a: 73a3 strb r3, [r4, #14] - 800e58c: 4b02 ldr r3, [pc, #8] ; (800e598 ) - 800e58e: 681b ldr r3, [r3, #0] - 800e590: 6123 str r3, [r4, #16] - 800e592: e7ea b.n 800e56a - 800e594: 20001b63 .word 0x20001b63 - 800e598: 20001b5c .word 0x20001b5c + 800e58a: 7323 strb r3, [r4, #12] + 800e58c: f99d 3005 ldrsb.w r3, [sp, #5] + 800e590: 3302 adds r3, #2 + 800e592: 109b asrs r3, r3, #2 + 800e594: 7363 strb r3, [r4, #13] + 800e596: f89d 3006 ldrb.w r3, [sp, #6] + 800e59a: 425b negs r3, r3 + 800e59c: 105b asrs r3, r3, #1 + 800e59e: 73a3 strb r3, [r4, #14] + 800e5a0: 4b02 ldr r3, [pc, #8] ; (800e5ac ) + 800e5a2: 681b ldr r3, [r3, #0] + 800e5a4: 6123 str r3, [r4, #16] + 800e5a6: e7ea b.n 800e57e + 800e5a8: 20001b63 .word 0x20001b63 + 800e5ac: 20001b5c .word 0x20001b5c -0800e59c : - 800e59c: 2901 cmp r1, #1 - 800e59e: b508 push {r3, lr} - 800e5a0: 4603 mov r3, r0 - 800e5a2: 4608 mov r0, r1 - 800e5a4: d10e bne.n 800e5c4 - 800e5a6: 2b01 cmp r3, #1 - 800e5a8: d107 bne.n 800e5ba - 800e5aa: 2004 movs r0, #4 - 800e5ac: f7ff fb46 bl 800dc3c - 800e5b0: 2002 movs r0, #2 - 800e5b2: e8bd 4008 ldmia.w sp!, {r3, lr} - 800e5b6: f7f4 b8bf b.w 8002738 - 800e5ba: 2b02 cmp r3, #2 - 800e5bc: bf14 ite ne - 800e5be: 4608 movne r0, r1 - 800e5c0: 2003 moveq r0, #3 - 800e5c2: e7f6 b.n 800e5b2 - 800e5c4: 2001 movs r0, #1 - 800e5c6: e7f4 b.n 800e5b2 +0800e5b0 : + 800e5b0: 2901 cmp r1, #1 + 800e5b2: b508 push {r3, lr} + 800e5b4: 4603 mov r3, r0 + 800e5b6: 4608 mov r0, r1 + 800e5b8: d10e bne.n 800e5d8 + 800e5ba: 2b01 cmp r3, #1 + 800e5bc: d107 bne.n 800e5ce + 800e5be: 2004 movs r0, #4 + 800e5c0: f7ff fb46 bl 800dc50 + 800e5c4: 2002 movs r0, #2 + 800e5c6: e8bd 4008 ldmia.w sp!, {r3, lr} + 800e5ca: f7f4 b8bf b.w 800274c + 800e5ce: 2b02 cmp r3, #2 + 800e5d0: bf14 ite ne + 800e5d2: 4608 movne r0, r1 + 800e5d4: 2003 moveq r0, #3 + 800e5d6: e7f6 b.n 800e5c6 + 800e5d8: 2001 movs r0, #1 + 800e5da: e7f4 b.n 800e5c6 -0800e5c8 : - 800e5c8: b538 push {r3, r4, r5, lr} - 800e5ca: 4604 mov r4, r0 - 800e5cc: f7f4 f8d6 bl 800277c - 800e5d0: b150 cbz r0, 800e5e8 - 800e5d2: 2802 cmp r0, #2 - 800e5d4: bf14 ite ne - 800e5d6: 2501 movne r5, #1 - 800e5d8: 2502 moveq r5, #2 - 800e5da: 4628 mov r0, r5 - 800e5dc: 2202 movs r2, #2 - 800e5de: 4621 mov r1, r4 - 800e5e0: f7ff fdee bl 800e1c0 - 800e5e4: 4628 mov r0, r5 - 800e5e6: bd38 pop {r3, r4, r5, pc} - 800e5e8: 2c0f cmp r4, #15 - 800e5ea: bfcc ite gt - 800e5ec: 2502 movgt r5, #2 - 800e5ee: 2501 movle r5, #1 - 800e5f0: e7f3 b.n 800e5da +0800e5dc : + 800e5dc: b538 push {r3, r4, r5, lr} + 800e5de: 4604 mov r4, r0 + 800e5e0: f7f4 f8d6 bl 8002790 + 800e5e4: b150 cbz r0, 800e5fc + 800e5e6: 2802 cmp r0, #2 + 800e5e8: bf14 ite ne + 800e5ea: 2501 movne r5, #1 + 800e5ec: 2502 moveq r5, #2 + 800e5ee: 4628 mov r0, r5 + 800e5f0: 2202 movs r2, #2 + 800e5f2: 4621 mov r1, r4 + 800e5f4: f7ff fdee bl 800e1d4 + 800e5f8: 4628 mov r0, r5 + 800e5fa: bd38 pop {r3, r4, r5, pc} + 800e5fc: 2c0f cmp r4, #15 + 800e5fe: bfcc ite gt + 800e600: 2502 movgt r5, #2 + 800e602: 2501 movle r5, #1 + 800e604: e7f3 b.n 800e5ee -0800e5f2 : - 800e5f2: 200a movs r0, #10 - 800e5f4: 4770 bx lr +0800e606 : + 800e606: 200a movs r0, #10 + 800e608: 4770 bx lr ... -0800e5f8 : - 800e5f8: 4b01 ldr r3, [pc, #4] ; (800e600 ) - 800e5fa: 2001 movs r0, #1 - 800e5fc: 681b ldr r3, [r3, #0] - 800e5fe: 4718 bx r3 - 800e600: 20001b64 .word 0x20001b64 +0800e60c : + 800e60c: 4b01 ldr r3, [pc, #4] ; (800e614 ) + 800e60e: 2001 movs r0, #1 + 800e610: 681b ldr r3, [r3, #0] + 800e612: 4718 bx r3 + 800e614: 20001b64 .word 0x20001b64 -0800e604 : - 800e604: 4b01 ldr r3, [pc, #4] ; (800e60c ) - 800e606: 2002 movs r0, #2 - 800e608: 681b ldr r3, [r3, #0] - 800e60a: 4718 bx r3 - 800e60c: 20001b64 .word 0x20001b64 +0800e618 : + 800e618: 4b01 ldr r3, [pc, #4] ; (800e620 ) + 800e61a: 2002 movs r0, #2 + 800e61c: 681b ldr r3, [r3, #0] + 800e61e: 4718 bx r3 + 800e620: 20001b64 .word 0x20001b64 -0800e610 : - 800e610: 4b01 ldr r3, [pc, #4] ; (800e618 ) - 800e612: 2040 movs r0, #64 ; 0x40 - 800e614: 681b ldr r3, [r3, #0] - 800e616: 4718 bx r3 - 800e618: 20001b64 .word 0x20001b64 - -0800e61c : - 800e61c: b111 cbz r1, 800e624 - 800e61e: 2901 cmp r1, #1 - 800e620: d004 beq.n 800e62c - 800e622: 4770 bx lr - 800e624: 4b04 ldr r3, [pc, #16] ; (800e638 ) - 800e626: 681b ldr r3, [r3, #0] - 800e628: 2080 movs r0, #128 ; 0x80 +0800e624 : + 800e624: 4b01 ldr r3, [pc, #4] ; (800e62c ) + 800e626: 2040 movs r0, #64 ; 0x40 + 800e628: 681b ldr r3, [r3, #0] 800e62a: 4718 bx r3 - 800e62c: 4b02 ldr r3, [pc, #8] ; (800e638 ) - 800e62e: f44f 7080 mov.w r0, #256 ; 0x100 - 800e632: 681b ldr r3, [r3, #0] - 800e634: e7f9 b.n 800e62a - 800e636: bf00 nop - 800e638: 20001b64 .word 0x20001b64 + 800e62c: 20001b64 .word 0x20001b64 -0800e63c : - 800e63c: 4b02 ldr r3, [pc, #8] ; (800e648 ) - 800e63e: f44f 7000 mov.w r0, #512 ; 0x200 - 800e642: 681b ldr r3, [r3, #0] - 800e644: 4718 bx r3 - 800e646: bf00 nop - 800e648: 20001b64 .word 0x20001b64 +0800e630 : + 800e630: b111 cbz r1, 800e638 + 800e632: 2901 cmp r1, #1 + 800e634: d004 beq.n 800e640 + 800e636: 4770 bx lr + 800e638: 4b04 ldr r3, [pc, #16] ; (800e64c ) + 800e63a: 681b ldr r3, [r3, #0] + 800e63c: 2080 movs r0, #128 ; 0x80 + 800e63e: 4718 bx r3 + 800e640: 4b02 ldr r3, [pc, #8] ; (800e64c ) + 800e642: f44f 7080 mov.w r0, #256 ; 0x100 + 800e646: 681b ldr r3, [r3, #0] + 800e648: e7f9 b.n 800e63e + 800e64a: bf00 nop + 800e64c: 20001b64 .word 0x20001b64 -0800e64c : - 800e64c: 4b01 ldr r3, [pc, #4] ; (800e654 ) - 800e64e: 2020 movs r0, #32 - 800e650: 681b ldr r3, [r3, #0] - 800e652: 4718 bx r3 - 800e654: 20001b64 .word 0x20001b64 +0800e650 : + 800e650: 4b02 ldr r3, [pc, #8] ; (800e65c ) + 800e652: f44f 7000 mov.w r0, #512 ; 0x200 + 800e656: 681b ldr r3, [r3, #0] + 800e658: 4718 bx r3 + 800e65a: bf00 nop + 800e65c: 20001b64 .word 0x20001b64 -0800e658 : - 800e658: 4b01 ldr r3, [pc, #4] ; (800e660 ) - 800e65a: 2004 movs r0, #4 - 800e65c: 681b ldr r3, [r3, #0] - 800e65e: 4718 bx r3 - 800e660: 20001b64 .word 0x20001b64 +0800e660 : + 800e660: 4b01 ldr r3, [pc, #4] ; (800e668 ) + 800e662: 2020 movs r0, #32 + 800e664: 681b ldr r3, [r3, #0] + 800e666: 4718 bx r3 + 800e668: 20001b64 .word 0x20001b64 -0800e664 : - 800e664: 4b01 ldr r3, [pc, #4] ; (800e66c ) - 800e666: 2008 movs r0, #8 - 800e668: 681b ldr r3, [r3, #0] - 800e66a: 4718 bx r3 - 800e66c: 20001b64 .word 0x20001b64 +0800e66c : + 800e66c: 4b01 ldr r3, [pc, #4] ; (800e674 ) + 800e66e: 2004 movs r0, #4 + 800e670: 681b ldr r3, [r3, #0] + 800e672: 4718 bx r3 + 800e674: 20001b64 .word 0x20001b64 -0800e670 : - 800e670: 4b01 ldr r3, [pc, #4] ; (800e678 ) - 800e672: 2010 movs r0, #16 - 800e674: 681b ldr r3, [r3, #0] - 800e676: 4718 bx r3 - 800e678: 20001b64 .word 0x20001b64 +0800e678 : + 800e678: 4b01 ldr r3, [pc, #4] ; (800e680 ) + 800e67a: 2008 movs r0, #8 + 800e67c: 681b ldr r3, [r3, #0] + 800e67e: 4718 bx r3 + 800e680: 20001b64 .word 0x20001b64 -0800e67c : - 800e67c: 4b02 ldr r3, [pc, #8] ; (800e688 ) - 800e67e: f44f 4080 mov.w r0, #16384 ; 0x4000 - 800e682: 681b ldr r3, [r3, #0] - 800e684: 4718 bx r3 - 800e686: bf00 nop - 800e688: 20001b64 .word 0x20001b64 +0800e684 : + 800e684: 4b01 ldr r3, [pc, #4] ; (800e68c ) + 800e686: 2010 movs r0, #16 + 800e688: 681b ldr r3, [r3, #0] + 800e68a: 4718 bx r3 + 800e68c: 20001b64 .word 0x20001b64 -0800e68c : - 800e68c: b168 cbz r0, 800e6aa - 800e68e: 4a08 ldr r2, [pc, #32] ; (800e6b0 ) - 800e690: 2300 movs r3, #0 - 800e692: f852 1033 ldr.w r1, [r2, r3, lsl #3] - 800e696: 4281 cmp r1, r0 - 800e698: d903 bls.n 800e6a2 - 800e69a: eb02 02c3 add.w r2, r2, r3, lsl #3 - 800e69e: 7910 ldrb r0, [r2, #4] - 800e6a0: 4770 bx lr - 800e6a2: 3301 adds r3, #1 - 800e6a4: 2b16 cmp r3, #22 - 800e6a6: d1f4 bne.n 800e692 - 800e6a8: e7fe b.n 800e6a8 - 800e6aa: 201f movs r0, #31 - 800e6ac: 4770 bx lr - 800e6ae: bf00 nop - 800e6b0: 08010260 .word 0x08010260 +0800e690 : + 800e690: 4b02 ldr r3, [pc, #8] ; (800e69c ) + 800e692: f44f 4080 mov.w r0, #16384 ; 0x4000 + 800e696: 681b ldr r3, [r3, #0] + 800e698: 4718 bx r3 + 800e69a: bf00 nop + 800e69c: 20001b64 .word 0x20001b64 -0800e6b4 : - 800e6b4: b573 push {r0, r1, r4, r5, r6, lr} - 800e6b6: 4b1d ldr r3, [pc, #116] ; (800e72c ) - 800e6b8: 9301 str r3, [sp, #4] - 800e6ba: 4604 mov r4, r0 - 800e6bc: f640 0007 movw r0, #2055 ; 0x807 - 800e6c0: 460d mov r5, r1 - 800e6c2: f7ff faab bl 800dc1c - 800e6c6: f3c0 03c1 ubfx r3, r0, #3, #2 - 800e6ca: 3308 adds r3, #8 - 800e6cc: 446b add r3, sp - 800e6ce: f813 2c04 ldrb.w r2, [r3, #-4] - 800e6d2: f000 0307 and.w r3, r0, #7 - 800e6d6: 3301 adds r3, #1 - 800e6d8: fa02 f303 lsl.w r3, r2, r3 - 800e6dc: 4a14 ldr r2, [pc, #80] ; (800e730 ) - 800e6de: fbb2 f2f3 udiv r2, r2, r3 - 800e6e2: fbb2 f0f4 udiv r0, r2, r4 - 800e6e6: 2807 cmp r0, #7 - 800e6e8: d81e bhi.n 800e728 - 800e6ea: 0040 lsls r0, r0, #1 - 800e6ec: 2803 cmp r0, #3 - 800e6ee: bf8c ite hi - 800e6f0: 2302 movhi r3, #2 - 800e6f2: 2304 movls r3, #4 - 800e6f4: f44f 60d6 mov.w r0, #1712 ; 0x6b0 - 800e6f8: fb02 f403 mul.w r4, r2, r3 - 800e6fc: f7ff fa8e bl 800dc1c - 800e700: 0206 lsls r6, r0, #8 - 800e702: f240 60b1 movw r0, #1713 ; 0x6b1 - 800e706: f7ff fa89 bl 800dc1c - 800e70a: f406 6670 and.w r6, r6, #3840 ; 0xf00 - 800e70e: 4330 orrs r0, r6 - 800e710: 0503 lsls r3, r0, #20 - 800e712: bf44 itt mi - 800e714: ea6f 5000 mvnmi.w r0, r0, lsl #20 - 800e718: ea6f 5010 mvnmi.w r0, r0, lsr #20 - 800e71c: 0963 lsrs r3, r4, #5 - 800e71e: 4343 muls r3, r0 - 800e720: 11db asrs r3, r3, #7 - 800e722: 602b str r3, [r5, #0] - 800e724: b002 add sp, #8 - 800e726: bd70 pop {r4, r5, r6, pc} - 800e728: 2301 movs r3, #1 - 800e72a: e7e3 b.n 800e6f4 - 800e72c: 0c0a0804 .word 0x0c0a0804 - 800e730: 01e84800 .word 0x01e84800 +0800e6a0 : + 800e6a0: b168 cbz r0, 800e6be + 800e6a2: 4a08 ldr r2, [pc, #32] ; (800e6c4 ) + 800e6a4: 2300 movs r3, #0 + 800e6a6: f852 1033 ldr.w r1, [r2, r3, lsl #3] + 800e6aa: 4281 cmp r1, r0 + 800e6ac: d903 bls.n 800e6b6 + 800e6ae: eb02 02c3 add.w r2, r2, r3, lsl #3 + 800e6b2: 7910 ldrb r0, [r2, #4] + 800e6b4: 4770 bx lr + 800e6b6: 3301 adds r3, #1 + 800e6b8: 2b16 cmp r3, #22 + 800e6ba: d1f4 bne.n 800e6a6 + 800e6bc: e7fe b.n 800e6bc + 800e6be: 201f movs r0, #31 + 800e6c0: 4770 bx lr + 800e6c2: bf00 nop + 800e6c4: 08010278 .word 0x08010278 -0800e734 : - 800e734: f04f 30ff mov.w r0, #4294967295 - 800e738: 4770 bx lr +0800e6c8 : + 800e6c8: b573 push {r0, r1, r4, r5, r6, lr} + 800e6ca: 4b1d ldr r3, [pc, #116] ; (800e740 ) + 800e6cc: 9301 str r3, [sp, #4] + 800e6ce: 4604 mov r4, r0 + 800e6d0: f640 0007 movw r0, #2055 ; 0x807 + 800e6d4: 460d mov r5, r1 + 800e6d6: f7ff faab bl 800dc30 + 800e6da: f3c0 03c1 ubfx r3, r0, #3, #2 + 800e6de: 3308 adds r3, #8 + 800e6e0: 446b add r3, sp + 800e6e2: f813 2c04 ldrb.w r2, [r3, #-4] + 800e6e6: f000 0307 and.w r3, r0, #7 + 800e6ea: 3301 adds r3, #1 + 800e6ec: fa02 f303 lsl.w r3, r2, r3 + 800e6f0: 4a14 ldr r2, [pc, #80] ; (800e744 ) + 800e6f2: fbb2 f2f3 udiv r2, r2, r3 + 800e6f6: fbb2 f0f4 udiv r0, r2, r4 + 800e6fa: 2807 cmp r0, #7 + 800e6fc: d81e bhi.n 800e73c + 800e6fe: 0040 lsls r0, r0, #1 + 800e700: 2803 cmp r0, #3 + 800e702: bf8c ite hi + 800e704: 2302 movhi r3, #2 + 800e706: 2304 movls r3, #4 + 800e708: f44f 60d6 mov.w r0, #1712 ; 0x6b0 + 800e70c: fb02 f403 mul.w r4, r2, r3 + 800e710: f7ff fa8e bl 800dc30 + 800e714: 0206 lsls r6, r0, #8 + 800e716: f240 60b1 movw r0, #1713 ; 0x6b1 + 800e71a: f7ff fa89 bl 800dc30 + 800e71e: f406 6670 and.w r6, r6, #3840 ; 0xf00 + 800e722: 4330 orrs r0, r6 + 800e724: 0503 lsls r3, r0, #20 + 800e726: bf44 itt mi + 800e728: ea6f 5000 mvnmi.w r0, r0, lsl #20 + 800e72c: ea6f 5010 mvnmi.w r0, r0, lsr #20 + 800e730: 0963 lsrs r3, r4, #5 + 800e732: 4343 muls r3, r0 + 800e734: 11db asrs r3, r3, #7 + 800e736: 602b str r3, [r5, #0] + 800e738: b002 add sp, #8 + 800e73a: bd70 pop {r4, r5, r6, pc} + 800e73c: 2301 movs r3, #1 + 800e73e: e7e3 b.n 800e708 + 800e740: 0c0a0804 .word 0x0c0a0804 + 800e744: 01e84800 .word 0x01e84800 -0800e73a : - 800e73a: f04f 30ff mov.w r0, #4294967295 - 800e73e: 4770 bx lr +0800e748 : + 800e748: f04f 30ff mov.w r0, #4294967295 + 800e74c: 4770 bx lr -0800e740 : - 800e740: f04f 30ff mov.w r0, #4294967295 - 800e744: 4770 bx lr +0800e74e : + 800e74e: f04f 30ff mov.w r0, #4294967295 + 800e752: 4770 bx lr -0800e746 : - 800e746: 4770 bx lr +0800e754 : + 800e754: f04f 30ff mov.w r0, #4294967295 + 800e758: 4770 bx lr -0800e748 : - 800e748: 2000 movs r0, #0 - 800e74a: 4770 bx lr +0800e75a : + 800e75a: 4770 bx lr -0800e74c : - 800e74c: 2000 movs r0, #0 - 800e74e: 4770 bx lr - -0800e750 : - 800e750: 4770 bx lr - -0800e752 : - 800e752: f04f 30ff mov.w r0, #4294967295 - 800e756: 4770 bx lr - -0800e758 : - 800e758: f04f 30ff mov.w r0, #4294967295 - 800e75c: 4770 bx lr - -0800e75e : +0800e75c : + 800e75c: 2000 movs r0, #0 800e75e: 4770 bx lr -0800e760 : - 800e760: 4770 bx lr - -0800e762 : +0800e760 : + 800e760: 2000 movs r0, #0 800e762: 4770 bx lr -0800e764 : - 800e764: b570 push {r4, r5, r6, lr} - 800e766: f3ef 8610 mrs r6, PRIMASK - 800e76a: b672 cpsid i - 800e76c: 4b14 ldr r3, [pc, #80] ; (800e7c0 ) - 800e76e: 8a5c ldrh r4, [r3, #18] - 800e770: 8a1a ldrh r2, [r3, #16] - 800e772: 4294 cmp r4, r2 - 800e774: d113 bne.n 800e79e - 800e776: f5c4 6280 rsb r2, r4, #1024 ; 0x400 - 800e77a: b292 uxth r2, r2 - 800e77c: 4290 cmp r0, r2 - 800e77e: d306 bcc.n 800e78e - 800e780: 4284 cmp r4, r0 - 800e782: d918 bls.n 800e7b6 - 800e784: 2201 movs r2, #1 - 800e786: 709a strb r2, [r3, #2] - 800e788: 2200 movs r2, #0 - 800e78a: 801c strh r4, [r3, #0] - 800e78c: 825a strh r2, [r3, #18] - 800e78e: 8a5a ldrh r2, [r3, #18] - 800e790: 800a strh r2, [r1, #0] - 800e792: 4402 add r2, r0 - 800e794: f3c2 0209 ubfx r2, r2, #0, #10 - 800e798: 825a strh r2, [r3, #18] - 800e79a: 2000 movs r0, #0 - 800e79c: e00d b.n 800e7ba - 800e79e: d906 bls.n 800e7ae - 800e7a0: f5c4 6580 rsb r5, r4, #1024 ; 0x400 - 800e7a4: b2ad uxth r5, r5 - 800e7a6: 4285 cmp r5, r0 - 800e7a8: d8f1 bhi.n 800e78e - 800e7aa: 4282 cmp r2, r0 - 800e7ac: e7e9 b.n 800e782 - 800e7ae: 1b12 subs r2, r2, r4 - 800e7b0: b292 uxth r2, r2 - 800e7b2: 4282 cmp r2, r0 - 800e7b4: d8eb bhi.n 800e78e - 800e7b6: f04f 30ff mov.w r0, #4294967295 - 800e7ba: f386 8810 msr PRIMASK, r6 - 800e7be: bd70 pop {r4, r5, r6, pc} - 800e7c0: 20001f68 .word 0x20001f68 +0800e764 : + 800e764: 4770 bx lr -0800e7c4 : - 800e7c4: f3ef 8110 mrs r1, PRIMASK - 800e7c8: b672 cpsid i - 800e7ca: 4a03 ldr r2, [pc, #12] ; (800e7d8 ) - 800e7cc: 8ad3 ldrh r3, [r2, #22] - 800e7ce: 3301 adds r3, #1 - 800e7d0: 82d3 strh r3, [r2, #22] - 800e7d2: f381 8810 msr PRIMASK, r1 - 800e7d6: 4770 bx lr - 800e7d8: 20001f68 .word 0x20001f68 +0800e766 : + 800e766: f04f 30ff mov.w r0, #4294967295 + 800e76a: 4770 bx lr -0800e7dc : - 800e7dc: f3ef 8110 mrs r1, PRIMASK - 800e7e0: b672 cpsid i - 800e7e2: 4a03 ldr r2, [pc, #12] ; (800e7f0 ) - 800e7e4: 8ad3 ldrh r3, [r2, #22] - 800e7e6: 3b01 subs r3, #1 - 800e7e8: 82d3 strh r3, [r2, #22] - 800e7ea: f381 8810 msr PRIMASK, r1 - 800e7ee: 4770 bx lr - 800e7f0: 20001f68 .word 0x20001f68 +0800e76c : + 800e76c: f04f 30ff mov.w r0, #4294967295 + 800e770: 4770 bx lr -0800e7f4 : - 800e7f4: b510 push {r4, lr} - 800e7f6: 4808 ldr r0, [pc, #32] ; (800e818 ) - 800e7f8: 2218 movs r2, #24 - 800e7fa: 2100 movs r1, #0 - 800e7fc: f000 f976 bl 800eaec - 800e800: 4806 ldr r0, [pc, #24] ; (800e81c ) - 800e802: f44f 6280 mov.w r2, #1024 ; 0x400 - 800e806: 2100 movs r1, #0 - 800e808: f000 f970 bl 800eaec - 800e80c: 4b04 ldr r3, [pc, #16] ; (800e820 ) - 800e80e: 4805 ldr r0, [pc, #20] ; (800e824 ) - 800e810: 681b ldr r3, [r3, #0] - 800e812: e8bd 4010 ldmia.w sp!, {r4, lr} - 800e816: 4718 bx r3 - 800e818: 20001f68 .word 0x20001f68 - 800e81c: 20001b68 .word 0x20001b68 - 800e820: 0800f570 .word 0x0800f570 - 800e824: 0800e995 .word 0x0800e995 +0800e772 : + 800e772: 4770 bx lr -0800e828 : - 800e828: 4b01 ldr r3, [pc, #4] ; (800e830 ) - 800e82a: 6058 str r0, [r3, #4] - 800e82c: 4770 bx lr - 800e82e: bf00 nop - 800e830: 20001f68 .word 0x20001f68 +0800e774 : + 800e774: 4770 bx lr -0800e834 : - 800e834: 4b01 ldr r3, [pc, #4] ; (800e83c ) - 800e836: 7218 strb r0, [r3, #8] - 800e838: 4770 bx lr - 800e83a: bf00 nop - 800e83c: 20001f68 .word 0x20001f68 +0800e776 : + 800e776: 4770 bx lr -0800e840 : - 800e840: b573 push {r0, r1, r4, r5, r6, lr} - 800e842: f3ef 8510 mrs r5, PRIMASK - 800e846: b672 cpsid i - 800e848: 4c1c ldr r4, [pc, #112] ; (800e8bc ) - 800e84a: 8ae0 ldrh r0, [r4, #22] - 800e84c: 2800 cmp r0, #0 - 800e84e: d12f bne.n 800e8b0 - 800e850: f7ff ffb8 bl 800e7c4 - 800e854: 8a21 ldrh r1, [r4, #16] - 800e856: 8a62 ldrh r2, [r4, #18] - 800e858: 4291 cmp r1, r2 - 800e85a: d027 beq.n 800e8ac - 800e85c: 78a3 ldrb r3, [r4, #2] - 800e85e: 2b01 cmp r3, #1 - 800e860: d112 bne.n 800e888 - 800e862: 8823 ldrh r3, [r4, #0] - 800e864: 8020 strh r0, [r4, #0] - 800e866: 1a5b subs r3, r3, r1 - 800e868: b29b uxth r3, r3 - 800e86a: 2102 movs r1, #2 - 800e86c: 82a3 strh r3, [r4, #20] - 800e86e: 70a1 strb r1, [r4, #2] - 800e870: b963 cbnz r3, 800e88c - 800e872: 70a3 strb r3, [r4, #2] - 800e874: 8223 strh r3, [r4, #16] - 800e876: 8a23 ldrh r3, [r4, #16] - 800e878: 429a cmp r2, r3 - 800e87a: bf8b itete hi - 800e87c: 1ad2 subhi r2, r2, r3 - 800e87e: f5c3 6380 rsbls r3, r3, #1024 ; 0x400 - 800e882: 82a2 strhhi r2, [r4, #20] - 800e884: 82a3 strhls r3, [r4, #20] - 800e886: e001 b.n 800e88c - 800e888: 2b00 cmp r3, #0 - 800e88a: d0f4 beq.n 800e876 - 800e88c: 8a23 ldrh r3, [r4, #16] - 800e88e: 4e0c ldr r6, [pc, #48] ; (800e8c0 ) - 800e890: 441e add r6, r3 - 800e892: f385 8810 msr PRIMASK, r5 - 800e896: f7f3 f809 bl 80018ac - 800e89a: 4b0a ldr r3, [pc, #40] ; (800e8c4 ) - 800e89c: 8aa1 ldrh r1, [r4, #20] - 800e89e: 68db ldr r3, [r3, #12] - 800e8a0: 9301 str r3, [sp, #4] - 800e8a2: 4630 mov r0, r6 - 800e8a4: b002 add sp, #8 - 800e8a6: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 800e8aa: 4718 bx r3 - 800e8ac: f7ff ff96 bl 800e7dc - 800e8b0: f385 8810 msr PRIMASK, r5 - 800e8b4: 2000 movs r0, #0 - 800e8b6: b002 add sp, #8 - 800e8b8: bd70 pop {r4, r5, r6, pc} - 800e8ba: bf00 nop - 800e8bc: 20001f68 .word 0x20001f68 - 800e8c0: 20001b68 .word 0x20001b68 - 800e8c4: 0800f570 .word 0x0800f570 +0800e778 : + 800e778: b570 push {r4, r5, r6, lr} + 800e77a: f3ef 8610 mrs r6, PRIMASK + 800e77e: b672 cpsid i + 800e780: 4b14 ldr r3, [pc, #80] ; (800e7d4 ) + 800e782: 8a5c ldrh r4, [r3, #18] + 800e784: 8a1a ldrh r2, [r3, #16] + 800e786: 4294 cmp r4, r2 + 800e788: d113 bne.n 800e7b2 + 800e78a: f5c4 6280 rsb r2, r4, #1024 ; 0x400 + 800e78e: b292 uxth r2, r2 + 800e790: 4290 cmp r0, r2 + 800e792: d306 bcc.n 800e7a2 + 800e794: 4284 cmp r4, r0 + 800e796: d918 bls.n 800e7ca + 800e798: 2201 movs r2, #1 + 800e79a: 709a strb r2, [r3, #2] + 800e79c: 2200 movs r2, #0 + 800e79e: 801c strh r4, [r3, #0] + 800e7a0: 825a strh r2, [r3, #18] + 800e7a2: 8a5a ldrh r2, [r3, #18] + 800e7a4: 800a strh r2, [r1, #0] + 800e7a6: 4402 add r2, r0 + 800e7a8: f3c2 0209 ubfx r2, r2, #0, #10 + 800e7ac: 825a strh r2, [r3, #18] + 800e7ae: 2000 movs r0, #0 + 800e7b0: e00d b.n 800e7ce + 800e7b2: d906 bls.n 800e7c2 + 800e7b4: f5c4 6580 rsb r5, r4, #1024 ; 0x400 + 800e7b8: b2ad uxth r5, r5 + 800e7ba: 4285 cmp r5, r0 + 800e7bc: d8f1 bhi.n 800e7a2 + 800e7be: 4282 cmp r2, r0 + 800e7c0: e7e9 b.n 800e796 + 800e7c2: 1b12 subs r2, r2, r4 + 800e7c4: b292 uxth r2, r2 + 800e7c6: 4282 cmp r2, r0 + 800e7c8: d8eb bhi.n 800e7a2 + 800e7ca: f04f 30ff mov.w r0, #4294967295 + 800e7ce: f386 8810 msr PRIMASK, r6 + 800e7d2: bd70 pop {r4, r5, r6, pc} + 800e7d4: 20001f68 .word 0x20001f68 -0800e8c8 : - 800e8c8: b408 push {r3} - 800e8ca: b5f0 push {r4, r5, r6, r7, lr} - 800e8cc: b086 sub sp, #24 - 800e8ce: 2300 movs r3, #0 - 800e8d0: f8ad 3000 strh.w r3, [sp] - 800e8d4: 4b2c ldr r3, [pc, #176] ; (800e988 ) - 800e8d6: 9c0b ldr r4, [sp, #44] ; 0x2c - 800e8d8: 7a1d ldrb r5, [r3, #8] - 800e8da: 4285 cmp r5, r0 - 800e8dc: d34d bcc.n 800e97a - 800e8de: 68d8 ldr r0, [r3, #12] - 800e8e0: 4381 bics r1, r0 - 800e8e2: d14d bne.n 800e980 - 800e8e4: 685b ldr r3, [r3, #4] - 800e8e6: b11b cbz r3, 800e8f0 - 800e8e8: b112 cbz r2, 800e8f0 - 800e8ea: 4669 mov r1, sp - 800e8ec: a802 add r0, sp, #8 - 800e8ee: 4798 blx r3 - 800e8f0: ab0c add r3, sp, #48 ; 0x30 - 800e8f2: 4622 mov r2, r4 - 800e8f4: f44f 7100 mov.w r1, #512 ; 0x200 - 800e8f8: 4824 ldr r0, [pc, #144] ; (800e98c ) - 800e8fa: 9301 str r3, [sp, #4] - 800e8fc: f000 fbf6 bl 800f0ec - 800e900: f7ff ff60 bl 800e7c4 - 800e904: f8bd 3000 ldrh.w r3, [sp] - 800e908: 4418 add r0, r3 - 800e90a: f10d 0102 add.w r1, sp, #2 - 800e90e: b280 uxth r0, r0 - 800e910: f7ff ff28 bl 800e764 - 800e914: 3001 adds r0, #1 - 800e916: d02b beq.n 800e970 - 800e918: 2200 movs r2, #0 - 800e91a: f8bd 3000 ldrh.w r3, [sp] - 800e91e: f8bd 7002 ldrh.w r7, [sp, #2] - 800e922: 481b ldr r0, [pc, #108] ; (800e990 ) - 800e924: f10d 0c08 add.w ip, sp, #8 - 800e928: 4616 mov r6, r2 - 800e92a: b291 uxth r1, r2 - 800e92c: fa17 f582 uxtah r5, r7, r2 - 800e930: 428b cmp r3, r1 - 800e932: b2ad uxth r5, r5 - 800e934: d816 bhi.n 800e964 - 800e936: 443b add r3, r7 - 800e938: b29b uxth r3, r3 - 800e93a: b10e cbz r6, 800e940 - 800e93c: f8ad 3002 strh.w r3, [sp, #2] - 800e940: f8bd 5002 ldrh.w r5, [sp, #2] - 800e944: 9b01 ldr r3, [sp, #4] - 800e946: 4622 mov r2, r4 - 800e948: f44f 7100 mov.w r1, #512 ; 0x200 - 800e94c: 4428 add r0, r5 - 800e94e: f000 fbcd bl 800f0ec - 800e952: f7ff ff43 bl 800e7dc - 800e956: f7ff ff73 bl 800e840 - 800e95a: b006 add sp, #24 - 800e95c: e8bd 40f0 ldmia.w sp!, {r4, r5, r6, r7, lr} - 800e960: b001 add sp, #4 - 800e962: 4770 bx lr - 800e964: f81c 1b01 ldrb.w r1, [ip], #1 - 800e968: 5541 strb r1, [r0, r5] - 800e96a: 3201 adds r2, #1 - 800e96c: 2601 movs r6, #1 - 800e96e: e7dc b.n 800e92a - 800e970: f7ff ff34 bl 800e7dc - 800e974: f06f 0002 mvn.w r0, #2 - 800e978: e7ef b.n 800e95a - 800e97a: f06f 0004 mvn.w r0, #4 - 800e97e: e7ec b.n 800e95a - 800e980: f06f 0005 mvn.w r0, #5 - 800e984: e7e9 b.n 800e95a - 800e986: bf00 nop - 800e988: 20001f68 .word 0x20001f68 - 800e98c: 20001f80 .word 0x20001f80 - 800e990: 20001b68 .word 0x20001b68 +0800e7d8 : + 800e7d8: f3ef 8110 mrs r1, PRIMASK + 800e7dc: b672 cpsid i + 800e7de: 4a03 ldr r2, [pc, #12] ; (800e7ec ) + 800e7e0: 8ad3 ldrh r3, [r2, #22] + 800e7e2: 3301 adds r3, #1 + 800e7e4: 82d3 strh r3, [r2, #22] + 800e7e6: f381 8810 msr PRIMASK, r1 + 800e7ea: 4770 bx lr + 800e7ec: 20001f68 .word 0x20001f68 -0800e994 : - 800e994: b513 push {r0, r1, r4, lr} - 800e996: f3ef 8410 mrs r4, PRIMASK - 800e99a: b672 cpsid i - 800e99c: 4b20 ldr r3, [pc, #128] ; (800ea20 ) - 800e99e: 789a ldrb r2, [r3, #2] - 800e9a0: 8a58 ldrh r0, [r3, #18] - 800e9a2: 2a02 cmp r2, #2 - 800e9a4: bf1d ittte ne - 800e9a6: 8a1a ldrhne r2, [r3, #16] - 800e9a8: 8a99 ldrhne r1, [r3, #20] - 800e9aa: 1852 addne r2, r2, r1 - 800e9ac: 2200 moveq r2, #0 - 800e9ae: bf14 ite ne - 800e9b0: f3c2 0209 ubfxne r2, r2, #0, #10 - 800e9b4: 709a strbeq r2, [r3, #2] - 800e9b6: 4290 cmp r0, r2 - 800e9b8: 821a strh r2, [r3, #16] - 800e9ba: d028 beq.n 800ea0e - 800e9bc: 8ad9 ldrh r1, [r3, #22] - 800e9be: 2901 cmp r1, #1 - 800e9c0: d125 bne.n 800ea0e - 800e9c2: 7899 ldrb r1, [r3, #2] - 800e9c4: 2901 cmp r1, #1 - 800e9c6: d113 bne.n 800e9f0 - 800e9c8: 8819 ldrh r1, [r3, #0] - 800e9ca: 1a8a subs r2, r1, r2 - 800e9cc: 2102 movs r1, #2 - 800e9ce: b292 uxth r2, r2 - 800e9d0: 7099 strb r1, [r3, #2] - 800e9d2: 2100 movs r1, #0 - 800e9d4: 829a strh r2, [r3, #20] - 800e9d6: 8019 strh r1, [r3, #0] - 800e9d8: b962 cbnz r2, 800e9f4 - 800e9da: 709a strb r2, [r3, #2] - 800e9dc: 821a strh r2, [r3, #16] - 800e9de: 8a1a ldrh r2, [r3, #16] - 800e9e0: 4290 cmp r0, r2 - 800e9e2: bf8b itete hi - 800e9e4: 1a80 subhi r0, r0, r2 - 800e9e6: f5c2 6280 rsbls r2, r2, #1024 ; 0x400 - 800e9ea: 8298 strhhi r0, [r3, #20] - 800e9ec: 829a strhls r2, [r3, #20] - 800e9ee: e001 b.n 800e9f4 - 800e9f0: 2900 cmp r1, #0 - 800e9f2: d0f4 beq.n 800e9de - 800e9f4: 8a1a ldrh r2, [r3, #16] - 800e9f6: 480b ldr r0, [pc, #44] ; (800ea24 ) - 800e9f8: 4410 add r0, r2 - 800e9fa: f384 8810 msr PRIMASK, r4 - 800e9fe: 4a0a ldr r2, [pc, #40] ; (800ea28 ) - 800ea00: 8a99 ldrh r1, [r3, #20] - 800ea02: 68d3 ldr r3, [r2, #12] - 800ea04: 9301 str r3, [sp, #4] - 800ea06: b002 add sp, #8 - 800ea08: e8bd 4010 ldmia.w sp!, {r4, lr} - 800ea0c: 4718 bx r3 +0800e7f0 : + 800e7f0: f3ef 8110 mrs r1, PRIMASK + 800e7f4: b672 cpsid i + 800e7f6: 4a03 ldr r2, [pc, #12] ; (800e804 ) + 800e7f8: 8ad3 ldrh r3, [r2, #22] + 800e7fa: 3b01 subs r3, #1 + 800e7fc: 82d3 strh r3, [r2, #22] + 800e7fe: f381 8810 msr PRIMASK, r1 + 800e802: 4770 bx lr + 800e804: 20001f68 .word 0x20001f68 + +0800e808 : + 800e808: b510 push {r4, lr} + 800e80a: 4808 ldr r0, [pc, #32] ; (800e82c ) + 800e80c: 2218 movs r2, #24 + 800e80e: 2100 movs r1, #0 + 800e810: f000 f976 bl 800eb00 + 800e814: 4806 ldr r0, [pc, #24] ; (800e830 ) + 800e816: f44f 6280 mov.w r2, #1024 ; 0x400 + 800e81a: 2100 movs r1, #0 + 800e81c: f000 f970 bl 800eb00 + 800e820: 4b04 ldr r3, [pc, #16] ; (800e834 ) + 800e822: 4805 ldr r0, [pc, #20] ; (800e838 ) + 800e824: 681b ldr r3, [r3, #0] + 800e826: e8bd 4010 ldmia.w sp!, {r4, lr} + 800e82a: 4718 bx r3 + 800e82c: 20001f68 .word 0x20001f68 + 800e830: 20001b68 .word 0x20001b68 + 800e834: 0800f588 .word 0x0800f588 + 800e838: 0800e9a9 .word 0x0800e9a9 + +0800e83c : + 800e83c: 4b01 ldr r3, [pc, #4] ; (800e844 ) + 800e83e: 6058 str r0, [r3, #4] + 800e840: 4770 bx lr + 800e842: bf00 nop + 800e844: 20001f68 .word 0x20001f68 + +0800e848 : + 800e848: 4b01 ldr r3, [pc, #4] ; (800e850 ) + 800e84a: 7218 strb r0, [r3, #8] + 800e84c: 4770 bx lr + 800e84e: bf00 nop + 800e850: 20001f68 .word 0x20001f68 + +0800e854 : + 800e854: b573 push {r0, r1, r4, r5, r6, lr} + 800e856: f3ef 8510 mrs r5, PRIMASK + 800e85a: b672 cpsid i + 800e85c: 4c1c ldr r4, [pc, #112] ; (800e8d0 ) + 800e85e: 8ae0 ldrh r0, [r4, #22] + 800e860: 2800 cmp r0, #0 + 800e862: d12f bne.n 800e8c4 + 800e864: f7ff ffb8 bl 800e7d8 + 800e868: 8a21 ldrh r1, [r4, #16] + 800e86a: 8a62 ldrh r2, [r4, #18] + 800e86c: 4291 cmp r1, r2 + 800e86e: d027 beq.n 800e8c0 + 800e870: 78a3 ldrb r3, [r4, #2] + 800e872: 2b01 cmp r3, #1 + 800e874: d112 bne.n 800e89c + 800e876: 8823 ldrh r3, [r4, #0] + 800e878: 8020 strh r0, [r4, #0] + 800e87a: 1a5b subs r3, r3, r1 + 800e87c: b29b uxth r3, r3 + 800e87e: 2102 movs r1, #2 + 800e880: 82a3 strh r3, [r4, #20] + 800e882: 70a1 strb r1, [r4, #2] + 800e884: b963 cbnz r3, 800e8a0 + 800e886: 70a3 strb r3, [r4, #2] + 800e888: 8223 strh r3, [r4, #16] + 800e88a: 8a23 ldrh r3, [r4, #16] + 800e88c: 429a cmp r2, r3 + 800e88e: bf8b itete hi + 800e890: 1ad2 subhi r2, r2, r3 + 800e892: f5c3 6380 rsbls r3, r3, #1024 ; 0x400 + 800e896: 82a2 strhhi r2, [r4, #20] + 800e898: 82a3 strhls r3, [r4, #20] + 800e89a: e001 b.n 800e8a0 + 800e89c: 2b00 cmp r3, #0 + 800e89e: d0f4 beq.n 800e88a + 800e8a0: 8a23 ldrh r3, [r4, #16] + 800e8a2: 4e0c ldr r6, [pc, #48] ; (800e8d4 ) + 800e8a4: 441e add r6, r3 + 800e8a6: f385 8810 msr PRIMASK, r5 + 800e8aa: f7f2 ffff bl 80018ac + 800e8ae: 4b0a ldr r3, [pc, #40] ; (800e8d8 ) + 800e8b0: 8aa1 ldrh r1, [r4, #20] + 800e8b2: 68db ldr r3, [r3, #12] + 800e8b4: 9301 str r3, [sp, #4] + 800e8b6: 4630 mov r0, r6 + 800e8b8: b002 add sp, #8 + 800e8ba: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 800e8be: 4718 bx r3 + 800e8c0: f7ff ff96 bl 800e7f0 + 800e8c4: f385 8810 msr PRIMASK, r5 + 800e8c8: 2000 movs r0, #0 + 800e8ca: b002 add sp, #8 + 800e8cc: bd70 pop {r4, r5, r6, pc} + 800e8ce: bf00 nop + 800e8d0: 20001f68 .word 0x20001f68 + 800e8d4: 20001b68 .word 0x20001b68 + 800e8d8: 0800f588 .word 0x0800f588 + +0800e8dc : + 800e8dc: b408 push {r3} + 800e8de: b5f0 push {r4, r5, r6, r7, lr} + 800e8e0: b086 sub sp, #24 + 800e8e2: 2300 movs r3, #0 + 800e8e4: f8ad 3000 strh.w r3, [sp] + 800e8e8: 4b2c ldr r3, [pc, #176] ; (800e99c ) + 800e8ea: 9c0b ldr r4, [sp, #44] ; 0x2c + 800e8ec: 7a1d ldrb r5, [r3, #8] + 800e8ee: 4285 cmp r5, r0 + 800e8f0: d34d bcc.n 800e98e + 800e8f2: 68d8 ldr r0, [r3, #12] + 800e8f4: 4381 bics r1, r0 + 800e8f6: d14d bne.n 800e994 + 800e8f8: 685b ldr r3, [r3, #4] + 800e8fa: b11b cbz r3, 800e904 + 800e8fc: b112 cbz r2, 800e904 + 800e8fe: 4669 mov r1, sp + 800e900: a802 add r0, sp, #8 + 800e902: 4798 blx r3 + 800e904: ab0c add r3, sp, #48 ; 0x30 + 800e906: 4622 mov r2, r4 + 800e908: f44f 7100 mov.w r1, #512 ; 0x200 + 800e90c: 4824 ldr r0, [pc, #144] ; (800e9a0 ) + 800e90e: 9301 str r3, [sp, #4] + 800e910: f000 fbf6 bl 800f100 + 800e914: f7ff ff60 bl 800e7d8 + 800e918: f8bd 3000 ldrh.w r3, [sp] + 800e91c: 4418 add r0, r3 + 800e91e: f10d 0102 add.w r1, sp, #2 + 800e922: b280 uxth r0, r0 + 800e924: f7ff ff28 bl 800e778 + 800e928: 3001 adds r0, #1 + 800e92a: d02b beq.n 800e984 + 800e92c: 2200 movs r2, #0 + 800e92e: f8bd 3000 ldrh.w r3, [sp] + 800e932: f8bd 7002 ldrh.w r7, [sp, #2] + 800e936: 481b ldr r0, [pc, #108] ; (800e9a4 ) + 800e938: f10d 0c08 add.w ip, sp, #8 + 800e93c: 4616 mov r6, r2 + 800e93e: b291 uxth r1, r2 + 800e940: fa17 f582 uxtah r5, r7, r2 + 800e944: 428b cmp r3, r1 + 800e946: b2ad uxth r5, r5 + 800e948: d816 bhi.n 800e978 + 800e94a: 443b add r3, r7 + 800e94c: b29b uxth r3, r3 + 800e94e: b10e cbz r6, 800e954 + 800e950: f8ad 3002 strh.w r3, [sp, #2] + 800e954: f8bd 5002 ldrh.w r5, [sp, #2] + 800e958: 9b01 ldr r3, [sp, #4] + 800e95a: 4622 mov r2, r4 + 800e95c: f44f 7100 mov.w r1, #512 ; 0x200 + 800e960: 4428 add r0, r5 + 800e962: f000 fbcd bl 800f100 + 800e966: f7ff ff43 bl 800e7f0 + 800e96a: f7ff ff73 bl 800e854 + 800e96e: b006 add sp, #24 + 800e970: e8bd 40f0 ldmia.w sp!, {r4, r5, r6, r7, lr} + 800e974: b001 add sp, #4 + 800e976: 4770 bx lr + 800e978: f81c 1b01 ldrb.w r1, [ip], #1 + 800e97c: 5541 strb r1, [r0, r5] + 800e97e: 3201 adds r2, #1 + 800e980: 2601 movs r6, #1 + 800e982: e7dc b.n 800e93e + 800e984: f7ff ff34 bl 800e7f0 + 800e988: f06f 0002 mvn.w r0, #2 + 800e98c: e7ef b.n 800e96e + 800e98e: f06f 0004 mvn.w r0, #4 + 800e992: e7ec b.n 800e96e + 800e994: f06f 0005 mvn.w r0, #5 + 800e998: e7e9 b.n 800e96e + 800e99a: bf00 nop + 800e99c: 20001f68 .word 0x20001f68 + 800e9a0: 20001f80 .word 0x20001f80 + 800e9a4: 20001b68 .word 0x20001b68 + +0800e9a8 : + 800e9a8: b513 push {r0, r1, r4, lr} + 800e9aa: f3ef 8410 mrs r4, PRIMASK + 800e9ae: b672 cpsid i + 800e9b0: 4b20 ldr r3, [pc, #128] ; (800ea34 ) + 800e9b2: 789a ldrb r2, [r3, #2] + 800e9b4: 8a58 ldrh r0, [r3, #18] + 800e9b6: 2a02 cmp r2, #2 + 800e9b8: bf1d ittte ne + 800e9ba: 8a1a ldrhne r2, [r3, #16] + 800e9bc: 8a99 ldrhne r1, [r3, #20] + 800e9be: 1852 addne r2, r2, r1 + 800e9c0: 2200 moveq r2, #0 + 800e9c2: bf14 ite ne + 800e9c4: f3c2 0209 ubfxne r2, r2, #0, #10 + 800e9c8: 709a strbeq r2, [r3, #2] + 800e9ca: 4290 cmp r0, r2 + 800e9cc: 821a strh r2, [r3, #16] + 800e9ce: d028 beq.n 800ea22 + 800e9d0: 8ad9 ldrh r1, [r3, #22] + 800e9d2: 2901 cmp r1, #1 + 800e9d4: d125 bne.n 800ea22 + 800e9d6: 7899 ldrb r1, [r3, #2] + 800e9d8: 2901 cmp r1, #1 + 800e9da: d113 bne.n 800ea04 + 800e9dc: 8819 ldrh r1, [r3, #0] + 800e9de: 1a8a subs r2, r1, r2 + 800e9e0: 2102 movs r1, #2 + 800e9e2: b292 uxth r2, r2 + 800e9e4: 7099 strb r1, [r3, #2] + 800e9e6: 2100 movs r1, #0 + 800e9e8: 829a strh r2, [r3, #20] + 800e9ea: 8019 strh r1, [r3, #0] + 800e9ec: b962 cbnz r2, 800ea08 + 800e9ee: 709a strb r2, [r3, #2] + 800e9f0: 821a strh r2, [r3, #16] + 800e9f2: 8a1a ldrh r2, [r3, #16] + 800e9f4: 4290 cmp r0, r2 + 800e9f6: bf8b itete hi + 800e9f8: 1a80 subhi r0, r0, r2 + 800e9fa: f5c2 6280 rsbls r2, r2, #1024 ; 0x400 + 800e9fe: 8298 strhhi r0, [r3, #20] + 800ea00: 829a strhls r2, [r3, #20] + 800ea02: e001 b.n 800ea08 + 800ea04: 2900 cmp r1, #0 + 800ea06: d0f4 beq.n 800e9f2 + 800ea08: 8a1a ldrh r2, [r3, #16] + 800ea0a: 480b ldr r0, [pc, #44] ; (800ea38 ) + 800ea0c: 4410 add r0, r2 800ea0e: f384 8810 msr PRIMASK, r4 - 800ea12: f7f2 ff4f bl 80018b4 - 800ea16: b002 add sp, #8 - 800ea18: e8bd 4010 ldmia.w sp!, {r4, lr} - 800ea1c: f7ff bede b.w 800e7dc - 800ea20: 20001f68 .word 0x20001f68 - 800ea24: 20001b68 .word 0x20001b68 - 800ea28: 0800f570 .word 0x0800f570 + 800ea12: 4a0a ldr r2, [pc, #40] ; (800ea3c ) + 800ea14: 8a99 ldrh r1, [r3, #20] + 800ea16: 68d3 ldr r3, [r2, #12] + 800ea18: 9301 str r3, [sp, #4] + 800ea1a: b002 add sp, #8 + 800ea1c: e8bd 4010 ldmia.w sp!, {r4, lr} + 800ea20: 4718 bx r3 + 800ea22: f384 8810 msr PRIMASK, r4 + 800ea26: f7f2 ff45 bl 80018b4 + 800ea2a: b002 add sp, #8 + 800ea2c: e8bd 4010 ldmia.w sp!, {r4, lr} + 800ea30: f7ff bede b.w 800e7f0 + 800ea34: 20001f68 .word 0x20001f68 + 800ea38: 20001b68 .word 0x20001b68 + 800ea3c: 0800f588 .word 0x0800f588 -0800ea2c : - 800ea2c: 4a02 ldr r2, [pc, #8] ; (800ea38 ) - 800ea2e: 2300 movs r3, #0 - 800ea30: 6013 str r3, [r2, #0] - 800ea32: 4a02 ldr r2, [pc, #8] ; (800ea3c ) - 800ea34: 6013 str r3, [r2, #0] - 800ea36: 4770 bx lr - 800ea38: 20002184 .word 0x20002184 - 800ea3c: 20002180 .word 0x20002180 +0800ea40 : + 800ea40: 4a02 ldr r2, [pc, #8] ; (800ea4c ) + 800ea42: 2300 movs r3, #0 + 800ea44: 6013 str r3, [r2, #0] + 800ea46: 4a02 ldr r2, [pc, #8] ; (800ea50 ) + 800ea48: 6013 str r3, [r2, #0] + 800ea4a: 4770 bx lr + 800ea4c: 20002184 .word 0x20002184 + 800ea50: 20002180 .word 0x20002180 -0800ea40 : - 800ea40: b510 push {r4, lr} - 800ea42: f3ef 8410 mrs r4, PRIMASK - 800ea46: b672 cpsid i - 800ea48: b141 cbz r1, 800ea5c - 800ea4a: 2901 cmp r1, #1 - 800ea4c: d103 bne.n 800ea56 - 800ea4e: 4a06 ldr r2, [pc, #24] ; (800ea68 ) - 800ea50: 6813 ldr r3, [r2, #0] - 800ea52: 4303 orrs r3, r0 - 800ea54: 6013 str r3, [r2, #0] - 800ea56: f384 8810 msr PRIMASK, r4 - 800ea5a: bd10 pop {r4, pc} - 800ea5c: 4a02 ldr r2, [pc, #8] ; (800ea68 ) - 800ea5e: 6813 ldr r3, [r2, #0] - 800ea60: ea23 0300 bic.w r3, r3, r0 - 800ea64: e7f6 b.n 800ea54 - 800ea66: bf00 nop - 800ea68: 20002184 .word 0x20002184 +0800ea54 : + 800ea54: b510 push {r4, lr} + 800ea56: f3ef 8410 mrs r4, PRIMASK + 800ea5a: b672 cpsid i + 800ea5c: b141 cbz r1, 800ea70 + 800ea5e: 2901 cmp r1, #1 + 800ea60: d103 bne.n 800ea6a + 800ea62: 4a06 ldr r2, [pc, #24] ; (800ea7c ) + 800ea64: 6813 ldr r3, [r2, #0] + 800ea66: 4303 orrs r3, r0 + 800ea68: 6013 str r3, [r2, #0] + 800ea6a: f384 8810 msr PRIMASK, r4 + 800ea6e: bd10 pop {r4, pc} + 800ea70: 4a02 ldr r2, [pc, #8] ; (800ea7c ) + 800ea72: 6813 ldr r3, [r2, #0] + 800ea74: ea23 0300 bic.w r3, r3, r0 + 800ea78: e7f6 b.n 800ea68 + 800ea7a: bf00 nop + 800ea7c: 20002184 .word 0x20002184 -0800ea6c : - 800ea6c: b510 push {r4, lr} - 800ea6e: f3ef 8410 mrs r4, PRIMASK - 800ea72: b672 cpsid i - 800ea74: b141 cbz r1, 800ea88 - 800ea76: 2901 cmp r1, #1 - 800ea78: d103 bne.n 800ea82 - 800ea7a: 4a06 ldr r2, [pc, #24] ; (800ea94 ) - 800ea7c: 6813 ldr r3, [r2, #0] - 800ea7e: 4303 orrs r3, r0 - 800ea80: 6013 str r3, [r2, #0] - 800ea82: f384 8810 msr PRIMASK, r4 - 800ea86: bd10 pop {r4, pc} - 800ea88: 4a02 ldr r2, [pc, #8] ; (800ea94 ) - 800ea8a: 6813 ldr r3, [r2, #0] - 800ea8c: ea23 0300 bic.w r3, r3, r0 - 800ea90: e7f6 b.n 800ea80 - 800ea92: bf00 nop - 800ea94: 20002180 .word 0x20002180 +0800ea80 : + 800ea80: b510 push {r4, lr} + 800ea82: f3ef 8410 mrs r4, PRIMASK + 800ea86: b672 cpsid i + 800ea88: b141 cbz r1, 800ea9c + 800ea8a: 2901 cmp r1, #1 + 800ea8c: d103 bne.n 800ea96 + 800ea8e: 4a06 ldr r2, [pc, #24] ; (800eaa8 ) + 800ea90: 6813 ldr r3, [r2, #0] + 800ea92: 4303 orrs r3, r0 + 800ea94: 6013 str r3, [r2, #0] + 800ea96: f384 8810 msr PRIMASK, r4 + 800ea9a: bd10 pop {r4, pc} + 800ea9c: 4a02 ldr r2, [pc, #8] ; (800eaa8 ) + 800ea9e: 6813 ldr r3, [r2, #0] + 800eaa0: ea23 0300 bic.w r3, r3, r0 + 800eaa4: e7f6 b.n 800ea94 + 800eaa6: bf00 nop + 800eaa8: 20002180 .word 0x20002180 -0800ea98 : - 800ea98: b538 push {r3, r4, r5, lr} - 800ea9a: f3ef 8510 mrs r5, PRIMASK - 800ea9e: b672 cpsid i - 800eaa0: 4b0a ldr r3, [pc, #40] ; (800eacc ) - 800eaa2: 4c0b ldr r4, [pc, #44] ; (800ead0 ) - 800eaa4: 681b ldr r3, [r3, #0] - 800eaa6: b133 cbz r3, 800eab6 - 800eaa8: 6823 ldr r3, [r4, #0] - 800eaaa: 4798 blx r3 - 800eaac: 6863 ldr r3, [r4, #4] - 800eaae: 4798 blx r3 - 800eab0: f385 8810 msr PRIMASK, r5 - 800eab4: bd38 pop {r3, r4, r5, pc} - 800eab6: 4b07 ldr r3, [pc, #28] ; (800ead4 ) +0800eaac : + 800eaac: b538 push {r3, r4, r5, lr} + 800eaae: f3ef 8510 mrs r5, PRIMASK + 800eab2: b672 cpsid i + 800eab4: 4b0a ldr r3, [pc, #40] ; (800eae0 ) + 800eab6: 4c0b ldr r4, [pc, #44] ; (800eae4 ) 800eab8: 681b ldr r3, [r3, #0] - 800eaba: b11b cbz r3, 800eac4 - 800eabc: 68a3 ldr r3, [r4, #8] + 800eaba: b133 cbz r3, 800eaca + 800eabc: 6823 ldr r3, [r4, #0] 800eabe: 4798 blx r3 - 800eac0: 68e3 ldr r3, [r4, #12] - 800eac2: e7f4 b.n 800eaae - 800eac4: 6923 ldr r3, [r4, #16] - 800eac6: 4798 blx r3 - 800eac8: 6963 ldr r3, [r4, #20] - 800eaca: e7f0 b.n 800eaae - 800eacc: 20002184 .word 0x20002184 - 800ead0: 0800f50c .word 0x0800f50c - 800ead4: 20002180 .word 0x20002180 + 800eac0: 6863 ldr r3, [r4, #4] + 800eac2: 4798 blx r3 + 800eac4: f385 8810 msr PRIMASK, r5 + 800eac8: bd38 pop {r3, r4, r5, pc} + 800eaca: 4b07 ldr r3, [pc, #28] ; (800eae8 ) + 800eacc: 681b ldr r3, [r3, #0] + 800eace: b11b cbz r3, 800ead8 + 800ead0: 68a3 ldr r3, [r4, #8] + 800ead2: 4798 blx r3 + 800ead4: 68e3 ldr r3, [r4, #12] + 800ead6: e7f4 b.n 800eac2 + 800ead8: 6923 ldr r3, [r4, #16] + 800eada: 4798 blx r3 + 800eadc: 6963 ldr r3, [r4, #20] + 800eade: e7f0 b.n 800eac2 + 800eae0: 20002184 .word 0x20002184 + 800eae4: 0800f524 .word 0x0800f524 + 800eae8: 20002180 .word 0x20002180 -0800ead8 : - 800ead8: 3801 subs r0, #1 - 800eada: 440a add r2, r1 - 800eadc: 4291 cmp r1, r2 - 800eade: d100 bne.n 800eae2 - 800eae0: 4770 bx lr - 800eae2: f811 3b01 ldrb.w r3, [r1], #1 - 800eae6: f800 3f01 strb.w r3, [r0, #1]! - 800eaea: e7f7 b.n 800eadc +0800eaec : + 800eaec: 3801 subs r0, #1 + 800eaee: 440a add r2, r1 + 800eaf0: 4291 cmp r1, r2 + 800eaf2: d100 bne.n 800eaf6 + 800eaf4: 4770 bx lr + 800eaf6: f811 3b01 ldrb.w r3, [r1], #1 + 800eafa: f800 3f01 strb.w r3, [r0, #1]! + 800eafe: e7f7 b.n 800eaf0 -0800eaec : - 800eaec: f000 bc1c b.w 800f328 +0800eb00 : + 800eb00: f000 bc1c b.w 800f33c -0800eaf0 : - 800eaf0: b510 push {r4, lr} - 800eaf2: f3ef 8410 mrs r4, PRIMASK - 800eaf6: b672 cpsid i - 800eaf8: 4a06 ldr r2, [pc, #24] ; (800eb14 ) - 800eafa: 6813 ldr r3, [r2, #0] - 800eafc: 4303 orrs r3, r0 - 800eafe: 6013 str r3, [r2, #0] - 800eb00: 4a05 ldr r2, [pc, #20] ; (800eb18 ) - 800eb02: f852 3031 ldr.w r3, [r2, r1, lsl #3] - 800eb06: 4303 orrs r3, r0 - 800eb08: f842 3031 str.w r3, [r2, r1, lsl #3] - 800eb0c: f384 8810 msr PRIMASK, r4 - 800eb10: bd10 pop {r4, pc} - 800eb12: bf00 nop - 800eb14: 200021ac .word 0x200021ac - 800eb18: 200021a4 .word 0x200021a4 +0800eb04 : + 800eb04: b510 push {r4, lr} + 800eb06: f3ef 8410 mrs r4, PRIMASK + 800eb0a: b672 cpsid i + 800eb0c: 4a06 ldr r2, [pc, #24] ; (800eb28 ) + 800eb0e: 6813 ldr r3, [r2, #0] + 800eb10: 4303 orrs r3, r0 + 800eb12: 6013 str r3, [r2, #0] + 800eb14: 4a05 ldr r2, [pc, #20] ; (800eb2c ) + 800eb16: f852 3031 ldr.w r3, [r2, r1, lsl #3] + 800eb1a: 4303 orrs r3, r0 + 800eb1c: f842 3031 str.w r3, [r2, r1, lsl #3] + 800eb20: f384 8810 msr PRIMASK, r4 + 800eb24: bd10 pop {r4, pc} + 800eb26: bf00 nop + 800eb28: 200021ac .word 0x200021ac + 800eb2c: 200021a4 .word 0x200021a4 -0800eb1c : - 800eb1c: 4770 bx lr +0800eb30 : + 800eb30: 4770 bx lr -0800eb1e : - 800eb1e: 4770 bx lr +0800eb32 : + 800eb32: 4770 bx lr -0800eb20 : - 800eb20: 0c03 lsrs r3, r0, #16 - 800eb22: 041b lsls r3, r3, #16 - 800eb24: b9c3 cbnz r3, 800eb58 - 800eb26: 0400 lsls r0, r0, #16 - 800eb28: 2310 movs r3, #16 - 800eb2a: f010 4f7f tst.w r0, #4278190080 ; 0xff000000 - 800eb2e: bf02 ittt eq - 800eb30: 3308 addeq r3, #8 - 800eb32: 0200 lsleq r0, r0, #8 - 800eb34: b2db uxtbeq r3, r3 - 800eb36: f010 4f70 tst.w r0, #4026531840 ; 0xf0000000 - 800eb3a: bf08 it eq - 800eb3c: 0100 lsleq r0, r0, #4 - 800eb3e: ea4f 7010 mov.w r0, r0, lsr #28 - 800eb42: 4a06 ldr r2, [pc, #24] ; (800eb5c ) - 800eb44: bf08 it eq - 800eb46: 3304 addeq r3, #4 - 800eb48: 5c12 ldrb r2, [r2, r0] - 800eb4a: bf08 it eq - 800eb4c: b2db uxtbeq r3, r3 - 800eb4e: f1c3 031f rsb r3, r3, #31 - 800eb52: 1a98 subs r0, r3, r2 - 800eb54: b2c0 uxtb r0, r0 - 800eb56: 4770 bx lr - 800eb58: 2300 movs r3, #0 - 800eb5a: e7e6 b.n 800eb2a - 800eb5c: 08010310 .word 0x08010310 +0800eb34 : + 800eb34: 0c03 lsrs r3, r0, #16 + 800eb36: 041b lsls r3, r3, #16 + 800eb38: b9c3 cbnz r3, 800eb6c + 800eb3a: 0400 lsls r0, r0, #16 + 800eb3c: 2310 movs r3, #16 + 800eb3e: f010 4f7f tst.w r0, #4278190080 ; 0xff000000 + 800eb42: bf02 ittt eq + 800eb44: 3308 addeq r3, #8 + 800eb46: 0200 lsleq r0, r0, #8 + 800eb48: b2db uxtbeq r3, r3 + 800eb4a: f010 4f70 tst.w r0, #4026531840 ; 0xf0000000 + 800eb4e: bf08 it eq + 800eb50: 0100 lsleq r0, r0, #4 + 800eb52: ea4f 7010 mov.w r0, r0, lsr #28 + 800eb56: 4a06 ldr r2, [pc, #24] ; (800eb70 ) + 800eb58: bf08 it eq + 800eb5a: 3304 addeq r3, #4 + 800eb5c: 5c12 ldrb r2, [r2, r0] + 800eb5e: bf08 it eq + 800eb60: b2db uxtbeq r3, r3 + 800eb62: f1c3 031f rsb r3, r3, #31 + 800eb66: 1a98 subs r0, r3, r2 + 800eb68: b2c0 uxtb r0, r0 + 800eb6a: 4770 bx lr + 800eb6c: 2300 movs r3, #0 + 800eb6e: e7e6 b.n 800eb3e + 800eb70: 08010328 .word 0x08010328 -0800eb60 : - 800eb60: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800eb64: 4d38 ldr r5, [pc, #224] ; (800ec48 ) - 800eb66: 4e39 ldr r6, [pc, #228] ; (800ec4c ) - 800eb68: f8d5 8000 ldr.w r8, [r5] - 800eb6c: f8df b0e0 ldr.w fp, [pc, #224] ; 800ec50 - 800eb70: f8df a0e0 ldr.w sl, [pc, #224] ; 800ec54 - 800eb74: f8df 90e0 ldr.w r9, [pc, #224] ; 800ec58 - 800eb78: f8d6 c000 ldr.w ip, [r6] - 800eb7c: 4f37 ldr r7, [pc, #220] ; (800ec5c ) - 800eb7e: f8db 1000 ldr.w r1, [fp] - 800eb82: 4c37 ldr r4, [pc, #220] ; (800ec60 ) - 800eb84: f8da 2000 ldr.w r2, [sl] - 800eb88: f8d9 3000 ldr.w r3, [r9] - 800eb8c: ea08 0000 and.w r0, r8, r0 - 800eb90: 6028 str r0, [r5, #0] - 800eb92: 6828 ldr r0, [r5, #0] - 800eb94: ea00 0e02 and.w lr, r0, r2 - 800eb98: ea1e 0f0c tst.w lr, ip - 800eb9c: d001 beq.n 800eba2 - 800eb9e: 4219 tst r1, r3 - 800eba0: d01e beq.n 800ebe0 - 800eba2: f04f 33ff mov.w r3, #4294967295 - 800eba6: 603b str r3, [r7, #0] - 800eba8: f7ff ffb8 bl 800eb1c - 800ebac: f3ef 8410 mrs r4, PRIMASK - 800ebb0: b672 cpsid i - 800ebb2: 6833 ldr r3, [r6, #0] - 800ebb4: f8db 2000 ldr.w r2, [fp] - 800ebb8: f8da 1000 ldr.w r1, [sl] - 800ebbc: 400b ands r3, r1 - 800ebbe: 6829 ldr r1, [r5, #0] - 800ebc0: 420b tst r3, r1 - 800ebc2: d105 bne.n 800ebd0 - 800ebc4: f8d9 3000 ldr.w r3, [r9] - 800ebc8: 4213 tst r3, r2 - 800ebca: d101 bne.n 800ebd0 - 800ebcc: f7f2 fdfc bl 80017c8 - 800ebd0: f384 8810 msr PRIMASK, r4 - 800ebd4: f7ff ffa3 bl 800eb1e - 800ebd8: f8c5 8000 str.w r8, [r5] - 800ebdc: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800ebe0: 6823 ldr r3, [r4, #0] - 800ebe2: 6823 ldr r3, [r4, #0] - 800ebe4: 4003 ands r3, r0 - 800ebe6: 4013 ands r3, r2 - 800ebe8: 6862 ldr r2, [r4, #4] - 800ebea: 421a tst r2, r3 - 800ebec: bf04 itt eq - 800ebee: f04f 32ff moveq.w r2, #4294967295 - 800ebf2: 6062 streq r2, [r4, #4] - 800ebf4: 6860 ldr r0, [r4, #4] - 800ebf6: 4018 ands r0, r3 - 800ebf8: f7ff ff92 bl 800eb20 +0800eb74 : + 800eb74: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800eb78: 4d38 ldr r5, [pc, #224] ; (800ec5c ) + 800eb7a: 4e39 ldr r6, [pc, #228] ; (800ec60 ) + 800eb7c: f8d5 8000 ldr.w r8, [r5] + 800eb80: f8df b0e0 ldr.w fp, [pc, #224] ; 800ec64 + 800eb84: f8df a0e0 ldr.w sl, [pc, #224] ; 800ec68 + 800eb88: f8df 90e0 ldr.w r9, [pc, #224] ; 800ec6c + 800eb8c: f8d6 c000 ldr.w ip, [r6] + 800eb90: 4f37 ldr r7, [pc, #220] ; (800ec70 ) + 800eb92: f8db 1000 ldr.w r1, [fp] + 800eb96: 4c37 ldr r4, [pc, #220] ; (800ec74 ) + 800eb98: f8da 2000 ldr.w r2, [sl] + 800eb9c: f8d9 3000 ldr.w r3, [r9] + 800eba0: ea08 0000 and.w r0, r8, r0 + 800eba4: 6028 str r0, [r5, #0] + 800eba6: 6828 ldr r0, [r5, #0] + 800eba8: ea00 0e02 and.w lr, r0, r2 + 800ebac: ea1e 0f0c tst.w lr, ip + 800ebb0: d001 beq.n 800ebb6 + 800ebb2: 4219 tst r1, r3 + 800ebb4: d01e beq.n 800ebf4 + 800ebb6: f04f 33ff mov.w r3, #4294967295 + 800ebba: 603b str r3, [r7, #0] + 800ebbc: f7ff ffb8 bl 800eb30 + 800ebc0: f3ef 8410 mrs r4, PRIMASK + 800ebc4: b672 cpsid i + 800ebc6: 6833 ldr r3, [r6, #0] + 800ebc8: f8db 2000 ldr.w r2, [fp] + 800ebcc: f8da 1000 ldr.w r1, [sl] + 800ebd0: 400b ands r3, r1 + 800ebd2: 6829 ldr r1, [r5, #0] + 800ebd4: 420b tst r3, r1 + 800ebd6: d105 bne.n 800ebe4 + 800ebd8: f8d9 3000 ldr.w r3, [r9] + 800ebdc: 4213 tst r3, r2 + 800ebde: d101 bne.n 800ebe4 + 800ebe0: f7f2 fdf2 bl 80017c8 + 800ebe4: f384 8810 msr PRIMASK, r4 + 800ebe8: f7ff ffa3 bl 800eb32 + 800ebec: f8c5 8000 str.w r8, [r5] + 800ebf0: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800ebf4: 6823 ldr r3, [r4, #0] + 800ebf6: 6823 ldr r3, [r4, #0] + 800ebf8: 4003 ands r3, r0 + 800ebfa: 4013 ands r3, r2 800ebfc: 6862 ldr r2, [r4, #4] - 800ebfe: 6038 str r0, [r7, #0] - 800ec00: 2301 movs r3, #1 - 800ec02: fa03 f000 lsl.w r0, r3, r0 - 800ec06: ea22 0200 bic.w r2, r2, r0 - 800ec0a: 6062 str r2, [r4, #4] - 800ec0c: f3ef 8110 mrs r1, PRIMASK - 800ec10: b672 cpsid i - 800ec12: 683a ldr r2, [r7, #0] - 800ec14: 4093 lsls r3, r2 - 800ec16: 6832 ldr r2, [r6, #0] - 800ec18: ea22 0203 bic.w r2, r2, r3 - 800ec1c: 6032 str r2, [r6, #0] - 800ec1e: 6822 ldr r2, [r4, #0] - 800ec20: ea22 0303 bic.w r3, r2, r3 - 800ec24: 6023 str r3, [r4, #0] - 800ec26: f381 8810 msr PRIMASK, r1 - 800ec2a: 4a0e ldr r2, [pc, #56] ; (800ec64 ) - 800ec2c: 683b ldr r3, [r7, #0] - 800ec2e: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 800ec32: 4798 blx r3 - 800ec34: f8d6 c000 ldr.w ip, [r6] - 800ec38: f8db 1000 ldr.w r1, [fp] - 800ec3c: f8da 2000 ldr.w r2, [sl] - 800ec40: f8d9 3000 ldr.w r3, [r9] - 800ec44: e7a5 b.n 800eb92 - 800ec46: bf00 nop - 800ec48: 20000100 .word 0x20000100 - 800ec4c: 200021ac .word 0x200021ac - 800ec50: 2000218c .word 0x2000218c - 800ec54: 20000104 .word 0x20000104 - 800ec58: 20002190 .word 0x20002190 - 800ec5c: 20002188 .word 0x20002188 - 800ec60: 200021a4 .word 0x200021a4 - 800ec64: 20002194 .word 0x20002194 + 800ebfe: 421a tst r2, r3 + 800ec00: bf04 itt eq + 800ec02: f04f 32ff moveq.w r2, #4294967295 + 800ec06: 6062 streq r2, [r4, #4] + 800ec08: 6860 ldr r0, [r4, #4] + 800ec0a: 4018 ands r0, r3 + 800ec0c: f7ff ff92 bl 800eb34 + 800ec10: 6862 ldr r2, [r4, #4] + 800ec12: 6038 str r0, [r7, #0] + 800ec14: 2301 movs r3, #1 + 800ec16: fa03 f000 lsl.w r0, r3, r0 + 800ec1a: ea22 0200 bic.w r2, r2, r0 + 800ec1e: 6062 str r2, [r4, #4] + 800ec20: f3ef 8110 mrs r1, PRIMASK + 800ec24: b672 cpsid i + 800ec26: 683a ldr r2, [r7, #0] + 800ec28: 4093 lsls r3, r2 + 800ec2a: 6832 ldr r2, [r6, #0] + 800ec2c: ea22 0203 bic.w r2, r2, r3 + 800ec30: 6032 str r2, [r6, #0] + 800ec32: 6822 ldr r2, [r4, #0] + 800ec34: ea22 0303 bic.w r3, r2, r3 + 800ec38: 6023 str r3, [r4, #0] + 800ec3a: f381 8810 msr PRIMASK, r1 + 800ec3e: 4a0e ldr r2, [pc, #56] ; (800ec78 ) + 800ec40: 683b ldr r3, [r7, #0] + 800ec42: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 800ec46: 4798 blx r3 + 800ec48: f8d6 c000 ldr.w ip, [r6] + 800ec4c: f8db 1000 ldr.w r1, [fp] + 800ec50: f8da 2000 ldr.w r2, [sl] + 800ec54: f8d9 3000 ldr.w r3, [r9] + 800ec58: e7a5 b.n 800eba6 + 800ec5a: bf00 nop + 800ec5c: 20000100 .word 0x20000100 + 800ec60: 200021ac .word 0x200021ac + 800ec64: 2000218c .word 0x2000218c + 800ec68: 20000104 .word 0x20000104 + 800ec6c: 20002190 .word 0x20002190 + 800ec70: 20002188 .word 0x20002188 + 800ec74: 200021a4 .word 0x200021a4 + 800ec78: 20002194 .word 0x20002194 -0800ec68 : - 800ec68: b510 push {r4, lr} - 800ec6a: 4611 mov r1, r2 - 800ec6c: f3ef 8410 mrs r4, PRIMASK - 800ec70: b672 cpsid i - 800ec72: f7ff ff55 bl 800eb20 - 800ec76: 4b03 ldr r3, [pc, #12] ; (800ec84 ) - 800ec78: f843 1020 str.w r1, [r3, r0, lsl #2] - 800ec7c: f384 8810 msr PRIMASK, r4 - 800ec80: bd10 pop {r4, pc} - 800ec82: bf00 nop - 800ec84: 20002194 .word 0x20002194 +0800ec7c : + 800ec7c: b510 push {r4, lr} + 800ec7e: 4611 mov r1, r2 + 800ec80: f3ef 8410 mrs r4, PRIMASK + 800ec84: b672 cpsid i + 800ec86: f7ff ff55 bl 800eb34 + 800ec8a: 4b03 ldr r3, [pc, #12] ; (800ec98 ) + 800ec8c: f843 1020 str.w r1, [r3, r0, lsl #2] + 800ec90: f384 8810 msr PRIMASK, r4 + 800ec94: bd10 pop {r4, pc} + 800ec96: bf00 nop + 800ec98: 20002194 .word 0x20002194 -0800ec88 : - 800ec88: b082 sub sp, #8 - 800ec8a: b082 sub sp, #8 - 800ec8c: f10d 0c08 add.w ip, sp, #8 - 800ec90: e90c 0006 stmdb ip, {r1, r2} - 800ec94: f8bd 2004 ldrh.w r2, [sp, #4] - 800ec98: 9303 str r3, [sp, #12] - 800ec9a: 440b add r3, r1 - 800ec9c: f8bd 1010 ldrh.w r1, [sp, #16] - 800eca0: 440a add r2, r1 - 800eca2: b291 uxth r1, r2 - 800eca4: b212 sxth r2, r2 - 800eca6: f5b2 7f7a cmp.w r2, #1000 ; 0x3e8 - 800ecaa: bfa2 ittt ge - 800ecac: f5a1 727a subge.w r2, r1, #1000 ; 0x3e8 - 800ecb0: 3301 addge r3, #1 - 800ecb2: b212 sxthge r2, r2 - 800ecb4: 6003 str r3, [r0, #0] - 800ecb6: 8082 strh r2, [r0, #4] - 800ecb8: b002 add sp, #8 - 800ecba: b002 add sp, #8 - 800ecbc: 4770 bx lr +0800ec9c : + 800ec9c: b082 sub sp, #8 + 800ec9e: b082 sub sp, #8 + 800eca0: f10d 0c08 add.w ip, sp, #8 + 800eca4: e90c 0006 stmdb ip, {r1, r2} + 800eca8: f8bd 2004 ldrh.w r2, [sp, #4] + 800ecac: 9303 str r3, [sp, #12] + 800ecae: 440b add r3, r1 + 800ecb0: f8bd 1010 ldrh.w r1, [sp, #16] + 800ecb4: 440a add r2, r1 + 800ecb6: b291 uxth r1, r2 + 800ecb8: b212 sxth r2, r2 + 800ecba: f5b2 7f7a cmp.w r2, #1000 ; 0x3e8 + 800ecbe: bfa2 ittt ge + 800ecc0: f5a1 727a subge.w r2, r1, #1000 ; 0x3e8 + 800ecc4: 3301 addge r3, #1 + 800ecc6: b212 sxthge r2, r2 + 800ecc8: 6003 str r3, [r0, #0] + 800ecca: 8082 strh r2, [r0, #4] + 800eccc: b002 add sp, #8 + 800ecce: b002 add sp, #8 + 800ecd0: 4770 bx lr -0800ecbe : - 800ecbe: b082 sub sp, #8 - 800ecc0: b082 sub sp, #8 - 800ecc2: f10d 0c08 add.w ip, sp, #8 - 800ecc6: e90c 0006 stmdb ip, {r1, r2} - 800ecca: f8bd 2004 ldrh.w r2, [sp, #4] - 800ecce: 9303 str r3, [sp, #12] - 800ecd0: 1acb subs r3, r1, r3 - 800ecd2: f8bd 1010 ldrh.w r1, [sp, #16] - 800ecd6: 1a52 subs r2, r2, r1 - 800ecd8: b291 uxth r1, r2 - 800ecda: b212 sxth r2, r2 - 800ecdc: 2a00 cmp r2, #0 - 800ecde: bfbe ittt lt - 800ece0: f501 727a addlt.w r2, r1, #1000 ; 0x3e8 - 800ece4: f103 33ff addlt.w r3, r3, #4294967295 - 800ece8: b212 sxthlt r2, r2 - 800ecea: 6003 str r3, [r0, #0] - 800ecec: 8082 strh r2, [r0, #4] - 800ecee: b002 add sp, #8 - 800ecf0: b002 add sp, #8 - 800ecf2: 4770 bx lr +0800ecd2 : + 800ecd2: b082 sub sp, #8 + 800ecd4: b082 sub sp, #8 + 800ecd6: f10d 0c08 add.w ip, sp, #8 + 800ecda: e90c 0006 stmdb ip, {r1, r2} + 800ecde: f8bd 2004 ldrh.w r2, [sp, #4] + 800ece2: 9303 str r3, [sp, #12] + 800ece4: 1acb subs r3, r1, r3 + 800ece6: f8bd 1010 ldrh.w r1, [sp, #16] + 800ecea: 1a52 subs r2, r2, r1 + 800ecec: b291 uxth r1, r2 + 800ecee: b212 sxth r2, r2 + 800ecf0: 2a00 cmp r2, #0 + 800ecf2: bfbe ittt lt + 800ecf4: f501 727a addlt.w r2, r1, #1000 ; 0x3e8 + 800ecf8: f103 33ff addlt.w r3, r3, #4294967295 + 800ecfc: b212 sxthlt r2, r2 + 800ecfe: 6003 str r3, [r0, #0] + 800ed00: 8082 strh r2, [r0, #4] + 800ed02: b002 add sp, #8 + 800ed04: b002 add sp, #8 + 800ed06: 4770 bx lr -0800ecf4 : - 800ecf4: b530 push {r4, r5, lr} - 800ecf6: b085 sub sp, #20 - 800ecf8: 4d11 ldr r5, [pc, #68] ; (800ed40 ) - 800ecfa: 466b mov r3, sp - 800ecfc: e883 0003 stmia.w r3, {r0, r1} - 800ed00: 2300 movs r3, #0 - 800ed02: 9302 str r3, [sp, #8] - 800ed04: f8ad 300c strh.w r3, [sp, #12] - 800ed08: a803 add r0, sp, #12 - 800ed0a: 692b ldr r3, [r5, #16] - 800ed0c: 4798 blx r3 - 800ed0e: 9b00 ldr r3, [sp, #0] - 800ed10: f8bd 4004 ldrh.w r4, [sp, #4] - 800ed14: 9002 str r0, [sp, #8] - 800ed16: 1a18 subs r0, r3, r0 - 800ed18: f8bd 300c ldrh.w r3, [sp, #12] - 800ed1c: 1ae4 subs r4, r4, r3 - 800ed1e: b2a3 uxth r3, r4 - 800ed20: b224 sxth r4, r4 - 800ed22: 2c00 cmp r4, #0 - 800ed24: bfbe ittt lt - 800ed26: f503 737a addlt.w r3, r3, #1000 ; 0x3e8 - 800ed2a: b21c sxthlt r4, r3 - 800ed2c: f100 30ff addlt.w r0, r0, #4294967295 - 800ed30: 682b ldr r3, [r5, #0] - 800ed32: 4798 blx r3 - 800ed34: 68ab ldr r3, [r5, #8] - 800ed36: 4620 mov r0, r4 - 800ed38: 4798 blx r3 - 800ed3a: b005 add sp, #20 - 800ed3c: bd30 pop {r4, r5, pc} - 800ed3e: bf00 nop - 800ed40: 0800f530 .word 0x0800f530 +0800ed08 : + 800ed08: b530 push {r4, r5, lr} + 800ed0a: b085 sub sp, #20 + 800ed0c: 4d11 ldr r5, [pc, #68] ; (800ed54 ) + 800ed0e: 466b mov r3, sp + 800ed10: e883 0003 stmia.w r3, {r0, r1} + 800ed14: 2300 movs r3, #0 + 800ed16: 9302 str r3, [sp, #8] + 800ed18: f8ad 300c strh.w r3, [sp, #12] + 800ed1c: a803 add r0, sp, #12 + 800ed1e: 692b ldr r3, [r5, #16] + 800ed20: 4798 blx r3 + 800ed22: 9b00 ldr r3, [sp, #0] + 800ed24: f8bd 4004 ldrh.w r4, [sp, #4] + 800ed28: 9002 str r0, [sp, #8] + 800ed2a: 1a18 subs r0, r3, r0 + 800ed2c: f8bd 300c ldrh.w r3, [sp, #12] + 800ed30: 1ae4 subs r4, r4, r3 + 800ed32: b2a3 uxth r3, r4 + 800ed34: b224 sxth r4, r4 + 800ed36: 2c00 cmp r4, #0 + 800ed38: bfbe ittt lt + 800ed3a: f503 737a addlt.w r3, r3, #1000 ; 0x3e8 + 800ed3e: b21c sxthlt r4, r3 + 800ed40: f100 30ff addlt.w r0, r0, #4294967295 + 800ed44: 682b ldr r3, [r5, #0] + 800ed46: 4798 blx r3 + 800ed48: 68ab ldr r3, [r5, #8] + 800ed4a: 4620 mov r0, r4 + 800ed4c: 4798 blx r3 + 800ed4e: b005 add sp, #20 + 800ed50: bd30 pop {r4, r5, pc} + 800ed52: bf00 nop + 800ed54: 0800f548 .word 0x0800f548 -0800ed44 : - 800ed44: b573 push {r0, r1, r4, r5, r6, lr} - 800ed46: 4e11 ldr r6, [pc, #68] ; (800ed8c ) - 800ed48: 2300 movs r3, #0 - 800ed4a: 4605 mov r5, r0 - 800ed4c: 9300 str r3, [sp, #0] - 800ed4e: f8ad 3004 strh.w r3, [sp, #4] - 800ed52: a801 add r0, sp, #4 - 800ed54: 6933 ldr r3, [r6, #16] - 800ed56: 4798 blx r3 - 800ed58: 68f3 ldr r3, [r6, #12] - 800ed5a: 9000 str r0, [sp, #0] - 800ed5c: 4798 blx r3 - 800ed5e: 6873 ldr r3, [r6, #4] - 800ed60: 4604 mov r4, r0 - 800ed62: 4798 blx r3 - 800ed64: 9b00 ldr r3, [sp, #0] - 800ed66: 4418 add r0, r3 - 800ed68: f8bd 3004 ldrh.w r3, [sp, #4] - 800ed6c: 4423 add r3, r4 - 800ed6e: b29a uxth r2, r3 - 800ed70: b21b sxth r3, r3 - 800ed72: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 - 800ed76: bfa2 ittt ge - 800ed78: 3001 addge r0, #1 - 800ed7a: f5a2 737a subge.w r3, r2, #1000 ; 0x3e8 - 800ed7e: b21b sxthge r3, r3 - 800ed80: 6028 str r0, [r5, #0] - 800ed82: 4628 mov r0, r5 - 800ed84: 80ab strh r3, [r5, #4] - 800ed86: b002 add sp, #8 - 800ed88: bd70 pop {r4, r5, r6, pc} - 800ed8a: bf00 nop - 800ed8c: 0800f530 .word 0x0800f530 +0800ed58 : + 800ed58: b573 push {r0, r1, r4, r5, r6, lr} + 800ed5a: 4e11 ldr r6, [pc, #68] ; (800eda0 ) + 800ed5c: 2300 movs r3, #0 + 800ed5e: 4605 mov r5, r0 + 800ed60: 9300 str r3, [sp, #0] + 800ed62: f8ad 3004 strh.w r3, [sp, #4] + 800ed66: a801 add r0, sp, #4 + 800ed68: 6933 ldr r3, [r6, #16] + 800ed6a: 4798 blx r3 + 800ed6c: 68f3 ldr r3, [r6, #12] + 800ed6e: 9000 str r0, [sp, #0] + 800ed70: 4798 blx r3 + 800ed72: 6873 ldr r3, [r6, #4] + 800ed74: 4604 mov r4, r0 + 800ed76: 4798 blx r3 + 800ed78: 9b00 ldr r3, [sp, #0] + 800ed7a: 4418 add r0, r3 + 800ed7c: f8bd 3004 ldrh.w r3, [sp, #4] + 800ed80: 4423 add r3, r4 + 800ed82: b29a uxth r2, r3 + 800ed84: b21b sxth r3, r3 + 800ed86: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 + 800ed8a: bfa2 ittt ge + 800ed8c: 3001 addge r0, #1 + 800ed8e: f5a2 737a subge.w r3, r2, #1000 ; 0x3e8 + 800ed92: b21b sxthge r3, r3 + 800ed94: 6028 str r0, [r5, #0] + 800ed96: 4628 mov r0, r5 + 800ed98: 80ab strh r3, [r5, #4] + 800ed9a: b002 add sp, #8 + 800ed9c: bd70 pop {r4, r5, r6, pc} + 800ed9e: bf00 nop + 800eda0: 0800f548 .word 0x0800f548 -0800ed90 : - 800ed90: b537 push {r0, r1, r2, r4, r5, lr} - 800ed92: 2300 movs r3, #0 - 800ed94: 9300 str r3, [sp, #0] - 800ed96: f8ad 3004 strh.w r3, [sp, #4] - 800ed9a: 4b07 ldr r3, [pc, #28] ; (800edb8 ) - 800ed9c: 4604 mov r4, r0 - 800ed9e: 691b ldr r3, [r3, #16] - 800eda0: a801 add r0, sp, #4 - 800eda2: 4798 blx r3 - 800eda4: 466d mov r5, sp - 800eda6: 9000 str r0, [sp, #0] - 800eda8: e895 0003 ldmia.w r5, {r0, r1} - 800edac: e884 0003 stmia.w r4, {r0, r1} - 800edb0: 4620 mov r0, r4 - 800edb2: b003 add sp, #12 - 800edb4: bd30 pop {r4, r5, pc} - 800edb6: bf00 nop - 800edb8: 0800f530 .word 0x0800f530 +0800eda4 : + 800eda4: b537 push {r0, r1, r2, r4, r5, lr} + 800eda6: 2300 movs r3, #0 + 800eda8: 9300 str r3, [sp, #0] + 800edaa: f8ad 3004 strh.w r3, [sp, #4] + 800edae: 4b07 ldr r3, [pc, #28] ; (800edcc ) + 800edb0: 4604 mov r4, r0 + 800edb2: 691b ldr r3, [r3, #16] + 800edb4: a801 add r0, sp, #4 + 800edb6: 4798 blx r3 + 800edb8: 466d mov r5, sp + 800edba: 9000 str r0, [sp, #0] + 800edbc: e895 0003 ldmia.w r5, {r0, r1} + 800edc0: e884 0003 stmia.w r4, {r0, r1} + 800edc4: 4620 mov r0, r4 + 800edc6: b003 add sp, #12 + 800edc8: bd30 pop {r4, r5, pc} + 800edca: bf00 nop + 800edcc: 0800f548 .word 0x0800f548 -0800edbc : - 800edbc: b537 push {r0, r1, r2, r4, r5, lr} - 800edbe: 4d0f ldr r5, [pc, #60] ; (800edfc ) - 800edc0: ab02 add r3, sp, #8 - 800edc2: e903 0003 stmdb r3, {r0, r1} - 800edc6: 68eb ldr r3, [r5, #12] - 800edc8: 4798 blx r3 - 800edca: 686b ldr r3, [r5, #4] - 800edcc: 4604 mov r4, r0 - 800edce: 4798 blx r3 - 800edd0: f8bd 3004 ldrh.w r3, [sp, #4] - 800edd4: 9a00 ldr r2, [sp, #0] - 800edd6: 1b1b subs r3, r3, r4 - 800edd8: b299 uxth r1, r3 - 800edda: b21b sxth r3, r3 - 800eddc: 2b00 cmp r3, #0 - 800edde: eba2 0200 sub.w r2, r2, r0 - 800ede2: bfbe ittt lt - 800ede4: f501 717a addlt.w r1, r1, #1000 ; 0x3e8 - 800ede8: f102 32ff addlt.w r2, r2, #4294967295 - 800edec: b20b sxthlt r3, r1 - 800edee: f44f 707a mov.w r0, #1000 ; 0x3e8 - 800edf2: fb00 3002 mla r0, r0, r2, r3 - 800edf6: b003 add sp, #12 - 800edf8: bd30 pop {r4, r5, pc} - 800edfa: bf00 nop - 800edfc: 0800f530 .word 0x0800f530 +0800edd0 : + 800edd0: b537 push {r0, r1, r2, r4, r5, lr} + 800edd2: 4d0f ldr r5, [pc, #60] ; (800ee10 ) + 800edd4: ab02 add r3, sp, #8 + 800edd6: e903 0003 stmdb r3, {r0, r1} + 800edda: 68eb ldr r3, [r5, #12] + 800eddc: 4798 blx r3 + 800edde: 686b ldr r3, [r5, #4] + 800ede0: 4604 mov r4, r0 + 800ede2: 4798 blx r3 + 800ede4: f8bd 3004 ldrh.w r3, [sp, #4] + 800ede8: 9a00 ldr r2, [sp, #0] + 800edea: 1b1b subs r3, r3, r4 + 800edec: b299 uxth r1, r3 + 800edee: b21b sxth r3, r3 + 800edf0: 2b00 cmp r3, #0 + 800edf2: eba2 0200 sub.w r2, r2, r0 + 800edf6: bfbe ittt lt + 800edf8: f501 717a addlt.w r1, r1, #1000 ; 0x3e8 + 800edfc: f102 32ff addlt.w r2, r2, #4294967295 + 800ee00: b20b sxthlt r3, r1 + 800ee02: f44f 707a mov.w r0, #1000 ; 0x3e8 + 800ee06: fb00 3002 mla r0, r0, r2, r3 + 800ee0a: b003 add sp, #12 + 800ee0c: bd30 pop {r4, r5, pc} + 800ee0e: bf00 nop + 800ee10: 0800f548 .word 0x0800f548 -0800ee00 : - 800ee00: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800ee04: f44f 757a mov.w r5, #1000 ; 0x3e8 - 800ee08: fbb1 f5f5 udiv r5, r1, r5 - 800ee0c: ebc5 1345 rsb r3, r5, r5, lsl #5 - 800ee10: f8df 803c ldr.w r8, [pc, #60] ; 800ee50 - 800ee14: eb05 0383 add.w r3, r5, r3, lsl #2 - 800ee18: eba1 03c3 sub.w r3, r1, r3, lsl #3 - 800ee1c: b29c uxth r4, r3 - 800ee1e: f8d8 300c ldr.w r3, [r8, #12] - 800ee22: 4606 mov r6, r0 - 800ee24: 4798 blx r3 - 800ee26: f8d8 3004 ldr.w r3, [r8, #4] - 800ee2a: 4607 mov r7, r0 - 800ee2c: 4798 blx r3 - 800ee2e: 19e3 adds r3, r4, r7 - 800ee30: b299 uxth r1, r3 - 800ee32: b21b sxth r3, r3 - 800ee34: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 - 800ee38: 4428 add r0, r5 - 800ee3a: bfa2 ittt ge - 800ee3c: f5a1 737a subge.w r3, r1, #1000 ; 0x3e8 - 800ee40: 3001 addge r0, #1 - 800ee42: b21b sxthge r3, r3 - 800ee44: 6030 str r0, [r6, #0] - 800ee46: 80b3 strh r3, [r6, #4] - 800ee48: 4630 mov r0, r6 - 800ee4a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800ee4e: bf00 nop - 800ee50: 0800f530 .word 0x0800f530 +0800ee14 : + 800ee14: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800ee18: f44f 757a mov.w r5, #1000 ; 0x3e8 + 800ee1c: fbb1 f5f5 udiv r5, r1, r5 + 800ee20: ebc5 1345 rsb r3, r5, r5, lsl #5 + 800ee24: f8df 803c ldr.w r8, [pc, #60] ; 800ee64 + 800ee28: eb05 0383 add.w r3, r5, r3, lsl #2 + 800ee2c: eba1 03c3 sub.w r3, r1, r3, lsl #3 + 800ee30: b29c uxth r4, r3 + 800ee32: f8d8 300c ldr.w r3, [r8, #12] + 800ee36: 4606 mov r6, r0 + 800ee38: 4798 blx r3 + 800ee3a: f8d8 3004 ldr.w r3, [r8, #4] + 800ee3e: 4607 mov r7, r0 + 800ee40: 4798 blx r3 + 800ee42: 19e3 adds r3, r4, r7 + 800ee44: b299 uxth r1, r3 + 800ee46: b21b sxth r3, r3 + 800ee48: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 + 800ee4c: 4428 add r0, r5 + 800ee4e: bfa2 ittt ge + 800ee50: f5a1 737a subge.w r3, r1, #1000 ; 0x3e8 + 800ee54: 3001 addge r0, #1 + 800ee56: b21b sxthge r3, r3 + 800ee58: 6030 str r0, [r6, #0] + 800ee5a: 80b3 strh r3, [r6, #4] + 800ee5c: 4630 mov r0, r6 + 800ee5e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800ee62: bf00 nop + 800ee64: 0800f548 .word 0x0800f548 -0800ee54 : - 800ee54: 4b02 ldr r3, [pc, #8] ; (800ee60 ) - 800ee56: 2200 movs r2, #0 - 800ee58: 601a str r2, [r3, #0] - 800ee5a: 4b02 ldr r3, [pc, #8] ; (800ee64 ) - 800ee5c: 681b ldr r3, [r3, #0] - 800ee5e: 4718 bx r3 - 800ee60: 200021b0 .word 0x200021b0 - 800ee64: 0800f544 .word 0x0800f544 +0800ee68 : + 800ee68: 4b02 ldr r3, [pc, #8] ; (800ee74 ) + 800ee6a: 2200 movs r2, #0 + 800ee6c: 601a str r2, [r3, #0] + 800ee6e: 4b02 ldr r3, [pc, #8] ; (800ee78 ) + 800ee70: 681b ldr r3, [r3, #0] + 800ee72: 4718 bx r3 + 800ee74: 200021b0 .word 0x200021b0 + 800ee78: 0800f55c .word 0x0800f55c -0800ee68 : - 800ee68: b5f8 push {r3, r4, r5, r6, r7, lr} - 800ee6a: 4604 mov r4, r0 - 800ee6c: 4617 mov r7, r2 - 800ee6e: 4608 mov r0, r1 - 800ee70: 461e mov r6, r3 - 800ee72: b17c cbz r4, 800ee94 - 800ee74: b173 cbz r3, 800ee94 - 800ee76: 4b08 ldr r3, [pc, #32] ; (800ee98 ) - 800ee78: 2500 movs r5, #0 - 800ee7a: 6a5b ldr r3, [r3, #36] ; 0x24 - 800ee7c: 6025 str r5, [r4, #0] - 800ee7e: 4798 blx r3 - 800ee80: 9b06 ldr r3, [sp, #24] - 800ee82: 6060 str r0, [r4, #4] - 800ee84: 8125 strh r5, [r4, #8] - 800ee86: 72a5 strb r5, [r4, #10] - 800ee88: 60e6 str r6, [r4, #12] - 800ee8a: 6123 str r3, [r4, #16] - 800ee8c: 72e7 strb r7, [r4, #11] - 800ee8e: 6165 str r5, [r4, #20] - 800ee90: 4628 mov r0, r5 - 800ee92: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800ee94: 2001 movs r0, #1 - 800ee96: e7fc b.n 800ee92 - 800ee98: 0800f544 .word 0x0800f544 +0800ee7c : + 800ee7c: b5f8 push {r3, r4, r5, r6, r7, lr} + 800ee7e: 4604 mov r4, r0 + 800ee80: 4617 mov r7, r2 + 800ee82: 4608 mov r0, r1 + 800ee84: 461e mov r6, r3 + 800ee86: b17c cbz r4, 800eea8 + 800ee88: b173 cbz r3, 800eea8 + 800ee8a: 4b08 ldr r3, [pc, #32] ; (800eeac ) + 800ee8c: 2500 movs r5, #0 + 800ee8e: 6a5b ldr r3, [r3, #36] ; 0x24 + 800ee90: 6025 str r5, [r4, #0] + 800ee92: 4798 blx r3 + 800ee94: 9b06 ldr r3, [sp, #24] + 800ee96: 6060 str r0, [r4, #4] + 800ee98: 8125 strh r5, [r4, #8] + 800ee9a: 72a5 strb r5, [r4, #10] + 800ee9c: 60e6 str r6, [r4, #12] + 800ee9e: 6123 str r3, [r4, #16] + 800eea0: 72e7 strb r7, [r4, #11] + 800eea2: 6165 str r5, [r4, #20] + 800eea4: 4628 mov r0, r5 + 800eea6: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800eea8: 2001 movs r0, #1 + 800eeaa: e7fc b.n 800eea6 + 800eeac: 0800f55c .word 0x0800f55c -0800ee9c : - 800ee9c: b510 push {r4, lr} - 800ee9e: 4c03 ldr r4, [pc, #12] ; (800eeac ) - 800eea0: 69e3 ldr r3, [r4, #28] - 800eea2: 4798 blx r3 - 800eea4: 6aa3 ldr r3, [r4, #40] ; 0x28 - 800eea6: e8bd 4010 ldmia.w sp!, {r4, lr} - 800eeaa: 4718 bx r3 - 800eeac: 0800f544 .word 0x0800f544 +0800eeb0 : + 800eeb0: b510 push {r4, lr} + 800eeb2: 4c03 ldr r4, [pc, #12] ; (800eec0 ) + 800eeb4: 69e3 ldr r3, [r4, #28] + 800eeb6: 4798 blx r3 + 800eeb8: 6aa3 ldr r3, [r4, #40] ; 0x28 + 800eeba: e8bd 4010 ldmia.w sp!, {r4, lr} + 800eebe: 4718 bx r3 + 800eec0: 0800f55c .word 0x0800f55c -0800eeb0 : - 800eeb0: b570 push {r4, r5, r6, lr} - 800eeb2: 4d06 ldr r5, [pc, #24] ; (800eecc ) - 800eeb4: 69eb ldr r3, [r5, #28] - 800eeb6: 4606 mov r6, r0 - 800eeb8: 4798 blx r3 - 800eeba: 6a6b ldr r3, [r5, #36] ; 0x24 - 800eebc: 4604 mov r4, r0 - 800eebe: 4630 mov r0, r6 - 800eec0: 4798 blx r3 - 800eec2: 6aab ldr r3, [r5, #40] ; 0x28 - 800eec4: 1a20 subs r0, r4, r0 - 800eec6: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 800eeca: 4718 bx r3 - 800eecc: 0800f544 .word 0x0800f544 +0800eec4 : + 800eec4: b570 push {r4, r5, r6, lr} + 800eec6: 4d06 ldr r5, [pc, #24] ; (800eee0 ) + 800eec8: 69eb ldr r3, [r5, #28] + 800eeca: 4606 mov r6, r0 + 800eecc: 4798 blx r3 + 800eece: 6a6b ldr r3, [r5, #36] ; 0x24 + 800eed0: 4604 mov r4, r0 + 800eed2: 4630 mov r0, r6 + 800eed4: 4798 blx r3 + 800eed6: 6aab ldr r3, [r5, #40] ; 0x28 + 800eed8: 1a20 subs r0, r4, r0 + 800eeda: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 800eede: 4718 bx r3 + 800eee0: 0800f55c .word 0x0800f55c -0800eed0 : - 800eed0: 4b05 ldr r3, [pc, #20] ; (800eee8 ) - 800eed2: 681b ldr r3, [r3, #0] - 800eed4: b90b cbnz r3, 800eeda - 800eed6: 4618 mov r0, r3 - 800eed8: 4770 bx lr - 800eeda: 4283 cmp r3, r0 - 800eedc: d001 beq.n 800eee2 - 800eede: 695b ldr r3, [r3, #20] - 800eee0: e7f8 b.n 800eed4 - 800eee2: 2001 movs r0, #1 - 800eee4: 4770 bx lr - 800eee6: bf00 nop - 800eee8: 200021b0 .word 0x200021b0 +0800eee4 : + 800eee4: 4b05 ldr r3, [pc, #20] ; (800eefc ) + 800eee6: 681b ldr r3, [r3, #0] + 800eee8: b90b cbnz r3, 800eeee + 800eeea: 4618 mov r0, r3 + 800eeec: 4770 bx lr + 800eeee: 4283 cmp r3, r0 + 800eef0: d001 beq.n 800eef6 + 800eef2: 695b ldr r3, [r3, #20] + 800eef4: e7f8 b.n 800eee8 + 800eef6: 2001 movs r0, #1 + 800eef8: 4770 bx lr + 800eefa: bf00 nop + 800eefc: 200021b0 .word 0x200021b0 -0800eeec : - 800eeec: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} - 800eef0: 4e0b ldr r6, [pc, #44] ; (800ef20 ) - 800eef2: 6a33 ldr r3, [r6, #32] - 800eef4: 4604 mov r4, r0 - 800eef6: 4798 blx r3 - 800eef8: 2301 movs r3, #1 - 800eefa: 69b7 ldr r7, [r6, #24] - 800eefc: 7223 strb r3, [r4, #8] - 800eefe: f8d4 8000 ldr.w r8, [r4] - 800ef02: 4605 mov r5, r0 - 800ef04: 47b8 blx r7 - 800ef06: 4428 add r0, r5 - 800ef08: 4580 cmp r8, r0 - 800ef0a: d202 bcs.n 800ef12 - 800ef0c: 47b8 blx r7 - 800ef0e: 4428 add r0, r5 - 800ef10: 6020 str r0, [r4, #0] - 800ef12: 68b3 ldr r3, [r6, #8] - 800ef14: 6820 ldr r0, [r4, #0] - 800ef16: 9301 str r3, [sp, #4] - 800ef18: b002 add sp, #8 - 800ef1a: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 800ef1e: 4718 bx r3 - 800ef20: 0800f544 .word 0x0800f544 +0800ef00 : + 800ef00: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} + 800ef04: 4e0b ldr r6, [pc, #44] ; (800ef34 ) + 800ef06: 6a33 ldr r3, [r6, #32] + 800ef08: 4604 mov r4, r0 + 800ef0a: 4798 blx r3 + 800ef0c: 2301 movs r3, #1 + 800ef0e: 69b7 ldr r7, [r6, #24] + 800ef10: 7223 strb r3, [r4, #8] + 800ef12: f8d4 8000 ldr.w r8, [r4] + 800ef16: 4605 mov r5, r0 + 800ef18: 47b8 blx r7 + 800ef1a: 4428 add r0, r5 + 800ef1c: 4580 cmp r8, r0 + 800ef1e: d202 bcs.n 800ef26 + 800ef20: 47b8 blx r7 + 800ef22: 4428 add r0, r5 + 800ef24: 6020 str r0, [r4, #0] + 800ef26: 68b3 ldr r3, [r6, #8] + 800ef28: 6820 ldr r0, [r4, #0] + 800ef2a: 9301 str r3, [sp, #4] + 800ef2c: b002 add sp, #8 + 800ef2e: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 800ef32: 4718 bx r3 + 800ef34: 0800f55c .word 0x0800f55c -0800ef24 : - 800ef24: b570 push {r4, r5, r6, lr} - 800ef26: b320 cbz r0, 800ef72 - 800ef28: f3ef 8610 mrs r6, PRIMASK - 800ef2c: b672 cpsid i - 800ef2e: 4d12 ldr r5, [pc, #72] ; (800ef78 ) - 800ef30: 682b ldr r3, [r5, #0] - 800ef32: 2201 movs r2, #1 - 800ef34: 7282 strb r2, [r0, #10] - 800ef36: b153 cbz r3, 800ef4e - 800ef38: 2200 movs r2, #0 - 800ef3a: 7242 strb r2, [r0, #9] - 800ef3c: 4298 cmp r0, r3 - 800ef3e: 695c ldr r4, [r3, #20] - 800ef40: d10e bne.n 800ef60 - 800ef42: 7202 strb r2, [r0, #8] - 800ef44: b13c cbz r4, 800ef56 - 800ef46: 4620 mov r0, r4 - 800ef48: 602c str r4, [r5, #0] - 800ef4a: f7ff ffcf bl 800eeec - 800ef4e: f386 8810 msr PRIMASK, r6 - 800ef52: 2000 movs r0, #0 - 800ef54: bd70 pop {r4, r5, r6, pc} - 800ef56: 4b09 ldr r3, [pc, #36] ; (800ef7c ) - 800ef58: 68db ldr r3, [r3, #12] - 800ef5a: 4798 blx r3 +0800ef38 : + 800ef38: b570 push {r4, r5, r6, lr} + 800ef3a: b320 cbz r0, 800ef86 + 800ef3c: f3ef 8610 mrs r6, PRIMASK + 800ef40: b672 cpsid i + 800ef42: 4d12 ldr r5, [pc, #72] ; (800ef8c ) + 800ef44: 682b ldr r3, [r5, #0] + 800ef46: 2201 movs r2, #1 + 800ef48: 7282 strb r2, [r0, #10] + 800ef4a: b153 cbz r3, 800ef62 + 800ef4c: 2200 movs r2, #0 + 800ef4e: 7242 strb r2, [r0, #9] + 800ef50: 4298 cmp r0, r3 + 800ef52: 695c ldr r4, [r3, #20] + 800ef54: d10e bne.n 800ef74 + 800ef56: 7202 strb r2, [r0, #8] + 800ef58: b13c cbz r4, 800ef6a + 800ef5a: 4620 mov r0, r4 800ef5c: 602c str r4, [r5, #0] - 800ef5e: e7f6 b.n 800ef4e - 800ef60: 461a mov r2, r3 - 800ef62: 695b ldr r3, [r3, #20] - 800ef64: 2b00 cmp r3, #0 - 800ef66: d0f2 beq.n 800ef4e - 800ef68: 4298 cmp r0, r3 - 800ef6a: d1f9 bne.n 800ef60 - 800ef6c: 6943 ldr r3, [r0, #20] - 800ef6e: 6153 str r3, [r2, #20] - 800ef70: e7ed b.n 800ef4e - 800ef72: 2001 movs r0, #1 - 800ef74: e7ee b.n 800ef54 - 800ef76: bf00 nop - 800ef78: 200021b0 .word 0x200021b0 - 800ef7c: 0800f544 .word 0x0800f544 + 800ef5e: f7ff ffcf bl 800ef00 + 800ef62: f386 8810 msr PRIMASK, r6 + 800ef66: 2000 movs r0, #0 + 800ef68: bd70 pop {r4, r5, r6, pc} + 800ef6a: 4b09 ldr r3, [pc, #36] ; (800ef90 ) + 800ef6c: 68db ldr r3, [r3, #12] + 800ef6e: 4798 blx r3 + 800ef70: 602c str r4, [r5, #0] + 800ef72: e7f6 b.n 800ef62 + 800ef74: 461a mov r2, r3 + 800ef76: 695b ldr r3, [r3, #20] + 800ef78: 2b00 cmp r3, #0 + 800ef7a: d0f2 beq.n 800ef62 + 800ef7c: 4298 cmp r0, r3 + 800ef7e: d1f9 bne.n 800ef74 + 800ef80: 6943 ldr r3, [r0, #20] + 800ef82: 6153 str r3, [r2, #20] + 800ef84: e7ed b.n 800ef62 + 800ef86: 2001 movs r0, #1 + 800ef88: e7ee b.n 800ef68 + 800ef8a: bf00 nop + 800ef8c: 200021b0 .word 0x200021b0 + 800ef90: 0800f55c .word 0x0800f55c -0800ef80 : - 800ef80: 4b08 ldr r3, [pc, #32] ; (800efa4 ) - 800ef82: b510 push {r4, lr} - 800ef84: 681a ldr r2, [r3, #0] - 800ef86: 6953 ldr r3, [r2, #20] - 800ef88: 6951 ldr r1, [r2, #20] - 800ef8a: b911 cbnz r1, 800ef92 - 800ef8c: 6150 str r0, [r2, #20] - 800ef8e: 6141 str r1, [r0, #20] - 800ef90: bd10 pop {r4, pc} - 800ef92: 6804 ldr r4, [r0, #0] - 800ef94: 6819 ldr r1, [r3, #0] - 800ef96: 428c cmp r4, r1 - 800ef98: d902 bls.n 800efa0 - 800ef9a: 461a mov r2, r3 - 800ef9c: 695b ldr r3, [r3, #20] - 800ef9e: e7f3 b.n 800ef88 - 800efa0: 4619 mov r1, r3 - 800efa2: e7f3 b.n 800ef8c - 800efa4: 200021b0 .word 0x200021b0 +0800ef94 : + 800ef94: 4b08 ldr r3, [pc, #32] ; (800efb8 ) + 800ef96: b510 push {r4, lr} + 800ef98: 681a ldr r2, [r3, #0] + 800ef9a: 6953 ldr r3, [r2, #20] + 800ef9c: 6951 ldr r1, [r2, #20] + 800ef9e: b911 cbnz r1, 800efa6 + 800efa0: 6150 str r0, [r2, #20] + 800efa2: 6141 str r1, [r0, #20] + 800efa4: bd10 pop {r4, pc} + 800efa6: 6804 ldr r4, [r0, #0] + 800efa8: 6819 ldr r1, [r3, #0] + 800efaa: 428c cmp r4, r1 + 800efac: d902 bls.n 800efb4 + 800efae: 461a mov r2, r3 + 800efb0: 695b ldr r3, [r3, #20] + 800efb2: e7f3 b.n 800ef9c + 800efb4: 4619 mov r1, r3 + 800efb6: e7f3 b.n 800efa0 + 800efb8: 200021b0 .word 0x200021b0 -0800efa8 : - 800efa8: 4a04 ldr r2, [pc, #16] ; (800efbc ) - 800efaa: 6813 ldr r3, [r2, #0] - 800efac: b10b cbz r3, 800efb2 - 800efae: 2100 movs r1, #0 - 800efb0: 7219 strb r1, [r3, #8] - 800efb2: 6143 str r3, [r0, #20] - 800efb4: 6010 str r0, [r2, #0] - 800efb6: f7ff bf99 b.w 800eeec - 800efba: bf00 nop - 800efbc: 200021b0 .word 0x200021b0 +0800efbc : + 800efbc: 4a04 ldr r2, [pc, #16] ; (800efd0 ) + 800efbe: 6813 ldr r3, [r2, #0] + 800efc0: b10b cbz r3, 800efc6 + 800efc2: 2100 movs r1, #0 + 800efc4: 7219 strb r1, [r3, #8] + 800efc6: 6143 str r3, [r0, #20] + 800efc8: 6010 str r0, [r2, #0] + 800efca: f7ff bf99 b.w 800ef00 + 800efce: bf00 nop + 800efd0: 200021b0 .word 0x200021b0 -0800efc0 : - 800efc0: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800efc4: 4604 mov r4, r0 - 800efc6: 2800 cmp r0, #0 - 800efc8: d02d beq.n 800f026 - 800efca: f7ff ff81 bl 800eed0 - 800efce: bb50 cbnz r0, 800f026 - 800efd0: 7a65 ldrb r5, [r4, #9] - 800efd2: bb45 cbnz r5, 800f026 - 800efd4: f3ef 8810 mrs r8, PRIMASK - 800efd8: b672 cpsid i - 800efda: 4e14 ldr r6, [pc, #80] ; (800f02c ) - 800efdc: 6867 ldr r7, [r4, #4] - 800efde: 6a33 ldr r3, [r6, #32] - 800efe0: 4798 blx r3 - 800efe2: 4287 cmp r7, r0 - 800efe4: bf2c ite cs - 800efe6: 6027 strcs r7, [r4, #0] - 800efe8: 6020 strcc r0, [r4, #0] - 800efea: 4f11 ldr r7, [pc, #68] ; (800f030 ) - 800efec: 72a5 strb r5, [r4, #10] - 800efee: f44f 7380 mov.w r3, #256 ; 0x100 - 800eff2: 8123 strh r3, [r4, #8] - 800eff4: 683b ldr r3, [r7, #0] - 800eff6: b94b cbnz r3, 800f00c - 800eff8: 6933 ldr r3, [r6, #16] - 800effa: 4798 blx r3 - 800effc: 4620 mov r0, r4 - 800effe: f7ff ffd3 bl 800efa8 - 800f002: f388 8810 msr PRIMASK, r8 - 800f006: 4628 mov r0, r5 - 800f008: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800f00c: 69b3 ldr r3, [r6, #24] +0800efd4 : + 800efd4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800efd8: 4604 mov r4, r0 + 800efda: 2800 cmp r0, #0 + 800efdc: d02d beq.n 800f03a + 800efde: f7ff ff81 bl 800eee4 + 800efe2: bb50 cbnz r0, 800f03a + 800efe4: 7a65 ldrb r5, [r4, #9] + 800efe6: bb45 cbnz r5, 800f03a + 800efe8: f3ef 8810 mrs r8, PRIMASK + 800efec: b672 cpsid i + 800efee: 4e14 ldr r6, [pc, #80] ; (800f040 ) + 800eff0: 6867 ldr r7, [r4, #4] + 800eff2: 6a33 ldr r3, [r6, #32] + 800eff4: 4798 blx r3 + 800eff6: 4287 cmp r7, r0 + 800eff8: bf2c ite cs + 800effa: 6027 strcs r7, [r4, #0] + 800effc: 6020 strcc r0, [r4, #0] + 800effe: 4f11 ldr r7, [pc, #68] ; (800f044 ) + 800f000: 72a5 strb r5, [r4, #10] + 800f002: f44f 7380 mov.w r3, #256 ; 0x100 + 800f006: 8123 strh r3, [r4, #8] + 800f008: 683b ldr r3, [r7, #0] + 800f00a: b94b cbnz r3, 800f020 + 800f00c: 6933 ldr r3, [r6, #16] 800f00e: 4798 blx r3 - 800f010: 6823 ldr r3, [r4, #0] - 800f012: 4418 add r0, r3 - 800f014: 683b ldr r3, [r7, #0] - 800f016: 6020 str r0, [r4, #0] - 800f018: 681b ldr r3, [r3, #0] - 800f01a: 4298 cmp r0, r3 - 800f01c: 4620 mov r0, r4 - 800f01e: d3ee bcc.n 800effe - 800f020: f7ff ffae bl 800ef80 - 800f024: e7ed b.n 800f002 - 800f026: 2501 movs r5, #1 - 800f028: e7ed b.n 800f006 - 800f02a: bf00 nop - 800f02c: 0800f544 .word 0x0800f544 - 800f030: 200021b0 .word 0x200021b0 + 800f010: 4620 mov r0, r4 + 800f012: f7ff ffd3 bl 800efbc + 800f016: f388 8810 msr PRIMASK, r8 + 800f01a: 4628 mov r0, r5 + 800f01c: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800f020: 69b3 ldr r3, [r6, #24] + 800f022: 4798 blx r3 + 800f024: 6823 ldr r3, [r4, #0] + 800f026: 4418 add r0, r3 + 800f028: 683b ldr r3, [r7, #0] + 800f02a: 6020 str r0, [r4, #0] + 800f02c: 681b ldr r3, [r3, #0] + 800f02e: 4298 cmp r0, r3 + 800f030: 4620 mov r0, r4 + 800f032: d3ee bcc.n 800f012 + 800f034: f7ff ffae bl 800ef94 + 800f038: e7ed b.n 800f016 + 800f03a: 2501 movs r5, #1 + 800f03c: e7ed b.n 800f01a + 800f03e: bf00 nop + 800f040: 0800f55c .word 0x0800f55c + 800f044: 200021b0 .word 0x200021b0 -0800f034 : - 800f034: b510 push {r4, lr} - 800f036: 4604 mov r4, r0 - 800f038: 4608 mov r0, r1 - 800f03a: b17c cbz r4, 800f05c - 800f03c: 4b08 ldr r3, [pc, #32] ; (800f060 ) - 800f03e: 6a5b ldr r3, [r3, #36] ; 0x24 - 800f040: 4798 blx r3 - 800f042: 6060 str r0, [r4, #4] - 800f044: 4620 mov r0, r4 - 800f046: f7ff ff43 bl 800eed0 - 800f04a: b140 cbz r0, 800f05e - 800f04c: 4620 mov r0, r4 - 800f04e: f7ff ff69 bl 800ef24 - 800f052: 4620 mov r0, r4 - 800f054: e8bd 4010 ldmia.w sp!, {r4, lr} - 800f058: f7ff bfb2 b.w 800efc0 - 800f05c: 2001 movs r0, #1 - 800f05e: bd10 pop {r4, pc} - 800f060: 0800f544 .word 0x0800f544 +0800f048 : + 800f048: b510 push {r4, lr} + 800f04a: 4604 mov r4, r0 + 800f04c: 4608 mov r0, r1 + 800f04e: b17c cbz r4, 800f070 + 800f050: 4b08 ldr r3, [pc, #32] ; (800f074 ) + 800f052: 6a5b ldr r3, [r3, #36] ; 0x24 + 800f054: 4798 blx r3 + 800f056: 6060 str r0, [r4, #4] + 800f058: 4620 mov r0, r4 + 800f05a: f7ff ff43 bl 800eee4 + 800f05e: b140 cbz r0, 800f072 + 800f060: 4620 mov r0, r4 + 800f062: f7ff ff69 bl 800ef38 + 800f066: 4620 mov r0, r4 + 800f068: e8bd 4010 ldmia.w sp!, {r4, lr} + 800f06c: f7ff bfb2 b.w 800efd4 + 800f070: 2001 movs r0, #1 + 800f072: bd10 pop {r4, pc} + 800f074: 0800f55c .word 0x0800f55c -0800f064 : - 800f064: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800f068: f3ef 8710 mrs r7, PRIMASK - 800f06c: b672 cpsid i - 800f06e: 4e1d ldr r6, [pc, #116] ; (800f0e4 ) - 800f070: 4d1d ldr r5, [pc, #116] ; (800f0e8 ) - 800f072: 6973 ldr r3, [r6, #20] - 800f074: 4798 blx r3 - 800f076: 6933 ldr r3, [r6, #16] - 800f078: 4604 mov r4, r0 - 800f07a: 4798 blx r3 - 800f07c: 682b ldr r3, [r5, #0] - 800f07e: b94b cbnz r3, 800f094 - 800f080: f04f 0800 mov.w r8, #0 - 800f084: 682b ldr r3, [r5, #0] - 800f086: b98b cbnz r3, 800f0ac - 800f088: 6828 ldr r0, [r5, #0] - 800f08a: bb28 cbnz r0, 800f0d8 - 800f08c: f387 8810 msr PRIMASK, r7 - 800f090: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800f094: 1b01 subs r1, r0, r4 - 800f096: 1a24 subs r4, r4, r0 - 800f098: 681a ldr r2, [r3, #0] - 800f09a: 428a cmp r2, r1 - 800f09c: bf8c ite hi - 800f09e: 1912 addhi r2, r2, r4 - 800f0a0: 2200 movls r2, #0 - 800f0a2: 601a str r2, [r3, #0] - 800f0a4: 695b ldr r3, [r3, #20] - 800f0a6: 2b00 cmp r3, #0 - 800f0a8: d1f6 bne.n 800f098 - 800f0aa: e7e9 b.n 800f080 - 800f0ac: 681c ldr r4, [r3, #0] - 800f0ae: b11c cbz r4, 800f0b8 - 800f0b0: 69b3 ldr r3, [r6, #24] - 800f0b2: 4798 blx r3 - 800f0b4: 4284 cmp r4, r0 - 800f0b6: d2e7 bcs.n 800f088 - 800f0b8: 682c ldr r4, [r5, #0] - 800f0ba: 6963 ldr r3, [r4, #20] - 800f0bc: 602b str r3, [r5, #0] - 800f0be: f8a4 8008 strh.w r8, [r4, #8] - 800f0c2: e9d4 3003 ldrd r3, r0, [r4, #12] +0800f078 : + 800f078: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800f07c: f3ef 8710 mrs r7, PRIMASK + 800f080: b672 cpsid i + 800f082: 4e1d ldr r6, [pc, #116] ; (800f0f8 ) + 800f084: 4d1d ldr r5, [pc, #116] ; (800f0fc ) + 800f086: 6973 ldr r3, [r6, #20] + 800f088: 4798 blx r3 + 800f08a: 6933 ldr r3, [r6, #16] + 800f08c: 4604 mov r4, r0 + 800f08e: 4798 blx r3 + 800f090: 682b ldr r3, [r5, #0] + 800f092: b94b cbnz r3, 800f0a8 + 800f094: f04f 0800 mov.w r8, #0 + 800f098: 682b ldr r3, [r5, #0] + 800f09a: b98b cbnz r3, 800f0c0 + 800f09c: 6828 ldr r0, [r5, #0] + 800f09e: bb28 cbnz r0, 800f0ec + 800f0a0: f387 8810 msr PRIMASK, r7 + 800f0a4: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800f0a8: 1b01 subs r1, r0, r4 + 800f0aa: 1a24 subs r4, r4, r0 + 800f0ac: 681a ldr r2, [r3, #0] + 800f0ae: 428a cmp r2, r1 + 800f0b0: bf8c ite hi + 800f0b2: 1912 addhi r2, r2, r4 + 800f0b4: 2200 movls r2, #0 + 800f0b6: 601a str r2, [r3, #0] + 800f0b8: 695b ldr r3, [r3, #20] + 800f0ba: 2b00 cmp r3, #0 + 800f0bc: d1f6 bne.n 800f0ac + 800f0be: e7e9 b.n 800f094 + 800f0c0: 681c ldr r4, [r3, #0] + 800f0c2: b11c cbz r4, 800f0cc + 800f0c4: 69b3 ldr r3, [r6, #24] 800f0c6: 4798 blx r3 - 800f0c8: 8963 ldrh r3, [r4, #10] - 800f0ca: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 800f0ce: d1d9 bne.n 800f084 - 800f0d0: 4620 mov r0, r4 - 800f0d2: f7ff ff75 bl 800efc0 - 800f0d6: e7d5 b.n 800f084 - 800f0d8: 7a03 ldrb r3, [r0, #8] - 800f0da: 2b00 cmp r3, #0 - 800f0dc: d1d6 bne.n 800f08c - 800f0de: f7ff ff05 bl 800eeec - 800f0e2: e7d3 b.n 800f08c - 800f0e4: 0800f544 .word 0x0800f544 - 800f0e8: 200021b0 .word 0x200021b0 + 800f0c8: 4284 cmp r4, r0 + 800f0ca: d2e7 bcs.n 800f09c + 800f0cc: 682c ldr r4, [r5, #0] + 800f0ce: 6963 ldr r3, [r4, #20] + 800f0d0: 602b str r3, [r5, #0] + 800f0d2: f8a4 8008 strh.w r8, [r4, #8] + 800f0d6: e9d4 3003 ldrd r3, r0, [r4, #12] + 800f0da: 4798 blx r3 + 800f0dc: 8963 ldrh r3, [r4, #10] + 800f0de: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 800f0e2: d1d9 bne.n 800f098 + 800f0e4: 4620 mov r0, r4 + 800f0e6: f7ff ff75 bl 800efd4 + 800f0ea: e7d5 b.n 800f098 + 800f0ec: 7a03 ldrb r3, [r0, #8] + 800f0ee: 2b00 cmp r3, #0 + 800f0f0: d1d6 bne.n 800f0a0 + 800f0f2: f7ff ff05 bl 800ef00 + 800f0f6: e7d3 b.n 800f0a0 + 800f0f8: 0800f55c .word 0x0800f55c + 800f0fc: 200021b0 .word 0x200021b0 -0800f0ec : - 800f0ec: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800f0f0: b097 sub sp, #92 ; 0x5c - 800f0f2: 2900 cmp r1, #0 - 800f0f4: 4680 mov r8, r0 - 800f0f6: 9103 str r1, [sp, #12] - 800f0f8: f340 810e ble.w 800f318 - 800f0fc: 469a mov sl, r3 - 800f0fe: 4604 mov r4, r0 - 800f100: 9903 ldr r1, [sp, #12] - 800f102: 7813 ldrb r3, [r2, #0] - 800f104: eba4 0008 sub.w r0, r4, r8 - 800f108: 3901 subs r1, #1 - 800f10a: b923 cbnz r3, 800f116 - 800f10c: 2300 movs r3, #0 - 800f10e: 7023 strb r3, [r4, #0] - 800f110: b017 add sp, #92 ; 0x5c - 800f112: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800f116: 4288 cmp r0, r1 - 800f118: daf8 bge.n 800f10c - 800f11a: 2b25 cmp r3, #37 ; 0x25 - 800f11c: d004 beq.n 800f128 - 800f11e: f804 3b01 strb.w r3, [r4], #1 - 800f122: 4616 mov r6, r2 - 800f124: 1c72 adds r2, r6, #1 - 800f126: e7eb b.n 800f100 - 800f128: f892 c001 ldrb.w ip, [r2, #1] - 800f12c: f1ac 0330 sub.w r3, ip, #48 ; 0x30 - 800f130: f1d3 0e00 rsbs lr, r3, #0 - 800f134: eb4e 0e03 adc.w lr, lr, r3 - 800f138: f1ac 0330 sub.w r3, ip, #48 ; 0x30 - 800f13c: 2b09 cmp r3, #9 - 800f13e: f102 0601 add.w r6, r2, #1 - 800f142: d829 bhi.n 800f198 - 800f144: 4632 mov r2, r6 - 800f146: 2500 movs r5, #0 - 800f148: f04f 090a mov.w r9, #10 - 800f14c: 4616 mov r6, r2 - 800f14e: f812 3b01 ldrb.w r3, [r2], #1 - 800f152: f1a3 0030 sub.w r0, r3, #48 ; 0x30 - 800f156: 2809 cmp r0, #9 - 800f158: d919 bls.n 800f18e - 800f15a: 7833 ldrb r3, [r6, #0] - 800f15c: 2b69 cmp r3, #105 ; 0x69 - 800f15e: f000 809c beq.w 800f29a - 800f162: d81c bhi.n 800f19e - 800f164: 2b63 cmp r3, #99 ; 0x63 - 800f166: d028 beq.n 800f1ba - 800f168: 2b64 cmp r3, #100 ; 0x64 - 800f16a: f000 8096 beq.w 800f29a - 800f16e: 2b58 cmp r3, #88 ; 0x58 - 800f170: d05b beq.n 800f22a - 800f172: 2b25 cmp r3, #37 ; 0x25 - 800f174: d119 bne.n 800f1aa - 800f176: 7833 ldrb r3, [r6, #0] - 800f178: 2b00 cmp r3, #0 - 800f17a: f000 8092 beq.w 800f2a2 - 800f17e: f804 3b01 strb.w r3, [r4], #1 - 800f182: eba4 0308 sub.w r3, r4, r8 - 800f186: 428b cmp r3, r1 - 800f188: f280 8089 bge.w 800f29e - 800f18c: e7ca b.n 800f124 - 800f18e: fb09 3305 mla r3, r9, r5, r3 - 800f192: f1a3 0530 sub.w r5, r3, #48 ; 0x30 - 800f196: e7d9 b.n 800f14c - 800f198: f04f 35ff mov.w r5, #4294967295 - 800f19c: e7dd b.n 800f15a - 800f19e: 2b75 cmp r3, #117 ; 0x75 - 800f1a0: d07d beq.n 800f29e - 800f1a2: 2b78 cmp r3, #120 ; 0x78 - 800f1a4: d043 beq.n 800f22e - 800f1a6: 2b73 cmp r3, #115 ; 0x73 - 800f1a8: d01e beq.n 800f1e8 - 800f1aa: 2325 movs r3, #37 ; 0x25 - 800f1ac: f804 3b01 strb.w r3, [r4], #1 - 800f1b0: eba4 0308 sub.w r3, r4, r8 - 800f1b4: 428b cmp r3, r1 - 800f1b6: da72 bge.n 800f29e - 800f1b8: e7dd b.n 800f176 - 800f1ba: 2d00 cmp r5, #0 - 800f1bc: f105 39ff add.w r9, r5, #4294967295 - 800f1c0: bfd8 it le - 800f1c2: f04f 0900 movle.w r9, #0 - 800f1c6: 464a mov r2, r9 - 800f1c8: 4620 mov r0, r4 - 800f1ca: 2120 movs r1, #32 - 800f1cc: f000 f8ac bl 800f328 - 800f1d0: 4653 mov r3, sl - 800f1d2: 44a1 add r9, r4 - 800f1d4: 2d00 cmp r5, #0 - 800f1d6: f853 2b04 ldr.w r2, [r3], #4 - 800f1da: f889 2000 strb.w r2, [r9] - 800f1de: bfd8 it le - 800f1e0: 2501 movle r5, #1 - 800f1e2: 442c add r4, r5 - 800f1e4: 469a mov sl, r3 - 800f1e6: e79d b.n 800f124 - 800f1e8: 4b4c ldr r3, [pc, #304] ; (800f31c ) - 800f1ea: f85a 7b04 ldr.w r7, [sl], #4 - 800f1ee: 2f00 cmp r7, #0 - 800f1f0: bf08 it eq - 800f1f2: 461f moveq r7, r3 - 800f1f4: 4638 mov r0, r7 - 800f1f6: f7f0 ffbf bl 8000178 - 800f1fa: eba5 0b00 sub.w fp, r5, r0 - 800f1fe: 4285 cmp r5, r0 - 800f200: bfb8 it lt - 800f202: f04f 0b00 movlt.w fp, #0 - 800f206: 465a mov r2, fp - 800f208: 4681 mov r9, r0 - 800f20a: 2120 movs r1, #32 - 800f20c: 4620 mov r0, r4 - 800f20e: f000 f88b bl 800f328 - 800f212: 44a3 add fp, r4 - 800f214: 2300 movs r3, #0 - 800f216: 454b cmp r3, r9 - 800f218: db02 blt.n 800f220 - 800f21a: eb0b 0409 add.w r4, fp, r9 - 800f21e: e781 b.n 800f124 - 800f220: 5cfa ldrb r2, [r7, r3] - 800f222: f80b 2003 strb.w r2, [fp, r3] - 800f226: 3301 adds r3, #1 - 800f228: e7f5 b.n 800f216 - 800f22a: f04e 0e40 orr.w lr, lr, #64 ; 0x40 - 800f22e: 2010 movs r0, #16 - 800f230: f8df 90ec ldr.w r9, [pc, #236] ; 800f320 - 800f234: 4f3b ldr r7, [pc, #236] ; (800f324 ) - 800f236: f01e 0f40 tst.w lr, #64 ; 0x40 - 800f23a: bf08 it eq - 800f23c: 464f moveq r7, r9 - 800f23e: 4653 mov r3, sl - 800f240: f1bc 0f30 cmp.w ip, #48 ; 0x30 - 800f244: 9701 str r7, [sp, #4] - 800f246: eba4 0208 sub.w r2, r4, r8 - 800f24a: bf0c ite eq - 800f24c: 2730 moveq r7, #48 ; 0x30 - 800f24e: 2720 movne r7, #32 - 800f250: f01e 0f02 tst.w lr, #2 - 800f254: eba1 0202 sub.w r2, r1, r2 - 800f258: 9702 str r7, [sp, #8] - 800f25a: f853 1b04 ldr.w r1, [r3], #4 - 800f25e: d022 beq.n 800f2a6 - 800f260: 2900 cmp r1, #0 - 800f262: da20 bge.n 800f2a6 - 800f264: 4249 negs r1, r1 - 800f266: 3d01 subs r5, #1 - 800f268: f04f 0e2d mov.w lr, #45 ; 0x2d - 800f26c: af05 add r7, sp, #20 - 800f26e: 9700 str r7, [sp, #0] - 800f270: 2700 movs r7, #0 - 800f272: 4689 mov r9, r1 - 800f274: f8dd a004 ldr.w sl, [sp, #4] - 800f278: fbb1 f1f0 udiv r1, r1, r0 - 800f27c: fb00 9b11 mls fp, r0, r1, r9 - 800f280: 4548 cmp r0, r9 - 800f282: f81a b00b ldrb.w fp, [sl, fp] - 800f286: f8dd a000 ldr.w sl, [sp] - 800f28a: f80a bb01 strb.w fp, [sl], #1 - 800f28e: f107 0701 add.w r7, r7, #1 - 800f292: f8cd a000 str.w sl, [sp] - 800f296: d9ec bls.n 800f272 - 800f298: e00e b.n 800f2b8 - 800f29a: f04e 0e02 orr.w lr, lr, #2 - 800f29e: 200a movs r0, #10 - 800f2a0: e7c6 b.n 800f230 - 800f2a2: 3e01 subs r6, #1 - 800f2a4: e76d b.n 800f182 - 800f2a6: b111 cbz r1, 800f2ae - 800f2a8: f04f 0e00 mov.w lr, #0 - 800f2ac: e7de b.n 800f26c - 800f2ae: 2030 movs r0, #48 ; 0x30 - 800f2b0: f88d 0014 strb.w r0, [sp, #20] - 800f2b4: 468e mov lr, r1 - 800f2b6: 2701 movs r7, #1 - 800f2b8: f1bc 0f30 cmp.w ip, #48 ; 0x30 - 800f2bc: eba5 0507 sub.w r5, r5, r7 - 800f2c0: d004 beq.n 800f2cc - 800f2c2: 2020 movs r0, #32 - 800f2c4: 2d00 cmp r5, #0 - 800f2c6: f105 35ff add.w r5, r5, #4294967295 - 800f2ca: dc09 bgt.n 800f2e0 - 800f2cc: f1be 0f00 cmp.w lr, #0 - 800f2d0: d004 beq.n 800f2dc - 800f2d2: 212d movs r1, #45 ; 0x2d - 800f2d4: 3a01 subs r2, #1 - 800f2d6: f804 1b01 strb.w r1, [r4], #1 - 800f2da: d083 beq.n 800f1e4 - 800f2dc: 4425 add r5, r4 - 800f2de: e00a b.n 800f2f6 - 800f2e0: 3a01 subs r2, #1 - 800f2e2: f804 0b01 strb.w r0, [r4], #1 - 800f2e6: d1ed bne.n 800f2c4 - 800f2e8: e77c b.n 800f1e4 - 800f2ea: 9902 ldr r1, [sp, #8] - 800f2ec: f804 1b01 strb.w r1, [r4], #1 - 800f2f0: 3a01 subs r2, #1 - 800f2f2: f43f af77 beq.w 800f1e4 - 800f2f6: 1b29 subs r1, r5, r4 - 800f2f8: 2900 cmp r1, #0 - 800f2fa: dcf6 bgt.n 800f2ea - 800f2fc: a905 add r1, sp, #20 - 800f2fe: 4439 add r1, r7 - 800f300: 4422 add r2, r4 - 800f302: 4427 add r7, r4 - 800f304: 42a7 cmp r7, r4 - 800f306: f43f af6d beq.w 800f1e4 - 800f30a: f811 0d01 ldrb.w r0, [r1, #-1]! - 800f30e: f804 0b01 strb.w r0, [r4], #1 - 800f312: 4294 cmp r4, r2 - 800f314: d1f6 bne.n 800f304 - 800f316: e765 b.n 800f1e4 - 800f318: 2000 movs r0, #0 - 800f31a: e6f9 b.n 800f110 - 800f31c: 08010320 .word 0x08010320 - 800f320: 08010327 .word 0x08010327 - 800f324: 0801034c .word 0x0801034c +0800f100 : + 800f100: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800f104: b097 sub sp, #92 ; 0x5c + 800f106: 2900 cmp r1, #0 + 800f108: 4680 mov r8, r0 + 800f10a: 9103 str r1, [sp, #12] + 800f10c: f340 810e ble.w 800f32c + 800f110: 469a mov sl, r3 + 800f112: 4604 mov r4, r0 + 800f114: 9903 ldr r1, [sp, #12] + 800f116: 7813 ldrb r3, [r2, #0] + 800f118: eba4 0008 sub.w r0, r4, r8 + 800f11c: 3901 subs r1, #1 + 800f11e: b923 cbnz r3, 800f12a + 800f120: 2300 movs r3, #0 + 800f122: 7023 strb r3, [r4, #0] + 800f124: b017 add sp, #92 ; 0x5c + 800f126: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800f12a: 4288 cmp r0, r1 + 800f12c: daf8 bge.n 800f120 + 800f12e: 2b25 cmp r3, #37 ; 0x25 + 800f130: d004 beq.n 800f13c + 800f132: f804 3b01 strb.w r3, [r4], #1 + 800f136: 4616 mov r6, r2 + 800f138: 1c72 adds r2, r6, #1 + 800f13a: e7eb b.n 800f114 + 800f13c: f892 c001 ldrb.w ip, [r2, #1] + 800f140: f1ac 0330 sub.w r3, ip, #48 ; 0x30 + 800f144: f1d3 0e00 rsbs lr, r3, #0 + 800f148: eb4e 0e03 adc.w lr, lr, r3 + 800f14c: f1ac 0330 sub.w r3, ip, #48 ; 0x30 + 800f150: 2b09 cmp r3, #9 + 800f152: f102 0601 add.w r6, r2, #1 + 800f156: d829 bhi.n 800f1ac + 800f158: 4632 mov r2, r6 + 800f15a: 2500 movs r5, #0 + 800f15c: f04f 090a mov.w r9, #10 + 800f160: 4616 mov r6, r2 + 800f162: f812 3b01 ldrb.w r3, [r2], #1 + 800f166: f1a3 0030 sub.w r0, r3, #48 ; 0x30 + 800f16a: 2809 cmp r0, #9 + 800f16c: d919 bls.n 800f1a2 + 800f16e: 7833 ldrb r3, [r6, #0] + 800f170: 2b69 cmp r3, #105 ; 0x69 + 800f172: f000 809c beq.w 800f2ae + 800f176: d81c bhi.n 800f1b2 + 800f178: 2b63 cmp r3, #99 ; 0x63 + 800f17a: d028 beq.n 800f1ce + 800f17c: 2b64 cmp r3, #100 ; 0x64 + 800f17e: f000 8096 beq.w 800f2ae + 800f182: 2b58 cmp r3, #88 ; 0x58 + 800f184: d05b beq.n 800f23e + 800f186: 2b25 cmp r3, #37 ; 0x25 + 800f188: d119 bne.n 800f1be + 800f18a: 7833 ldrb r3, [r6, #0] + 800f18c: 2b00 cmp r3, #0 + 800f18e: f000 8092 beq.w 800f2b6 + 800f192: f804 3b01 strb.w r3, [r4], #1 + 800f196: eba4 0308 sub.w r3, r4, r8 + 800f19a: 428b cmp r3, r1 + 800f19c: f280 8089 bge.w 800f2b2 + 800f1a0: e7ca b.n 800f138 + 800f1a2: fb09 3305 mla r3, r9, r5, r3 + 800f1a6: f1a3 0530 sub.w r5, r3, #48 ; 0x30 + 800f1aa: e7d9 b.n 800f160 + 800f1ac: f04f 35ff mov.w r5, #4294967295 + 800f1b0: e7dd b.n 800f16e + 800f1b2: 2b75 cmp r3, #117 ; 0x75 + 800f1b4: d07d beq.n 800f2b2 + 800f1b6: 2b78 cmp r3, #120 ; 0x78 + 800f1b8: d043 beq.n 800f242 + 800f1ba: 2b73 cmp r3, #115 ; 0x73 + 800f1bc: d01e beq.n 800f1fc + 800f1be: 2325 movs r3, #37 ; 0x25 + 800f1c0: f804 3b01 strb.w r3, [r4], #1 + 800f1c4: eba4 0308 sub.w r3, r4, r8 + 800f1c8: 428b cmp r3, r1 + 800f1ca: da72 bge.n 800f2b2 + 800f1cc: e7dd b.n 800f18a + 800f1ce: 2d00 cmp r5, #0 + 800f1d0: f105 39ff add.w r9, r5, #4294967295 + 800f1d4: bfd8 it le + 800f1d6: f04f 0900 movle.w r9, #0 + 800f1da: 464a mov r2, r9 + 800f1dc: 4620 mov r0, r4 + 800f1de: 2120 movs r1, #32 + 800f1e0: f000 f8ac bl 800f33c + 800f1e4: 4653 mov r3, sl + 800f1e6: 44a1 add r9, r4 + 800f1e8: 2d00 cmp r5, #0 + 800f1ea: f853 2b04 ldr.w r2, [r3], #4 + 800f1ee: f889 2000 strb.w r2, [r9] + 800f1f2: bfd8 it le + 800f1f4: 2501 movle r5, #1 + 800f1f6: 442c add r4, r5 + 800f1f8: 469a mov sl, r3 + 800f1fa: e79d b.n 800f138 + 800f1fc: 4b4c ldr r3, [pc, #304] ; (800f330 ) + 800f1fe: f85a 7b04 ldr.w r7, [sl], #4 + 800f202: 2f00 cmp r7, #0 + 800f204: bf08 it eq + 800f206: 461f moveq r7, r3 + 800f208: 4638 mov r0, r7 + 800f20a: f7f0 ffb5 bl 8000178 + 800f20e: eba5 0b00 sub.w fp, r5, r0 + 800f212: 4285 cmp r5, r0 + 800f214: bfb8 it lt + 800f216: f04f 0b00 movlt.w fp, #0 + 800f21a: 465a mov r2, fp + 800f21c: 4681 mov r9, r0 + 800f21e: 2120 movs r1, #32 + 800f220: 4620 mov r0, r4 + 800f222: f000 f88b bl 800f33c + 800f226: 44a3 add fp, r4 + 800f228: 2300 movs r3, #0 + 800f22a: 454b cmp r3, r9 + 800f22c: db02 blt.n 800f234 + 800f22e: eb0b 0409 add.w r4, fp, r9 + 800f232: e781 b.n 800f138 + 800f234: 5cfa ldrb r2, [r7, r3] + 800f236: f80b 2003 strb.w r2, [fp, r3] + 800f23a: 3301 adds r3, #1 + 800f23c: e7f5 b.n 800f22a + 800f23e: f04e 0e40 orr.w lr, lr, #64 ; 0x40 + 800f242: 2010 movs r0, #16 + 800f244: f8df 90ec ldr.w r9, [pc, #236] ; 800f334 + 800f248: 4f3b ldr r7, [pc, #236] ; (800f338 ) + 800f24a: f01e 0f40 tst.w lr, #64 ; 0x40 + 800f24e: bf08 it eq + 800f250: 464f moveq r7, r9 + 800f252: 4653 mov r3, sl + 800f254: f1bc 0f30 cmp.w ip, #48 ; 0x30 + 800f258: 9701 str r7, [sp, #4] + 800f25a: eba4 0208 sub.w r2, r4, r8 + 800f25e: bf0c ite eq + 800f260: 2730 moveq r7, #48 ; 0x30 + 800f262: 2720 movne r7, #32 + 800f264: f01e 0f02 tst.w lr, #2 + 800f268: eba1 0202 sub.w r2, r1, r2 + 800f26c: 9702 str r7, [sp, #8] + 800f26e: f853 1b04 ldr.w r1, [r3], #4 + 800f272: d022 beq.n 800f2ba + 800f274: 2900 cmp r1, #0 + 800f276: da20 bge.n 800f2ba + 800f278: 4249 negs r1, r1 + 800f27a: 3d01 subs r5, #1 + 800f27c: f04f 0e2d mov.w lr, #45 ; 0x2d + 800f280: af05 add r7, sp, #20 + 800f282: 9700 str r7, [sp, #0] + 800f284: 2700 movs r7, #0 + 800f286: 4689 mov r9, r1 + 800f288: f8dd a004 ldr.w sl, [sp, #4] + 800f28c: fbb1 f1f0 udiv r1, r1, r0 + 800f290: fb00 9b11 mls fp, r0, r1, r9 + 800f294: 4548 cmp r0, r9 + 800f296: f81a b00b ldrb.w fp, [sl, fp] + 800f29a: f8dd a000 ldr.w sl, [sp] + 800f29e: f80a bb01 strb.w fp, [sl], #1 + 800f2a2: f107 0701 add.w r7, r7, #1 + 800f2a6: f8cd a000 str.w sl, [sp] + 800f2aa: d9ec bls.n 800f286 + 800f2ac: e00e b.n 800f2cc + 800f2ae: f04e 0e02 orr.w lr, lr, #2 + 800f2b2: 200a movs r0, #10 + 800f2b4: e7c6 b.n 800f244 + 800f2b6: 3e01 subs r6, #1 + 800f2b8: e76d b.n 800f196 + 800f2ba: b111 cbz r1, 800f2c2 + 800f2bc: f04f 0e00 mov.w lr, #0 + 800f2c0: e7de b.n 800f280 + 800f2c2: 2030 movs r0, #48 ; 0x30 + 800f2c4: f88d 0014 strb.w r0, [sp, #20] + 800f2c8: 468e mov lr, r1 + 800f2ca: 2701 movs r7, #1 + 800f2cc: f1bc 0f30 cmp.w ip, #48 ; 0x30 + 800f2d0: eba5 0507 sub.w r5, r5, r7 + 800f2d4: d004 beq.n 800f2e0 + 800f2d6: 2020 movs r0, #32 + 800f2d8: 2d00 cmp r5, #0 + 800f2da: f105 35ff add.w r5, r5, #4294967295 + 800f2de: dc09 bgt.n 800f2f4 + 800f2e0: f1be 0f00 cmp.w lr, #0 + 800f2e4: d004 beq.n 800f2f0 + 800f2e6: 212d movs r1, #45 ; 0x2d + 800f2e8: 3a01 subs r2, #1 + 800f2ea: f804 1b01 strb.w r1, [r4], #1 + 800f2ee: d083 beq.n 800f1f8 + 800f2f0: 4425 add r5, r4 + 800f2f2: e00a b.n 800f30a + 800f2f4: 3a01 subs r2, #1 + 800f2f6: f804 0b01 strb.w r0, [r4], #1 + 800f2fa: d1ed bne.n 800f2d8 + 800f2fc: e77c b.n 800f1f8 + 800f2fe: 9902 ldr r1, [sp, #8] + 800f300: f804 1b01 strb.w r1, [r4], #1 + 800f304: 3a01 subs r2, #1 + 800f306: f43f af77 beq.w 800f1f8 + 800f30a: 1b29 subs r1, r5, r4 + 800f30c: 2900 cmp r1, #0 + 800f30e: dcf6 bgt.n 800f2fe + 800f310: a905 add r1, sp, #20 + 800f312: 4439 add r1, r7 + 800f314: 4422 add r2, r4 + 800f316: 4427 add r7, r4 + 800f318: 42a7 cmp r7, r4 + 800f31a: f43f af6d beq.w 800f1f8 + 800f31e: f811 0d01 ldrb.w r0, [r1, #-1]! + 800f322: f804 0b01 strb.w r0, [r4], #1 + 800f326: 4294 cmp r4, r2 + 800f328: d1f6 bne.n 800f318 + 800f32a: e765 b.n 800f1f8 + 800f32c: 2000 movs r0, #0 + 800f32e: e6f9 b.n 800f124 + 800f330: 08010338 .word 0x08010338 + 800f334: 0801033f .word 0x0801033f + 800f338: 08010364 .word 0x08010364 -0800f328 : - 800f328: 4402 add r2, r0 - 800f32a: 4603 mov r3, r0 - 800f32c: 4293 cmp r3, r2 - 800f32e: d100 bne.n 800f332 - 800f330: 4770 bx lr - 800f332: f803 1b01 strb.w r1, [r3], #1 - 800f336: e7f9 b.n 800f32c +0800f33c : + 800f33c: 4402 add r2, r0 + 800f33e: 4603 mov r3, r0 + 800f340: 4293 cmp r3, r2 + 800f342: d100 bne.n 800f346 + 800f344: 4770 bx lr + 800f346: f803 1b01 strb.w r1, [r3], #1 + 800f34a: e7f9 b.n 800f340 -0800f338 <__libc_init_array>: - 800f338: b570 push {r4, r5, r6, lr} - 800f33a: 4d0d ldr r5, [pc, #52] ; (800f370 <__libc_init_array+0x38>) - 800f33c: 4c0d ldr r4, [pc, #52] ; (800f374 <__libc_init_array+0x3c>) - 800f33e: 1b64 subs r4, r4, r5 - 800f340: 10a4 asrs r4, r4, #2 - 800f342: 2600 movs r6, #0 - 800f344: 42a6 cmp r6, r4 - 800f346: d109 bne.n 800f35c <__libc_init_array+0x24> - 800f348: 4d0b ldr r5, [pc, #44] ; (800f378 <__libc_init_array+0x40>) - 800f34a: 4c0c ldr r4, [pc, #48] ; (800f37c <__libc_init_array+0x44>) - 800f34c: f000 f898 bl 800f480 <_init> - 800f350: 1b64 subs r4, r4, r5 - 800f352: 10a4 asrs r4, r4, #2 - 800f354: 2600 movs r6, #0 - 800f356: 42a6 cmp r6, r4 - 800f358: d105 bne.n 800f366 <__libc_init_array+0x2e> - 800f35a: bd70 pop {r4, r5, r6, pc} - 800f35c: f855 3b04 ldr.w r3, [r5], #4 - 800f360: 4798 blx r3 - 800f362: 3601 adds r6, #1 - 800f364: e7ee b.n 800f344 <__libc_init_array+0xc> - 800f366: f855 3b04 ldr.w r3, [r5], #4 - 800f36a: 4798 blx r3 - 800f36c: 3601 adds r6, #1 - 800f36e: e7f2 b.n 800f356 <__libc_init_array+0x1e> - 800f370: 08010454 .word 0x08010454 - 800f374: 08010454 .word 0x08010454 - 800f378: 08010454 .word 0x08010454 - 800f37c: 08010458 .word 0x08010458 +0800f34c <__libc_init_array>: + 800f34c: b570 push {r4, r5, r6, lr} + 800f34e: 4d0d ldr r5, [pc, #52] ; (800f384 <__libc_init_array+0x38>) + 800f350: 4c0d ldr r4, [pc, #52] ; (800f388 <__libc_init_array+0x3c>) + 800f352: 1b64 subs r4, r4, r5 + 800f354: 10a4 asrs r4, r4, #2 + 800f356: 2600 movs r6, #0 + 800f358: 42a6 cmp r6, r4 + 800f35a: d109 bne.n 800f370 <__libc_init_array+0x24> + 800f35c: 4d0b ldr r5, [pc, #44] ; (800f38c <__libc_init_array+0x40>) + 800f35e: 4c0c ldr r4, [pc, #48] ; (800f390 <__libc_init_array+0x44>) + 800f360: f000 f89a bl 800f498 <_init> + 800f364: 1b64 subs r4, r4, r5 + 800f366: 10a4 asrs r4, r4, #2 + 800f368: 2600 movs r6, #0 + 800f36a: 42a6 cmp r6, r4 + 800f36c: d105 bne.n 800f37a <__libc_init_array+0x2e> + 800f36e: bd70 pop {r4, r5, r6, pc} + 800f370: f855 3b04 ldr.w r3, [r5], #4 + 800f374: 4798 blx r3 + 800f376: 3601 adds r6, #1 + 800f378: e7ee b.n 800f358 <__libc_init_array+0xc> + 800f37a: f855 3b04 ldr.w r3, [r5], #4 + 800f37e: 4798 blx r3 + 800f380: 3601 adds r6, #1 + 800f382: e7f2 b.n 800f36a <__libc_init_array+0x1e> + 800f384: 0801046c .word 0x0801046c + 800f388: 0801046c .word 0x0801046c + 800f38c: 0801046c .word 0x0801046c + 800f390: 08010470 .word 0x08010470 + 800f394: 00000000 .word 0x00000000 -0800f380 : - 800f380: f3c1 520a ubfx r2, r1, #20, #11 - 800f384: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 800f388: f2a2 36ff subw r6, r2, #1023 ; 0x3ff - 800f38c: 2e13 cmp r6, #19 - 800f38e: 460b mov r3, r1 - 800f390: 4607 mov r7, r0 - 800f392: 460c mov r4, r1 - 800f394: 4605 mov r5, r0 - 800f396: dc32 bgt.n 800f3fe - 800f398: 2e00 cmp r6, #0 - 800f39a: da14 bge.n 800f3c6 - 800f39c: a334 add r3, pc, #208 ; (adr r3, 800f470 ) - 800f39e: e9d3 2300 ldrd r2, r3, [r3] - 800f3a2: f7f0 fef7 bl 8000194 <__adddf3> - 800f3a6: 2200 movs r2, #0 - 800f3a8: 2300 movs r3, #0 - 800f3aa: f7f1 f927 bl 80005fc <__aeabi_dcmpgt> - 800f3ae: b138 cbz r0, 800f3c0 - 800f3b0: 2c00 cmp r4, #0 - 800f3b2: da56 bge.n 800f462 - 800f3b4: f024 4400 bic.w r4, r4, #2147483648 ; 0x80000000 - 800f3b8: 4325 orrs r5, r4 - 800f3ba: d055 beq.n 800f468 - 800f3bc: 4c2e ldr r4, [pc, #184] ; (800f478 ) - 800f3be: 2500 movs r5, #0 - 800f3c0: 4623 mov r3, r4 - 800f3c2: 462f mov r7, r5 - 800f3c4: e025 b.n 800f412 - 800f3c6: 4a2d ldr r2, [pc, #180] ; (800f47c ) - 800f3c8: fa42 f806 asr.w r8, r2, r6 - 800f3cc: ea01 0208 and.w r2, r1, r8 - 800f3d0: 4302 orrs r2, r0 - 800f3d2: d01e beq.n 800f412 - 800f3d4: a326 add r3, pc, #152 ; (adr r3, 800f470 ) - 800f3d6: e9d3 2300 ldrd r2, r3, [r3] - 800f3da: f7f0 fedb bl 8000194 <__adddf3> - 800f3de: 2200 movs r2, #0 - 800f3e0: 2300 movs r3, #0 - 800f3e2: f7f1 f90b bl 80005fc <__aeabi_dcmpgt> - 800f3e6: 2800 cmp r0, #0 - 800f3e8: d0ea beq.n 800f3c0 - 800f3ea: 2c00 cmp r4, #0 - 800f3ec: bfbe ittt lt - 800f3ee: f44f 1380 movlt.w r3, #1048576 ; 0x100000 - 800f3f2: 4133 asrlt r3, r6 - 800f3f4: 18e4 addlt r4, r4, r3 - 800f3f6: ea24 0408 bic.w r4, r4, r8 - 800f3fa: 2500 movs r5, #0 - 800f3fc: e7e0 b.n 800f3c0 - 800f3fe: 2e33 cmp r6, #51 ; 0x33 - 800f400: dd0b ble.n 800f41a - 800f402: f5b6 6f80 cmp.w r6, #1024 ; 0x400 - 800f406: d104 bne.n 800f412 - 800f408: 4602 mov r2, r0 - 800f40a: f7f0 fec3 bl 8000194 <__adddf3> - 800f40e: 4607 mov r7, r0 - 800f410: 460b mov r3, r1 - 800f412: 4638 mov r0, r7 - 800f414: 4619 mov r1, r3 - 800f416: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 800f41a: f2a2 4213 subw r2, r2, #1043 ; 0x413 - 800f41e: f04f 38ff mov.w r8, #4294967295 - 800f422: fa28 f802 lsr.w r8, r8, r2 - 800f426: ea10 0f08 tst.w r0, r8 - 800f42a: d0f2 beq.n 800f412 - 800f42c: a310 add r3, pc, #64 ; (adr r3, 800f470 ) - 800f42e: e9d3 2300 ldrd r2, r3, [r3] - 800f432: f7f0 feaf bl 8000194 <__adddf3> - 800f436: 2200 movs r2, #0 - 800f438: 2300 movs r3, #0 - 800f43a: f7f1 f8df bl 80005fc <__aeabi_dcmpgt> - 800f43e: 2800 cmp r0, #0 - 800f440: d0be beq.n 800f3c0 - 800f442: 2c00 cmp r4, #0 - 800f444: da0a bge.n 800f45c - 800f446: 2e14 cmp r6, #20 - 800f448: d101 bne.n 800f44e - 800f44a: 3401 adds r4, #1 - 800f44c: e006 b.n 800f45c - 800f44e: f1c6 0634 rsb r6, r6, #52 ; 0x34 - 800f452: 2301 movs r3, #1 - 800f454: 40b3 lsls r3, r6 - 800f456: 441d add r5, r3 - 800f458: 42af cmp r7, r5 - 800f45a: d8f6 bhi.n 800f44a - 800f45c: ea25 0508 bic.w r5, r5, r8 - 800f460: e7ae b.n 800f3c0 - 800f462: 2500 movs r5, #0 - 800f464: 462c mov r4, r5 - 800f466: e7ab b.n 800f3c0 - 800f468: f04f 4400 mov.w r4, #2147483648 ; 0x80000000 - 800f46c: e7a8 b.n 800f3c0 - 800f46e: bf00 nop - 800f470: 8800759c .word 0x8800759c - 800f474: 7e37e43c .word 0x7e37e43c - 800f478: bff00000 .word 0xbff00000 - 800f47c: 000fffff .word 0x000fffff +0800f398 : + 800f398: f3c1 520a ubfx r2, r1, #20, #11 + 800f39c: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 800f3a0: f2a2 36ff subw r6, r2, #1023 ; 0x3ff + 800f3a4: 2e13 cmp r6, #19 + 800f3a6: 460b mov r3, r1 + 800f3a8: 4607 mov r7, r0 + 800f3aa: 460c mov r4, r1 + 800f3ac: 4605 mov r5, r0 + 800f3ae: dc32 bgt.n 800f416 + 800f3b0: 2e00 cmp r6, #0 + 800f3b2: da14 bge.n 800f3de + 800f3b4: a334 add r3, pc, #208 ; (adr r3, 800f488 ) + 800f3b6: e9d3 2300 ldrd r2, r3, [r3] + 800f3ba: f7f0 feeb bl 8000194 <__adddf3> + 800f3be: 2200 movs r2, #0 + 800f3c0: 2300 movs r3, #0 + 800f3c2: f7f1 f91b bl 80005fc <__aeabi_dcmpgt> + 800f3c6: b138 cbz r0, 800f3d8 + 800f3c8: 2c00 cmp r4, #0 + 800f3ca: da56 bge.n 800f47a + 800f3cc: f024 4400 bic.w r4, r4, #2147483648 ; 0x80000000 + 800f3d0: 4325 orrs r5, r4 + 800f3d2: d055 beq.n 800f480 + 800f3d4: 4c2e ldr r4, [pc, #184] ; (800f490 ) + 800f3d6: 2500 movs r5, #0 + 800f3d8: 4623 mov r3, r4 + 800f3da: 462f mov r7, r5 + 800f3dc: e025 b.n 800f42a + 800f3de: 4a2d ldr r2, [pc, #180] ; (800f494 ) + 800f3e0: fa42 f806 asr.w r8, r2, r6 + 800f3e4: ea01 0208 and.w r2, r1, r8 + 800f3e8: 4302 orrs r2, r0 + 800f3ea: d01e beq.n 800f42a + 800f3ec: a326 add r3, pc, #152 ; (adr r3, 800f488 ) + 800f3ee: e9d3 2300 ldrd r2, r3, [r3] + 800f3f2: f7f0 fecf bl 8000194 <__adddf3> + 800f3f6: 2200 movs r2, #0 + 800f3f8: 2300 movs r3, #0 + 800f3fa: f7f1 f8ff bl 80005fc <__aeabi_dcmpgt> + 800f3fe: 2800 cmp r0, #0 + 800f400: d0ea beq.n 800f3d8 + 800f402: 2c00 cmp r4, #0 + 800f404: bfbe ittt lt + 800f406: f44f 1380 movlt.w r3, #1048576 ; 0x100000 + 800f40a: 4133 asrlt r3, r6 + 800f40c: 18e4 addlt r4, r4, r3 + 800f40e: ea24 0408 bic.w r4, r4, r8 + 800f412: 2500 movs r5, #0 + 800f414: e7e0 b.n 800f3d8 + 800f416: 2e33 cmp r6, #51 ; 0x33 + 800f418: dd0b ble.n 800f432 + 800f41a: f5b6 6f80 cmp.w r6, #1024 ; 0x400 + 800f41e: d104 bne.n 800f42a + 800f420: 4602 mov r2, r0 + 800f422: f7f0 feb7 bl 8000194 <__adddf3> + 800f426: 4607 mov r7, r0 + 800f428: 460b mov r3, r1 + 800f42a: 4638 mov r0, r7 + 800f42c: 4619 mov r1, r3 + 800f42e: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 800f432: f2a2 4213 subw r2, r2, #1043 ; 0x413 + 800f436: f04f 38ff mov.w r8, #4294967295 + 800f43a: fa28 f802 lsr.w r8, r8, r2 + 800f43e: ea10 0f08 tst.w r0, r8 + 800f442: d0f2 beq.n 800f42a + 800f444: a310 add r3, pc, #64 ; (adr r3, 800f488 ) + 800f446: e9d3 2300 ldrd r2, r3, [r3] + 800f44a: f7f0 fea3 bl 8000194 <__adddf3> + 800f44e: 2200 movs r2, #0 + 800f450: 2300 movs r3, #0 + 800f452: f7f1 f8d3 bl 80005fc <__aeabi_dcmpgt> + 800f456: 2800 cmp r0, #0 + 800f458: d0be beq.n 800f3d8 + 800f45a: 2c00 cmp r4, #0 + 800f45c: da0a bge.n 800f474 + 800f45e: 2e14 cmp r6, #20 + 800f460: d101 bne.n 800f466 + 800f462: 3401 adds r4, #1 + 800f464: e006 b.n 800f474 + 800f466: f1c6 0634 rsb r6, r6, #52 ; 0x34 + 800f46a: 2301 movs r3, #1 + 800f46c: 40b3 lsls r3, r6 + 800f46e: 441d add r5, r3 + 800f470: 42af cmp r7, r5 + 800f472: d8f6 bhi.n 800f462 + 800f474: ea25 0508 bic.w r5, r5, r8 + 800f478: e7ae b.n 800f3d8 + 800f47a: 2500 movs r5, #0 + 800f47c: 462c mov r4, r5 + 800f47e: e7ab b.n 800f3d8 + 800f480: f04f 4400 mov.w r4, #2147483648 ; 0x80000000 + 800f484: e7a8 b.n 800f3d8 + 800f486: bf00 nop + 800f488: 8800759c .word 0x8800759c + 800f48c: 7e37e43c .word 0x7e37e43c + 800f490: bff00000 .word 0xbff00000 + 800f494: 000fffff .word 0x000fffff -0800f480 <_init>: - 800f480: b5f8 push {r3, r4, r5, r6, r7, lr} - 800f482: bf00 nop - 800f484: bcf8 pop {r3, r4, r5, r6, r7} - 800f486: bc08 pop {r3} - 800f488: 469e mov lr, r3 - 800f48a: 4770 bx lr +0800f498 <_init>: + 800f498: b5f8 push {r3, r4, r5, r6, r7, lr} + 800f49a: bf00 nop + 800f49c: bcf8 pop {r3, r4, r5, r6, r7} + 800f49e: bc08 pop {r3} + 800f4a0: 469e mov lr, r3 + 800f4a2: 4770 bx lr -0800f48c <_fini>: - 800f48c: b5f8 push {r3, r4, r5, r6, r7, lr} - 800f48e: bf00 nop - 800f490: bcf8 pop {r3, r4, r5, r6, r7} - 800f492: bc08 pop {r3} - 800f494: 469e mov lr, r3 - 800f496: 4770 bx lr +0800f4a4 <_fini>: + 800f4a4: b5f8 push {r3, r4, r5, r6, r7, lr} + 800f4a6: bf00 nop + 800f4a8: bcf8 pop {r3, r4, r5, r6, r7} + 800f4aa: bc08 pop {r3} + 800f4ac: 469e mov lr, r3 + 800f4ae: 4770 bx lr