; ; AnimatedGameObject::updateObjectAnimation from 0x3e7f18 to 0x3e7fe4 (204 bytes) ; ; 3 xrefs: ; > LevelEditorLayer::updatePreviewAnim @ 0x368eb8 ; > AnimatedGameObject::activateObject @ 0x3e8002 ; > AnimatedGameObject::resetObject @ 0x3e802a ; ; 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 {R0-R2,R4-R7,LR} ; +0x0, 0x3e7f18 MOV R5, R0 ; +0x2, 0x3e7f1a LDR R6, =(__stack_chk_guard_ptr - 0x3E7F22) ; +0x4, 0x3e7f1c ADD R6, PC; __stack_chk_guard_ptr ; +0x6, 0x3e7f1e LDR R6, [R6]; __stack_chk_guard ; +0x8, 0x3e7f20 LDR R3, [R6] ; +0xa, 0x3e7f22 STR R3, [SP,#0xC+var_8] ; +0xc, 0x3e7f24 LDR.W R3, [R0,#0x4F4] ; +0xe, 0x3e7f26 LDR.W R0, [R3,#0x204]; this ; +0x12, 0x3e7f2a BL _ZN22SpriteAnimationManager14stopAnimationsEv; SpriteAnimationManager::stopAnimations(void) ; +0x16, 0x3e7f2e LDRB.W R3, [R5,#0x291] ; +0x1a, 0x3e7f32 CMP R3, #0 ; +0x1e, 0x3e7f36 BEQ loc_3E7FD4 ; +0x20, 0x3e7f38 LDRB.W R3, [R5,#0x225] ; +0x22, 0x3e7f3a CBZ R3, loc_3E7F52 ; +0x26, 0x3e7f3e BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x28, 0x3e7f40 MOVW R3, #0x2DFC ; +0x2c, 0x3e7f44 LDR.W R2, [R0,#0x170] ; +0x30, 0x3e7f48 LDRB R3, [R2,R3] ; +0x34, 0x3e7f4c CMP R3, #0 ; +0x36, 0x3e7f4e BEQ loc_3E7FD4 ; +0x38, 0x3e7f50 LDRB.W R3, [R5,#0x501] ; +0x3a, 0x3e7f52 MOV R4, SP ; +0x3e, 0x3e7f56 LDR.W R1, [R5,#0x4F4] ; +0x40, 0x3e7f58 CBZ R3, loc_3E7F8C ; +0x44, 0x3e7f5c LDR.W R3, [R5,#0x504] ; +0x46, 0x3e7f5e MOV R0, R4 ; +0x4a, 0x3e7f62 LDR.W R7, [R1,#0x204] ; +0x4c, 0x3e7f64 LDR.W R3, [R3,#-0xC] ; +0x50, 0x3e7f68 CBNZ R3, loc_3E7F74 ; +0x54, 0x3e7f6c ADD.W R1, R1, #0x218 ; +0x56, 0x3e7f6e B loc_3E7F78 ; +0x5a, 0x3e7f72 ADDW R1, R5, #0x504 ; +0x5c, 0x3e7f74 BL sub_775C20 ; +0x60, 0x3e7f78 MOV R0, R7 ; +0x64, 0x3e7f7c MOV R1, R4 ; +0x66, 0x3e7f7e BL _ZN22SpriteAnimationManager12runAnimationESs; SpriteAnimationManager::runAnimation(std::string) ; +0x68, 0x3e7f80 MOV R0, R4 ; +0x6c, 0x3e7f84 BL sub_774008 ; +0x6e, 0x3e7f86 B loc_3E7FD4 ; +0x72, 0x3e7f8a LDR.W R7, [R1,#0x204] ; +0x74, 0x3e7f8c MOV R0, R4 ; +0x78, 0x3e7f90 ADD.W R1, R1, #0x218 ; +0x7a, 0x3e7f92 BL sub_775C20 ; +0x7e, 0x3e7f96 MOV R1, R4 ; +0x82, 0x3e7f9a MOV R0, R7 ; +0x84, 0x3e7f9c BL _ZN22SpriteAnimationManager12runAnimationESs; SpriteAnimationManager::runAnimation(std::string) ; +0x86, 0x3e7f9e MOV R0, R4 ; +0x8a, 0x3e7fa2 BL sub_774008 ; +0x8c, 0x3e7fa4 LDR.W R3, [R5,#0x4F4] ; +0x90, 0x3e7fa8 LDR.W R4, [R3,#0x204] ; +0x94, 0x3e7fac BLX rand ; +0x98, 0x3e7fb0 VMOV S15, R0 ; +0x9c, 0x3e7fb4 MOV R0, R4; this ; +0xa0, 0x3e7fb8 VCVT.F32.S32 S15, S15, #0x1F ; +0xa2, 0x3e7fba VMOV R1, S15; float ; +0xa6, 0x3e7fbe BL _ZN22SpriteAnimationManager22offsetCurrentAnimationEf; SpriteAnimationManager::offsetCurrentAnimation(float) ; +0xaa, 0x3e7fc2 B loc_3E7FD4 ; +0xae, 0x3e7fc6 B loc_3E7FCA ; +0xb0, 0x3e7fc8 MOV R0, R4 ; +0xb2, 0x3e7fca BL sub_774008 ; +0xb4, 0x3e7fcc BL __cxa_end_cleanup ; +0xb8, 0x3e7fd0 LDR R2, [SP,#0xC+var_8] ; +0xbc, 0x3e7fd4 LDR R3, [R6] ; +0xbe, 0x3e7fd6 CMP R2, R3 ; +0xc0, 0x3e7fd8 BEQ loc_3E7FE0 ; +0xc2, 0x3e7fda BLX __stack_chk_fail ; +0xc4, 0x3e7fdc ADD SP, SP, #0xC ; +0xc8, 0x3e7fe0 POP {R4-R7,PC} ; +0xca, 0x3e7fe2