; ; AnimatedGameObject::setupAnimatedSize from 0x4e7e0c to 0x4e7f40 (308 bytes) ; ; 1 xrefs: ; > AnimatedGameObject::init @ 0x4ec0e2 ; ; 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:06 +0000 ; LDR R3, =(__stack_chk_guard_ptr - 0x4E7E14) ; +0x0, 0x4e7e0c PUSH {R4-R7,LR} ; +0x2, 0x4e7e0e ADD R3, PC; __stack_chk_guard_ptr ; +0x4, 0x4e7e10 LDR R3, [R3]; __stack_chk_guard ; +0x6, 0x4e7e12 SUB SP, SP, #0x14 ; +0x8, 0x4e7e14 MOV R4, R0 ; +0xa, 0x4e7e16 LDR R2, [R3] ; +0xc, 0x4e7e18 MOV R6, R3 ; +0xe, 0x4e7e1a ADD R5, SP, #0x14+var_10 ; +0x10, 0x4e7e1c STR R2, [SP,#0x14+var_8] ; +0x12, 0x4e7e1e MOVW R2, #0x52F ; +0x14, 0x4e7e20 CMP R1, R2 ; +0x18, 0x4e7e24 BEQ loc_4E7EA6 ; +0x1a, 0x4e7e26 CMP.W R1, #0x530 ; +0x1c, 0x4e7e28 BGE loc_4E7E48 ; +0x20, 0x4e7e2c MOVW R3, #0x396 ; +0x22, 0x4e7e2e CMP R1, R3 ; +0x26, 0x4e7e32 BEQ loc_4E7E80 ; +0x28, 0x4e7e34 MOVW R3, #0x397 ; +0x2a, 0x4e7e36 CMP R1, R3 ; +0x2e, 0x4e7e3a BNE loc_4E7EF6 ; +0x30, 0x4e7e3c VMOV.F32 S15, #6.0 ; +0x32, 0x4e7e3e VMOV.F32 S14, #25.0 ; +0x36, 0x4e7e42 B loc_4E7EFE ; +0x3a, 0x4e7e46 CMP.W R1, #0x630 ; +0x3c, 0x4e7e48 BEQ loc_4E7EB4 ; +0x40, 0x4e7e4c MOVW R3, #0x7DC ; +0x42, 0x4e7e4e CMP R1, R3 ; +0x46, 0x4e7e52 BEQ loc_4E7ED0 ; +0x48, 0x4e7e54 CMP.W R1, #0x530 ; +0x4a, 0x4e7e56 BNE loc_4E7EF6 ; +0x4e, 0x4e7e5a MOVS R3, #1 ; +0x50, 0x4e7e5c LDR R1, flt_4E7F40; float ; +0x52, 0x4e7e5e STRB.W R3, [R0,#0x419] ; +0x54, 0x4e7e60 MOV R0, R5; this ; +0x58, 0x4e7e64 LDR R2, flt_4E7F44; float ; +0x5a, 0x4e7e66 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x5c, 0x4e7e68 ADDW R0, R4, #0x41C ; +0x60, 0x4e7e6c MOV R1, R5 ; +0x64, 0x4e7e70 BL _ZN7cocos2d6CCSizeaSERKNS_7CCPointE; cocos2d::CCSize::operator=(cocos2d::CCPoint const&) ; +0x66, 0x4e7e72 VMOV.F32 S15, #15.0 ; +0x6a, 0x4e7e76 VMOV.F32 S14, #8.0 ; +0x6e, 0x4e7e7a B loc_4E7EFE ; +0x72, 0x4e7e7e LDR R1, flt_4E7F48; float ; +0x74, 0x4e7e80 LDR R3, =0x41C00000 ; +0x76, 0x4e7e82 MOV R2, R1; float ; +0x78, 0x4e7e84 STR.W R3, [R0,#0x2FC] ; +0x7a, 0x4e7e86 MOVS R3, #1 ; +0x7e, 0x4e7e8a STRB.W R3, [R0,#0x419] ; +0x80, 0x4e7e8c MOV R0, R5; this ; +0x84, 0x4e7e90 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x86, 0x4e7e92 ADDW R0, R4, #0x41C ; +0x8a, 0x4e7e96 MOV R1, R5 ; +0x8e, 0x4e7e9a BL _ZN7cocos2d6CCSizeaSERKNS_7CCPointE; cocos2d::CCSize::operator=(cocos2d::CCPoint const&) ; +0x90, 0x4e7e9c VLDR S15, =48.0 ; +0x94, 0x4e7ea0 B loc_4E7EFA ; +0x98, 0x4e7ea4 MOVS R3, #1 ; +0x9a, 0x4e7ea6 LDR R1, flt_4E7F40 ; +0x9c, 0x4e7ea8 STRB.W R3, [R0,#0x419] ; +0x9e, 0x4e7eaa MOV R0, R5 ; +0xa2, 0x4e7eae LDR R2, =0x41F00000 ; +0xa4, 0x4e7eb0 B loc_4E7EC0 ; +0xa6, 0x4e7eb2 LDR R1, flt_4E7F58; float ; +0xa8, 0x4e7eb4 MOVS R3, #1 ; +0xaa, 0x4e7eb6 LDR R2, flt_4E7F48; float ; +0xac, 0x4e7eb8 STRB.W R3, [R0,#0x419] ; +0xae, 0x4e7eba MOV R0, R5; this ; +0xb2, 0x4e7ebe BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xb4, 0x4e7ec0 ADDW R0, R4, #0x41C ; +0xb8, 0x4e7ec4 MOV R1, R5 ; +0xbc, 0x4e7ec8 BL _ZN7cocos2d6CCSizeaSERKNS_7CCPointE; cocos2d::CCSize::operator=(cocos2d::CCPoint const&) ; +0xbe, 0x4e7eca B loc_4E7EF0 ; +0xc2, 0x4e7ece LDR R1, flt_4E7F5C; float ; +0xc4, 0x4e7ed0 MOVS R3, #1 ; +0xc6, 0x4e7ed2 STRB.W R3, [R0,#0x419] ; +0xc8, 0x4e7ed4 MOV R0, R5; this ; +0xcc, 0x4e7ed8 MOV R2, R1; float ; +0xce, 0x4e7eda BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xd0, 0x4e7edc ADDW R0, R4, #0x41C ; +0xd4, 0x4e7ee0 MOV R1, R5 ; +0xd8, 0x4e7ee4 BL _ZN7cocos2d6CCSizeaSERKNS_7CCPointE; cocos2d::CCSize::operator=(cocos2d::CCPoint const&) ; +0xda, 0x4e7ee6 LDR R3, =0x41700000 ; +0xde, 0x4e7eea STR.W R3, [R4,#0x2FC] ; +0xe0, 0x4e7eec VMOV.F32 S15, #8.0 ; +0xe4, 0x4e7ef0 B loc_4E7EFA ; +0xe8, 0x4e7ef4 VMOV.F32 S15, #10.0 ; +0xea, 0x4e7ef6 VMOV.F32 S14, S15 ; +0xee, 0x4e7efa VLDR S13, [R4,#0x3F0] ; +0xf2, 0x4e7efe MOV R0, R5; this ; +0xf6, 0x4e7f02 LDR R3, [R4] ; +0xf8, 0x4e7f04 VMOV R1, S14; float ; +0xfa, 0x4e7f06 VMUL.F32 S13, S14, S13 ; +0xfe, 0x4e7f0a VMOV R2, S15; float ; +0x102, 0x4e7f0e VSTR S13, [R4,#0x288] ; +0x106, 0x4e7f12 VLDR S13, [R4,#0x3F4] ; +0x10a, 0x4e7f16 VMUL.F32 S13, S15, S13 ; +0x10e, 0x4e7f1a VSTR S13, [R4,#0x28C] ; +0x112, 0x4e7f1e LDR.W R7, [R3,#0xA0] ; +0x116, 0x4e7f22 BL _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x11a, 0x4e7f26 MOV R0, R4 ; +0x11e, 0x4e7f2a MOV R1, R5 ; +0x120, 0x4e7f2c BLX R7 ; +0x122, 0x4e7f2e LDR R2, [SP,#0x14+var_8] ; +0x124, 0x4e7f30 LDR R3, [R6] ; +0x126, 0x4e7f32 CMP R2, R3 ; +0x128, 0x4e7f34 BEQ loc_4E7F3C ; +0x12a, 0x4e7f36 BLX __stack_chk_fail ; +0x12c, 0x4e7f38 ADD SP, SP, #0x14 ; +0x130, 0x4e7f3c POP {R4-R7,PC} ; +0x132, 0x4e7f3e