; ; AnimatedGameObject::playAnimation from 0x3e8534 to 0x3e85f6 (194 bytes) ; ; 2 xrefs: ; > PlayLayer::loadActiveSaveObjects @ 0x312ecc ; > GJBaseGameLayer::playAnimationCommand @ 0x470e9c ; ; 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 {R4-R7,LR} ; +0x0, 0x3e8534 MOV R4, R0 ; +0x2, 0x3e8536 VPUSH {D8} ; +0x4, 0x3e8538 MOV R7, R1 ; +0x8, 0x3e853c LDR R6, =(__stack_chk_guard_ptr - 0x3E8548) ; +0xa, 0x3e853e LDR.W R2, [R4,#0x374]; int ; +0xc, 0x3e8540 ADD R6, PC; __stack_chk_guard_ptr ; +0x10, 0x3e8544 LDR R6, [R6]; __stack_chk_guard ; +0x12, 0x3e8546 SUB SP, SP, #0x14 ; +0x14, 0x3e8548 LDR R3, [R6] ; +0x16, 0x3e854a MOV R0, SP; this ; +0x18, 0x3e854c MOV R5, SP ; +0x1a, 0x3e854e STR R3, [SP,#0x14+var_8] ; +0x1c, 0x3e8550 BL _ZN18AnimatedGameObject14animationForIDEii; AnimatedGameObject::animationForID(int,int) ; +0x1e, 0x3e8552 LDR R3, [SP,#0x14+var_14] ; +0x22, 0x3e8556 LDR.W R3, [R3,#-0xC] ; +0x24, 0x3e8558 CBZ R3, loc_3E85C8 ; +0x28, 0x3e855c STR.W R7, [R4,#0x50C] ; +0x2a, 0x3e855e ADDW R0, R4, #0x504 ; +0x2e, 0x3e8562 MOV R1, SP ; +0x32, 0x3e8566 BL sub_775D40 ; +0x34, 0x3e8568 MOVS R3, #1 ; +0x38, 0x3e856c STRB.W R3, [R4,#0x501] ; +0x3a, 0x3e856e LDRB.W R3, [R4,#0x291] ; +0x3e, 0x3e8572 CBZ R3, loc_3E85AC ; +0x42, 0x3e8576 MOV R0, R7; this ; +0x44, 0x3e8578 LDR.W R1, [R4,#0x374]; int ; +0x46, 0x3e857a BL _ZN18AnimatedGameObject12getTweenTimeEii; AnimatedGameObject::getTweenTime(int,int) ; +0x4a, 0x3e857e VMOV S16, R0 ; +0x4e, 0x3e8582 VCMPE.F32 S16, #0.0 ; +0x52, 0x3e8586 VMRS APSR_nzcv, FPSCR ; +0x56, 0x3e858a BLE loc_3E85AC ; +0x5a, 0x3e858e LDR.W R7, [R4,#0x4F4] ; +0x5c, 0x3e8590 ADD R4, SP, #0x14+var_10 ; +0x60, 0x3e8594 MOV R1, SP ; +0x62, 0x3e8596 MOV R0, R4 ; +0x64, 0x3e8598 BL sub_775C20 ; +0x66, 0x3e859a MOV R0, R7 ; +0x6a, 0x3e859e MOV R1, R4 ; +0x6c, 0x3e85a0 VMOV R2, S16 ; +0x6e, 0x3e85a2 BL _ZN16CCAnimatedSprite16tweenToAnimationESsf; CCAnimatedSprite::tweenToAnimation(std::string,float) ; +0x72, 0x3e85a6 B loc_3E85C2 ; +0x76, 0x3e85aa LDR.W R7, [R4,#0x4F4] ; +0x78, 0x3e85ac ADD R4, SP, #0x14+var_C ; +0x7c, 0x3e85b0 MOV R1, R5 ; +0x7e, 0x3e85b2 MOV R0, R4 ; +0x80, 0x3e85b4 BL sub_775C20 ; +0x82, 0x3e85b6 MOV R0, R7 ; +0x86, 0x3e85ba MOV R1, R4 ; +0x88, 0x3e85bc BL _ZN16CCAnimatedSprite18runAnimationForcedESs; CCAnimatedSprite::runAnimationForced(std::string) ; +0x8a, 0x3e85be MOV R0, R4 ; +0x8e, 0x3e85c2 BL sub_774008 ; +0x90, 0x3e85c4 MOV R0, R5 ; +0x94, 0x3e85c8 BL sub_774008 ; +0x96, 0x3e85ca LDR R2, [SP,#0x14+var_8] ; +0x9a, 0x3e85ce LDR R3, [R6] ; +0x9c, 0x3e85d0 CMP R2, R3 ; +0x9e, 0x3e85d2 BEQ loc_3E85EE ; +0xa0, 0x3e85d4 BLX __stack_chk_fail ; +0xa2, 0x3e85d6 B loc_3E85DC ; +0xa6, 0x3e85da MOV R0, R4 ; +0xa8, 0x3e85dc BL sub_774008 ; +0xaa, 0x3e85de B loc_3E85E4 ; +0xae, 0x3e85e2 MOV R0, R5 ; +0xb0, 0x3e85e4 BL sub_774008 ; +0xb2, 0x3e85e6 BL __cxa_end_cleanup ; +0xb6, 0x3e85ea ADD SP, SP, #0x14 ; +0xba, 0x3e85ee VPOP {D8} ; +0xbc, 0x3e85f0 POP {R4-R7,PC} ; +0xc0, 0x3e85f4