; ; CCPartAnimSprite::changeTextureOfID from 0x3c7990 to 0x3c7a22 (146 bytes) ; ; 0 xrefs: ; ; 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:35 +0000 ; PUSH.W {R0-R8,LR} ; +0x0, 0x3c7990 MOV R6, R1 ; +0x4, 0x3c7994 LDR R5, =(__stack_chk_guard_ptr - 0x3C79A4) ; +0x6, 0x3c7996 MOV R7, R2 ; +0x8, 0x3c7998 LDR.W R8, [R0,#0x1FC] ; +0xa, 0x3c799a MOV R0, R1; char * ; +0xe, 0x3c799e ADD R5, PC; __stack_chk_guard_ptr ; +0x10, 0x3c79a0 LDR R5, [R5]; __stack_chk_guard ; +0x12, 0x3c79a2 MOV R4, SP ; +0x14, 0x3c79a4 LDR R3, [R5] ; +0x16, 0x3c79a6 STR R3, [SP,#0x10+var_4] ; +0x18, 0x3c79a8 MOVS R3, #0 ; +0x1a, 0x3c79aa STR R3, [SP,#0x10+var_10] ; +0x1c, 0x3c79ac STR R3, [SP,#0x10+var_C] ; +0x1e, 0x3c79ae STR R3, [SP,#0x10+var_8] ; +0x20, 0x3c79b0 BLX strlen ; +0x22, 0x3c79b2 MOV R1, R6 ; +0x26, 0x3c79b6 MOV R2, R0 ; +0x28, 0x3c79b8 MOV R0, SP ; +0x2a, 0x3c79ba BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x2c, 0x3c79bc MOV R0, R8 ; +0x30, 0x3c79c0 MOV R1, SP ; +0x32, 0x3c79c2 BL _ZN7cocos2d12CCDictionary12objectForKeyERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x34, 0x3c79c4 MOV R6, R0 ; +0x38, 0x3c79c8 MOV R0, SP ; +0x3a, 0x3c79ca BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x3c, 0x3c79cc CBZ R6, loc_3C7A10 ; +0x40, 0x3c79d0 CBNZ R7, loc_3C79DC ; +0x42, 0x3c79d2 MOV R0, R6; this ; +0x44, 0x3c79d4 BL _ZN12CCSpritePart16resetTextureRectEv; CCSpritePart::resetTextureRect(void) ; +0x46, 0x3c79d6 B loc_3C7A10 ; +0x4a, 0x3c79da MOV R0, R7; char * ; +0x4c, 0x3c79dc MOVS R3, #0 ; +0x4e, 0x3c79de STR R3, [SP,#0x10+var_10] ; +0x50, 0x3c79e0 STR R3, [SP,#0x10+var_C] ; +0x52, 0x3c79e2 STR R3, [SP,#0x10+var_8] ; +0x54, 0x3c79e4 BLX strlen ; +0x56, 0x3c79e6 MOV R1, R7 ; +0x5a, 0x3c79ea MOV R2, R0 ; +0x5c, 0x3c79ec MOV R0, SP ; +0x5e, 0x3c79ee BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x60, 0x3c79f0 MOV R0, R6 ; +0x64, 0x3c79f4 MOV R1, SP ; +0x66, 0x3c79f6 BL _ZN12CCSpritePart18updateDisplayFrameENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCSpritePart::updateDisplayFrame(std::string) ; +0x68, 0x3c79f8 MOV R0, SP ; +0x6c, 0x3c79fc BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x6e, 0x3c79fe B loc_3C7A10 ; +0x72, 0x3c7a02 B loc_3C7A06 ; +0x74, 0x3c7a04 MOV R0, R4 ; +0x76, 0x3c7a06 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x78, 0x3c7a08 BL __cxa_end_cleanup ; +0x7c, 0x3c7a0c LDR R2, [SP,#0x10+var_4] ; +0x80, 0x3c7a10 LDR R3, [R5] ; +0x82, 0x3c7a12 CMP R2, R3 ; +0x84, 0x3c7a14 BEQ loc_3C7A1C ; +0x86, 0x3c7a16 BLX __stack_chk_fail ; +0x88, 0x3c7a18 ADD SP, SP, #0x10 ; +0x8c, 0x3c7a1c POP.W {R4-R8,PC} ; +0x8e, 0x3c7a1e