{"type": "func", "start": 5372644112, "end": 5372645356, "name": "HSVLiveOverlay::init", "pseudocode": "// \n// HSVLiveOverlay::init from 0x1403c0b10 to 0x1403c0fec (1244 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editHSV @ 0x1401be629\n// > <???> @ 0x140924038\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 11:31:28 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nbool __fastcall HSVLiveOverlay::init(__int64 a1, cocos2d::CCObject *a2, cocos2d::CCObject *a3, __int64 a4, __int64 a5)\n{\n  bool result; // al\n  __int64 v10; // rcx\n  cocos2d::CCObject *v11; // rcx\n  __int64 v12; // rax\n  __int64 v13; // rcx\n  cocos2d::CCObject *v14; // rax\n  struct cocos2d::CCSprite *v15; // rax\n  int v16; // ebx\n  cocos2d::CCObject *v17; // rax\n  struct cocos2d::CCMenu *v18; // rax\n  __int64 v19; // rax\n  __int64 v20; // rbx\n  __int64 v21; // rax\n  __int64 v22; // rcx\n  cocos2d::CCObject *v23; // rax\n  cocos2d::CCObject *v24; // rbx\n  cocos2d::CCObject *v25; // r15\n  cocos2d::CCObject *v26; // rbx\n  cocos2d::CCObject *v27; // rsi\n  __int64 v28; // rax\n  __int64 v29; // rbx\n  __int64 v30; // rax\n  __int64 v31; // rdi\n  __int64 v32; // rbx\n  __int64 v33; // rax\n  __int64 v34; // rax\n  __int64 v35; // rax\n  __int64 v36; // rbx\n  __int64 v37; // rax\n  _BYTE v38[8]; // [rsp+50h] [rbp-58h] BYREF\n  _BYTE v39[8]; // [rsp+58h] [rbp-50h] BYREF\n  _BYTE v40[8]; // [rsp+60h] [rbp-48h] BYREF\n  void *v41; // [rsp+68h] [rbp-40h] BYREF\n  _BYTE v42[8]; // [rsp+70h] [rbp-38h] BYREF\n  _BYTE v43[40]; // [rsp+78h] [rbp-30h] BYREF\n\n  result = FLAlertLayer::init_1(a1, 0);\n  if ( !result )\n    return result;\n  *(_WORD *)(a1 + 731) = *(_WORD *)a4;\n  *(_BYTE *)(a1 + 733) = *(_BYTE *)(a4 + 2);\n  v10 = a5;\n  *(_WORD *)(a1 + 734) = *(_WORD *)a5;\n  *(_BYTE *)(a1 + 736) = *(_BYTE *)(a5 + 2);\n  if ( a2 )\n  {\n    *(_QWORD *)(a1 + 672) = a2;\n    v11 = a2;\n  }\n  else\n  {\n    if ( !a3 )\n      goto LABEL_7;\n    *(_QWORD *)(a1 + 680) = a3;\n    v11 = a3;\n  }\n  cocos2d::CCObject::retain(v11);\nLABEL_7:\n  *(_BYTE *)(a1 + 596) = 1;\n  v12 = cocos2d::CCDirector::sharedDirector(v10);\n  cocos2d::CCDirector::getWinSize(v12, v39);\n  v14 = (cocos2d::CCObject *)cocos2d::CCArray::create(v13);\n  *(_QWORD *)(a1 + 688) = v14;\n  cocos2d::CCObject::retain(v14);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 920LL))(a1, 0);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0);\n  v15 = cocos2d::CCSprite::createWithSpriteFrameName(\"GJ_closeBtn_001.png\");\n  v16 = (int)v15;\n  (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v15 + 160LL))(v15);\n  v17 = CCMenuItemSpriteExtra::create(v16, 0, a1, (__int64)HSVLiveOverlay::closeColorSelect);\n  v18 = cocos2d::CCMenu::create(v17, 0);\n  *(_QWORD *)(a1 + 552) = v18;\n  (*(void (__fastcall **)(_QWORD, struct cocos2d::CCMenu *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(\n    *(_QWORD *)(a1 + 584),\n    v18,\n    10);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v40, -81.0, 48.0);\n  v20 = v19;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v41, 157.0, 163.0);\n  cocos2d::CCPoint::operator+(v21, v38, v20);\n  (*(void (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 552) + 184LL))(*(_QWORD *)(a1 + 552), v38);\n  HSVLiveOverlay::determineStartValues(a1);\n  if ( *(_BYTE *)(a1 + 728) && *(_BYTE *)(a1 + 729) )\n  {\n    v23 = (cocos2d::CCObject *)cocos2d::CCArray::create(v22);\n    *(_QWORD *)(a1 + 696) = v23;\n    cocos2d::CCObject::retain(v23);\n    v41 = operator new(0x2C8u);\n    v24 = (cocos2d::CCObject *)ButtonSprite::ButtonSprite((__int64)v41);\n    if ( v24 )\n    {\n      if ( ButtonSprite::init_1(\n             (__int64)v24,\n             (__int64)&word_14070D060,\n             20,\n             0,\n             1056964608,\n             1,\n             &qword_140704F78,\n             (__int64)\"GJ_button_01.png\",\n             1106247680) )\n      {\n        cocos2d::CCObject::autorelease(v24);\n      }\n      else\n      {\n        (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v24 + 8LL))(v24, 1);\n        v24 = nullptr;\n      }\n    }\n    (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v24 + 160LL))(v24);\n    v25 = CCMenuItemSpriteExtra::create((int)v24, 0, a1, (__int64)HSVLiveOverlay::onSelectTab);\n    (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v25);\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v25 + 64LL))(v25, 1);\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v24 + 64LL))(v24, 1);\n    cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 696), v24);\n    v41 = operator new(0x2C8u);\n    v26 = (cocos2d::CCObject *)ButtonSprite::ButtonSprite((__int64)v41);\n    if ( v26 )\n    {\n      if ( ButtonSprite::init_1(\n             (__int64)v26,\n             (__int64)&word_14070D058,\n             20,\n             0,\n             1056964608,\n             1,\n             &qword_140704F78,\n             (__int64)\"GJ_button_04.png\",\n             1106247680) )\n      {\n        cocos2d::CCObject::autorelease(v26);\n      }\n      else\n      {\n        (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v26 + 8LL))(v26, 1);\n        v26 = nullptr;\n      }\n    }\n    (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v26 + 160LL))(v26);\n    v27 = CCMenuItemSpriteExtra::create((int)v26, 0, a1, (__int64)HSVLiveOverlay::onSelectTab);\n    (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v27);\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v27 + 64LL))(v27, 2);\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v26 + 64LL))(v26, 2);\n    cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 696), v26);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v41, 97.0, 36.0);\n    v29 = v28;\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v40, 157.0, 163.0);\n    cocos2d::CCPoint::operator+(v30, v38, v29);\n    v31 = *(_QWORD *)v25;\n    v32 = *(_QWORD *)(a1 + 552);\n    cocos2d::CCNode::convertToWorldSpace(*(_QWORD *)(a1 + 584), v42, v38);\n    cocos2d::CCNode::convertToNodeSpace(v32, v43, v33);\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v31 + 184))(v25, v34);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v43, 0.0, -24.0);\n    v36 = v35;\n    v37 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v25 + 200LL))(v25);\n    cocos2d::CCPoint::operator+(v37, v38, v36);\n    (*(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_QWORD *)v27 + 184LL))(v27, v38);\n  }\n  HSVLiveOverlay::createHSVWidget(a1, 2 - (unsigned int)(*(_BYTE *)(a1 + 728) != 0));\n  return 1;\n}", "assembly": "; \n; HSVLiveOverlay::init from 0x1403c0b10 to 0x1403c0fec (1244 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editHSV @ 0x1401be629\n; > <???> @ 0x140924038\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 11:31:28 +0000\n; \nmov     rax, rsp                                                       ; +0x0, 0x1403c0b10\nmov     [rax+8], rbx                                                   ; +0x3, 0x1403c0b13\nmov     [rax+10h], rsi                                                 ; +0x7, 0x1403c0b17\nmov     [rax+18h], rdi                                                 ; +0xb, 0x1403c0b1b\nmov     [rax+20h], r14                                                 ; +0xf, 0x1403c0b1f\npush    r15                                                            ; +0x13, 0x1403c0b23\nsub     rsp, 0A0h                                                      ; +0x15, 0x1403c0b25\nmovaps  xmmword ptr [rax-18h], xmm6                                    ; +0x1c, 0x1403c0b2c\nmovaps  xmmword ptr [rax-28h], xmm7                                    ; +0x20, 0x1403c0b30\nmov     rsi, r9                                                        ; +0x24, 0x1403c0b34\nmov     rbx, r8                                                        ; +0x27, 0x1403c0b37\nmov     rdi, rdx                                                       ; +0x2a, 0x1403c0b3a\nmov     r14, rcx                                                       ; +0x2d, 0x1403c0b3d\nxor     edx, edx                                                       ; +0x30, 0x1403c0b40\ncall    FLAlertLayer__init_1                                           ; +0x32, 0x1403c0b42\ntest    al, al                                                         ; +0x37, 0x1403c0b47\njz      loc_1403C0FC4                                                  ; +0x39, 0x1403c0b49\nmovzx   eax, word ptr [rsi]                                            ; +0x3f, 0x1403c0b4f\nmov     [r14+2DBh], ax                                                 ; +0x42, 0x1403c0b52\nmovzx   eax, byte ptr [rsi+2]                                          ; +0x4a, 0x1403c0b5a\nmov     [r14+2DDh], al                                                 ; +0x4e, 0x1403c0b5e\nmov     rcx, [rsp+0A8h+arg_20]                                         ; +0x55, 0x1403c0b65\nmovzx   eax, word ptr [rcx]                                            ; +0x5d, 0x1403c0b6d\nmov     [r14+2DEh], ax                                                 ; +0x60, 0x1403c0b70\nmovzx   eax, byte ptr [rcx+2]                                          ; +0x68, 0x1403c0b78\nmov     [r14+2E0h], al                                                 ; +0x6c, 0x1403c0b7c\ntest    rdi, rdi                                                       ; +0x73, 0x1403c0b83\njz      short loc_1403C0B94                                            ; +0x76, 0x1403c0b86\nmov     [r14+2A0h], rdi                                                ; +0x78, 0x1403c0b88\nmov     rcx, rdi                                                       ; +0x7f, 0x1403c0b8f\njmp     short loc_1403C0BA3                                            ; +0x82, 0x1403c0b92\ntest    rbx, rbx                                                       ; +0x84, 0x1403c0b94\njz      short loc_1403C0BA9                                            ; +0x87, 0x1403c0b97\nmov     [r14+2A8h], rbx                                                ; +0x89, 0x1403c0b99\nmov     rcx, rbx                                                       ; +0x90, 0x1403c0ba0\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x93, 0x1403c0ba3\nmov     byte ptr [r14+254h], 1                                         ; +0x99, 0x1403c0ba9\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xa1, 0x1403c0bb1\nmov     rcx, rax                                                       ; +0xa7, 0x1403c0bb7\nlea     rdx, [rsp+0A8h+var_50]                                         ; +0xaa, 0x1403c0bba\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0xaf, 0x1403c0bbf\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0xb5, 0x1403c0bc5\nmov     [r14+2B0h], rax                                                ; +0xbb, 0x1403c0bcb\nmov     rcx, rax                                                       ; +0xc2, 0x1403c0bd2\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0xc5, 0x1403c0bd5\nmov     rax, [r14]                                                     ; +0xcb, 0x1403c0bdb\nxor     edx, edx                                                       ; +0xce, 0x1403c0bde\nmov     rcx, r14                                                       ; +0xd0, 0x1403c0be0\ncall    qword ptr [rax+398h]                                           ; +0xd3, 0x1403c0be3\nmov     rax, [r14]                                                     ; +0xd9, 0x1403c0be9\nxor     edx, edx                                                       ; +0xdc, 0x1403c0bec\nmov     rcx, r14                                                       ; +0xde, 0x1403c0bee\ncall    qword ptr [rax+3E0h]                                           ; +0xe1, 0x1403c0bf1\nlea     rcx, aGjClosebtn001P; \"GJ_closeBtn_001.png\"                    ; +0xe7, 0x1403c0bf7\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0xee, 0x1403c0bfe\nmov     rbx, rax                                                       ; +0xf4, 0x1403c0c04\nmov     rcx, [rax]                                                     ; +0xf7, 0x1403c0c07\nmov     rdx, [rcx+0A0h]                                                ; +0xfa, 0x1403c0c0a\nmovss   xmm7, cs:dword_140834F20                                       ; +0x101, 0x1403c0c11\nmovaps  xmm1, xmm7                                                     ; +0x109, 0x1403c0c19\nmov     rcx, rax                                                       ; +0x10c, 0x1403c0c1c\ncall    rdx                                                            ; +0x10f, 0x1403c0c1f\nlea     r9, HSVLiveOverlay__closeColorSelect                           ; +0x111, 0x1403c0c21\nmov     r8, r14                                                        ; +0x118, 0x1403c0c28\nxor     edx, edx                                                       ; +0x11b, 0x1403c0c2b\nmov     rcx, rbx                                                       ; +0x11d, 0x1403c0c2d\ncall    CCMenuItemSpriteExtra__create                                  ; +0x120, 0x1403c0c30\nxor     edx, edx                                                       ; +0x125, 0x1403c0c35\nmov     rcx, rax                                                       ; +0x127, 0x1403c0c37\ncall    cs:?create@CCMenu@cocos2d@@SAPEAV12@PEAVCCMenuItem@2@ZZ; cocos2d::CCMenu::create(cocos2d::CCMenuItem *,...) ; +0x12a, 0x1403c0c3a\nmov     [r14+228h], rax                                                ; +0x130, 0x1403c0c40\nmov     rcx, [r14+248h]                                                ; +0x137, 0x1403c0c47\nmov     rdx, [rcx]                                                     ; +0x13e, 0x1403c0c4e\nmov     r9, [rdx+1C8h]                                                 ; +0x141, 0x1403c0c51\nmov     r8d, 0Ah                                                       ; +0x148, 0x1403c0c58\nmov     rdx, rax                                                       ; +0x14e, 0x1403c0c5e\ncall    r9                                                             ; +0x151, 0x1403c0c61\nmovss   xmm2, cs:dword_1408356A4                                       ; +0x154, 0x1403c0c64\nmovss   xmm1, cs:dword_140835F60                                       ; +0x15c, 0x1403c0c6c\nlea     rcx, [rsp+0A8h+var_48]                                         ; +0x164, 0x1403c0c74\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x169, 0x1403c0c79\nmov     rbx, rax                                                       ; +0x16f, 0x1403c0c7f\nmovss   xmm2, cs:dword_140835888                                       ; +0x172, 0x1403c0c82\nmovss   xmm1, cs:dword_140835874                                       ; +0x17a, 0x1403c0c8a\nlea     rcx, [rsp+0A8h+var_40]                                         ; +0x182, 0x1403c0c92\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x187, 0x1403c0c97\nmov     r8, rbx                                                        ; +0x18d, 0x1403c0c9d\nlea     rdx, [rsp+0A8h+var_58]                                         ; +0x190, 0x1403c0ca0\nmov     rcx, rax                                                       ; +0x195, 0x1403c0ca5\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x198, 0x1403c0ca8\nmov     rcx, [r14+228h]                                                ; +0x19e, 0x1403c0cae\nmov     rax, [rcx]                                                     ; +0x1a5, 0x1403c0cb5\nlea     rdx, [rsp+0A8h+var_58]                                         ; +0x1a8, 0x1403c0cb8\ncall    qword ptr [rax+0B8h]                                           ; +0x1ad, 0x1403c0cbd\nmov     rcx, r14                                                       ; +0x1b3, 0x1403c0cc3\ncall    HSVLiveOverlay__determineStartValues                           ; +0x1b6, 0x1403c0cc6\ncmp     byte ptr [r14+2D8h], 0                                         ; +0x1bb, 0x1403c0ccb\njz      loc_1403C0FAB                                                  ; +0x1c3, 0x1403c0cd3\ncmp     byte ptr [r14+2D9h], 0                                         ; +0x1c9, 0x1403c0cd9\njz      loc_1403C0FAB                                                  ; +0x1d1, 0x1403c0ce1\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x1d7, 0x1403c0ce7\nmov     [r14+2B8h], rax                                                ; +0x1dd, 0x1403c0ced\nmov     rcx, rax                                                       ; +0x1e4, 0x1403c0cf4\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x1e7, 0x1403c0cf7\nmov     ecx, 2C8h; Size                                                ; +0x1ed, 0x1403c0cfd\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1f2, 0x1403c0d02\nmov     [rsp+0A8h+var_40], rax                                         ; +0x1f7, 0x1403c0d07\nmov     rcx, rax                                                       ; +0x1fc, 0x1403c0d0c\ncall    ButtonSprite__ButtonSprite                                     ; +0x1ff, 0x1403c0d0f\nmov     rbx, rax                                                       ; +0x204, 0x1403c0d14\nlea     rdi, qword_140704F78                                           ; +0x207, 0x1403c0d17\nmovss   xmm6, cs:dword_140835624                                       ; +0x20e, 0x1403c0d1e\ntest    rax, rax                                                       ; +0x216, 0x1403c0d26\njz      short loc_1403C0D81                                            ; +0x219, 0x1403c0d29\nmovss   [rsp+0A8h+var_68], xmm6                                        ; +0x21b, 0x1403c0d2b\nlea     rax, aGjButton01Png; \"GJ_button_01.png\"                        ; +0x221, 0x1403c0d31\nmov     [rsp+0A8h+var_70], rax                                         ; +0x228, 0x1403c0d38\nmov     [rsp+0A8h+var_78], rdi                                         ; +0x22d, 0x1403c0d3d\nmov     [rsp+0A8h+var_80], 1                                           ; +0x232, 0x1403c0d42\nmovss   [rsp+0A8h+var_88], xmm7                                        ; +0x237, 0x1403c0d47\nxor     r9d, r9d                                                       ; +0x23d, 0x1403c0d4d\nmov     r8d, 14h                                                       ; +0x240, 0x1403c0d50\nlea     rdx, word_14070D060                                            ; +0x246, 0x1403c0d56\nmov     rcx, rbx                                                       ; +0x24d, 0x1403c0d5d\ncall    ButtonSprite__init_1                                           ; +0x250, 0x1403c0d60\nmov     rcx, rbx                                                       ; +0x255, 0x1403c0d65\ntest    al, al                                                         ; +0x258, 0x1403c0d68\njz      short loc_1403C0D74                                            ; +0x25a, 0x1403c0d6a\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x25c, 0x1403c0d6c\njmp     short loc_1403C0D81                                            ; +0x262, 0x1403c0d72\nmov     rax, [rbx]                                                     ; +0x264, 0x1403c0d74\nmov     edx, 1                                                         ; +0x267, 0x1403c0d77\ncall    qword ptr [rax+8]                                              ; +0x26c, 0x1403c0d7c\nxor     ebx, ebx                                                       ; +0x26f, 0x1403c0d7f\nmov     rax, [rbx]                                                     ; +0x271, 0x1403c0d81\nmovss   xmm1, cs:dword_140834F64                                       ; +0x274, 0x1403c0d84\nmov     rcx, rbx                                                       ; +0x27c, 0x1403c0d8c\ncall    qword ptr [rax+0A0h]                                           ; +0x27f, 0x1403c0d8f\nlea     r9, HSVLiveOverlay__onSelectTab                                ; +0x285, 0x1403c0d95\nmov     r8, r14                                                        ; +0x28c, 0x1403c0d9c\nxor     edx, edx                                                       ; +0x28f, 0x1403c0d9f\nmov     rcx, rbx                                                       ; +0x291, 0x1403c0da1\ncall    CCMenuItemSpriteExtra__create                                  ; +0x294, 0x1403c0da4\nmov     r15, rax                                                       ; +0x299, 0x1403c0da9\nmov     rcx, [r14+228h]                                                ; +0x29c, 0x1403c0dac\nmov     r8, [rcx]                                                      ; +0x2a3, 0x1403c0db3\nmov     rdx, rax                                                       ; +0x2a6, 0x1403c0db6\ncall    qword ptr [r8+1D0h]                                            ; +0x2a9, 0x1403c0db9\nmov     r8, [r15]                                                      ; +0x2b0, 0x1403c0dc0\nmov     edx, 1                                                         ; +0x2b3, 0x1403c0dc3\nmov     rcx, r15                                                       ; +0x2b8, 0x1403c0dc8\ncall    qword ptr [r8+40h]                                             ; +0x2bb, 0x1403c0dcb\nmov     r8, [rbx]                                                      ; +0x2bf, 0x1403c0dcf\nmov     edx, 1                                                         ; +0x2c2, 0x1403c0dd2\nmov     rcx, rbx                                                       ; +0x2c7, 0x1403c0dd7\ncall    qword ptr [r8+40h]                                             ; +0x2ca, 0x1403c0dda\nmov     rdx, rbx                                                       ; +0x2ce, 0x1403c0dde\nmov     rcx, [r14+2B8h]                                                ; +0x2d1, 0x1403c0de1\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x2d8, 0x1403c0de8\nmov     ecx, 2C8h; Size                                                ; +0x2de, 0x1403c0dee\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2e3, 0x1403c0df3\nmov     [rsp+0A8h+var_40], rax                                         ; +0x2e8, 0x1403c0df8\nmov     rcx, rax                                                       ; +0x2ed, 0x1403c0dfd\ncall    ButtonSprite__ButtonSprite                                     ; +0x2f0, 0x1403c0e00\nmov     rbx, rax                                                       ; +0x2f5, 0x1403c0e05\ntest    rax, rax                                                       ; +0x2f8, 0x1403c0e08\njz      short loc_1403C0E63                                            ; +0x2fb, 0x1403c0e0b\nmovss   [rsp+0A8h+var_68], xmm6                                        ; +0x2fd, 0x1403c0e0d\nlea     rax, aGjButton04Png; \"GJ_button_04.png\"                        ; +0x303, 0x1403c0e13\nmov     [rsp+0A8h+var_70], rax                                         ; +0x30a, 0x1403c0e1a\nmov     [rsp+0A8h+var_78], rdi                                         ; +0x30f, 0x1403c0e1f\nmov     [rsp+0A8h+var_80], 1                                           ; +0x314, 0x1403c0e24\nmovss   [rsp+0A8h+var_88], xmm7                                        ; +0x319, 0x1403c0e29\nxor     r9d, r9d                                                       ; +0x31f, 0x1403c0e2f\nmov     r8d, 14h                                                       ; +0x322, 0x1403c0e32\nlea     rdx, word_14070D058                                            ; +0x328, 0x1403c0e38\nmov     rcx, rbx                                                       ; +0x32f, 0x1403c0e3f\ncall    ButtonSprite__init_1                                           ; +0x332, 0x1403c0e42\nmov     rcx, rbx                                                       ; +0x337, 0x1403c0e47\ntest    al, al                                                         ; +0x33a, 0x1403c0e4a\njz      short loc_1403C0E56                                            ; +0x33c, 0x1403c0e4c\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x33e, 0x1403c0e4e\njmp     short loc_1403C0E63                                            ; +0x344, 0x1403c0e54\nmov     rax, [rbx]                                                     ; +0x346, 0x1403c0e56\nmov     edx, 1                                                         ; +0x349, 0x1403c0e59\ncall    qword ptr [rax+8]                                              ; +0x34e, 0x1403c0e5e\nxor     ebx, ebx                                                       ; +0x351, 0x1403c0e61\nmov     rax, [rbx]                                                     ; +0x353, 0x1403c0e63\nmovss   xmm1, cs:dword_140834F64                                       ; +0x356, 0x1403c0e66\nmov     rcx, rbx                                                       ; +0x35e, 0x1403c0e6e\ncall    qword ptr [rax+0A0h]                                           ; +0x361, 0x1403c0e71\nlea     r9, HSVLiveOverlay__onSelectTab                                ; +0x367, 0x1403c0e77\nmov     r8, r14                                                        ; +0x36e, 0x1403c0e7e\nxor     edx, edx                                                       ; +0x371, 0x1403c0e81\nmov     rcx, rbx                                                       ; +0x373, 0x1403c0e83\ncall    CCMenuItemSpriteExtra__create                                  ; +0x376, 0x1403c0e86\nmov     rsi, rax                                                       ; +0x37b, 0x1403c0e8b\nmov     rcx, [r14+228h]                                                ; +0x37e, 0x1403c0e8e\nmov     rdx, [rcx]                                                     ; +0x385, 0x1403c0e95\nmov     r8, [rdx+1D0h]                                                 ; +0x388, 0x1403c0e98\nmov     rdx, rax                                                       ; +0x38f, 0x1403c0e9f\ncall    r8                                                             ; +0x392, 0x1403c0ea2\nmov     rcx, [rsi]                                                     ; +0x395, 0x1403c0ea5\nmov     r8, [rcx+40h]                                                  ; +0x398, 0x1403c0ea8\nmov     edx, 2                                                         ; +0x39c, 0x1403c0eac\nmov     rcx, rsi                                                       ; +0x3a1, 0x1403c0eb1\ncall    r8                                                             ; +0x3a4, 0x1403c0eb4\nmov     rcx, [rbx]                                                     ; +0x3a7, 0x1403c0eb7\nmov     r8, [rcx+40h]                                                  ; +0x3aa, 0x1403c0eba\nmov     edx, 2                                                         ; +0x3ae, 0x1403c0ebe\nmov     rcx, rbx                                                       ; +0x3b3, 0x1403c0ec3\ncall    r8                                                             ; +0x3b6, 0x1403c0ec6\nmov     rdx, rbx                                                       ; +0x3b9, 0x1403c0ec9\nmov     rcx, [r14+2B8h]                                                ; +0x3bc, 0x1403c0ecc\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x3c3, 0x1403c0ed3\nmovss   xmm2, cs:dword_140835660                                       ; +0x3c9, 0x1403c0ed9\nmovss   xmm1, cs:dword_1408357A0                                       ; +0x3d1, 0x1403c0ee1\nlea     rcx, [rsp+0A8h+var_40]                                         ; +0x3d9, 0x1403c0ee9\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3de, 0x1403c0eee\nmov     rbx, rax                                                       ; +0x3e4, 0x1403c0ef4\nmovss   xmm2, cs:dword_140835888                                       ; +0x3e7, 0x1403c0ef7\nmovss   xmm1, cs:dword_140835874                                       ; +0x3ef, 0x1403c0eff\nlea     rcx, [rsp+0A8h+var_48]                                         ; +0x3f7, 0x1403c0f07\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3fc, 0x1403c0f0c\nmov     r8, rbx                                                        ; +0x402, 0x1403c0f12\nlea     rdx, [rsp+0A8h+var_58]                                         ; +0x405, 0x1403c0f15\nmov     rcx, rax                                                       ; +0x40a, 0x1403c0f1a\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x40d, 0x1403c0f1d\nmov     rdi, [r15]                                                     ; +0x413, 0x1403c0f23\nmov     rbx, [r14+228h]                                                ; +0x416, 0x1403c0f26\nlea     r8, [rsp+0A8h+var_58]                                          ; +0x41d, 0x1403c0f2d\nlea     rdx, [rsp+0A8h+var_38]                                         ; +0x422, 0x1403c0f32\nmov     rcx, [r14+248h]                                                ; +0x427, 0x1403c0f37\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x42e, 0x1403c0f3e\nmov     r8, rax                                                        ; +0x434, 0x1403c0f44\nlea     rdx, [rsp+0A8h+var_30]                                         ; +0x437, 0x1403c0f47\nmov     rcx, rbx                                                       ; +0x43c, 0x1403c0f4c\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x43f, 0x1403c0f4f\nmov     rdx, rax                                                       ; +0x445, 0x1403c0f55\nmov     rcx, r15                                                       ; +0x448, 0x1403c0f58\ncall    qword ptr [rdi+0B8h]                                           ; +0x44b, 0x1403c0f5b\nmovss   xmm2, cs:dword_140835E60                                       ; +0x451, 0x1403c0f61\nxorps   xmm1, xmm1                                                     ; +0x459, 0x1403c0f69\nlea     rcx, [rsp+0A8h+var_30]                                         ; +0x45c, 0x1403c0f6c\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x461, 0x1403c0f71\nmov     rbx, rax                                                       ; +0x467, 0x1403c0f77\nmov     rcx, [r15]                                                     ; +0x46a, 0x1403c0f7a\nmov     rdx, [rcx+0C8h]                                                ; +0x46d, 0x1403c0f7d\nmov     rcx, r15                                                       ; +0x474, 0x1403c0f84\ncall    rdx                                                            ; +0x477, 0x1403c0f87\nmov     r8, rbx                                                        ; +0x479, 0x1403c0f89\nlea     rdx, [rsp+0A8h+var_58]                                         ; +0x47c, 0x1403c0f8c\nmov     rcx, rax                                                       ; +0x481, 0x1403c0f91\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x484, 0x1403c0f94\nmov     rax, [rsi]                                                     ; +0x48a, 0x1403c0f9a\nlea     rdx, [rsp+0A8h+var_58]                                         ; +0x48d, 0x1403c0f9d\nmov     rcx, rsi                                                       ; +0x492, 0x1403c0fa2\ncall    qword ptr [rax+0B8h]                                           ; +0x495, 0x1403c0fa5\nmovzx   eax, byte ptr [r14+2D8h]                                       ; +0x49b, 0x1403c0fab\nneg     al                                                             ; +0x4a3, 0x1403c0fb3\nsbb     edx, edx                                                       ; +0x4a5, 0x1403c0fb5\nadd     edx, 2                                                         ; +0x4a7, 0x1403c0fb7\nmov     rcx, r14                                                       ; +0x4aa, 0x1403c0fba\ncall    HSVLiveOverlay__createHSVWidget                                ; +0x4ad, 0x1403c0fbd\nmov     al, 1                                                          ; +0x4b2, 0x1403c0fc2\nlea     r11, [rsp+0A8h+var_8]                                          ; +0x4b4, 0x1403c0fc4\nmov     rbx, [r11+10h]                                                 ; +0x4bc, 0x1403c0fcc\nmov     rsi, [r11+18h]                                                 ; +0x4c0, 0x1403c0fd0\nmov     rdi, [r11+20h]                                                 ; +0x4c4, 0x1403c0fd4\nmov     r14, [r11+28h]                                                 ; +0x4c8, 0x1403c0fd8\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0x4cc, 0x1403c0fdc\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0x4d1, 0x1403c0fe1\nmov     rsp, r11                                                       ; +0x4d6, 0x1403c0fe6\npop     r15                                                            ; +0x4d9, 0x1403c0fe9\nretn                                                                   ; +0x4db, 0x1403c0feb", "xrefs": ["EditorUI::editHSV @ 0x1401be629", "<???> @ 0x140924038"], "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"}