{"type": "func", "start": 6442497488, "end": 6442497602, "name": "cocos2d::extension::CCControlStepper::update", "pseudocode": "// \n// cocos2d::extension::CCControlStepper::update from 0x18000b5d0 to 0x18000b642 (114 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180028698\n// > <???> @ 0x180032408\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:15:37 +0000\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 + 1176LL))(\n        this,\n        v2,\n        *((unsigned __int8 *)this + 512));\n  }\n}", "assembly": "; \n; cocos2d::extension::CCControlStepper::update from 0x18000b5d0 to 0x18000b642 (114 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180028698\n; > <???> @ 0x180032408\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:15:37 +0000\n; \nmov     r8d, [rcx+228h]                                                ; +0x0, 0x18000b5d0\ninc     r8d                                                            ; +0x7, 0x18000b5d7\nmov     [rcx+228h], r8d                                                ; +0xa, 0x18000b5da\ncmp     r8d, 0Ch                                                       ; +0x11, 0x18000b5e1\njge     short loc_18000B5FE                                            ; +0x15, 0x18000b5e5\nmov     eax, 55555556h                                                 ; +0x17, 0x18000b5e7\nimul    r8d                                                            ; +0x1c, 0x18000b5ec\nmov     eax, edx                                                       ; +0x1f, 0x18000b5ef\nshr     eax, 1Fh                                                       ; +0x21, 0x18000b5f1\nadd     edx, eax                                                       ; +0x24, 0x18000b5f4\nlea     eax, [rdx+rdx*2]                                               ; +0x26, 0x18000b5f6\ncmp     r8d, eax                                                       ; +0x29, 0x18000b5f9\njnz     short locret_18000B641                                         ; +0x2c, 0x18000b5fc\nmov     eax, [rcx+224h]                                                ; +0x2e, 0x18000b5fe\ntest    eax, eax                                                       ; +0x34, 0x18000b604\njnz     short loc_18000B61A                                            ; +0x36, 0x18000b606\nmovsd   xmm1, qword ptr [rcx+1F8h]                                     ; +0x38, 0x18000b608\nsubsd   xmm1, qword ptr [rcx+218h]                                     ; +0x40, 0x18000b610\njmp     short loc_18000B62F                                            ; +0x48, 0x18000b618\ncmp     eax, 1                                                         ; +0x4a, 0x18000b61a\njnz     short locret_18000B641                                         ; +0x4d, 0x18000b61d\nmovsd   xmm1, qword ptr [rcx+218h]                                     ; +0x4f, 0x18000b61f\naddsd   xmm1, qword ptr [rcx+1F8h]                                     ; +0x57, 0x18000b627\nmov     rax, [rcx]                                                     ; +0x5f, 0x18000b62f\nmovzx   r8d, byte ptr [rcx+200h]                                       ; +0x62, 0x18000b632\njmp     qword ptr [rax+498h]                                           ; +0x6a, 0x18000b63a\nretn                                                                   ; +0x71, 0x18000b641", "xrefs": ["<???> @ 0x180028698", "<???> @ 0x180032408"], "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"}