; ; CCCounterLabel::init from 0x3c56f8 to 0x3c5756 (94 bytes) ; ; 1 xrefs: ; > CCCounterLabel::create @ 0x3c57ca ; ; 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:46:34 +0000 ; PUSH.W {R4-R9,LR} ; +0x0, 0x3c56f8 SUB SP, SP, #0x1C; int ; +0x4, 0x3c56fc LDR R4, =(__stack_chk_guard_ptr - 0x3C570A) ; +0x6, 0x3c56fe ADD R6, SP, #0x1C+var_10 ; +0x8, 0x3c5700 MOV R7, R1 ; +0xa, 0x3c5702 MOV R8, R3 ; +0xc, 0x3c5704 ADD R4, PC; __stack_chk_guard_ptr ; +0xe, 0x3c5706 LDR R4, [R4]; __stack_chk_guard ; +0x10, 0x3c5708 LDR R1, =(unk_D2A3F4 - 0x3C5716) ; +0x12, 0x3c570a MOV R5, R0 ; +0x14, 0x3c570c MOV R0, R6; this ; +0x16, 0x3c570e LDR R3, [R4] ; +0x18, 0x3c5710 ADD R1, PC; unk_D2A3F4 ; cocos2d::CCPoint * ; +0x1a, 0x3c5712 MOV R9, R2 ; +0x1c, 0x3c5714 STR R3, [SP,#0x1C+var_8] ; +0x1e, 0x3c5716 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x20, 0x3c5718 LDR R1, =(asc_B7533B - 0x3C572A); " " ; +0x24, 0x3c571c MOVS R3, #0 ; +0x26, 0x3c571e MOV R0, R5; int ; +0x28, 0x3c5720 STMEA.W SP, {R3,R6} ; +0x2a, 0x3c5722 ADD R1, PC; " " ; +0x2e, 0x3c5726 MOV R2, R9; this ; +0x30, 0x3c5728 LDR R3, =0xBF800000; int ; +0x32, 0x3c572a BL _ZN7cocos2d13CCLabelBMFont14initWithStringEPKcS2_fNS_15CCTextAlignmentENS_7CCPointE; cocos2d::CCLabelBMFont::initWithString(char const*,char const*,float,cocos2d::CCTextAlignment,cocos2d::CCPoint) ; +0x34, 0x3c572c MOV R6, R0 ; +0x38, 0x3c5730 CBZ R0, loc_3C5742 ; +0x3a, 0x3c5732 STR.W R8, [R5,#0x194] ; +0x3c, 0x3c5734 MOV R0, R5; this ; +0x40, 0x3c5738 STR.W R7, [R5,#0x180] ; +0x42, 0x3c573a BL _ZN14CCCounterLabel17fastUpdateCounterEv; CCCounterLabel::fastUpdateCounter(void) ; +0x46, 0x3c573e LDR R2, [SP,#0x1C+var_8] ; +0x4a, 0x3c5742 MOV R0, R6 ; +0x4c, 0x3c5744 LDR R3, [R4] ; +0x4e, 0x3c5746 CMP R2, R3 ; +0x50, 0x3c5748 BEQ loc_3C5750 ; +0x52, 0x3c574a BLX __stack_chk_fail ; +0x54, 0x3c574c ADD SP, SP, #0x1C ; +0x58, 0x3c5750 POP.W {R4-R9,PC} ; +0x5a, 0x3c5752