{"type": "func", "start": 4300285904, "end": 4300285958, "name": "CCCounterLabel::enableCounter", "pseudocode": "// \n// CCCounterLabel::enableCounter from 0x1005127d0 to 0x100512806 (54 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:31:37 +0000\n// \n\n__int64 __fastcall CCCounterLabel::enableCounter(__int64 a1)\n{\n  __int64 result; // rax\n\n  if ( !*(_BYTE *)(a1 + 528) )\n  {\n    *(_BYTE *)(a1 + 528) = 1;\n    if ( !*(_BYTE *)(a1 + 536) )\n      return cocos2d::CCNode::schedule_1(a1, (__int64)CCCounterLabel::updateCounter, 0, COERCE_DOUBLE(1023969417));\n  }\n  return result;\n}", "assembly": "; \n; CCCounterLabel::enableCounter from 0x1005127d0 to 0x100512806 (54 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:31:37 +0000\n; \npush    rbp                                                            ; +0x0, 0x1005127d0\nmov     rbp, rsp                                                       ; +0x1, 0x1005127d1\ncmp     byte ptr [rdi+210h], 0                                         ; +0x4, 0x1005127d4\njnz     short loc_1005127ED                                            ; +0xb, 0x1005127db\nmov     byte ptr [rdi+210h], 1                                         ; +0xd, 0x1005127dd\ncmp     byte ptr [rdi+218h], 0                                         ; +0x14, 0x1005127e4\njz      short loc_1005127EF                                            ; +0x1b, 0x1005127eb\npop     rbp                                                            ; +0x1d, 0x1005127ed\nretn                                                                   ; +0x1e, 0x1005127ee\nlea     rsi, CCCounterLabel__updateCounter                             ; +0x1f, 0x1005127ef\nmovss   xmm0, cs:dword_100A0485C                                       ; +0x26, 0x1005127f6\nxor     edx, edx                                                       ; +0x2e, 0x1005127fe\npop     rbp                                                            ; +0x30, 0x100512800\njmp     cocos2d__CCNode__schedule_1                                    ; +0x31, 0x100512801", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}