{"type": "func", "start": 3953948, "end": 3953996, "name": "CCCounterLabel::enableCounter", "pseudocode": "// \n// CCCounterLabel::enableCounter from 0x3c551c to 0x3c554c (48 bytes)\n// \n// 1 xrefs:\n// > CCCounterLabel::setTargetCount @ 0x3c55c8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:46:34 +0000\n// \n\nint __fastcall CCCounterLabel::enableCounter(int this)\n{\n  if ( !*(_BYTE *)(this + 392) )\n  {\n    *(_BYTE *)(this + 392) = 1;\n    if ( !*(_BYTE *)(this + 400) )\n      return cocos2d::CCNode::schedule(\n               this,\n               CCCounterLabel::updateCounter,\n               *(unsigned __int8 *)(this + 400),\n               1023969417);\n  }\n  return this;\n}", "assembly": "; \n; CCCounterLabel::enableCounter from 0x3c551c to 0x3c554c (48 bytes)\n; \n; 1 xrefs:\n; > CCCounterLabel::setTargetCount @ 0x3c55c8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:46:34 +0000\n; \nPUSH            {R0-R2,LR}                                             ; +0x0, 0x3c551c\nLDRB.W          R2, [R0,#0x188]                                        ; +0x2, 0x3c551e\nCBNZ            R2, loc_3C5546                                         ; +0x6, 0x3c5522\nMOVS            R2, #1                                                 ; +0x8, 0x3c5524\nSTRB.W          R2, [R0,#0x188]                                        ; +0xa, 0x3c5526\nLDRB.W          R2, [R0,#0x190]                                        ; +0xe, 0x3c552a\nCBNZ            R2, loc_3C5546                                         ; +0x12, 0x3c552e\nLDR             R3, =(_ZN14CCCounterLabel13updateCounterEf_ptr - 0x3C5538) ; +0x14, 0x3c5530\nSTR             R2, [SP,#0xC+var_8]                                    ; +0x16, 0x3c5532\nADD             R3, PC; _ZN14CCCounterLabel13updateCounterEf_ptr       ; +0x18, 0x3c5534\nLDR             R3, [R3]; CCCounterLabel::updateCounter(float)         ; +0x1a, 0x3c5536\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x1c, 0x3c5538\nADD             R3, SP, #0xC+var_4                                     ; +0x1e, 0x3c553a\nLDMDB.W         R3, {R1,R2}                                            ; +0x20, 0x3c553c\nLDR             R3, =0x3D088889                                        ; +0x24, 0x3c5540\nBL              _ZN7cocos2d6CCNode8scheduleEMNS_8CCObjectEFvfEf; cocos2d::CCNode::schedule(void (cocos2d::CCObject::*)(float),float) ; +0x26, 0x3c5542\nADD             SP, SP, #0xC                                           ; +0x2a, 0x3c5546\nPOP.W           {PC}                                                   ; +0x2c, 0x3c5548", "xrefs": ["CCCounterLabel::setTargetCount @ 0x3c55c8"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}