; ; AnimatedGameObject::playAnimation from 0x4f5e3c to 0x4f5f04 (200 bytes) ; ; 2 xrefs: ; > PlayLayer::loadActiveSaveObjects @ 0x4020d2 ; > GJBaseGameLayer::playAnimationCommand @ 0x590904 ; ; 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:51:16 +0000 ; PUSH {R4-R7,LR} ; +0x0, 0x4f5e3c MOV R4, R0 ; +0x2, 0x4f5e3e VPUSH {D8} ; +0x4, 0x4f5e40 MOV R7, R1 ; +0x8, 0x4f5e44 LDR R6, =(__stack_chk_guard_ptr - 0x4F5E4C) ; +0xa, 0x4f5e46 ADD R6, PC; __stack_chk_guard_ptr ; +0xc, 0x4f5e48 LDR R6, [R6]; __stack_chk_guard ; +0xe, 0x4f5e4a SUB SP, SP, #0x2C ; +0x10, 0x4f5e4c LDR.W R2, [R4,#0x37C]; int ; +0x12, 0x4f5e4e LDR R3, [R6] ; +0x16, 0x4f5e52 MOV R0, SP; this ; +0x18, 0x4f5e54 MOV R5, SP ; +0x1a, 0x4f5e56 STR R3, [SP,#0x2C+var_8] ; +0x1c, 0x4f5e58 BL _ZN18AnimatedGameObject14animationForIDEii; AnimatedGameObject::animationForID(int,int) ; +0x1e, 0x4f5e5a LDRB.W R3, [SP,#0x2C+var_2C] ; +0x22, 0x4f5e5e LSLS R2, R3, #0x1F ; +0x26, 0x4f5e62 ITE PL ; +0x28, 0x4f5e64 ASRPL R3, R3, #1 ; +0x2a, 0x4f5e66 LDRMI R3, [SP,#0x2C+var_28] ; +0x2c, 0x4f5e68 CBZ R3, loc_4F5ED6 ; +0x2e, 0x4f5e6a STR.W R7, [R4,#0x51C] ; +0x30, 0x4f5e6c ADDW R0, R4, #0x50C ; +0x34, 0x4f5e70 MOV R1, SP ; +0x38, 0x4f5e74 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x3a, 0x4f5e76 MOVS R3, #1 ; +0x3e, 0x4f5e7a STRB.W R3, [R4,#0x509] ; +0x40, 0x4f5e7c LDRB.W R3, [R4,#0x291] ; +0x44, 0x4f5e80 CBZ R3, loc_4F5EBA ; +0x48, 0x4f5e84 MOV R0, R7; this ; +0x4a, 0x4f5e86 LDR.W R1, [R4,#0x37C]; int ; +0x4c, 0x4f5e88 BL _ZN18AnimatedGameObject12getTweenTimeEii; AnimatedGameObject::getTweenTime(int,int) ; +0x50, 0x4f5e8c VMOV S16, R0 ; +0x54, 0x4f5e90 VCMPE.F32 S16, #0.0 ; +0x58, 0x4f5e94 VMRS APSR_nzcv, FPSCR ; +0x5c, 0x4f5e98 BLE loc_4F5EBA ; +0x60, 0x4f5e9c LDR.W R7, [R4,#0x4FC] ; +0x62, 0x4f5e9e ADD R4, SP, #0x2C+var_20 ; +0x66, 0x4f5ea2 MOV R1, SP ; +0x68, 0x4f5ea4 MOV R0, R4 ; +0x6a, 0x4f5ea6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x6c, 0x4f5ea8 MOV R0, R7 ; +0x70, 0x4f5eac MOV R1, R4 ; +0x72, 0x4f5eae VMOV R2, S16 ; +0x74, 0x4f5eb0 BL _ZN16CCAnimatedSprite16tweenToAnimationENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEf; CCAnimatedSprite::tweenToAnimation(std::string,float) ; +0x78, 0x4f5eb4 B loc_4F5ED0 ; +0x7c, 0x4f5eb8 LDR.W R7, [R4,#0x4FC] ; +0x7e, 0x4f5eba ADD R4, SP, #0x2C+var_14 ; +0x82, 0x4f5ebe MOV R1, R5 ; +0x84, 0x4f5ec0 MOV R0, R4 ; +0x86, 0x4f5ec2 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x88, 0x4f5ec4 MOV R0, R7 ; +0x8c, 0x4f5ec8 MOV R1, R4 ; +0x8e, 0x4f5eca BL _ZN16CCAnimatedSprite18runAnimationForcedENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCAnimatedSprite::runAnimationForced(std::string) ; +0x90, 0x4f5ecc MOV R0, R4 ; +0x94, 0x4f5ed0 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x96, 0x4f5ed2 MOV R0, R5 ; +0x9a, 0x4f5ed6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x9c, 0x4f5ed8 LDR R2, [SP,#0x2C+var_8] ; +0xa0, 0x4f5edc LDR R3, [R6] ; +0xa2, 0x4f5ede CMP R2, R3 ; +0xa4, 0x4f5ee0 BEQ loc_4F5EFC ; +0xa6, 0x4f5ee2 BLX __stack_chk_fail ; +0xa8, 0x4f5ee4 B loc_4F5EEA ; +0xac, 0x4f5ee8 MOV R0, R4 ; +0xae, 0x4f5eea BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb0, 0x4f5eec B loc_4F5EF2 ; +0xb4, 0x4f5ef0 MOV R0, R5 ; +0xb6, 0x4f5ef2 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb8, 0x4f5ef4 BL __cxa_end_cleanup ; +0xbc, 0x4f5ef8 ADD SP, SP, #0x2C ; ',' ; +0xc0, 0x4f5efc VPOP {D8} ; +0xc2, 0x4f5efe POP {R4-R7,PC} ; +0xc6, 0x4f5f02