; ; AnimatedGameObject::updateObjectAnimation from 0x4ec4c8 to 0x4ec59c (212 bytes) ; ; 3 xrefs: ; > LevelEditorLayer::updatePreviewAnim @ 0x462600 ; > AnimatedGameObject::activateObject @ 0x4ec5ba ; > AnimatedGameObject::resetObject @ 0x4ec5f6 ; ; 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:09 +0000 ; PUSH {R4-R7,LR} ; +0x0, 0x4ec4c8 SUB SP, SP, #0x14 ; +0x2, 0x4ec4ca LDR R6, =(__stack_chk_guard_ptr - 0x4EC4D4) ; +0x4, 0x4ec4cc MOV R4, R0 ; +0x6, 0x4ec4ce ADD R6, PC; __stack_chk_guard_ptr ; +0x8, 0x4ec4d0 LDR R6, [R6]; __stack_chk_guard ; +0xa, 0x4ec4d2 LDR R3, [R6] ; +0xc, 0x4ec4d4 STR R3, [SP,#0x14+var_8] ; +0xe, 0x4ec4d6 LDR.W R3, [R0,#0x4FC] ; +0x10, 0x4ec4d8 LDR.W R0, [R3,#0x214]; this ; +0x14, 0x4ec4dc BL _ZN22SpriteAnimationManager14stopAnimationsEv; SpriteAnimationManager::stopAnimations(void) ; +0x18, 0x4ec4e0 LDRB.W R3, [R4,#0x291] ; +0x1c, 0x4ec4e4 CMP R3, #0 ; +0x20, 0x4ec4e8 BEQ loc_4EC58C ; +0x22, 0x4ec4ea LDRB.W R3, [R4,#0x225] ; +0x24, 0x4ec4ec CBZ R3, loc_4EC504 ; +0x28, 0x4ec4f0 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x2a, 0x4ec4f2 MOVW R3, #0x2DB9 ; +0x2e, 0x4ec4f6 LDR.W R2, [R0,#0x198] ; +0x32, 0x4ec4fa LDRB R3, [R2,R3] ; +0x36, 0x4ec4fe CMP R3, #0 ; +0x38, 0x4ec500 BEQ loc_4EC58C ; +0x3a, 0x4ec502 LDRB.W R3, [R4,#0x509] ; +0x3c, 0x4ec504 MOV R5, SP ; +0x40, 0x4ec508 LDR.W R1, [R4,#0x4FC] ; +0x42, 0x4ec50a CBZ R3, loc_4EC544 ; +0x46, 0x4ec50e LDRB.W R3, [R4,#0x50C] ; +0x48, 0x4ec510 MOV R0, R5 ; +0x4c, 0x4ec514 LDR.W R7, [R1,#0x214] ; +0x4e, 0x4ec516 LSLS R2, R3, #0x1F ; +0x52, 0x4ec51a ITE PL ; +0x54, 0x4ec51c ASRPL R3, R3, #1 ; +0x56, 0x4ec51e LDRMI.W R3, [R4,#0x510] ; +0x58, 0x4ec520 CBNZ R3, loc_4EC52C ; +0x5c, 0x4ec524 ADD.W R1, R1, #0x228 ; +0x5e, 0x4ec526 B loc_4EC530 ; +0x62, 0x4ec52a ADDW R1, R4, #0x50C ; +0x64, 0x4ec52c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x68, 0x4ec530 MOV R0, R7 ; +0x6c, 0x4ec534 MOV R1, R5 ; +0x6e, 0x4ec536 BL _ZN22SpriteAnimationManager12runAnimationENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; SpriteAnimationManager::runAnimation(std::string) ; +0x70, 0x4ec538 MOV R0, R5 ; +0x74, 0x4ec53c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x76, 0x4ec53e B loc_4EC58C ; +0x7a, 0x4ec542 LDR.W R7, [R1,#0x214] ; +0x7c, 0x4ec544 MOV R0, R5 ; +0x80, 0x4ec548 ADD.W R1, R1, #0x228 ; +0x82, 0x4ec54a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x86, 0x4ec54e MOV R1, R5 ; +0x8a, 0x4ec552 MOV R0, R7 ; +0x8c, 0x4ec554 BL _ZN22SpriteAnimationManager12runAnimationENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; SpriteAnimationManager::runAnimation(std::string) ; +0x8e, 0x4ec556 MOV R0, R5 ; +0x92, 0x4ec55a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x94, 0x4ec55c LDR.W R3, [R4,#0x4FC] ; +0x98, 0x4ec560 LDR.W R4, [R3,#0x214] ; +0x9c, 0x4ec564 BLX rand ; +0xa0, 0x4ec568 VMOV S15, R0 ; +0xa4, 0x4ec56c MOV R0, R4; this ; +0xa8, 0x4ec570 VCVT.F32.S32 S15, S15, #0x1F ; +0xaa, 0x4ec572 VMOV R1, S15; float ; +0xae, 0x4ec576 BL _ZN22SpriteAnimationManager22offsetCurrentAnimationEf; SpriteAnimationManager::offsetCurrentAnimation(float) ; +0xb2, 0x4ec57a B loc_4EC58C ; +0xb6, 0x4ec57e B loc_4EC582 ; +0xb8, 0x4ec580 MOV R0, R5 ; +0xba, 0x4ec582 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xbc, 0x4ec584 BL __cxa_end_cleanup ; +0xc0, 0x4ec588 LDR R2, [SP,#0x14+var_8] ; +0xc4, 0x4ec58c LDR R3, [R6] ; +0xc6, 0x4ec58e CMP R2, R3 ; +0xc8, 0x4ec590 BEQ loc_4EC598 ; +0xca, 0x4ec592 BLX __stack_chk_fail ; +0xcc, 0x4ec594 ADD SP, SP, #0x14 ; +0xd0, 0x4ec598 POP {R4-R7,PC} ; +0xd2, 0x4ec59a