{"type": "func", "start": 6442498752, "end": 6442498866, "name": "cocos2d::extension::CCControlStepper::update", "pseudocode": "// \n// cocos2d::extension::CCControlStepper::update from 0x18000bac0 to 0x18000bb32 (114 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1800260a0\n// > <???> @ 0x18002fdf8\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 __fastcall cocos2d::extension::CCControlStepper::update(cocos2d::extension::CCControlStepper *this, float a2)\n{\n  __int64 v2; // rdx\n  int v3; // r8d\n\n  v3 = *((_DWORD *)this + 138) + 1;\n  *((_DWORD *)this + 138) = v3;\n  if ( v3 >= 12 || (v2 = (unsigned int)(v3 / 3), v3 == 3 * (_DWORD)v2) )\n  {\n    if ( *((_DWORD *)this + 137) <= 1u )\n      (*(void (__fastcall **)(cocos2d::extension::CCControlStepper *, __int64, _QWORD))(*(_QWORD *)this + 1160LL))(\n        this,\n        v2,\n        *((unsigned __int8 *)this + 512));\n  }\n}", "assembly": "; \n; cocos2d::extension::CCControlStepper::update from 0x18000bac0 to 0x18000bb32 (114 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1800260a0\n; > <???> @ 0x18002fdf8\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\nmov     r8d, [rcx+228h]                                                ; +0x0, 0x18000bac0\ninc     r8d                                                            ; +0x7, 0x18000bac7\nmov     [rcx+228h], r8d                                                ; +0xa, 0x18000baca\ncmp     r8d, 0Ch                                                       ; +0x11, 0x18000bad1\njge     short loc_18000BAEE                                            ; +0x15, 0x18000bad5\nmov     eax, 55555556h                                                 ; +0x17, 0x18000bad7\nimul    r8d                                                            ; +0x1c, 0x18000badc\nmov     eax, edx                                                       ; +0x1f, 0x18000badf\nshr     eax, 1Fh                                                       ; +0x21, 0x18000bae1\nadd     edx, eax                                                       ; +0x24, 0x18000bae4\nlea     eax, [rdx+rdx*2]                                               ; +0x26, 0x18000bae6\ncmp     r8d, eax                                                       ; +0x29, 0x18000bae9\njnz     short locret_18000BB31                                         ; +0x2c, 0x18000baec\nmov     eax, [rcx+224h]                                                ; +0x2e, 0x18000baee\ntest    eax, eax                                                       ; +0x34, 0x18000baf4\njnz     short loc_18000BB0A                                            ; +0x36, 0x18000baf6\nmovsd   xmm1, qword ptr [rcx+1F8h]                                     ; +0x38, 0x18000baf8\nsubsd   xmm1, qword ptr [rcx+218h]                                     ; +0x40, 0x18000bb00\njmp     short loc_18000BB1F                                            ; +0x48, 0x18000bb08\ncmp     eax, 1                                                         ; +0x4a, 0x18000bb0a\njnz     short locret_18000BB31                                         ; +0x4d, 0x18000bb0d\nmovsd   xmm1, qword ptr [rcx+218h]                                     ; +0x4f, 0x18000bb0f\naddsd   xmm1, qword ptr [rcx+1F8h]                                     ; +0x57, 0x18000bb17\nmov     rax, [rcx]                                                     ; +0x5f, 0x18000bb1f\nmovzx   r8d, byte ptr [rcx+200h]                                       ; +0x62, 0x18000bb22\njmp     qword ptr [rax+488h]                                           ; +0x6a, 0x18000bb2a\nretn                                                                   ; +0x71, 0x18000bb31", "xrefs": ["<???> @ 0x1800260a0", "<???> @ 0x18002fdf8"], "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"}