; ; CCAnimateFrameCache::addDict from 0x3c49c0 to 0x3c4b2a (362 bytes) ; ; 1 xrefs: ; > CCAnimateFrameCache::addCustomSpriteFramesWithFile @ 0x3c4e6a ; ; 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 11:46:33 +0000 ; PUSH.W {R4-R11,LR} ; +0x0, 0x3c49c0 SUB SP, SP, #0x2C ; +0x4, 0x3c49c4 LDR R5, =(__stack_chk_guard_ptr - 0x3C49D4) ; +0x6, 0x3c49c6 MOV R8, R1 ; +0x8, 0x3c49c8 LDR.W R9, [R0,#0x3C] ; +0xa, 0x3c49ca MOV R6, R2 ; +0xe, 0x3c49ce ADD R5, PC; __stack_chk_guard_ptr ; +0x10, 0x3c49d0 LDR R5, [R5]; __stack_chk_guard ; +0x12, 0x3c49d2 STR R0, [SP,#0x2C+var_24] ; +0x14, 0x3c49d4 MOV R0, R2; char * ; +0x16, 0x3c49d6 MOVS R7, #0 ; +0x18, 0x3c49d8 LDR R3, [R5] ; +0x1a, 0x3c49da ADD R4, SP, #0x2C+var_14 ; +0x1c, 0x3c49dc STR R7, [SP,#0x2C+var_14] ; +0x1e, 0x3c49de STR R7, [SP,#0x2C+var_10] ; +0x20, 0x3c49e0 STR R3, [SP,#0x2C+var_8] ; +0x22, 0x3c49e2 STR R7, [SP,#0x2C+var_C] ; +0x24, 0x3c49e4 BLX strlen ; +0x26, 0x3c49e6 MOV R1, R6 ; +0x2a, 0x3c49ea MOV R2, R0 ; +0x2c, 0x3c49ec MOV R0, R4 ; +0x2e, 0x3c49ee BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x30, 0x3c49f0 MOV R0, R9; int ; +0x34, 0x3c49f4 MOV R1, R8; this ; +0x36, 0x3c49f6 MOV R2, R4 ; +0x38, 0x3c49f8 STR R5, [SP,#0x2C+var_20] ; +0x3a, 0x3c49fa BL _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectERKNSt6__ndk112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const&) ; +0x3c, 0x3c49fc MOV R0, R4 ; +0x40, 0x3c4a00 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x42, 0x3c4a02 LDR R1, =(aAnimationconta - 0x3C4A10); "animationContainer" ; +0x46, 0x3c4a06 MOV R0, R4 ; +0x48, 0x3c4a08 MOVS R2, #0x12 ; +0x4a, 0x3c4a0a ADD R1, PC; "animationContainer" ; +0x4c, 0x3c4a0c STR R7, [SP,#0x2C+var_14] ; +0x4e, 0x3c4a0e STR R7, [SP,#0x2C+var_10] ; +0x50, 0x3c4a10 STR R7, [SP,#0x2C+var_C] ; +0x52, 0x3c4a12 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x54, 0x3c4a14 MOV R0, R8 ; +0x58, 0x3c4a18 MOV R1, R4 ; +0x5a, 0x3c4a1a BL _ZN7cocos2d12CCDictionary12objectForKeyERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x5c, 0x3c4a1c MOV R10, R0 ; +0x60, 0x3c4a20 MOV R0, R4 ; +0x62, 0x3c4a22 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x64, 0x3c4a24 MOV R0, R10; this ; +0x68, 0x3c4a28 BL _ZN7cocos2d12CCDictionary7allKeysEv; cocos2d::CCDictionary::allKeys(void) ; +0x6a, 0x3c4a2a LDR R3, =(aSpriteI - 0x3C4A38); "sprite_%i" ; +0x6e, 0x3c4a2e MOV R6, R7 ; +0x70, 0x3c4a30 MOV R5, R7 ; +0x72, 0x3c4a32 ADD R3, PC; "sprite_%i" ; +0x74, 0x3c4a34 STR R3, [SP,#0x2C+var_1C] ; +0x76, 0x3c4a36 MOV R9, R0 ; +0x78, 0x3c4a38 MOV R0, R9; this ; +0x7a, 0x3c4a3a BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x7c, 0x3c4a3c CMP R6, R0 ; +0x80, 0x3c4a40 BCS loc_3C4B02 ; +0x82, 0x3c4a42 MOV R1, R6; unsigned int ; +0x84, 0x3c4a44 MOV R0, R9; this ; +0x86, 0x3c4a46 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x88, 0x3c4a48 ADD R4, SP, #0x2C+var_14 ; +0x8c, 0x3c4a4c BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x8e, 0x3c4a4e STR R5, [SP,#0x2C+var_14] ; +0x92, 0x3c4a52 STR R5, [SP,#0x2C+var_10] ; +0x94, 0x3c4a54 STR R5, [SP,#0x2C+var_C] ; +0x96, 0x3c4a56 MOV R7, R0 ; +0x98, 0x3c4a58 BLX strlen ; +0x9a, 0x3c4a5a MOV R1, R7 ; +0x9e, 0x3c4a5e MOV R2, R0 ; +0xa0, 0x3c4a60 MOV R0, R4 ; +0xa2, 0x3c4a62 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xa4, 0x3c4a64 MOV R0, R10 ; +0xa8, 0x3c4a68 MOV R1, R4 ; +0xaa, 0x3c4a6a BL _ZN7cocos2d12CCDictionary12objectForKeyERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0xac, 0x3c4a6c MOV R11, R0 ; +0xb0, 0x3c4a70 MOV R0, R4 ; +0xb2, 0x3c4a72 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb4, 0x3c4a74 BL _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0xb8, 0x3c4a78 LDR R3, [SP,#0x2C+var_24] ; +0xbc, 0x3c4a7c STR R5, [SP,#0x2C+var_14] ; +0xbe, 0x3c4a7e STR R5, [SP,#0x2C+var_10] ; +0xc0, 0x3c4a80 LDR R3, [R3,#0x34] ; +0xc2, 0x3c4a82 STR R5, [SP,#0x2C+var_C] ; +0xc4, 0x3c4a84 STR R3, [SP,#0x2C+var_18] ; +0xc6, 0x3c4a86 STR R0, [SP,#0x2C+var_28] ; +0xc8, 0x3c4a88 MOV R0, R7; char * ; +0xca, 0x3c4a8a BLX strlen ; +0xcc, 0x3c4a8c MOV R1, R7 ; +0xd0, 0x3c4a90 MOV R2, R0 ; +0xd2, 0x3c4a92 MOV R0, R4 ; +0xd4, 0x3c4a94 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xd6, 0x3c4a96 LDR R3, [SP,#0x2C+var_18] ; +0xda, 0x3c4a9a LDR R1, [SP,#0x2C+var_28]; this ; +0xdc, 0x3c4a9c MOV R2, R4 ; +0xde, 0x3c4a9e MOV R0, R3; int ; +0xe0, 0x3c4aa0 BL _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectERKNSt6__ndk112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const&) ; +0xe2, 0x3c4aa2 MOV R0, R4 ; +0xe6, 0x3c4aa6 MOVS R7, #0 ; +0xe8, 0x3c4aa8 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xea, 0x3c4aaa MOV R0, R11; this ; +0xee, 0x3c4aae BL _ZN7cocos2d12CCDictionary5countEv; cocos2d::CCDictionary::count(void) ; +0xf0, 0x3c4ab0 CMP R7, R0 ; +0xf4, 0x3c4ab4 BCS loc_3C4AFE ; +0xf6, 0x3c4ab6 MOV R1, R7; char * ; +0xf8, 0x3c4ab8 LDR R0, [SP,#0x2C+var_1C]; this ; +0xfa, 0x3c4aba BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0xfc, 0x3c4abc BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x100, 0x3c4ac0 STR R5, [SP,#0x2C+var_14] ; +0x104, 0x3c4ac4 STR R5, [SP,#0x2C+var_10] ; +0x106, 0x3c4ac6 STR R5, [SP,#0x2C+var_C] ; +0x108, 0x3c4ac8 STR R0, [SP,#0x2C+var_18] ; +0x10a, 0x3c4aca BLX strlen ; +0x10c, 0x3c4acc LDR R1, [SP,#0x2C+var_18] ; +0x110, 0x3c4ad0 MOV R2, R0 ; +0x112, 0x3c4ad2 MOV R0, R4 ; +0x114, 0x3c4ad4 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x116, 0x3c4ad6 MOV R0, R11 ; +0x11a, 0x3c4ada MOV R1, R4 ; +0x11c, 0x3c4adc BL _ZN7cocos2d12CCDictionary12objectForKeyERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x11e, 0x3c4ade STR R0, [SP,#0x2C+var_18] ; +0x122, 0x3c4ae2 MOV R0, R4 ; +0x124, 0x3c4ae4 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x126, 0x3c4ae6 LDR R3, [SP,#0x2C+var_18] ; +0x12a, 0x3c4aea ADDS R7, #1 ; +0x12c, 0x3c4aec MOV R0, R3; this ; +0x12e, 0x3c4aee BL _ZN17SpriteDescription17createDescriptionEPN7cocos2d12CCDictionaryE; SpriteDescription::createDescription(cocos2d::CCDictionary *) ; +0x130, 0x3c4af0 MOV R1, R0; cocos2d::CCObject * ; +0x134, 0x3c4af4 LDR R0, [SP,#0x2C+var_28]; this ; +0x136, 0x3c4af6 BL _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x138, 0x3c4af8 B loc_3C4AAE ; +0x13c, 0x3c4afc ADDS R6, #1 ; +0x13e, 0x3c4afe B loc_3C4A3A ; +0x140, 0x3c4b00 LDR R3, [SP,#0x2C+var_20] ; +0x142, 0x3c4b02 MOV R0, R8 ; +0x144, 0x3c4b04 LDR R2, [SP,#0x2C+var_8] ; +0x146, 0x3c4b06 LDR R3, [R3] ; +0x148, 0x3c4b08 CMP R2, R3 ; +0x14a, 0x3c4b0a BEQ loc_3C4B24 ; +0x14c, 0x3c4b0c BLX __stack_chk_fail ; +0x14e, 0x3c4b0e B loc_3C4B14 ; +0x152, 0x3c4b12 MOV R0, R4 ; +0x154, 0x3c4b14 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x156, 0x3c4b16 BL __cxa_end_cleanup ; +0x15a, 0x3c4b1a B loc_3C4B14 ; +0x15e, 0x3c4b1e B loc_3C4B14 ; +0x160, 0x3c4b20 B loc_3C4B14 ; +0x162, 0x3c4b22 ADD SP, SP, #0x2C ; ',' ; +0x164, 0x3c4b24 POP.W {R4-R11,PC} ; +0x166, 0x3c4b26