{"type": "func", "start": 5371566528, "end": 5371567704, "name": "HSVLiveOverlay::init", "pseudocode": "// \n// HSVLiveOverlay::init from 0x1402b99c0 to 0x1402b9e58 (1176 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editHSV @ 0x14011f182\n// > <???> @ 0x1406d2714\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\n// Hidden C++ exception states: #wind=2\nbool HSVLiveOverlay::init(HSVLiveOverlay *a1, GameObject *a2, cocos2d::CCArray *a3)\n{\n  bool result; // al\n  __int64 v7; // rcx\n  cocos2d::CCObject *v8; // rcx\n  cocos2d::CCDirector *v9; // rax\n  __int64 v10; // rcx\n  cocos2d::CCArray *v11; // rax\n  struct cocos2d::CCSprite *v12; // rbx\n  CCMenuItemSpriteExtra *v13; // rax\n  cocos2d::CCMenu *v14; // rax\n  float v15; // xmm0_4\n  double v16; // xmm0_8\n  __int64 v17; // rax\n  double v18; // xmm0_8\n  __int64 v19; // rcx\n  cocos2d::CCArray *v20; // rax\n  ButtonSprite *v21; // rbx\n  CCMenuItemSpriteExtra *v22; // r14\n  ButtonSprite *v23; // rbx\n  CCMenuItemSpriteExtra *v24; // rdi\n  double v25; // xmm0_8\n  __int64 v26; // rax\n  CCMenuItemSpriteExtra_vtbl *v27; // rbx\n  struct cocos2d::CCPoint v28; // rax\n  float v29; // xmm0_4\n  __int64 v30; // rax\n  struct cocos2d::CCPoint v31; // [rsp+68h] [rbp-40h] BYREF\n  struct cocos2d::CCPoint v32; // [rsp+70h] [rbp-38h] BYREF\n  ButtonSprite *v33; // [rsp+C8h] [rbp+20h] BYREF\n\n  result = FLAlertLayer::init_1(a1, 0);\n  if ( !result )\n    return result;\n  if ( a2 )\n  {\n    a1->m_object = a2;\n    v8 = a2;\n  }\n  else\n  {\n    if ( !a3 )\n      goto LABEL_7;\n    a1->m_objects = a3;\n    v8 = a3;\n  }\n  cocos2d::CCObject::retain(v8);\nLABEL_7:\n  a1->m_noElasticity = 1;\n  v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v7);\n  cocos2d::CCDirector::getWinSize(v9);\n  v11 = (cocos2d::CCArray *)cocos2d::CCArray::create(v10);\n  a1->m_controls = v11;\n  cocos2d::CCObject::retain(v11);\n  a1->setTouchEnabled(a1, 0);\n  a1->setKeypadEnabled(a1, 0);\n  v12 = cocos2d::CCSprite::createWithSpriteFrameName(\"GJ_closeBtn_001.png\");\n  ((void (__fastcall *)(struct cocos2d::CCSprite *))v12->setScale_0)(v12);\n  v13 = CCMenuItemSpriteExtra::create(v12, nullptr, a1, (cocos2d::SEL_MenuHandler *)HSVLiveOverlay::closeColorSelect);\n  v14 = cocos2d::CCMenu::create(v13, 0);\n  a1->m_buttonMenu = v14;\n  v15 = ((float (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCMenu *, __int64))a1->m_mainLayer->addChild_0)(\n          a1->m_mainLayer,\n          v14,\n          10);\n  v16 = cocos2d::CCPoint::CCPoint(v15, -81.0);\n  cocos2d::CCPoint::CCPoint(*(float *)&v16, 157.0);\n  v18 = cocos2d::CCPoint::operator+(v17, &v33);\n  a1->m_buttonMenu->setPosition_0(a1->m_buttonMenu, (const cocos2d::CCPoint *)&v33);\n  HSVLiveOverlay::determineStartValues(a1);\n  if ( a1->m_unkBool1 && a1->m_unkBool2 )\n  {\n    v20 = (cocos2d::CCArray *)cocos2d::CCArray::create(v19);\n    a1->m_unkArray = v20;\n    cocos2d::CCObject::retain(v20);\n    v33 = (ButtonSprite *)operator new(0x2C0u);\n    v21 = ButtonSprite::ButtonSprite(v33);\n    if ( v21 )\n    {\n      if ( ButtonSprite::init_1(\n             v21,\n             (const char *)&word_140531EA4,\n             20,\n             0,\n             0.5,\n             1,\n             (const char *)&qword_14052A4D8,\n             \"GJ_button_01.png\",\n             30.0) )\n      {\n        cocos2d::CCObject::autorelease(v21);\n      }\n      else\n      {\n        ((void (__fastcall *)(ButtonSprite *, __int64))v21->~ButtonSprite)(v21, 1);\n        v21 = nullptr;\n      }\n    }\n    ((void (__fastcall *)(ButtonSprite *))v21->setScale_0)(v21);\n    v22 = CCMenuItemSpriteExtra::create(v21, nullptr, a1, (cocos2d::SEL_MenuHandler *)HSVLiveOverlay::onSelectTab);\n    a1->m_buttonMenu->addChild_1(a1->m_buttonMenu, v22);\n    v22->setTag(v22, 1);\n    v21->setTag(v21, 1);\n    cocos2d::CCArray::addObject(a1->m_unkArray, v21);\n    v33 = (ButtonSprite *)operator new(0x2C0u);\n    v23 = ButtonSprite::ButtonSprite(v33);\n    if ( v23 )\n    {\n      if ( ButtonSprite::init_1(\n             v23,\n             (const char *)&word_140531EA0,\n             20,\n             0,\n             0.5,\n             1,\n             (const char *)&qword_14052A4D8,\n             \"GJ_button_04.png\",\n             30.0) )\n      {\n        cocos2d::CCObject::autorelease(v23);\n      }\n      else\n      {\n        ((void (__fastcall *)(ButtonSprite *, __int64))v23->~ButtonSprite)(v23, 1);\n        v23 = nullptr;\n      }\n    }\n    ((void (__fastcall *)(ButtonSprite *))v23->setScale_0)(v23);\n    v24 = CCMenuItemSpriteExtra::create(v23, nullptr, a1, (cocos2d::SEL_MenuHandler *)HSVLiveOverlay::onSelectTab);\n    a1->m_buttonMenu->addChild_1(a1->m_buttonMenu, v24);\n    v24->setTag(v24, 2);\n    v23->setTag(v23, 2);\n    cocos2d::CCArray::addObject(a1->m_unkArray, v23);\n    v25 = cocos2d::CCPoint::CCPoint(*(float *)&v18, 97.0);\n    cocos2d::CCPoint::CCPoint(*(float *)&v25, 157.0);\n    cocos2d::CCPoint::operator+(v26, &v33);\n    v27 = v22->cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    cocos2d::CCNode::convertToWorldSpace(a1->m_mainLayer, &v31);\n    v28 = cocos2d::CCNode::convertToNodeSpace(a1->m_buttonMenu, &v32);\n    v29 = ((float (__fastcall *)(CCMenuItemSpriteExtra *, struct cocos2d::CCPoint))v27->setPosition_0)(v22, v28);\n    cocos2d::CCPoint::CCPoint(v29, 0.0);\n    v30 = (__int64)v22->getPosition_0(v22);\n    cocos2d::CCPoint::operator+(v30, &v33);\n    v24->setPosition_0(v24, (const cocos2d::CCPoint *)&v33);\n  }\n  HSVLiveOverlay::createHSVWidget(a1, 2 - a1->m_unkBool1);\n  return 1;\n}", "assembly": "; \n; HSVLiveOverlay::init from 0x1402b99c0 to 0x1402b9e58 (1176 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editHSV @ 0x14011f182\n; > <???> @ 0x1406d2714\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, rsp                                                       ; +0x0, 0x1402b99c0\nmov     [rax+8], rbx                                                   ; +0x3, 0x1402b99c3\nmov     [rax+10h], rsi                                                 ; +0x7, 0x1402b99c7\nmov     [rax+18h], rdi                                                 ; +0xb, 0x1402b99cb\npush    r14                                                            ; +0xf, 0x1402b99cf\nsub     rsp, 0A0h                                                      ; +0x11, 0x1402b99d1\nmovaps  xmmword ptr [rax-18h], xmm6                                    ; +0x18, 0x1402b99d8\nmovaps  xmmword ptr [rax-28h], xmm7                                    ; +0x1c, 0x1402b99dc\nmov     rbx, r8                                                        ; +0x20, 0x1402b99e0\nmov     rdi, rdx                                                       ; +0x23, 0x1402b99e3\nmov     rsi, rcx                                                       ; +0x26, 0x1402b99e6\nxor     edx, edx                                                       ; +0x29, 0x1402b99e9\ncall    FLAlertLayer__init_1                                           ; +0x2b, 0x1402b99eb\ntest    al, al                                                         ; +0x30, 0x1402b99f0\njz      loc_1402B9E34                                                  ; +0x32, 0x1402b99f2\ntest    rdi, rdi                                                       ; +0x38, 0x1402b99f8\njz      short loc_1402B9A09                                            ; +0x3b, 0x1402b99fb\nmov     [rsi+280h], rdi                                                ; +0x3d, 0x1402b99fd\nmov     rcx, rdi                                                       ; +0x44, 0x1402b9a04\njmp     short loc_1402B9A18                                            ; +0x47, 0x1402b9a07\ntest    rbx, rbx                                                       ; +0x49, 0x1402b9a09\njz      short loc_1402B9A1E                                            ; +0x4c, 0x1402b9a0c\nmov     [rsi+288h], rbx                                                ; +0x4e, 0x1402b9a0e\nmov     rcx, rbx                                                       ; +0x55, 0x1402b9a15\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x58, 0x1402b9a18\nmov     byte ptr [rsi+24Ch], 1                                         ; +0x5e, 0x1402b9a1e\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x65, 0x1402b9a25\nmov     rcx, rax                                                       ; +0x6b, 0x1402b9a2b\nlea     rdx, [rsp+0A8h+var_58]                                         ; +0x6e, 0x1402b9a2e\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x73, 0x1402b9a33\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x79, 0x1402b9a39\nmov     [rsi+290h], rax                                                ; +0x7f, 0x1402b9a3f\nmov     rcx, rax                                                       ; +0x86, 0x1402b9a46\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x89, 0x1402b9a49\nmov     rax, [rsi]                                                     ; +0x8f, 0x1402b9a4f\nxor     edx, edx                                                       ; +0x92, 0x1402b9a52\nmov     rcx, rsi                                                       ; +0x94, 0x1402b9a54\ncall    qword ptr [rax+388h]                                           ; +0x97, 0x1402b9a57\nmov     rax, [rsi]                                                     ; +0x9d, 0x1402b9a5d\nxor     edx, edx                                                       ; +0xa0, 0x1402b9a60\nmov     rcx, rsi                                                       ; +0xa2, 0x1402b9a62\ncall    qword ptr [rax+3D0h]                                           ; +0xa5, 0x1402b9a65\nlea     rcx, aGjClosebtn001P; \"GJ_closeBtn_001.png\"                    ; +0xab, 0x1402b9a6b\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0xb2, 0x1402b9a72\nmov     rbx, rax                                                       ; +0xb8, 0x1402b9a78\nmov     rdx, [rax]                                                     ; +0xbb, 0x1402b9a7b\nmovss   xmm7, cs:dword_140622B08                                       ; +0xbe, 0x1402b9a7e\nmovaps  xmm1, xmm7                                                     ; +0xc6, 0x1402b9a86\nmov     rcx, rax                                                       ; +0xc9, 0x1402b9a89\ncall    qword ptr [rdx+0A0h]                                           ; +0xcc, 0x1402b9a8c\nlea     r9, HSVLiveOverlay__closeColorSelect                           ; +0xd2, 0x1402b9a92\nmov     r8, rsi                                                        ; +0xd9, 0x1402b9a99\nxor     edx, edx                                                       ; +0xdc, 0x1402b9a9c\nmov     rcx, rbx                                                       ; +0xde, 0x1402b9a9e\ncall    CCMenuItemSpriteExtra__create                                  ; +0xe1, 0x1402b9aa1\nxor     edx, edx                                                       ; +0xe6, 0x1402b9aa6\nmov     rcx, rax                                                       ; +0xe8, 0x1402b9aa8\ncall    cs:?create@CCMenu@cocos2d@@SAPEAV12@PEAVCCMenuItem@2@ZZ; cocos2d::CCMenu::create(cocos2d::CCMenuItem *,...) ; +0xeb, 0x1402b9aab\nmov     [rsi+220h], rax                                                ; +0xf1, 0x1402b9ab1\nmov     rcx, [rsi+240h]                                                ; +0xf8, 0x1402b9ab8\nmov     r9, [rcx]                                                      ; +0xff, 0x1402b9abf\nmov     r8d, 0Ah                                                       ; +0x102, 0x1402b9ac2\nmov     rdx, rax                                                       ; +0x108, 0x1402b9ac8\ncall    qword ptr [r9+1B8h]                                            ; +0x10b, 0x1402b9acb\nmovss   xmm2, cs:dword_1406231DC                                       ; +0x112, 0x1402b9ad2\nmovss   xmm1, cs:dword_1406239A8                                       ; +0x11a, 0x1402b9ada\nlea     rcx, [rsp+0A8h+var_50]                                         ; +0x122, 0x1402b9ae2\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x127, 0x1402b9ae7\nmov     rbx, rax                                                       ; +0x12d, 0x1402b9aed\nmovss   xmm2, cs:dword_14062337C                                       ; +0x130, 0x1402b9af0\nmovss   xmm1, cs:dword_140623368                                       ; +0x138, 0x1402b9af8\nlea     rcx, [rsp+0A8h+var_48]                                         ; +0x140, 0x1402b9b00\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x145, 0x1402b9b05\nmov     r8, rbx                                                        ; +0x14b, 0x1402b9b0b\nlea     rdx, [rsp+0A8h+arg_18]                                         ; +0x14e, 0x1402b9b0e\nmov     rcx, rax                                                       ; +0x156, 0x1402b9b16\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x159, 0x1402b9b19\nmov     rcx, [rsi+220h]                                                ; +0x15f, 0x1402b9b1f\nmov     rax, [rcx]                                                     ; +0x166, 0x1402b9b26\nlea     rdx, [rsp+0A8h+arg_18]                                         ; +0x169, 0x1402b9b29\ncall    qword ptr [rax+0B8h]                                           ; +0x171, 0x1402b9b31\nmov     rcx, rsi                                                       ; +0x177, 0x1402b9b37\ncall    HSVLiveOverlay__determineStartValues                           ; +0x17a, 0x1402b9b3a\ncmp     byte ptr [rsi+2B8h], 0                                         ; +0x17f, 0x1402b9b3f\njz      loc_1402B9E1C                                                  ; +0x186, 0x1402b9b46\ncmp     byte ptr [rsi+2B9h], 0                                         ; +0x18c, 0x1402b9b4c\njz      loc_1402B9E1C                                                  ; +0x193, 0x1402b9b53\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x199, 0x1402b9b59\nmov     [rsi+298h], rax                                                ; +0x19f, 0x1402b9b5f\nmov     rcx, rax                                                       ; +0x1a6, 0x1402b9b66\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x1a9, 0x1402b9b69\nmov     ecx, 2C0h; Size                                                ; +0x1af, 0x1402b9b6f\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1b4, 0x1402b9b74\nmov     [rsp+0A8h+arg_18], rax                                         ; +0x1b9, 0x1402b9b79\nmov     rcx, rax                                                       ; +0x1c1, 0x1402b9b81\ncall    ButtonSprite__ButtonSprite                                     ; +0x1c4, 0x1402b9b84\nmov     rbx, rax                                                       ; +0x1c9, 0x1402b9b89\nlea     rdi, qword_14052A4D8                                           ; +0x1cc, 0x1402b9b8c\nmovss   xmm6, cs:dword_140623164                                       ; +0x1d3, 0x1402b9b93\ntest    rax, rax                                                       ; +0x1db, 0x1402b9b9b\njz      short loc_1402B9BF4                                            ; +0x1de, 0x1402b9b9e\nmovss   [rsp+0A8h+var_68], xmm6                                        ; +0x1e0, 0x1402b9ba0\nlea     rax, aGjButton01Png; \"GJ_button_01.png\"                        ; +0x1e6, 0x1402b9ba6\nmov     [rsp+0A8h+var_70], rax                                         ; +0x1ed, 0x1402b9bad\nmov     [rsp+0A8h+var_78], rdi                                         ; +0x1f2, 0x1402b9bb2\nmov     [rsp+0A8h+var_80], 1                                           ; +0x1f7, 0x1402b9bb7\nmovss   [rsp+0A8h+var_88], xmm7                                        ; +0x1fc, 0x1402b9bbc\nxor     r9d, r9d                                                       ; +0x202, 0x1402b9bc2\nlea     r8d, [r9+14h]                                                  ; +0x205, 0x1402b9bc5\nlea     rdx, word_140531EA4                                            ; +0x209, 0x1402b9bc9\nmov     rcx, rbx                                                       ; +0x210, 0x1402b9bd0\ncall    ButtonSprite__init_1                                           ; +0x213, 0x1402b9bd3\nmov     rcx, rbx                                                       ; +0x218, 0x1402b9bd8\ntest    al, al                                                         ; +0x21b, 0x1402b9bdb\njz      short loc_1402B9BE7                                            ; +0x21d, 0x1402b9bdd\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x21f, 0x1402b9bdf\njmp     short loc_1402B9BF4                                            ; +0x225, 0x1402b9be5\nmov     rax, [rbx]                                                     ; +0x227, 0x1402b9be7\nmov     edx, 1                                                         ; +0x22a, 0x1402b9bea\ncall    qword ptr [rax+8]                                              ; +0x22f, 0x1402b9bef\nxor     ebx, ebx                                                       ; +0x232, 0x1402b9bf2\nmov     rax, [rbx]                                                     ; +0x234, 0x1402b9bf4\nmovss   xmm1, cs:dword_140622B38                                       ; +0x237, 0x1402b9bf7\nmov     rcx, rbx                                                       ; +0x23f, 0x1402b9bff\ncall    qword ptr [rax+0A0h]                                           ; +0x242, 0x1402b9c02\nlea     r9, HSVLiveOverlay__onSelectTab                                ; +0x248, 0x1402b9c08\nmov     r8, rsi                                                        ; +0x24f, 0x1402b9c0f\nxor     edx, edx                                                       ; +0x252, 0x1402b9c12\nmov     rcx, rbx                                                       ; +0x254, 0x1402b9c14\ncall    CCMenuItemSpriteExtra__create                                  ; +0x257, 0x1402b9c17\nmov     r14, rax                                                       ; +0x25c, 0x1402b9c1c\nmov     rcx, [rsi+220h]                                                ; +0x25f, 0x1402b9c1f\nmov     r8, [rcx]                                                      ; +0x266, 0x1402b9c26\nmov     rdx, rax                                                       ; +0x269, 0x1402b9c29\ncall    qword ptr [r8+1C0h]                                            ; +0x26c, 0x1402b9c2c\nmov     r8, [r14]                                                      ; +0x273, 0x1402b9c33\nmov     edx, 1                                                         ; +0x276, 0x1402b9c36\nmov     rcx, r14                                                       ; +0x27b, 0x1402b9c3b\ncall    qword ptr [r8+40h]                                             ; +0x27e, 0x1402b9c3e\nmov     r8, [rbx]                                                      ; +0x282, 0x1402b9c42\nmov     edx, 1                                                         ; +0x285, 0x1402b9c45\nmov     rcx, rbx                                                       ; +0x28a, 0x1402b9c4a\ncall    qword ptr [r8+40h]                                             ; +0x28d, 0x1402b9c4d\nmov     rdx, rbx                                                       ; +0x291, 0x1402b9c51\nmov     rcx, [rsi+298h]                                                ; +0x294, 0x1402b9c54\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x29b, 0x1402b9c5b\nmov     ecx, 2C0h; Size                                                ; +0x2a1, 0x1402b9c61\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2a6, 0x1402b9c66\nmov     [rsp+0A8h+arg_18], rax                                         ; +0x2ab, 0x1402b9c6b\nmov     rcx, rax                                                       ; +0x2b3, 0x1402b9c73\ncall    ButtonSprite__ButtonSprite                                     ; +0x2b6, 0x1402b9c76\nmov     rbx, rax                                                       ; +0x2bb, 0x1402b9c7b\ntest    rax, rax                                                       ; +0x2be, 0x1402b9c7e\njz      short loc_1402B9CD7                                            ; +0x2c1, 0x1402b9c81\nmovss   [rsp+0A8h+var_68], xmm6                                        ; +0x2c3, 0x1402b9c83\nlea     rax, aGjButton04Png; \"GJ_button_04.png\"                        ; +0x2c9, 0x1402b9c89\nmov     [rsp+0A8h+var_70], rax                                         ; +0x2d0, 0x1402b9c90\nmov     [rsp+0A8h+var_78], rdi                                         ; +0x2d5, 0x1402b9c95\nmov     [rsp+0A8h+var_80], 1                                           ; +0x2da, 0x1402b9c9a\nmovss   [rsp+0A8h+var_88], xmm7                                        ; +0x2df, 0x1402b9c9f\nxor     r9d, r9d                                                       ; +0x2e5, 0x1402b9ca5\nlea     r8d, [r9+14h]                                                  ; +0x2e8, 0x1402b9ca8\nlea     rdx, word_140531EA0                                            ; +0x2ec, 0x1402b9cac\nmov     rcx, rbx                                                       ; +0x2f3, 0x1402b9cb3\ncall    ButtonSprite__init_1                                           ; +0x2f6, 0x1402b9cb6\nmov     rcx, rbx                                                       ; +0x2fb, 0x1402b9cbb\ntest    al, al                                                         ; +0x2fe, 0x1402b9cbe\njz      short loc_1402B9CCA                                            ; +0x300, 0x1402b9cc0\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x302, 0x1402b9cc2\njmp     short loc_1402B9CD7                                            ; +0x308, 0x1402b9cc8\nmov     rax, [rbx]                                                     ; +0x30a, 0x1402b9cca\nmov     edx, 1                                                         ; +0x30d, 0x1402b9ccd\ncall    qword ptr [rax+8]                                              ; +0x312, 0x1402b9cd2\nxor     ebx, ebx                                                       ; +0x315, 0x1402b9cd5\nmov     rax, [rbx]                                                     ; +0x317, 0x1402b9cd7\nmovss   xmm1, cs:dword_140622B38                                       ; +0x31a, 0x1402b9cda\nmov     rcx, rbx                                                       ; +0x322, 0x1402b9ce2\ncall    qword ptr [rax+0A0h]                                           ; +0x325, 0x1402b9ce5\nlea     r9, HSVLiveOverlay__onSelectTab                                ; +0x32b, 0x1402b9ceb\nmov     r8, rsi                                                        ; +0x332, 0x1402b9cf2\nxor     edx, edx                                                       ; +0x335, 0x1402b9cf5\nmov     rcx, rbx                                                       ; +0x337, 0x1402b9cf7\ncall    CCMenuItemSpriteExtra__create                                  ; +0x33a, 0x1402b9cfa\nmov     rdi, rax                                                       ; +0x33f, 0x1402b9cff\nmov     rcx, [rsi+220h]                                                ; +0x342, 0x1402b9d02\nmov     r8, [rcx]                                                      ; +0x349, 0x1402b9d09\nmov     rdx, rax                                                       ; +0x34c, 0x1402b9d0c\ncall    qword ptr [r8+1C0h]                                            ; +0x34f, 0x1402b9d0f\nmov     r8, [rdi]                                                      ; +0x356, 0x1402b9d16\nmov     edx, 2                                                         ; +0x359, 0x1402b9d19\nmov     rcx, rdi                                                       ; +0x35e, 0x1402b9d1e\ncall    qword ptr [r8+40h]                                             ; +0x361, 0x1402b9d21\nmov     r8, [rbx]                                                      ; +0x365, 0x1402b9d25\nmov     edx, 2                                                         ; +0x368, 0x1402b9d28\nmov     rcx, rbx                                                       ; +0x36d, 0x1402b9d2d\ncall    qword ptr [r8+40h]                                             ; +0x370, 0x1402b9d30\nmov     rdx, rbx                                                       ; +0x374, 0x1402b9d34\nmov     rcx, [rsi+298h]                                                ; +0x377, 0x1402b9d37\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x37e, 0x1402b9d3e\nmovss   xmm2, cs:dword_14062319C                                       ; +0x384, 0x1402b9d44\nmovss   xmm1, cs:dword_1406232B0                                       ; +0x38c, 0x1402b9d4c\nlea     rcx, [rsp+0A8h+var_48]                                         ; +0x394, 0x1402b9d54\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x399, 0x1402b9d59\nmov     rbx, rax                                                       ; +0x39f, 0x1402b9d5f\nmovss   xmm2, cs:dword_14062337C                                       ; +0x3a2, 0x1402b9d62\nmovss   xmm1, cs:dword_140623368                                       ; +0x3aa, 0x1402b9d6a\nlea     rcx, [rsp+0A8h+var_50]                                         ; +0x3b2, 0x1402b9d72\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3b7, 0x1402b9d77\nmov     r8, rbx                                                        ; +0x3bd, 0x1402b9d7d\nlea     rdx, [rsp+0A8h+arg_18]                                         ; +0x3c0, 0x1402b9d80\nmov     rcx, rax                                                       ; +0x3c8, 0x1402b9d88\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x3cb, 0x1402b9d8b\nmov     rbx, [r14]                                                     ; +0x3d1, 0x1402b9d91\nlea     r8, [rsp+0A8h+arg_18]                                          ; +0x3d4, 0x1402b9d94\nlea     rdx, [rsp+0A8h+var_40]                                         ; +0x3dc, 0x1402b9d9c\nmov     rcx, [rsi+240h]                                                ; +0x3e1, 0x1402b9da1\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x3e8, 0x1402b9da8\nmov     r8, rax                                                        ; +0x3ee, 0x1402b9dae\nlea     rdx, [rsp+0A8h+var_38]                                         ; +0x3f1, 0x1402b9db1\nmov     rcx, [rsi+220h]                                                ; +0x3f6, 0x1402b9db6\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x3fd, 0x1402b9dbd\nmov     rdx, rax                                                       ; +0x403, 0x1402b9dc3\nmov     rcx, r14                                                       ; +0x406, 0x1402b9dc6\ncall    qword ptr [rbx+0B8h]                                           ; +0x409, 0x1402b9dc9\nmovss   xmm2, cs:dword_1406238B4                                       ; +0x40f, 0x1402b9dcf\nxorps   xmm1, xmm1                                                     ; +0x417, 0x1402b9dd7\nlea     rcx, [rsp+0A8h+var_38]                                         ; +0x41a, 0x1402b9dda\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x41f, 0x1402b9ddf\nmov     rbx, rax                                                       ; +0x425, 0x1402b9de5\nmov     rdx, [r14]                                                     ; +0x428, 0x1402b9de8\nmov     rcx, r14                                                       ; +0x42b, 0x1402b9deb\ncall    qword ptr [rdx+0C8h]                                           ; +0x42e, 0x1402b9dee\nmov     r8, rbx                                                        ; +0x434, 0x1402b9df4\nlea     rdx, [rsp+0A8h+arg_18]                                         ; +0x437, 0x1402b9df7\nmov     rcx, rax                                                       ; +0x43f, 0x1402b9dff\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x442, 0x1402b9e02\nmov     rax, [rdi]                                                     ; +0x448, 0x1402b9e08\nlea     rdx, [rsp+0A8h+arg_18]                                         ; +0x44b, 0x1402b9e0b\nmov     rcx, rdi                                                       ; +0x453, 0x1402b9e13\ncall    qword ptr [rax+0B8h]                                           ; +0x456, 0x1402b9e16\nmovzx   eax, byte ptr [rsi+2B8h]                                       ; +0x45c, 0x1402b9e1c\nneg     al                                                             ; +0x463, 0x1402b9e23\nsbb     edx, edx                                                       ; +0x465, 0x1402b9e25\nadd     edx, 2                                                         ; +0x467, 0x1402b9e27\nmov     rcx, rsi                                                       ; +0x46a, 0x1402b9e2a\ncall    HSVLiveOverlay__createHSVWidget                                ; +0x46d, 0x1402b9e2d\nmov     al, 1                                                          ; +0x472, 0x1402b9e32\nlea     r11, [rsp+0A8h+var_8]                                          ; +0x474, 0x1402b9e34\nmov     rbx, [r11+10h]                                                 ; +0x47c, 0x1402b9e3c\nmov     rsi, [r11+18h]                                                 ; +0x480, 0x1402b9e40\nmov     rdi, [r11+20h]                                                 ; +0x484, 0x1402b9e44\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0x488, 0x1402b9e48\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0x48d, 0x1402b9e4d\nmov     rsp, r11                                                       ; +0x492, 0x1402b9e52\npop     r14                                                            ; +0x495, 0x1402b9e55\nretn                                                                   ; +0x497, 0x1402b9e57", "xrefs": ["EditorUI::editHSV @ 0x14011f182", "<???> @ 0x1406d2714"], "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"}