; ; CCCountdown::init from 0x574294 to 0x5744f8 (612 bytes) ; ; 3 xrefs: ; > CCCountdown::create @ 0x5746f8 ; > @ 0x3fd68 ; > @ 0x1137270 ; ; 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 ; STP X29, X30, [SP,#var_90]! ; +0x0, 0x574294 ADRP X1, #aTimerOutercirc@PAGE; "timer_outerCircle.png" ; +0x4, 0x574298 MOV X29, SP ; +0x8, 0x57429c STP X19, X20, [SP,#0x90+var_80] ; +0xc, 0x5742a0 ADRP X20, #__stack_chk_guard_ptr@PAGE ; +0x10, 0x5742a4 ADD X1, X1, #aTimerOutercirc@PAGEOFF; "timer_outerCircle.png" ; +0x14, 0x5742a8 STP X21, X22, [SP,#0x90+var_70] ; +0x18, 0x5742ac STP X23, X24, [SP,#0x90+var_60] ; +0x1c, 0x5742b0 LDR X2, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x5742b4 MOV X19, X0 ; +0x24, 0x5742b8 STP X25, X26, [SP,#0x90+var_50] ; +0x28, 0x5742bc STR D8, [SP,#0x90+var_40] ; +0x2c, 0x5742c0 LDR X2, [X2] ; +0x30, 0x5742c4 STR X2, [X29,#0x90+var_8] ; +0x34, 0x5742c8 BL _ZN7cocos2d8CCSprite12initWithFileEPKc; cocos2d::CCSprite::initWithFile(char const*) ; +0x38, 0x5742cc UXTB W0, W0 ; +0x3c, 0x5742d0 MOV W22, W0 ; +0x40, 0x5742d4 CBZ W0, loc_5744C0 ; +0x44, 0x5742d8 ADRP X0, #aTimerInnercirc@PAGE; "timer_innerCircle.png" ; +0x48, 0x5742dc ADD X21, X29, #0x90+var_10 ; +0x4c, 0x5742e0 FMOV S8, #0.5 ; +0x50, 0x5742e4 ADD X0, X0, #aTimerInnercirc@PAGEOFF; "timer_innerCircle.png" ; +0x54, 0x5742e8 ADD X23, X29, #0x90+var_18 ; +0x58, 0x5742ec BL _ZN7cocos2d8CCSprite6createEPKc; cocos2d::CCSprite::create(char const*) ; +0x5c, 0x5742f0 BL _ZN7cocos2d15CCProgressTimer6createEPNS_8CCSpriteE; cocos2d::CCProgressTimer::create(cocos2d::CCSprite *) ; +0x60, 0x5742f4 STR X0, [X19,#0x258] ; +0x64, 0x5742f8 MOV W1, #0 ; +0x68, 0x5742fc BL _ZN7cocos2d15CCProgressTimer7setTypeENS_19CCProgressTimerTypeE; cocos2d::CCProgressTimer::setType(cocos2d::CCProgressTimerType) ; +0x6c, 0x574300 LDR X3, [X19] ; +0x70, 0x574304 MOV W2, #0xFFFFFFFF ; +0x74, 0x574308 LDR X1, [X19,#0x258] ; +0x78, 0x57430c MOV X0, X19 ; +0x7c, 0x574310 LDR X3, [X3,#0x1C0] ; +0x80, 0x574314 BLR X3 ; +0x84, 0x574318 LDR X24, [X19,#0x258] ; +0x88, 0x57431c LDR X1, [X19] ; +0x8c, 0x574320 MOV X0, X19 ; +0x90, 0x574324 LDR X2, [X24] ; +0x94, 0x574328 LDR X1, [X1,#0x138] ; +0x98, 0x57432c LDR X25, [X2,#0xB8] ; +0x9c, 0x574330 BLR X1 ; +0xa0, 0x574334 LDR X1, [X19] ; +0xa4, 0x574338 LDR S0, [X0] ; +0xa8, 0x57433c MOV X0, X19 ; +0xac, 0x574340 FMUL S0, S0, S8 ; +0xb0, 0x574344 LDR X1, [X1,#0x138] ; +0xb4, 0x574348 STR Q0, [X29,#0x90+var_30] ; +0xb8, 0x57434c BLR X1 ; +0xbc, 0x574350 LDR S1, [X0,#4] ; +0xc0, 0x574354 MOV X0, X21; this ; +0xc4, 0x574358 LDR Q0, [X29,#0x90+var_30]; float ; +0xc8, 0x57435c FMUL S1, S1, S8; float ; +0xcc, 0x574360 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xd0, 0x574364 MOV X0, X24 ; +0xd4, 0x574368 MOV X1, X21 ; +0xd8, 0x57436c BLR X25 ; +0xdc, 0x574370 LDR S0, flt_5744F8; float ; +0xe0, 0x574374 LDR X0, [X19,#0x258]; this ; +0xe4, 0x574378 BL _ZN7cocos2d15CCProgressTimer13setPercentageEf; cocos2d::CCProgressTimer::setPercentage(float) ; +0xe8, 0x57437c LDR X0, [X19,#0x258] ; +0xec, 0x574380 MOV W3, #0x28 ; '(' ; +0xf0, 0x574384 MOV X1, X21 ; +0xf4, 0x574388 LDR X2, [X0,#0x160] ; +0xf8, 0x57438c MOV X0, X2 ; +0xfc, 0x574390 LDR X2, [X2] ; +0x100, 0x574394 LDR X2, [X2,#0x3B0] ; +0x104, 0x574398 STRB W3, [X29,#0x90+var_F] ; +0x108, 0x57439c MOV W3, #0x46 ; 'F' ; +0x10c, 0x5743a0 STRB WZR, [X29,#0x90+var_10] ; +0x110, 0x5743a4 STRB W3, [X29,#0x90+var_E] ; +0x114, 0x5743a8 BLR X2 ; +0x118, 0x5743ac LDR X0, [X19,#0x258]; this ; +0x11c, 0x5743b0 BL _ZN7cocos2d15CCProgressTimer11updateColorEv; cocos2d::CCProgressTimer::updateColor(void) ; +0x120, 0x5743b4 LDR X2, [X19,#0x258]; char * ; +0x124, 0x5743b8 ADRP X1, #aLevelfontFnt@PAGE; "levelFont.fnt" ; +0x128, 0x5743bc ADRP X0, #(aAssertionFaile_0+0x48)@PAGE; "0" ; +0x12c, 0x5743c0 MOV W3, #1 ; +0x130, 0x5743c4 ADD X1, X1, #aLevelfontFnt@PAGEOFF; "levelFont.fnt" ; +0x134, 0x5743c8 ADD X0, X0, #(aAssertionFaile_0+0x48)@PAGEOFF; this ; +0x138, 0x5743cc STRB W3, [X2,#0x188] ; +0x13c, 0x5743d0 BL _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x140, 0x5743d4 MOV X24, X0 ; +0x144, 0x5743d8 LDR X1, [X19] ; +0x148, 0x5743dc MOV X0, X19 ; +0x14c, 0x5743e0 STR X24, [X19,#0x268] ; +0x150, 0x5743e4 LDR X2, [X24] ; +0x154, 0x5743e8 LDR X1, [X1,#0x138] ; +0x158, 0x5743ec LDR X25, [X2,#0xB8] ; +0x15c, 0x5743f0 BLR X1 ; +0x160, 0x5743f4 LDR X1, [X19] ; +0x164, 0x5743f8 LDR S0, [X0] ; +0x168, 0x5743fc MOV X0, X19 ; +0x16c, 0x574400 FMUL S0, S0, S8 ; +0x170, 0x574404 LDR X1, [X1,#0x138] ; +0x174, 0x574408 STR Q0, [X29,#0x90+var_30] ; +0x178, 0x57440c BLR X1 ; +0x17c, 0x574410 LDR S1, [X0,#4] ; +0x180, 0x574414 MOV X0, X21; this ; +0x184, 0x574418 LDR Q0, [X29,#0x90+var_30]; float ; +0x188, 0x57441c FMUL S1, S1, S8; float ; +0x18c, 0x574420 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x190, 0x574424 MOV X0, X24 ; +0x194, 0x574428 MOV X1, X21 ; +0x198, 0x57442c BLR X25 ; +0x19c, 0x574430 LDR X24, [X19,#0x268] ; +0x1a0, 0x574434 FMOV S0, S8; float ; +0x1a4, 0x574438 MOV X0, X21; this ; +0x1a8, 0x57443c FMOV S1, S8; float ; +0x1ac, 0x574440 LDR X1, [X24] ; +0x1b0, 0x574444 LDR X25, [X1,#0x118] ; +0x1b4, 0x574448 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1b8, 0x57444c MOV X0, X24 ; +0x1bc, 0x574450 MOV X1, X21 ; +0x1c0, 0x574454 BLR X25 ; +0x1c4, 0x574458 LDR X24, [X19,#0x268] ; +0x1c8, 0x57445c MOV X0, X24 ; +0x1cc, 0x574460 LDR X1, [X24] ; +0x1d0, 0x574464 LDR X2, [X1,#0xC0] ; +0x1d4, 0x574468 LDR X25, [X1,#0xB8] ; +0x1d8, 0x57446c BLR X2 ; +0x1dc, 0x574470 MOV X26, X0 ; +0x1e0, 0x574474 FMOV S0, WZR; float ; +0x1e4, 0x574478 MOV X0, X23; this ; +0x1e8, 0x57447c FMOV S1, #-3.0; float ; +0x1ec, 0x574480 STR X23, [X29,#0x90+var_30] ; +0x1f0, 0x574484 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1f4, 0x574488 LDR X1, [X29,#0x90+var_30] ; +0x1f8, 0x57448c MOV X8, X21 ; +0x1fc, 0x574490 MOV X0, X26 ; +0x200, 0x574494 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x204, 0x574498 MOV X0, X24 ; +0x208, 0x57449c MOV X1, X21 ; +0x20c, 0x5744a0 BLR X25 ; +0x210, 0x5744a4 LDR X3, [X19] ; +0x214, 0x5744a8 MOV X0, X19 ; +0x218, 0x5744ac LDR X1, [X19,#0x268] ; +0x21c, 0x5744b0 MOV W2, #1 ; +0x220, 0x5744b4 LDR X3, [X3,#0x1C0] ; +0x224, 0x5744b8 BLR X3 ; +0x228, 0x5744bc LDR X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x22c, 0x5744c0 MOV W0, W22 ; +0x230, 0x5744c4 LDR X2, [X29,#0x90+var_8] ; +0x234, 0x5744c8 LDR X1, [X20] ; +0x238, 0x5744cc CMP X2, X1 ; +0x23c, 0x5744d0 B.NE loc_5744F4 ; +0x240, 0x5744d4 LDP X19, X20, [SP,#0x90+var_80] ; +0x244, 0x5744d8 LDP X21, X22, [SP,#0x90+var_70] ; +0x248, 0x5744dc LDP X23, X24, [SP,#0x90+var_60] ; +0x24c, 0x5744e0 LDP X25, X26, [SP,#0x90+var_50] ; +0x250, 0x5744e4 LDR D8, [SP,#0x90+var_40] ; +0x254, 0x5744e8 LDP X29, X30, [SP+0x90+var_90],#0x90 ; +0x258, 0x5744ec RET ; +0x25c, 0x5744f0 BL .__stack_chk_fail ; +0x260, 0x5744f4