{"type": "func", "start": 6442498112, "end": 6442498229, "name": "cocos2d::extension::CCControlStepper::setWraps", "pseudocode": "// \n// cocos2d::extension::CCControlStepper::setWraps from 0x18000b840 to 0x18000b8b5 (117 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800264d8\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x180049cb4\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::setWraps(cocos2d::extension::CCControlStepper *this, char a2)\n{\n  void (__fastcall ***v3)(_QWORD, _BYTE *); // rcx\n  void (__fastcall ***v4)(_QWORD, _BYTE *); // rcx\n  _BYTE v5[3]; // [rsp+38h] [rbp+10h] BYREF\n\n  *((_BYTE *)this + 514) = a2;\n  if ( a2 )\n  {\n    v3 = (void (__fastcall ***)(_QWORD, _BYTE *))(*((_QWORD *)this + 61) + 320LL);\n    memset(v5, 55, sizeof(v5));\n    (**v3)(v3, v5);\n    v4 = (void (__fastcall ***)(_QWORD, _BYTE *))(*((_QWORD *)this + 62) + 320LL);\n    memset(v5, 55, sizeof(v5));\n    (**v4)(v4, v5);\n  }\n  (*(void (__fastcall **)(cocos2d::extension::CCControlStepper *))(*(_QWORD *)this + 1136LL))(this);\n}", "assembly": "; \n; cocos2d::extension::CCControlStepper::setWraps from 0x18000b840 to 0x18000b8b5 (117 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800264d8\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x180049cb4\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\npush    rbx                                                            ; +0x0, 0x18000b840\nsub     rsp, 20h                                                       ; +0x2, 0x18000b842\nmov     [rcx+202h], dl                                                 ; +0x6, 0x18000b846\nmov     rbx, rcx                                                       ; +0xc, 0x18000b84c\ntest    dl, dl                                                         ; +0xf, 0x18000b84f\njz      short loc_18000B89B                                            ; +0x11, 0x18000b851\nmov     rcx, [rcx+1E8h]                                                ; +0x13, 0x18000b853\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x1a, 0x18000b85a\nadd     rcx, 140h                                                      ; +0x1f, 0x18000b85f\nmov     [rsp+28h+arg_8], 3737h                                         ; +0x26, 0x18000b866\nmov     [rsp+28h+arg_A], 37h ; '7'                                     ; +0x2d, 0x18000b86d\nmov     rax, [rcx]                                                     ; +0x32, 0x18000b872\ncall    qword ptr [rax]                                                ; +0x35, 0x18000b875\nmov     rcx, [rbx+1F0h]                                                ; +0x37, 0x18000b877\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x3e, 0x18000b87e\nadd     rcx, 140h                                                      ; +0x43, 0x18000b883\nmov     [rsp+28h+arg_8], 3737h                                         ; +0x4a, 0x18000b88a\nmov     [rsp+28h+arg_A], 37h ; '7'                                     ; +0x51, 0x18000b891\nmov     rax, [rcx]                                                     ; +0x56, 0x18000b896\ncall    qword ptr [rax]                                                ; +0x59, 0x18000b899\nmov     rax, [rbx]                                                     ; +0x5b, 0x18000b89b\nmov     rcx, rbx                                                       ; +0x5e, 0x18000b89e\nmovsd   xmm1, qword ptr [rbx+1F8h]                                     ; +0x61, 0x18000b8a1\nadd     rsp, 20h                                                       ; +0x69, 0x18000b8a9\npop     rbx                                                            ; +0x6d, 0x18000b8ad\njmp     qword ptr [rax+470h]                                           ; +0x6e, 0x18000b8ae", "xrefs": ["<???> @ 0x1800264d8", "<???> @ 0x18002fdf8", "<???> @ 0x180049cb4"], "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"}