; ; CCCountdown::init from 0x2e53d8 to 0x2e5578 (416 bytes) ; ; 1 xrefs: ; > CCCountdown::create @ 0x2e56f0 ; ; 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.W {R4-R11,LR} ; +0x0, 0x2e53d8 MOV R4, R0 ; +0x4, 0x2e53dc LDR R6, =(__stack_chk_guard_ptr - 0x2E53E8) ; +0x6, 0x2e53de VPUSH {D8} ; +0x8, 0x2e53e0 ADD R6, PC; __stack_chk_guard_ptr ; +0xc, 0x2e53e4 LDR R6, [R6]; __stack_chk_guard ; +0xe, 0x2e53e6 LDR R1, =(aTimerOutercirc - 0x2E53F0); "timer_outerCircle.png" ; +0x10, 0x2e53e8 LDR R3, [R6] ; +0x12, 0x2e53ea ADD R1, PC; "timer_outerCircle.png" ; +0x14, 0x2e53ec SUB SP, SP, #0x24 ; +0x16, 0x2e53ee STR R3, [SP,#0x24+var_8] ; +0x18, 0x2e53f0 BL _ZN7cocos2d8CCSprite12initWithFileEPKc; cocos2d::CCSprite::initWithFile(char const*) ; +0x1a, 0x2e53f2 MOV R8, R0 ; +0x1e, 0x2e53f6 CMP R0, #0 ; +0x20, 0x2e53f8 BEQ.W loc_2E5560 ; +0x22, 0x2e53fa LDR R0, =(aTimerInnercirc - 0x2E540A); "timer_innerCircle.png" ; +0x26, 0x2e53fe VMOV.F32 S16, #0.5 ; +0x28, 0x2e5400 ADD R5, SP, #0x24+var_10 ; +0x2c, 0x2e5404 ADD R0, PC; "timer_innerCircle.png" ; +0x2e, 0x2e5406 BL _ZN7cocos2d8CCSprite6createEPKc; cocos2d::CCSprite::create(char const*) ; +0x30, 0x2e5408 BL _ZN7cocos2d15CCProgressTimer6createEPNS_8CCSpriteE; cocos2d::CCProgressTimer::create(cocos2d::CCSprite *) ; +0x34, 0x2e540c MOVS R1, #0 ; +0x38, 0x2e5410 STR.W R0, [R4,#0x1FC] ; +0x3a, 0x2e5412 BL _ZN7cocos2d15CCProgressTimer7setTypeENS_19CCProgressTimerTypeE; cocos2d::CCProgressTimer::setType(cocos2d::CCProgressTimerType) ; +0x3e, 0x2e5416 LDR R3, [R4] ; +0x42, 0x2e541a LDR.W R1, [R4,#0x1FC] ; +0x44, 0x2e541c MOV.W R2, #0xFFFFFFFF ; +0x48, 0x2e5420 MOV R0, R4 ; +0x4c, 0x2e5424 LDR.W R3, [R3,#0xE0] ; +0x4e, 0x2e5426 BLX R3 ; +0x52, 0x2e542a LDR.W R7, [R4,#0x1FC] ; +0x54, 0x2e542c MOV R0, R4 ; +0x58, 0x2e5430 LDR R3, [R7] ; +0x5a, 0x2e5432 LDR.W R9, [R3,#0x5C] ; +0x5c, 0x2e5434 LDR R3, [R4] ; +0x60, 0x2e5438 LDR.W R3, [R3,#0x9C] ; +0x62, 0x2e543a BLX R3 ; +0x66, 0x2e543e LDR R3, [R4] ; +0x68, 0x2e5440 LDR.W R3, [R3,#0x9C] ; +0x6a, 0x2e5442 VLDR S17, [R0] ; +0x6e, 0x2e5446 MOV R0, R4 ; +0x72, 0x2e544a BLX R3 ; +0x74, 0x2e544c VMUL.F32 S17, S17, S16 ; +0x76, 0x2e544e VMOV R1, S17; float ; +0x7a, 0x2e5452 VLDR S15, [R0,#4] ; +0x7e, 0x2e5456 MOV R0, R5; this ; +0x82, 0x2e545a VMUL.F32 S15, S15, S16 ; +0x84, 0x2e545c VMOV R2, S15; float ; +0x88, 0x2e5460 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x8c, 0x2e5464 MOV R0, R7 ; +0x90, 0x2e5468 MOV R1, R5 ; +0x92, 0x2e546a BLX R9 ; +0x94, 0x2e546c LDR.W R0, [R4,#0x1FC]; this ; +0x96, 0x2e546e LDR R1, flt_2E5578; float ; +0x9a, 0x2e5472 MOV.W R9, #1 ; +0x9c, 0x2e5474 BL _ZN7cocos2d15CCProgressTimer13setPercentageEf; cocos2d::CCProgressTimer::setPercentage(float) ; +0xa0, 0x2e5478 LDR.W R3, [R4,#0x1FC] ; +0xa4, 0x2e547c MOV R1, R5 ; +0xa8, 0x2e5480 MOVS R2, #0 ; +0xaa, 0x2e5482 LDR.W R0, [R3,#0x120] ; +0xac, 0x2e5484 LDR R3, [R0] ; +0xb0, 0x2e5488 LDR.W R3, [R3,#0x1D8] ; +0xb2, 0x2e548a STRB.W R2, [SP,#0x24+var_10] ; +0xb6, 0x2e548e MOVS R2, #0x28 ; '(' ; +0xba, 0x2e5492 STRB.W R2, [SP,#0x24+var_F] ; +0xbc, 0x2e5494 MOVS R2, #0x46 ; 'F' ; +0xc0, 0x2e5498 STRB.W R2, [SP,#0x24+var_E] ; +0xc2, 0x2e549a BLX R3 ; +0xc6, 0x2e549e LDR.W R0, [R4,#0x1FC]; this ; +0xc8, 0x2e54a0 BL _ZN7cocos2d15CCProgressTimer11updateColorEv; cocos2d::CCProgressTimer::updateColor(void) ; +0xcc, 0x2e54a4 LDR.W R3, [R4,#0x1FC] ; +0xd0, 0x2e54a8 LDR R0, =(a0 - 0x2E54B8); "0" ; +0xd4, 0x2e54ac LDR R1, =(aLevelfontFnt - 0x2E54BA); "levelFont.fnt" ; +0xd6, 0x2e54ae STRB.W R9, [R3,#0x13C] ; +0xd8, 0x2e54b0 ADD R0, PC; "0" ; +0xdc, 0x2e54b4 ADD R1, PC; "levelFont.fnt" ; +0xde, 0x2e54b6 BL _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0xe0, 0x2e54b8 LDR R3, [R0] ; +0xe4, 0x2e54bc MOV R7, R0 ; +0xe6, 0x2e54be STR.W R0, [R4,#0x208] ; +0xe8, 0x2e54c0 MOV R0, R4 ; +0xec, 0x2e54c4 LDR.W R10, [R3,#0x5C] ; +0xee, 0x2e54c6 LDR R3, [R4] ; +0xf2, 0x2e54ca LDR.W R3, [R3,#0x9C] ; +0xf4, 0x2e54cc BLX R3 ; +0xf8, 0x2e54d0 LDR R3, [R4] ; +0xfa, 0x2e54d2 LDR.W R3, [R3,#0x9C] ; +0xfc, 0x2e54d4 VLDR S17, [R0] ; +0x100, 0x2e54d8 MOV R0, R4 ; +0x104, 0x2e54dc BLX R3 ; +0x106, 0x2e54de VMUL.F32 S17, S17, S16 ; +0x108, 0x2e54e0 VMOV R1, S17; float ; +0x10c, 0x2e54e4 VLDR S15, [R0,#4] ; +0x110, 0x2e54e8 MOV R0, R5; this ; +0x114, 0x2e54ec VMUL.F32 S15, S15, S16 ; +0x116, 0x2e54ee VMOV R2, S15; float ; +0x11a, 0x2e54f2 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x11e, 0x2e54f6 MOV R0, R7 ; +0x122, 0x2e54fa MOV R1, R5 ; +0x124, 0x2e54fc BLX R10 ; +0x126, 0x2e54fe LDR.W R7, [R4,#0x208] ; +0x128, 0x2e5500 VMOV R2, S16; float ; +0x12c, 0x2e5504 MOV R0, R5; this ; +0x130, 0x2e5508 VMOV R1, S16; float ; +0x132, 0x2e550a LDR R3, [R7] ; +0x136, 0x2e550e LDR.W R10, [R3,#0x8C] ; +0x138, 0x2e5510 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x13c, 0x2e5514 MOV R0, R7 ; +0x140, 0x2e5518 MOV R1, R5 ; +0x142, 0x2e551a BLX R10 ; +0x144, 0x2e551c LDR.W R7, [R4,#0x208] ; +0x146, 0x2e551e ADD.W R10, SP, #0x24+var_18 ; +0x14a, 0x2e5522 LDR R3, [R7] ; +0x14e, 0x2e5526 MOV R0, R7 ; +0x150, 0x2e5528 LDR R2, [R3,#0x5C] ; +0x152, 0x2e552a LDR R3, [R3,#0x60] ; +0x154, 0x2e552c STR R2, [SP,#0x24+var_20] ; +0x156, 0x2e552e BLX R3 ; +0x158, 0x2e5530 MOVS R1, #0; float ; +0x15a, 0x2e5532 LDR R2, flt_2E557C; float ; +0x15c, 0x2e5534 MOV R11, R0 ; +0x15e, 0x2e5536 MOV R0, R10; this ; +0x160, 0x2e5538 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x162, 0x2e553a MOV R2, R10 ; +0x166, 0x2e553e MOV R0, R5 ; +0x168, 0x2e5540 MOV R1, R11 ; +0x16a, 0x2e5542 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x16c, 0x2e5544 MOV R0, R7 ; +0x170, 0x2e5548 MOV R1, R5 ; +0x172, 0x2e554a LDR R3, [SP,#0x24+var_20] ; +0x174, 0x2e554c BLX R3 ; +0x176, 0x2e554e LDR R3, [R4] ; +0x178, 0x2e5550 MOV R0, R4 ; +0x17a, 0x2e5552 LDR.W R1, [R4,#0x208] ; +0x17c, 0x2e5554 MOV R2, R9 ; +0x180, 0x2e5558 LDR.W R3, [R3,#0xE0] ; +0x182, 0x2e555a BLX R3 ; +0x186, 0x2e555e LDR R2, [SP,#0x24+var_8] ; +0x188, 0x2e5560 MOV R0, R8 ; +0x18a, 0x2e5562 LDR R3, [R6] ; +0x18c, 0x2e5564 CMP R2, R3 ; +0x18e, 0x2e5566 BEQ loc_2E556E ; +0x190, 0x2e5568 BLX __stack_chk_fail ; +0x192, 0x2e556a ADD SP, SP, #0x24 ; '$' ; +0x196, 0x2e556e VPOP {D8} ; +0x198, 0x2e5570 POP.W {R4-R11,PC} ; +0x19c, 0x2e5574