; ; CCCounterLabel::init from 0x2e59a0 to 0x2e59fe (94 bytes) ; ; 1 xrefs: ; > CCCounterLabel::create @ 0x2e5a72 ; ; 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-R9,LR} ; +0x0, 0x2e59a0 SUB SP, SP, #0x1C; int ; +0x4, 0x2e59a4 LDR R4, =(__stack_chk_guard_ptr - 0x2E59B2) ; +0x6, 0x2e59a6 ADD R6, SP, #0x1C+var_10 ; +0x8, 0x2e59a8 MOV R7, R1 ; +0xa, 0x2e59aa MOV R8, R3 ; +0xc, 0x2e59ac ADD R4, PC; __stack_chk_guard_ptr ; +0xe, 0x2e59ae LDR R4, [R4]; __stack_chk_guard ; +0x10, 0x2e59b0 LDR R1, =(stru_AC5250 - 0x2E59BE) ; +0x12, 0x2e59b2 MOV R5, R0 ; +0x14, 0x2e59b4 MOV R0, R6; this ; +0x16, 0x2e59b6 LDR R3, [R4] ; +0x18, 0x2e59b8 ADD R1, PC; stru_AC5250 ; cocos2d::CCPoint * ; +0x1a, 0x2e59ba MOV R9, R2 ; +0x1c, 0x2e59bc STR R3, [SP,#0x1C+var_8] ; +0x1e, 0x2e59be BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x20, 0x2e59c0 LDR R1, =(asc_943A02 - 0x2E59D2); " " ; +0x24, 0x2e59c4 MOVS R3, #0 ; +0x26, 0x2e59c6 MOV R0, R5; int ; +0x28, 0x2e59c8 STMEA.W SP, {R3,R6} ; +0x2a, 0x2e59ca ADD R1, PC; " " ; +0x2e, 0x2e59ce MOV R2, R9; this ; +0x30, 0x2e59d0 LDR R3, =0xBF800000; int ; +0x32, 0x2e59d2 BL _ZN7cocos2d13CCLabelBMFont14initWithStringEPKcS2_fNS_15CCTextAlignmentENS_7CCPointE; cocos2d::CCLabelBMFont::initWithString(char const*,char const*,float,cocos2d::CCTextAlignment,cocos2d::CCPoint) ; +0x34, 0x2e59d4 MOV R6, R0 ; +0x38, 0x2e59d8 CBZ R0, loc_2E59EA ; +0x3a, 0x2e59da STR.W R8, [R5,#0x184] ; +0x3c, 0x2e59dc MOV R0, R5; this ; +0x40, 0x2e59e0 STR.W R7, [R5,#0x170] ; +0x42, 0x2e59e2 BL _ZN14CCCounterLabel17fastUpdateCounterEv; CCCounterLabel::fastUpdateCounter(void) ; +0x46, 0x2e59e6 LDR R2, [SP,#0x1C+var_8] ; +0x4a, 0x2e59ea MOV R0, R6 ; +0x4c, 0x2e59ec LDR R3, [R4] ; +0x4e, 0x2e59ee CMP R2, R3 ; +0x50, 0x2e59f0 BEQ loc_2E59F8 ; +0x52, 0x2e59f2 BLX __stack_chk_fail ; +0x54, 0x2e59f4 ADD SP, SP, #0x1C ; +0x58, 0x2e59f8 POP.W {R4-R9,PC} ; +0x5a, 0x2e59fa