; ; CRYPTO_secure_malloc from 0xa23d04 to 0xa24388 (1668 bytes) ; ; 6 xrefs: ; > BUF_MEM_grow @ 0x9ed88c ; > BUF_MEM_grow_clean @ 0x9eda0c ; > sub_A0A67C @ 0xa0a6b4 ; > sub_A0A7BC @ 0xa0a898 ; > CRYPTO_secure_zalloc @ 0xa24450 ; > @ 0x79a6c ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:07:57 +0000 ; PUSH {R4-R11,LR} ; +0x0, 0xa23d04 LDR R5, =(dword_D35754 - 0xA23D18) ; +0x4, 0xa23d08 SUB SP, SP, #0x2C ; +0x8, 0xa23d0c ADD R5, PC, R5; dword_D35754 ; +0xc, 0xa23d10 LDR R3, [R5,#(dword_D3577C - 0xD35754)] ; +0x10, 0xa23d14 CMP R3, #0 ; +0x14, 0xa23d18 BEQ loc_A24108 ; +0x18, 0xa23d1c MOV R4, R0 ; +0x1c, 0xa23d20 LDR R0, [R5,#(dword_D35780 - 0xD35754)] ; +0x20, 0xa23d24 BL CRYPTO_THREAD_write_lock ; +0x24, 0xa23d28 LDR R3, [R5,#(dword_D3576C - 0xD35754)] ; +0x28, 0xa23d2c LDR R2, [R5,#(dword_D35768 - 0xD35754)] ; +0x2c, 0xa23d30 CMP R4, R3 ; +0x30, 0xa23d34 SUB R1, R2, #1 ; +0x34, 0xa23d38 STR R1, [SP,#0x2C+var_14] ; +0x38, 0xa23d3c BLS loc_A23D58 ; +0x3c, 0xa23d40 MOV R3, R3,LSL#1 ; +0x40, 0xa23d44 CMP R4, R3 ; +0x44, 0xa23d48 SUB R1, R1, #1 ; +0x48, 0xa23d4c BHI loc_A23D44 ; +0x4c, 0xa23d50 STR R1, [SP,#0x2C+var_14] ; +0x50, 0xa23d54 CMP R1, #0 ; +0x54, 0xa23d58 BLT loc_A24290 ; +0x58, 0xa23d5c LDR R3, =(dword_D35754 - 0xA23D70) ; +0x5c, 0xa23d60 MOV R0, R1,LSL#2 ; +0x60, 0xa23d64 ADD R3, PC, R3; dword_D35754 ; +0x64, 0xa23d68 LDR R5, [R3,#(dword_D35764 - 0xD35754)] ; +0x68, 0xa23d6c MOV R8, R1 ; +0x6c, 0xa23d70 ADD R3, R5, R0 ; +0x70, 0xa23d74 STR R0, [SP,#0x2C+var_8] ; +0x74, 0xa23d78 RSB R4, R5, R3 ; +0x78, 0xa23d7c LDR R7, [R3],#-4 ; +0x7c, 0xa23d80 CMP R7, #0 ; +0x80, 0xa23d84 BNE loc_A23DC0 ; +0x84, 0xa23d88 SUBS R8, R8, #1 ; +0x88, 0xa23d8c BCS loc_A23D7C ; +0x8c, 0xa23d90 MOV R3, R7 ; +0x90, 0xa23d94 LDR R2, =(dword_D35754 - 0xA23DA4) ; +0x94, 0xa23d98 ADD R2, PC, R2; dword_D35754 ; +0x98, 0xa23d9c LDR R1, [R2,#(dword_D35784 - 0xD35754)] ; +0x9c, 0xa23da0 LDR R0, [R2,#(dword_D35780 - 0xD35754)] ; +0xa0, 0xa23da4 ADD R3, R3, R1 ; +0xa4, 0xa23da8 STR R3, [R2,#(dword_D35784 - 0xD35754)] ; +0xa8, 0xa23dac BL CRYPTO_THREAD_unlock ; +0xac, 0xa23db0 MOV R0, R7 ; +0xb0, 0xa23db4 ADD SP, SP, #0x2C ; ',' ; +0xb4, 0xa23db8 POP {R4-R11,PC} ; +0xb8, 0xa23dbc LDR R3, [SP,#0x2C+var_14] ; +0xbc, 0xa23dc0 CMP R3, R8 ; +0xc0, 0xa23dc4 BEQ loc_A2429C ; +0xc4, 0xa23dc8 LDR R3, =(dword_D35754 - 0xA23DDC) ; +0xc8, 0xa23dcc CMP R2, R8 ; +0xcc, 0xa23dd0 ADD R3, PC, R3; dword_D35754 ; +0xd0, 0xa23dd4 LDR R5, [R3,#(dword_D35774 - 0xD35754)] ; +0xd4, 0xa23dd8 BLE loc_A24260 ; +0xd8, 0xa23ddc LDR R11, [R3,#(dword_D35760 - 0xD35754)] ; +0xdc, 0xa23de0 LDR R2, [R3,#(dword_D3575C - 0xD35754)] ; +0xe0, 0xa23de4 MOV R11, R11,LSR R8 ; +0xe4, 0xa23de8 RSB R2, R2, R7 ; +0xe8, 0xa23dec SUB R3, R11, #1 ; +0xec, 0xa23df0 TST R2, R3 ; +0xf0, 0xa23df4 BNE loc_A24298 ; +0xf4, 0xa23df8 ADD R3, R8, #1 ; +0xf8, 0xa23dfc MOV R6, R3,LSL#2 ; +0xfc, 0xa23e00 LDR R3, =(dword_D35754 - 0xA23E14) ; +0x100, 0xa23e04 LDR R9, =(dword_D35754 - 0xA23E40) ; +0x104, 0xa23e08 ADD R3, PC, R3; dword_D35754 ; +0x108, 0xa23e0c STR R3, [SP,#0x2C+var_28] ; +0x10c, 0xa23e10 LDR R3, =(dword_D35754 - 0xA23E24) ; +0x110, 0xa23e14 LDR R10, =(dword_D35754 - 0xA23E4C) ; +0x114, 0xa23e18 ADD R3, PC, R3; dword_D35754 ; +0x118, 0xa23e1c STR R3, [SP,#0x2C+var_C] ; +0x11c, 0xa23e20 LDR R3, =(dword_D35754 - 0xA23E34) ; +0x120, 0xa23e24 STR R5, [SP,#0x2C+var_24] ; +0x124, 0xa23e28 ADD R3, PC, R3; dword_D35754 ; +0x128, 0xa23e2c STR R3, [SP,#0x2C+var_18] ; +0x12c, 0xa23e30 LDR R3, =(dword_D35754 - 0xA23E44) ; +0x130, 0xa23e34 ADD R9, PC, R9; dword_D35754 ; +0x134, 0xa23e38 ADD R3, PC, R3; dword_D35754 ; +0x138, 0xa23e3c STR R3, [SP,#0x2C+var_1C] ; +0x13c, 0xa23e40 ADD R10, PC, R10; dword_D35754 ; +0x140, 0xa23e44 MOV R5, R2 ; +0x144, 0xa23e48 B loc_A24084 ; +0x148, 0xa23e4c LDR R2, [SP,#0x2C+var_18] ; +0x14c, 0xa23e50 LDR R3, [R3,#4] ; +0x150, 0xa23e54 LDR R1, [R2,#(dword_D35764 - 0xD35754)] ; +0x154, 0xa23e58 CMP R3, R1 ; +0x158, 0xa23e5c BCC loc_A23E74 ; +0x15c, 0xa23e60 LDR R2, [R2,#(dword_D35768 - 0xD35754)] ; +0x160, 0xa23e64 ADD R2, R1, R2,LSL#2 ; +0x164, 0xa23e68 CMP R3, R2 ; +0x168, 0xa23e6c BCC loc_A23E98 ; +0x16c, 0xa23e70 LDR R2, [SP,#0x2C+var_1C] ; +0x170, 0xa23e74 LDR R2, [R2,#(dword_D3575C - 0xD35754)] ; +0x174, 0xa23e78 CMP R3, R2 ; +0x178, 0xa23e7c BCC loc_A242AC ; +0x17c, 0xa23e80 LDR R0, [SP,#0x2C+var_1C] ; +0x180, 0xa23e84 LDR R0, [R0,#(dword_D35760 - 0xD35754)] ; +0x184, 0xa23e88 ADD R2, R2, R0 ; +0x188, 0xa23e8c CMP R3, R2 ; +0x18c, 0xa23e90 BCS loc_A242AC ; +0x190, 0xa23e94 LDR R3, [R1,R4] ; +0x194, 0xa23e98 CMP R7, R3 ; +0x198, 0xa23e9c BEQ loc_A24340 ; +0x19c, 0xa23ea0 ADDS R8, R8, #1 ; +0x1a0, 0xa23ea4 LDR R5, [R9,#(dword_D35774 - 0xD35754)] ; +0x1a4, 0xa23ea8 BMI loc_A24260 ; +0x1a8, 0xa23eac LDR R3, [R9,#(dword_D35768 - 0xD35754)] ; +0x1ac, 0xa23eb0 CMP R8, R3 ; +0x1b0, 0xa23eb4 BGE loc_A24260 ; +0x1b4, 0xa23eb8 LDR R1, [R9,#(dword_D35760 - 0xD35754)] ; +0x1b8, 0xa23ebc LDR R0, [R9,#(dword_D3575C - 0xD35754)] ; +0x1bc, 0xa23ec0 MOV R1, R1,LSR R8 ; +0x1c0, 0xa23ec4 RSB R0, R0, R7 ; +0x1c4, 0xa23ec8 SUB R3, R1, #1 ; +0x1c8, 0xa23ecc TST R3, R0 ; +0x1cc, 0xa23ed0 BNE loc_A24298 ; +0x1d0, 0xa23ed4 BL __aeabi_uidiv ; +0x1d4, 0xa23ed8 MOV R3, #1 ; +0x1d8, 0xa23edc MOV R4, R3,LSL R8 ; +0x1dc, 0xa23ee0 ADDS R0, R0, R4 ; +0x1e0, 0xa23ee4 BEQ loc_A24278 ; +0x1e4, 0xa23ee8 LDR R2, [R9,#(dword_D35778 - 0xD35754)] ; +0x1e8, 0xa23eec CMP R0, R2 ; +0x1ec, 0xa23ef0 BCS loc_A24278 ; +0x1f0, 0xa23ef4 LDRB R2, [R5,R0,LSR#3] ; +0x1f4, 0xa23ef8 AND R0, R0, #7 ; +0x1f8, 0xa23efc ANDS R3, R2, R3,LSL R0 ; +0x1fc, 0xa23f00 BNE loc_A24328 ; +0x200, 0xa23f04 MOV R0, R7 ; +0x204, 0xa23f08 MOV R1, R8 ; +0x208, 0xa23f0c LDR R2, [R9,#(dword_D35770 - 0xD35754)] ; +0x20c, 0xa23f10 BL sub_A233B4 ; +0x210, 0xa23f14 LDR R0, [R9,#(dword_D35764 - 0xD35754)] ; +0x214, 0xa23f18 MOV R1, R7 ; +0x218, 0xa23f1c ADD R0, R0, R6 ; +0x21c, 0xa23f20 BL sub_A234BC ; +0x220, 0xa23f24 LDR R3, [R9,#(dword_D35764 - 0xD35754)] ; +0x224, 0xa23f28 LDR R3, [R3,R6] ; +0x228, 0xa23f2c CMP R7, R3 ; +0x22c, 0xa23f30 BNE loc_A24310 ; +0x230, 0xa23f34 LDR R1, [R9,#(dword_D35760 - 0xD35754)] ; +0x234, 0xa23f38 LDR R3, [R9,#(dword_D35768 - 0xD35754)] ; +0x238, 0xa23f3c MOV R1, R1,LSR R8 ; +0x23c, 0xa23f40 CMP R8, R3 ; +0x240, 0xa23f44 ADD R7, R7, R1 ; +0x244, 0xa23f48 LDR R5, [R9,#(dword_D35774 - 0xD35754)] ; +0x248, 0xa23f4c BGE loc_A24260 ; +0x24c, 0xa23f50 LDR R0, [R9,#(dword_D3575C - 0xD35754)] ; +0x250, 0xa23f54 SUB R3, R1, #1 ; +0x254, 0xa23f58 RSB R0, R0, R7 ; +0x258, 0xa23f5c TST R0, R3 ; +0x25c, 0xa23f60 BNE loc_A24298 ; +0x260, 0xa23f64 BL __aeabi_uidiv ; +0x264, 0xa23f68 ADDS R0, R0, R4 ; +0x268, 0xa23f6c BEQ loc_A24278 ; +0x26c, 0xa23f70 LDR R3, [R10,#(dword_D35778 - 0xD35754)] ; +0x270, 0xa23f74 CMP R0, R3 ; +0x274, 0xa23f78 BCS loc_A24278 ; +0x278, 0xa23f7c LDRB R3, [R5,R0,LSR#3] ; +0x27c, 0xa23f80 MOV R2, #1 ; +0x280, 0xa23f84 AND R0, R0, #7 ; +0x284, 0xa23f88 ANDS R3, R3, R2,LSL R0 ; +0x288, 0xa23f8c STR R3, [SP,#0x2C+var_10] ; +0x28c, 0xa23f90 BNE loc_A242F8 ; +0x290, 0xa23f94 MOV R0, R7 ; +0x294, 0xa23f98 MOV R1, R8 ; +0x298, 0xa23f9c LDR R2, [R10,#(dword_D35770 - 0xD35754)] ; +0x29c, 0xa23fa0 BL sub_A233B4 ; +0x2a0, 0xa23fa4 LDR R0, [R10,#(dword_D35764 - 0xD35754)] ; +0x2a4, 0xa23fa8 MOV R1, R7 ; +0x2a8, 0xa23fac ADD R0, R0, R6 ; +0x2ac, 0xa23fb0 BL sub_A234BC ; +0x2b0, 0xa23fb4 LDR R12, [R10,#(dword_D35764 - 0xD35754)] ; +0x2b4, 0xa23fb8 LDR R3, [R12,R6] ; +0x2b8, 0xa23fbc CMP R7, R3 ; +0x2bc, 0xa23fc0 BNE loc_A242E0 ; +0x2c0, 0xa23fc4 LDR R11, [R10,#(dword_D35760 - 0xD35754)] ; +0x2c4, 0xa23fc8 LDR R3, [R10,#(dword_D3575C - 0xD35754)] ; +0x2c8, 0xa23fcc MOV R11, R11,LSR R8 ; +0x2cc, 0xa23fd0 RSB R5, R3, R7 ; +0x2d0, 0xa23fd4 MOV R1, R11 ; +0x2d4, 0xa23fd8 MOV R0, R5 ; +0x2d8, 0xa23fdc STR R12, [SP,#0x2C+var_24] ; +0x2dc, 0xa23fe0 STR R3, [SP,#0x2C+var_20] ; +0x2e0, 0xa23fe4 BL __aeabi_uidiv ; +0x2e4, 0xa23fe8 LDR R2, [R10,#(dword_D35770 - 0xD35754)] ; +0x2e8, 0xa23fec RSB R1, R11, R7 ; +0x2ec, 0xa23ff0 LDR R12, [SP,#0x2C+var_24] ; +0x2f0, 0xa23ff4 ADD R0, R0, R4 ; +0x2f4, 0xa23ff8 EOR R0, R0, #1 ; +0x2f8, 0xa23ffc LDRB R3, [R2,R0,LSR#3] ; +0x2fc, 0xa24000 AND LR, R0, #7 ; +0x300, 0xa24004 MOV R3, R3,LSR LR ; +0x304, 0xa24008 ANDS R3, R3, #1 ; +0x308, 0xa2400c BEQ loc_A2403C ; +0x30c, 0xa24010 LDR R3, [R10,#(dword_D35774 - 0xD35754)] ; +0x310, 0xa24014 LDRB R3, [R3,R0,LSR#3] ; +0x314, 0xa24018 MOV LR, R3,LSR LR ; +0x318, 0xa2401c TST LR, #1 ; +0x31c, 0xa24020 SUBEQ R4, R4, #1 ; +0x320, 0xa24024 ANDEQ R3, R0, R4 ; +0x324, 0xa24028 LDREQ R0, [SP,#0x2C+var_20] ; +0x328, 0xa2402c LDRNE R3, [SP,#0x2C+var_10] ; +0x32c, 0xa24030 MLAEQ R0, R11, R3, R0 ; +0x330, 0xa24034 MOVEQ R3, R0 ; +0x334, 0xa24038 CMP R1, R3 ; +0x338, 0xa2403c BNE loc_A242C8 ; +0x33c, 0xa24040 LDR R3, [SP,#0x2C+var_14] ; +0x340, 0xa24044 CMP R3, R8 ; +0x344, 0xa24048 BEQ loc_A24114 ; +0x348, 0xa2404c LDR R3, =(dword_D35754 - 0xA2405C) ; +0x34c, 0xa24050 ADD R3, PC, R3; dword_D35754 ; +0x350, 0xa24054 LDR R2, [R3,#(dword_D35768 - 0xD35754)] ; +0x354, 0xa24058 LDR R3, [R3,#(dword_D35774 - 0xD35754)] ; +0x358, 0xa2405c CMP R8, R2 ; +0x35c, 0xa24060 STR R3, [SP,#0x2C+var_24] ; +0x360, 0xa24064 BGE loc_A24260 ; +0x364, 0xa24068 SUB R2, R11, #1 ; +0x368, 0xa2406c TST R2, R5 ; +0x36c, 0xa24070 MOV R4, R6 ; +0x370, 0xa24074 ADD R2, R6, #4 ; +0x374, 0xa24078 BNE loc_A24298 ; +0x378, 0xa2407c MOV R6, R2 ; +0x37c, 0xa24080 MOV R1, R11 ; +0x380, 0xa24084 MOV R0, R5 ; +0x384, 0xa24088 BL __aeabi_uidiv ; +0x388, 0xa2408c MOV R2, #1 ; +0x38c, 0xa24090 MOV R1, R2,LSL R8 ; +0x390, 0xa24094 ADDS R0, R1, R0 ; +0x394, 0xa24098 BEQ loc_A24278 ; +0x398, 0xa2409c LDR R3, [SP,#0x2C+var_28] ; +0x39c, 0xa240a0 LDR R1, [R3,#(dword_D35778 - 0xD35754)] ; +0x3a0, 0xa240a4 CMP R0, R1 ; +0x3a4, 0xa240a8 BCS loc_A24278 ; +0x3a8, 0xa240ac LDR R3, [SP,#0x2C+var_24] ; +0x3ac, 0xa240b0 LDRB R3, [R3,R0,LSR#3] ; +0x3b0, 0xa240b4 AND R0, R0, #7 ; +0x3b4, 0xa240b8 ANDS R3, R3, R2,LSL R0 ; +0x3b8, 0xa240bc BNE loc_A242B0 ; +0x3bc, 0xa240c0 LDR R3, [SP,#0x2C+var_28] ; +0x3c0, 0xa240c4 MOV R0, R7 ; +0x3c4, 0xa240c8 LDR R2, [R3,#(dword_D35770 - 0xD35754)] ; +0x3c8, 0xa240cc MOV R1, R8 ; +0x3cc, 0xa240d0 BL sub_A235E8 ; +0x3d0, 0xa240d4 LDR R3, [R7] ; +0x3d4, 0xa240d8 CMP R3, #0 ; +0x3d8, 0xa240dc LDRNE R2, [R7,#4] ; +0x3dc, 0xa240e0 STRNE R2, [R3,#4] ; +0x3e0, 0xa240e4 LDR R2, [R7,#4] ; +0x3e4, 0xa240e8 STR R3, [R2] ; +0x3e8, 0xa240ec LDR R3, [R7] ; +0x3ec, 0xa240f0 CMP R3, #0 ; +0x3f0, 0xa240f4 BNE loc_A23E50 ; +0x3f4, 0xa240f8 LDR R3, [SP,#0x2C+var_C] ; +0x3f8, 0xa240fc LDR R1, [R3,#(dword_D35764 - 0xD35754)] ; +0x3fc, 0xa24100 B loc_A23E98 ; +0x400, 0xa24104 ADD SP, SP, #0x2C ; ',' ; +0x404, 0xa24108 POP {R4-R11,LR} ; +0x408, 0xa2410c B CRYPTO_malloc ; +0x40c, 0xa24110 LDR R3, =(dword_D35754 - 0xA24124) ; +0x410, 0xa24114 MOV R5, R12 ; +0x414, 0xa24118 ADD R3, PC, R3; dword_D35754 ; +0x418, 0xa2411c MOV R12, R2 ; +0x41c, 0xa24120 LDR R2, [R3,#(dword_D35768 - 0xD35754)] ; +0x420, 0xa24124 LDR R3, [SP,#0x2C+var_14] ; +0x424, 0xa24128 STR R12, [SP,#0x2C+var_28] ; +0x428, 0xa2412c CMP R3, R2 ; +0x42c, 0xa24130 LDR R2, [SP,#0x2C+var_8] ; +0x430, 0xa24134 LDR R7, [R5,R2] ; +0x434, 0xa24138 BGE loc_A24260 ; +0x438, 0xa2413c LDR R4, =(dword_D35754 - 0xA24150) ; +0x43c, 0xa24140 MOV R5, R3 ; +0x440, 0xa24144 ADD R4, PC, R4; dword_D35754 ; +0x444, 0xa24148 LDR R1, [R4,#(dword_D35760 - 0xD35754)] ; +0x448, 0xa2414c LDR R0, [R4,#(dword_D3575C - 0xD35754)] ; +0x44c, 0xa24150 MOV R1, R1,LSR R3 ; +0x450, 0xa24154 RSB R0, R0, R7 ; +0x454, 0xa24158 SUB R3, R1, #1 ; +0x458, 0xa2415c TST R0, R3 ; +0x45c, 0xa24160 BNE loc_A24298 ; +0x460, 0xa24164 BL __aeabi_uidiv ; +0x464, 0xa24168 MOV R3, #1 ; +0x468, 0xa2416c ADDS R0, R0, R3,LSL R5 ; +0x46c, 0xa24170 BEQ loc_A24278 ; +0x470, 0xa24174 LDR R2, [R4,#(dword_D35778 - 0xD35754)] ; +0x474, 0xa24178 CMP R0, R2 ; +0x478, 0xa2417c BCS loc_A24278 ; +0x47c, 0xa24180 LDR R12, [SP,#0x2C+var_28] ; +0x480, 0xa24184 LDRB R2, [R12,R0,LSR#3] ; +0x484, 0xa24188 AND R0, R0, #7 ; +0x488, 0xa2418c ANDS R3, R2, R3,LSL R0 ; +0x48c, 0xa24190 BEQ loc_A24358 ; +0x490, 0xa24194 LDR R2, [R4,#(dword_D35774 - 0xD35754)] ; +0x494, 0xa24198 LDR R1, [SP,#0x2C+var_14] ; +0x498, 0xa2419c MOV R0, R7 ; +0x49c, 0xa241a0 BL sub_A233B4 ; +0x4a0, 0xa241a4 LDR R3, [R7] ; +0x4a4, 0xa241a8 CMP R3, #0 ; +0x4a8, 0xa241ac LDRNE R2, [R7,#4] ; +0x4ac, 0xa241b0 STRNE R2, [R3,#4] ; +0x4b0, 0xa241b4 LDR R2, [R7,#4] ; +0x4b4, 0xa241b8 STR R3, [R2] ; +0x4b8, 0xa241bc LDR R3, [R7] ; +0x4bc, 0xa241c0 CMP R3, #0 ; +0x4c0, 0xa241c4 BEQ loc_A24250 ; +0x4c4, 0xa241c8 LDR R1, =(dword_D35754 - 0xA241DC) ; +0x4c8, 0xa241cc LDR R2, [R3,#4] ; +0x4cc, 0xa241d0 ADD R1, PC, R1; dword_D35754 ; +0x4d0, 0xa241d4 LDR R3, [R1,#(dword_D35764 - 0xD35754)] ; +0x4d4, 0xa241d8 CMP R2, R3 ; +0x4d8, 0xa241dc BCS loc_A24240 ; +0x4dc, 0xa241e0 LDR R1, =(dword_D35754 - 0xA241F0) ; +0x4e0, 0xa241e4 ADD R1, PC, R1; dword_D35754 ; +0x4e4, 0xa241e8 LDR R3, [R1,#(dword_D3575C - 0xD35754)] ; +0x4e8, 0xa241ec CMP R2, R3 ; +0x4ec, 0xa241f0 BCC loc_A242AC ; +0x4f0, 0xa241f4 LDR R1, [R1,#(dword_D35760 - 0xD35754)] ; +0x4f4, 0xa241f8 ADD R1, R3, R1 ; +0x4f8, 0xa241fc CMP R2, R1 ; +0x4fc, 0xa24200 BCS loc_A242AC ; +0x500, 0xa24204 CMP R7, R3 ; +0x504, 0xa24208 BCC loc_A24370 ; +0x508, 0xa2420c LDR R2, =(dword_D35754 - 0xA2421C) ; +0x50c, 0xa24210 ADD R2, PC, R2; dword_D35754 ; +0x510, 0xa24214 LDR R2, [R2,#(dword_D35760 - 0xD35754)] ; +0x514, 0xa24218 ADD R3, R3, R2 ; +0x518, 0xa2421c CMP R7, R3 ; +0x51c, 0xa24220 BCS loc_A24370 ; +0x520, 0xa24224 CMP R7, #0 ; +0x524, 0xa24228 BEQ loc_A23D94 ; +0x528, 0xa2422c MOV R0, R7 ; +0x52c, 0xa24230 BL sub_A236F0 ; +0x530, 0xa24234 MOV R3, R0 ; +0x534, 0xa24238 B loc_A23D98 ; +0x538, 0xa2423c LDR R1, [R1,#(dword_D35768 - 0xD35754)] ; +0x53c, 0xa24240 ADD R3, R3, R1,LSL#2 ; +0x540, 0xa24244 CMP R2, R3 ; +0x544, 0xa24248 BCS loc_A241E4 ; +0x548, 0xa2424c LDR R3, =(dword_D35754 - 0xA2425C) ; +0x54c, 0xa24250 ADD R3, PC, R3; dword_D35754 ; +0x550, 0xa24254 LDR R3, [R3,#(dword_D3575C - 0xD35754)] ; +0x554, 0xa24258 B loc_A24208 ; +0x558, 0xa2425c LDR R0, =(aAssertionFaile_47 - 0xA24270); "assertion failed: list >= 0 && list < s"... ; +0x55c, 0xa24260 LDR R1, =(aCryptoMemSecC - 0xA24274); "crypto/mem_sec.c" ; +0x560, 0xa24264 ADD R0, PC, R0; "assertion failed: list >= 0 && list < s"... ; +0x564, 0xa24268 ADD R1, PC, R1; "crypto/mem_sec.c" ; +0x568, 0xa2426c LDR R2, =0x10E ; +0x56c, 0xa24270 BL OPENSSL_die ; +0x570, 0xa24274 LDR R0, =(aAssertionFaile_46 - 0xA24288); "assertion failed: bit > 0 && bit < sh.b"... ; +0x574, 0xa24278 LDR R1, =(aCryptoMemSecC - 0xA2428C); "crypto/mem_sec.c" ; +0x578, 0xa2427c ADD R0, PC, R0; "assertion failed: bit > 0 && bit < sh.b"... ; +0x57c, 0xa24280 ADD R1, PC, R1; "crypto/mem_sec.c" ; +0x580, 0xa24284 LDR R2, =0x111 ; +0x584, 0xa24288 BL OPENSSL_die ; +0x588, 0xa2428c MOV R7, #0 ; +0x58c, 0xa24290 B loc_A23D94 ; +0x590, 0xa24294 BL sub_38BCF8 ; +0x594, 0xa24298 LDR R3, =(dword_D35754 - 0xA242A8) ; +0x598, 0xa2429c ADD R3, PC, R3; dword_D35754 ; +0x59c, 0xa242a0 LDR R12, [R3,#(dword_D35770 - 0xD35754)] ; +0x5a0, 0xa242a4 B loc_A24128 ; +0x5a4, 0xa242a8 BL sub_38BD20 ; +0x5a8, 0xa242ac LDR R0, =(aAssertionFaile_63 - 0xA242C0); "assertion failed: !sh_testbit(temp, sli"... ; +0x5ac, 0xa242b0 LDR R1, =(aCryptoMemSecC - 0xA242C4); "crypto/mem_sec.c" ; +0x5b0, 0xa242b4 ADD R0, PC, R0; "assertion failed: !sh_testbit(temp, sli"... ; +0x5b4, 0xa242b8 ADD R1, PC, R1; "crypto/mem_sec.c" ; +0x5b8, 0xa242bc MOV R2, #0x1F0 ; +0x5bc, 0xa242c0 BL OPENSSL_die ; +0x5c0, 0xa242c4 LDR R0, =(aAssertionFaile_64 - 0xA242D8); "assertion failed: temp-(sh.arena_size >"... ; +0x5c4, 0xa242c8 LDR R1, =(aCryptoMemSecC - 0xA242DC); "crypto/mem_sec.c" ; +0x5c8, 0xa242cc ADD R0, PC, R0; "assertion failed: temp-(sh.arena_size >"... ; +0x5cc, 0xa242d0 ADD R1, PC, R1; "crypto/mem_sec.c" ; +0x5d0, 0xa242d4 LDR R2, =0x205 ; +0x5d4, 0xa242d8 BL OPENSSL_die ; +0x5d8, 0xa242dc LDR R0, =(aAssertionFaile_65 - 0xA242F0); "assertion failed: sh.freelist[slist] =="... ; +0x5dc, 0xa242e0 LDR R1, =(aCryptoMemSecC - 0xA242F4); "crypto/mem_sec.c" ; +0x5e0, 0xa242e4 ADD R0, PC, R0; "assertion failed: sh.freelist[slist] =="... ; +0x5e4, 0xa242e8 ADD R1, PC, R1; "crypto/mem_sec.c" ; +0x5e8, 0xa242ec LDR R2, =0x203 ; +0x5ec, 0xa242f0 BL OPENSSL_die ; +0x5f0, 0xa242f4 LDR R0, =(aAssertionFaile_63 - 0xA24308); "assertion failed: !sh_testbit(temp, sli"... ; +0x5f4, 0xa242f8 LDR R1, =(aCryptoMemSecC - 0xA2430C); "crypto/mem_sec.c" ; +0x5f8, 0xa242fc ADD R0, PC, R0; "assertion failed: !sh_testbit(temp, sli"... ; +0x5fc, 0xa24300 ADD R1, PC, R1; "crypto/mem_sec.c" ; +0x600, 0xa24304 MOV R2, #0x200 ; +0x604, 0xa24308 BL OPENSSL_die ; +0x608, 0xa2430c LDR R0, =(aAssertionFaile_65 - 0xA24320); "assertion failed: sh.freelist[slist] =="... ; +0x60c, 0xa24310 LDR R1, =(aCryptoMemSecC - 0xA24324); "crypto/mem_sec.c" ; +0x610, 0xa24314 ADD R0, PC, R0; "assertion failed: sh.freelist[slist] =="... ; +0x614, 0xa24318 ADD R1, PC, R1; "crypto/mem_sec.c" ; +0x618, 0xa2431c MOV R2, #0x1FC ; +0x61c, 0xa24320 BL OPENSSL_die ; +0x620, 0xa24324 LDR R0, =(aAssertionFaile_63 - 0xA24338); "assertion failed: !sh_testbit(temp, sli"... ; +0x624, 0xa24328 LDR R1, =(aCryptoMemSecC - 0xA2433C); "crypto/mem_sec.c" ; +0x628, 0xa2432c ADD R0, PC, R0; "assertion failed: !sh_testbit(temp, sli"... ; +0x62c, 0xa24330 ADD R1, PC, R1; "crypto/mem_sec.c" ; +0x630, 0xa24334 LDR R2, =0x1F9 ; +0x634, 0xa24338 BL OPENSSL_die ; +0x638, 0xa2433c LDR R0, =(aAssertionFaile_66 - 0xA24350); "assertion failed: temp != sh.freelist[s"... ; +0x63c, 0xa24340 LDR R1, =(aCryptoMemSecC - 0xA24354); "crypto/mem_sec.c" ; +0x640, 0xa24344 ADD R0, PC, R0; "assertion failed: temp != sh.freelist[s"... ; +0x644, 0xa24348 ADD R1, PC, R1; "crypto/mem_sec.c" ; +0x648, 0xa2434c LDR R2, =0x1F3 ; +0x64c, 0xa24350 BL OPENSSL_die ; +0x650, 0xa24354 LDR R0, =(aAssertionFaile_67 - 0xA24368); "assertion failed: sh_testbit(chunk, lis"... ; +0x654, 0xa24358 LDR R1, =(aCryptoMemSecC - 0xA2436C); "crypto/mem_sec.c" ; +0x658, 0xa2435c ADD R0, PC, R0; "assertion failed: sh_testbit(chunk, lis"... ; +0x65c, 0xa24360 ADD R1, PC, R1; "crypto/mem_sec.c" ; +0x660, 0xa24364 LDR R2, =0x20A ; +0x664, 0xa24368 BL OPENSSL_die ; +0x668, 0xa2436c LDR R0, =(aAssertionFaile_68 - 0xA24380); "assertion failed: WITHIN_ARENA(chunk)" ; +0x66c, 0xa24370 LDR R1, =(aCryptoMemSecC - 0xA24384); "crypto/mem_sec.c" ; +0x670, 0xa24374 ADD R0, PC, R0; "assertion failed: WITHIN_ARENA(chunk)" ; +0x674, 0xa24378 ADD R1, PC, R1; "crypto/mem_sec.c" ; +0x678, 0xa2437c LDR R2, =0x20E ; +0x67c, 0xa24380 BL OPENSSL_die ; +0x680, 0xa24384