; ; CCAnimateFrameCache::addDict from 0x2e4ec4 to 0x2e4ff8 (308 bytes) ; ; 1 xrefs: ; > CCAnimateFrameCache::addCustomSpriteFramesWithFile @ 0x2e51e6 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH.W {R4-R11,LR} ; +0x0, 0x2e4ec4 SUB SP, SP, #0x2C ; +0x4, 0x2e4ec8 LDR R5, =(__stack_chk_guard_ptr - 0x2E4ED8) ; +0x6, 0x2e4eca ADD R4, SP, #0x2C+var_C ; +0x8, 0x2e4ecc LDR.W R8, [R0,#0x3C] ; +0xa, 0x2e4ece ADD R6, SP, #0x2C+var_10 ; +0xe, 0x2e4ed2 ADD R5, PC; __stack_chk_guard_ptr ; +0x10, 0x2e4ed4 LDR R5, [R5]; __stack_chk_guard ; +0x12, 0x2e4ed6 STR R0, [SP,#0x2C+var_28] ; +0x14, 0x2e4ed8 MOV R7, R1 ; +0x16, 0x2e4eda MOV R0, R4; int ; +0x18, 0x2e4edc LDR R3, [R5] ; +0x1a, 0x2e4ede MOV R1, R2; char * ; +0x1c, 0x2e4ee0 MOV R2, R6 ; +0x1e, 0x2e4ee2 STR R3, [SP,#0x2C+var_8] ; +0x20, 0x2e4ee4 BL sub_776584 ; +0x22, 0x2e4ee6 MOV R0, R8; int ; +0x26, 0x2e4eea MOV R1, R7; this ; +0x28, 0x2e4eec MOV R2, R4 ; +0x2a, 0x2e4eee STR R5, [SP,#0x2C+var_24] ; +0x2c, 0x2e4ef0 BL _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectERKSs; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const&) ; +0x2e, 0x2e4ef2 MOV R0, R4 ; +0x32, 0x2e4ef6 BL sub_774008 ; +0x34, 0x2e4ef8 LDR R1, =(aAnimationconta - 0x2E4F06); "animationContainer" ; +0x38, 0x2e4efc MOV R0, R4; int ; +0x3a, 0x2e4efe MOV R2, R6 ; +0x3c, 0x2e4f00 ADD R1, PC; "animationContainer" ; +0x3e, 0x2e4f02 BL sub_776584 ; +0x40, 0x2e4f04 MOV R0, R7 ; +0x44, 0x2e4f08 MOV R1, R4 ; +0x46, 0x2e4f0a BL _ZN7cocos2d12CCDictionary12objectForKeyERKSs; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x48, 0x2e4f0c MOV R9, R0 ; +0x4c, 0x2e4f10 MOV R0, R4 ; +0x4e, 0x2e4f12 BL sub_774008 ; +0x50, 0x2e4f14 MOV R0, R9; this ; +0x54, 0x2e4f18 BL _ZN7cocos2d12CCDictionary7allKeysEv; cocos2d::CCDictionary::allKeys(void) ; +0x56, 0x2e4f1a LDR R3, =(aSpriteI - 0x2E4F26); "sprite_%i" ; +0x5a, 0x2e4f1e MOVS R5, #0 ; +0x5c, 0x2e4f20 ADD R3, PC; "sprite_%i" ; +0x5e, 0x2e4f22 STR R3, [SP,#0x2C+var_1C] ; +0x60, 0x2e4f24 MOV R8, R0 ; +0x62, 0x2e4f26 MOV R0, R8; this ; +0x64, 0x2e4f28 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x66, 0x2e4f2a CMP R5, R0 ; +0x6a, 0x2e4f2e BCS loc_2E4FD0 ; +0x6c, 0x2e4f30 MOV R1, R5; unsigned int ; +0x6e, 0x2e4f32 MOV R0, R8; this ; +0x70, 0x2e4f34 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x72, 0x2e4f36 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x76, 0x2e4f3a ADD R2, SP, #0x2C+var_10 ; +0x7a, 0x2e4f3e MOV R6, R0 ; +0x7c, 0x2e4f40 MOV R0, R4; int ; +0x7e, 0x2e4f42 MOV R1, R6; char * ; +0x80, 0x2e4f44 BL sub_776584 ; +0x82, 0x2e4f46 MOV R0, R9 ; +0x86, 0x2e4f4a MOV R1, R4 ; +0x88, 0x2e4f4c BL _ZN7cocos2d12CCDictionary12objectForKeyERKSs; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x8a, 0x2e4f4e MOV R10, R0 ; +0x8e, 0x2e4f52 MOV R0, R4 ; +0x90, 0x2e4f54 BL sub_774008 ; +0x92, 0x2e4f56 BL _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x96, 0x2e4f5a LDR R3, [SP,#0x2C+var_28] ; +0x9a, 0x2e4f5e MOV R1, R6; char * ; +0x9c, 0x2e4f60 ADD R2, SP, #0x2C+var_10 ; +0x9e, 0x2e4f62 LDR R3, [R3,#0x34] ; +0xa0, 0x2e4f64 STR R3, [SP,#0x2C+var_20] ; +0xa2, 0x2e4f66 MOV R11, R0 ; +0xa4, 0x2e4f68 MOV R0, R4; int ; +0xa6, 0x2e4f6a BL sub_776584 ; +0xa8, 0x2e4f6c LDR R3, [SP,#0x2C+var_20] ; +0xac, 0x2e4f70 MOV R1, R11; this ; +0xae, 0x2e4f72 MOV R2, R4 ; +0xb0, 0x2e4f74 MOV R0, R3; int ; +0xb2, 0x2e4f76 BL _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectERKSs; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const&) ; +0xb4, 0x2e4f78 MOV R0, R4 ; +0xb8, 0x2e4f7c MOVS R6, #0 ; +0xba, 0x2e4f7e BL sub_774008 ; +0xbc, 0x2e4f80 ADD R3, SP, #0x2C+var_10 ; +0xc0, 0x2e4f84 STR R3, [SP,#0x2C+var_20] ; +0xc2, 0x2e4f86 MOV R0, R10; this ; +0xc4, 0x2e4f88 BL _ZN7cocos2d12CCDictionary5countEv; cocos2d::CCDictionary::count(void) ; +0xc6, 0x2e4f8a CMP R6, R0 ; +0xca, 0x2e4f8e BCS loc_2E4FCC ; +0xcc, 0x2e4f90 MOV R1, R6; char * ; +0xce, 0x2e4f92 LDR R0, [SP,#0x2C+var_1C]; this ; +0xd0, 0x2e4f94 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0xd2, 0x2e4f96 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0xd6, 0x2e4f9a LDR R2, [SP,#0x2C+var_20] ; +0xda, 0x2e4f9e MOV R1, R0; char * ; +0xdc, 0x2e4fa0 MOV R0, R4; int ; +0xde, 0x2e4fa2 BL sub_776584 ; +0xe0, 0x2e4fa4 MOV R0, R10 ; +0xe4, 0x2e4fa8 MOV R1, R4 ; +0xe6, 0x2e4faa BL _ZN7cocos2d12CCDictionary12objectForKeyERKSs; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0xe8, 0x2e4fac STR R0, [SP,#0x2C+var_18] ; +0xec, 0x2e4fb0 MOV R0, R4 ; +0xee, 0x2e4fb2 BL sub_774008 ; +0xf0, 0x2e4fb4 LDR R3, [SP,#0x2C+var_18] ; +0xf4, 0x2e4fb8 ADDS R6, #1 ; +0xf6, 0x2e4fba MOV R0, R3; this ; +0xf8, 0x2e4fbc BL _ZN17SpriteDescription17createDescriptionEPN7cocos2d12CCDictionaryE; SpriteDescription::createDescription(cocos2d::CCDictionary *) ; +0xfa, 0x2e4fbe MOV R1, R0; cocos2d::CCObject * ; +0xfe, 0x2e4fc2 MOV R0, R11; this ; +0x100, 0x2e4fc4 BL _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x102, 0x2e4fc6 B loc_2E4F88 ; +0x106, 0x2e4fca ADDS R5, #1 ; +0x108, 0x2e4fcc B loc_2E4F28 ; +0x10a, 0x2e4fce LDR R3, [SP,#0x2C+var_24] ; +0x10c, 0x2e4fd0 MOV R0, R7 ; +0x10e, 0x2e4fd2 LDR R2, [SP,#0x2C+var_8] ; +0x110, 0x2e4fd4 LDR R3, [R3] ; +0x112, 0x2e4fd6 CMP R2, R3 ; +0x114, 0x2e4fd8 BEQ loc_2E4FF2 ; +0x116, 0x2e4fda BLX __stack_chk_fail ; +0x118, 0x2e4fdc B loc_2E4FE2 ; +0x11c, 0x2e4fe0 MOV R0, R4 ; +0x11e, 0x2e4fe2 BL sub_774008 ; +0x120, 0x2e4fe4 BL __cxa_end_cleanup ; +0x124, 0x2e4fe8 B loc_2E4FE2 ; +0x128, 0x2e4fec B loc_2E4FE2 ; +0x12a, 0x2e4fee B loc_2E4FE2 ; +0x12c, 0x2e4ff0 ADD SP, SP, #0x2C ; ',' ; +0x12e, 0x2e4ff2 POP.W {R4-R11,PC} ; +0x130, 0x2e4ff4