{"type": "func", "start": 5373149056, "end": 5373149530, "name": "SetupPulsePopup::onClose", "pseudocode": "// \n// SetupPulsePopup::onClose from 0x14043bf80 to 0x14043c15a (474 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405eb810\n// > <???> @ 0x1406da04c\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 SetupPulsePopup::onClose(SetupPulsePopup *a1, cocos2d::CCObject *a2)\n{\n  unsigned int v4; // edi\n  ConfigureHSVWidget *m_hsvWidget; // rcx\n  EffectGameObject *m_gameObject; // rax\n  cocos2d::CCArray *m_gameObjects; // rcx\n  struct cocos2d::CCObject *v8; // rax\n\n  v4 = 0;\n  a1->m_idInput->m_delegate = nullptr;\n  a1->m_idInput->onClickTrackNode(a1->m_idInput, 0);\n  a1->m_colorIDInput->m_delegate = nullptr;\n  a1->m_colorIDInput->onClickTrackNode(a1->m_colorIDInput, 0);\n  a1->m_fadeInInput->m_delegate = nullptr;\n  a1->m_fadeInInput->onClickTrackNode(a1->m_fadeInInput, 0);\n  a1->m_holdInput->m_delegate = nullptr;\n  a1->m_holdInput->onClickTrackNode(a1->m_holdInput, 0);\n  a1->m_fadeOutInput->m_delegate = nullptr;\n  a1->m_fadeOutInput->onClickTrackNode(a1->m_fadeOutInput, 0);\n  a1->m_rInput->m_delegate = nullptr;\n  a1->m_rInput->onClickTrackNode(a1->m_rInput, 0);\n  a1->m_gInput->m_delegate = nullptr;\n  a1->m_gInput->onClickTrackNode(a1->m_gInput, 0);\n  a1->m_bInput->m_delegate = nullptr;\n  a1->m_bInput->onClickTrackNode(a1->m_bInput, 0);\n  a1->m_hexInput->m_delegate = nullptr;\n  a1->m_hexInput->onClickTrackNode(a1->m_hexInput, 0);\n  m_hsvWidget = a1->m_hsvWidget;\n  if ( !m_hsvWidget->m_mixed )\n  {\n    m_gameObject = a1->m_gameObject;\n    a1->m_hsv = m_hsvWidget->m_hsv;\n    if ( m_gameObject )\n    {\n      m_gameObject->m_hsvValue = m_hsvWidget->m_hsv;\n    }\n    else\n    {\n      m_gameObjects = a1->m_gameObjects;\n      if ( m_gameObjects && cocos2d::CCArray::count(m_gameObjects) )\n      {\n        do\n        {\n          v8 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v4++);\n          *(cocos2d::ccHSVValue *)((char *)&v8[29].__vftable + 4) = a1->m_hsv;\n        }\n        while ( v4 < cocos2d::CCArray::count(a1->m_gameObjects) );\n      }\n    }\n  }\n  SetupTriggerPopup::onClose(a1, a2);\n}", "assembly": "; \n; SetupPulsePopup::onClose from 0x14043bf80 to 0x14043c15a (474 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405eb810\n; > <???> @ 0x1406da04c\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     [rsp+arg_0], rbx                                               ; +0x0, 0x14043bf80\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14043bf85\npush    rdi                                                            ; +0xa, 0x14043bf8a\nsub     rsp, 20h                                                       ; +0xb, 0x14043bf8b\nmov     rax, [rcx+460h]                                                ; +0xf, 0x14043bf8f\nmov     rbx, rcx                                                       ; +0x16, 0x14043bf96\nmov     rsi, rdx                                                       ; +0x19, 0x14043bf99\nxor     edi, edi                                                       ; +0x1c, 0x14043bf9c\nxor     edx, edx                                                       ; +0x1e, 0x14043bf9e\nmov     [rax+230h], rdi                                                ; +0x20, 0x14043bfa0\nmov     rcx, [rcx+460h]                                                ; +0x27, 0x14043bfa7\nmov     rax, [rcx]                                                     ; +0x2e, 0x14043bfae\ncall    qword ptr [rax+3F8h]                                           ; +0x31, 0x14043bfb1\nmov     rax, [rbx+468h]                                                ; +0x37, 0x14043bfb7\nxor     edx, edx                                                       ; +0x3e, 0x14043bfbe\nmov     [rax+230h], rdi                                                ; +0x40, 0x14043bfc0\nmov     rcx, [rbx+468h]                                                ; +0x47, 0x14043bfc7\nmov     rax, [rcx]                                                     ; +0x4e, 0x14043bfce\ncall    qword ptr [rax+3F8h]                                           ; +0x51, 0x14043bfd1\nmov     rax, [rbx+448h]                                                ; +0x57, 0x14043bfd7\nxor     edx, edx                                                       ; +0x5e, 0x14043bfde\nmov     [rax+230h], rdi                                                ; +0x60, 0x14043bfe0\nmov     rcx, [rbx+448h]                                                ; +0x67, 0x14043bfe7\nmov     rax, [rcx]                                                     ; +0x6e, 0x14043bfee\ncall    qword ptr [rax+3F8h]                                           ; +0x71, 0x14043bff1\nmov     rax, [rbx+450h]                                                ; +0x77, 0x14043bff7\nxor     edx, edx                                                       ; +0x7e, 0x14043bffe\nmov     [rax+230h], rdi                                                ; +0x80, 0x14043c000\nmov     rcx, [rbx+450h]                                                ; +0x87, 0x14043c007\nmov     rax, [rcx]                                                     ; +0x8e, 0x14043c00e\ncall    qword ptr [rax+3F8h]                                           ; +0x91, 0x14043c011\nmov     rax, [rbx+458h]                                                ; +0x97, 0x14043c017\nxor     edx, edx                                                       ; +0x9e, 0x14043c01e\nmov     [rax+230h], rdi                                                ; +0xa0, 0x14043c020\nmov     rcx, [rbx+458h]                                                ; +0xa7, 0x14043c027\nmov     rax, [rcx]                                                     ; +0xae, 0x14043c02e\ncall    qword ptr [rax+3F8h]                                           ; +0xb1, 0x14043c031\nmov     rax, [rbx+4D8h]                                                ; +0xb7, 0x14043c037\nxor     edx, edx                                                       ; +0xbe, 0x14043c03e\nmov     [rax+230h], rdi                                                ; +0xc0, 0x14043c040\nmov     rcx, [rbx+4D8h]                                                ; +0xc7, 0x14043c047\nmov     rax, [rcx]                                                     ; +0xce, 0x14043c04e\ncall    qword ptr [rax+3F8h]                                           ; +0xd1, 0x14043c051\nmov     rax, [rbx+4E0h]                                                ; +0xd7, 0x14043c057\nxor     edx, edx                                                       ; +0xde, 0x14043c05e\nmov     [rax+230h], rdi                                                ; +0xe0, 0x14043c060\nmov     rcx, [rbx+4E0h]                                                ; +0xe7, 0x14043c067\nmov     rax, [rcx]                                                     ; +0xee, 0x14043c06e\ncall    qword ptr [rax+3F8h]                                           ; +0xf1, 0x14043c071\nmov     rax, [rbx+4E8h]                                                ; +0xf7, 0x14043c077\nxor     edx, edx                                                       ; +0xfe, 0x14043c07e\nmov     [rax+230h], rdi                                                ; +0x100, 0x14043c080\nmov     rcx, [rbx+4E8h]                                                ; +0x107, 0x14043c087\nmov     rax, [rcx]                                                     ; +0x10e, 0x14043c08e\ncall    qword ptr [rax+3F8h]                                           ; +0x111, 0x14043c091\nmov     rax, [rbx+4F0h]                                                ; +0x117, 0x14043c097\nxor     edx, edx                                                       ; +0x11e, 0x14043c09e\nmov     [rax+230h], rdi                                                ; +0x120, 0x14043c0a0\nmov     rcx, [rbx+4F0h]                                                ; +0x127, 0x14043c0a7\nmov     rax, [rcx]                                                     ; +0x12e, 0x14043c0ae\ncall    qword ptr [rax+3F8h]                                           ; +0x131, 0x14043c0b1\nmov     rcx, [rbx+438h]                                                ; +0x137, 0x14043c0b7\ncmp     [rcx+188h], dil                                                ; +0x13e, 0x14043c0be\njnz     short loc_14043C140                                            ; +0x145, 0x14043c0c5\nmovups  xmm0, xmmword ptr [rcx+178h]                                   ; +0x147, 0x14043c0c7\nmov     rax, [rbx+290h]                                                ; +0x14e, 0x14043c0ce\nmovups  xmmword ptr [rbx+4C8h], xmm0                                   ; +0x155, 0x14043c0d5\ntest    rax, rax                                                       ; +0x15c, 0x14043c0dc\njz      short loc_14043C0F1                                            ; +0x15f, 0x14043c0df\nmovups  xmm0, xmmword ptr [rcx+178h]                                   ; +0x161, 0x14043c0e1\nmovups  xmmword ptr [rax+65Ch], xmm0                                   ; +0x168, 0x14043c0e8\njmp     short loc_14043C140                                            ; +0x16f, 0x14043c0ef\nmov     rcx, [rbx+298h]                                                ; +0x171, 0x14043c0f1\ntest    rcx, rcx                                                       ; +0x178, 0x14043c0f8\njz      short loc_14043C140                                            ; +0x17b, 0x14043c0fb\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x17d, 0x14043c0fd\ntest    eax, eax                                                       ; +0x183, 0x14043c103\njz      short loc_14043C140                                            ; +0x185, 0x14043c105\nnop     word ptr [rax+rax+00000000h]                                   ; +0x187, 0x14043c107\nmov     rcx, [rbx+298h]                                                ; +0x190, 0x14043c110\nmov     edx, edi                                                       ; +0x197, 0x14043c117\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x199, 0x14043c119\nmovups  xmm0, xmmword ptr [rbx+4C8h]                                   ; +0x19f, 0x14043c11f\ninc     edi                                                            ; +0x1a6, 0x14043c126\nmovups  xmmword ptr [rax+65Ch], xmm0                                   ; +0x1a8, 0x14043c128\nmov     rcx, [rbx+298h]                                                ; +0x1af, 0x14043c12f\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1b6, 0x14043c136\ncmp     edi, eax                                                       ; +0x1bc, 0x14043c13c\njb      short loc_14043C110                                            ; +0x1be, 0x14043c13e\nmov     rdx, rsi                                                       ; +0x1c0, 0x14043c140\nmov     rcx, rbx                                                       ; +0x1c3, 0x14043c143\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x1c6, 0x14043c146\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x1cb, 0x14043c14b\nadd     rsp, 20h                                                       ; +0x1d0, 0x14043c150\npop     rdi                                                            ; +0x1d4, 0x14043c154\njmp     SetupTriggerPopup__onClose                                     ; +0x1d5, 0x14043c155", "xrefs": ["<???> @ 0x1405eb810", "<???> @ 0x1406da04c"], "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"}