{"type": "func", "start": 3037204, "end": 3037228, "name": "CCCounterLabel::disableCounter", "pseudocode": "// \n// CCCounterLabel::disableCounter from 0x2e5814 to 0x2e582c (24 bytes)\n// \n// 1 xrefs:\n// > CCCounterLabel::updateCounter @ 0x2e598e\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CCCounterLabel::disableCounter(CCCounterLabel *a1)\n{\n  _BOOL4 m_dontSchedule; // r3\n\n  if ( a1->m_counterEnabled )\n  {\n    m_dontSchedule = a1->m_dontSchedule;\n    a1->m_counterEnabled = 0;\n    if ( !m_dontSchedule )\n      cocos2d::CCNode::unscheduleAllSelectors(a1);\n  }\n}", "assembly": "; \n; CCCounterLabel::disableCounter from 0x2e5814 to 0x2e582c (24 bytes)\n; \n; 1 xrefs:\n; > CCCounterLabel::updateCounter @ 0x2e598e\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDRB.W          R2, [R0,#0x178]                                        ; +0x0, 0x2e5814\nCBZ             R2, locret_2E582A                                      ; +0x4, 0x2e5818\nLDRB.W          R3, [R0,#0x180]                                        ; +0x6, 0x2e581a\nMOVS            R2, #0                                                 ; +0xa, 0x2e581e\nSTRB.W          R2, [R0,#0x178]                                        ; +0xc, 0x2e5820\nCBNZ            R3, locret_2E582A                                      ; +0x10, 0x2e5824\nB.W             _ZN7cocos2d6CCNode22unscheduleAllSelectorsEv; cocos2d::CCNode::unscheduleAllSelectors(void) ; +0x12, 0x2e5826\nBX              LR                                                     ; +0x16, 0x2e582a", "xrefs": ["CCCounterLabel::updateCounter @ 0x2e598e"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}