{"type": "func", "start": 5372094336, "end": 5372094661, "name": "MusicBrowser::onSearch", "pseudocode": "// \n// MusicBrowser::onSearch from 0x14033a780 to 0x14033a8c5 (325 bytes)\n// \n// 2 xrefs:\n// > MusicBrowser::init @ 0x140338e40\n// > <???> @ 0x1406d53c0\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=3\nvoid MusicBrowser::onSearch(MusicBrowser *a1, cocos2d::CCObject *a2)\n{\n  __int64 v2; // r8\n  __int128 v4; // xmm0\n  SetTextPopup *v5; // rax\n  SetTextPopup *v6; // rbx\n  SetTextPopupDelegate *v7; // rcx\n  __int128 v8; // [rsp+40h] [rbp-29h] BYREF\n  __int64 v9; // [rsp+50h] [rbp-19h]\n  __int64 v10; // [rsp+58h] [rbp-11h]\n  __int128 v11; // [rsp+60h] [rbp-9h] BYREF\n  __int64 v12; // [rsp+70h] [rbp+7h]\n  __int64 v13; // [rsp+78h] [rbp+Fh]\n  __int128 v14; // [rsp+80h] [rbp+17h] BYREF\n  __int64 v15; // [rsp+90h] [rbp+27h]\n  __int64 v16; // [rsp+98h] [rbp+2Fh]\n  __int128 v17; // [rsp+A0h] [rbp+37h] BYREF\n  __int64 v18; // [rsp+B0h] [rbp+47h]\n  __int64 v19; // [rsp+B8h] [rbp+4Fh]\n\n  v4 = 0;\n  v14 = 0;\n  v15 = 2;\n  v16 = 15;\n  strcpy((char *)&v14, \"OK\");\n  v9 = 9;\n  v10 = 15;\n  *(_QWORD *)&v4 = 0x6E6F5320646E6946LL;\n  v8 = v4;\n  WORD4(v8) = 103;\n  v11 = 0;\n  v12 = 6;\n  v13 = 15;\n  strcpy((char *)&v11, \"Search\");\n  v17 = 0;\n  v18 = 0;\n  v19 = 15;\n  LOBYTE(v17) = 0;\n  v5 = SetTextPopup::create((__int64)&v17, (__int64)&v11, v2, (__int64)&v8, (__int64)&v14);\n  v6 = v5;\n  v7 = &a1->SetTextPopupDelegate;\n  if ( !a1 )\n    v7 = nullptr;\n  v5->m_delegate = v7;\n  v5->m_ZOrder = ((__int64 (__fastcall *)(MusicBrowser *))a1->getZOrder)(a1) + 1;\n  v6->show(v6);\n}", "assembly": "; \n; MusicBrowser::onSearch from 0x14033a780 to 0x14033a8c5 (325 bytes)\n; \n; 2 xrefs:\n; > MusicBrowser::init @ 0x140338e40\n; > <???> @ 0x1406d53c0\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-8+arg_0], rbx                                             ; +0x0, 0x14033a780\nmov     [rsp-8+arg_8], rsi                                             ; +0x5, 0x14033a785\nmov     [rsp-8+arg_18], rdi                                            ; +0xa, 0x14033a78a\npush    rbp                                                            ; +0xf, 0x14033a78f\nlea     rbp, [rsp-57h]                                                 ; +0x10, 0x14033a790\nsub     rsp, 0C0h                                                      ; +0x15, 0x14033a795\nmov     rdi, rcx                                                       ; +0x1c, 0x14033a79c\nlea     rax, [rbp+57h+var_40]                                          ; +0x1f, 0x14033a79f\nmov     [rbp+57h+arg_10], rax                                          ; +0x23, 0x14033a7a3\nlea     rax, [rbp+57h+var_80]                                          ; +0x27, 0x14033a7a7\nmov     [rbp+57h+arg_10], rax                                          ; +0x2b, 0x14033a7ab\nlea     rax, [rbp+57h+var_60]                                          ; +0x2f, 0x14033a7af\nmov     [rbp+57h+arg_10], rax                                          ; +0x33, 0x14033a7b3\nxorps   xmm0, xmm0                                                     ; +0x37, 0x14033a7b7\nmovups  [rbp+57h+var_40], xmm0                                         ; +0x3a, 0x14033a7ba\nmov     [rbp+57h+var_30], 2                                            ; +0x3e, 0x14033a7be\nmov     [rbp+57h+var_28], 0Fh                                          ; +0x46, 0x14033a7c6\nmov     eax, 4B4Fh                                                     ; +0x4e, 0x14033a7ce\nmov     word ptr [rbp+57h+var_40], ax                                  ; +0x53, 0x14033a7d3\nmov     byte ptr [rbp+57h+var_40+2], 0                                 ; +0x57, 0x14033a7d7\nmovups  [rbp+57h+var_80], xmm0                                         ; +0x5b, 0x14033a7db\nmov     [rbp+57h+var_70], 9                                            ; +0x5f, 0x14033a7df\nmov     [rbp+57h+var_68], 0Fh                                          ; +0x67, 0x14033a7e7\nmovsd   xmm0, cs:qword_1405AC5A0                                       ; +0x6f, 0x14033a7ef\nmovsd   qword ptr [rbp+57h+var_80], xmm0                               ; +0x77, 0x14033a7f7\nmovzx   eax, cs:byte_1405AC5A8                                         ; +0x7c, 0x14033a7fc\nmov     byte ptr [rbp+57h+var_80+8], al                                ; +0x83, 0x14033a803\nmov     byte ptr [rbp+57h+var_80+9], 0                                 ; +0x86, 0x14033a806\nxorps   xmm0, xmm0                                                     ; +0x8a, 0x14033a80a\nmovups  [rbp+57h+var_60], xmm0                                         ; +0x8d, 0x14033a80d\nmov     [rbp+57h+var_50], 6                                            ; +0x91, 0x14033a811\nmov     [rbp+57h+var_48], 0Fh                                          ; +0x99, 0x14033a819\nmov     eax, dword ptr cs:aSearch; \"Search\"                            ; +0xa1, 0x14033a821\nmov     dword ptr [rbp+57h+var_60], eax                                ; +0xa7, 0x14033a827\nmovzx   eax, word ptr cs:aSearch+4; \"ch\"                               ; +0xaa, 0x14033a82a\nmov     word ptr [rbp+57h+var_60+4], ax                                ; +0xb1, 0x14033a831\nmov     byte ptr [rbp+57h+var_60+6], 0                                 ; +0xb5, 0x14033a835\nmovups  [rbp+57h+var_20], xmm0                                         ; +0xb9, 0x14033a839\nxor     esi, esi                                                       ; +0xbd, 0x14033a83d\nmov     [rbp+57h+var_10], rsi                                          ; +0xbf, 0x14033a83f\nmov     [rbp+57h+var_8], 0Fh                                           ; +0xc3, 0x14033a843\nmov     byte ptr [rbp+57h+var_20], sil                                 ; +0xcb, 0x14033a84b\nmovss   xmm0, cs:dword_140623210                                       ; +0xcf, 0x14033a84f\nmovss   [rsp+0C0h+var_90], xmm0                                        ; +0xd7, 0x14033a857\nlea     rax, [rbp+57h+var_40]                                          ; +0xdd, 0x14033a85d\nmov     [rsp+0C0h+var_A0], rax                                         ; +0xe1, 0x14033a861\nlea     r9, [rbp+57h+var_80]                                           ; +0xe6, 0x14033a866\nlea     rdx, [rbp+57h+var_60]                                          ; +0xea, 0x14033a86a\nlea     rcx, [rbp+57h+var_20]                                          ; +0xee, 0x14033a86e\ncall    SetTextPopup__create                                           ; +0xf2, 0x14033a872\nmov     rbx, rax                                                       ; +0xf7, 0x14033a877\nlea     rcx, [rdi+288h]                                                ; +0xfa, 0x14033a87a\ntest    rdi, rdi                                                       ; +0x101, 0x14033a881\ncmovz   rcx, rsi                                                       ; +0x104, 0x14033a884\nmov     [rax+2B0h], rcx                                                ; +0x108, 0x14033a888\nmov     rdx, [rdi]                                                     ; +0x10f, 0x14033a88f\nmov     rcx, rdi                                                       ; +0x112, 0x14033a892\ncall    qword ptr [rdx+60h]                                            ; +0x115, 0x14033a895\ninc     eax                                                            ; +0x118, 0x14033a898\nmov     [rbx+248h], eax                                                ; +0x11a, 0x14033a89a\nmov     rdx, [rbx]                                                     ; +0x120, 0x14033a8a0\nmov     rcx, rbx                                                       ; +0x123, 0x14033a8a3\ncall    qword ptr [rdx+410h]                                           ; +0x126, 0x14033a8a6\nlea     r11, [rsp+0C0h+var_s0]                                         ; +0x12c, 0x14033a8ac\nmov     rbx, [r11+10h]                                                 ; +0x134, 0x14033a8b4\nmov     rsi, [r11+18h]                                                 ; +0x138, 0x14033a8b8\nmov     rdi, [r11+28h]                                                 ; +0x13c, 0x14033a8bc\nmov     rsp, r11                                                       ; +0x140, 0x14033a8c0\npop     rbp                                                            ; +0x143, 0x14033a8c3\nretn                                                                   ; +0x144, 0x14033a8c4", "xrefs": ["MusicBrowser::init @ 0x140338e40", "<???> @ 0x1406d53c0"], "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"}