{"type": "func", "start": 6442475696, "end": 6442475719, "name": "cocos2d::extension::CCControlButton::setMargins", "pseudocode": "// \n// cocos2d::extension::CCControlButton::setMargins from 0x1800060b0 to 0x1800060c7 (23 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180024178\n// > <???> @ 0x180027fc0\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::CCControlButton::setMargins(\n        cocos2d::extension::CCControlButton *this,\n        int a2,\n        int a3)\n{\n  __int64 v3; // rax\n\n  v3 = *(_QWORD *)this;\n  *((_DWORD *)this + 140) = a3;\n  *((_DWORD *)this + 141) = a2;\n  (*(void (**)(void))(v3 + 1064))();\n}", "assembly": "; \n; cocos2d::extension::CCControlButton::setMargins from 0x1800060b0 to 0x1800060c7 (23 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180024178\n; > <???> @ 0x180027fc0\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     rax, [rcx]                                                     ; +0x0, 0x1800060b0\nmov     [rcx+230h], r8d                                                ; +0x3, 0x1800060b3\nmov     [rcx+234h], edx                                                ; +0xa, 0x1800060ba\njmp     qword ptr [rax+428h]                                           ; +0x10, 0x1800060c0", "xrefs": ["<???> @ 0x180024178", "<???> @ 0x180027fc0", "<???> @ 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"}