{"type": "func", "start": 5369655632, "end": 5369655961, "name": "EditorUI::onGroupIDFilter", "pseudocode": "// \n// EditorUI::onGroupIDFilter from 0x1400e7150 to 0x1400e7299 (329 bytes)\n// \n// 2 xrefs:\n// > EditorUI::setupDeleteMenu @ 0x1400e598f\n// > <???> @ 0x1406c8db4\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 EditorUI::onGroupIDFilter(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // rcx\n  int IntGameVariable; // eax\n  _QWORD *v5; // rbx\n  SetIDPopupDelegate *v6; // rcx\n  void *v7; // [rsp+50h] [rbp-58h]\n  char v8[16]; // [rsp+58h] [rbp-50h] BYREF\n  __int64 v9; // [rsp+68h] [rbp-40h]\n  __int64 v10; // [rsp+70h] [rbp-38h]\n  __int128 v11; // [rsp+78h] [rbp-30h] BYREF\n  __int64 v12; // [rsp+88h] [rbp-20h]\n  __int64 v13; // [rsp+90h] [rbp-18h]\n\n  v11 = 0;\n  v12 = 2;\n  v13 = 15;\n  strcpy((char *)&v11, \"OK\");\n  v8[15] = 0;\n  v9 = 14;\n  v10 = 15;\n  strcpy(v8, \"GroupID Filter\");\n  v3 = (GameManager *)qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v7 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(v7);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v3 = (GameManager *)qword_1406C2ED8;\n  }\n  IntGameVariable = GameManager::getIntGameVariable(v3, \"0133\");\n  v5 = (_QWORD *)SetIDPopup::create(IntGameVariable, 0, 9999, (unsigned int)v8, (__int64)&v11);\n  (*(void (__fastcall **)(_QWORD *, __int64))(*v5 + 64LL))(v5, 1);\n  v6 = &a1->SetIDPopupDelegate;\n  if ( !a1 )\n    v6 = nullptr;\n  v5[84] = v6;\n  (*(void (__fastcall **)(_QWORD *))(*v5 + 1040LL))(v5);\n}", "assembly": "; \n; EditorUI::onGroupIDFilter from 0x1400e7150 to 0x1400e7299 (329 bytes)\n; \n; 2 xrefs:\n; > EditorUI::setupDeleteMenu @ 0x1400e598f\n; > <???> @ 0x1406c8db4\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     r11, rsp                                                       ; +0x0, 0x1400e7150\nmov     [r11+8], rbx                                                   ; +0x3, 0x1400e7153\nmov     [r11+10h], rsi                                                 ; +0x7, 0x1400e7157\npush    rdi                                                            ; +0xb, 0x1400e715b\nsub     rsp, 0A0h                                                      ; +0xc, 0x1400e715c\nmov     rdi, rcx                                                       ; +0x13, 0x1400e7163\nlea     rax, [r11-30h]                                                 ; +0x16, 0x1400e7166\nmov     [r11+18h], rax                                                 ; +0x1a, 0x1400e716a\nlea     rax, [r11-50h]                                                 ; +0x1e, 0x1400e716e\nmov     [r11+20h], rax                                                 ; +0x22, 0x1400e7172\nxorps   xmm0, xmm0                                                     ; +0x26, 0x1400e7176\nmovups  [rsp+0A8h+var_30], xmm0                                        ; +0x29, 0x1400e7179\nmov     qword ptr [r11-20h], 2                                         ; +0x2e, 0x1400e717e\nmov     qword ptr [r11-18h], 0Fh                                       ; +0x36, 0x1400e7186\nmovzx   eax, word ptr cs:aOk; \"OK\"                                     ; +0x3e, 0x1400e718e\nmov     word ptr [rsp+0A8h+var_30], ax                                 ; +0x45, 0x1400e7195\nmov     byte ptr [rsp+0A8h+var_30+2], 0                                ; +0x4a, 0x1400e719a\nmov     word ptr [rsp+0A8h+var_50+0Eh], 0                              ; +0x4f, 0x1400e719f\nmov     qword ptr [r11-40h], 0Eh                                       ; +0x56, 0x1400e71a6\nmov     qword ptr [r11-38h], 0Fh                                       ; +0x5e, 0x1400e71ae\nmovsd   xmm0, cs:qword_140554608                                       ; +0x66, 0x1400e71b6\nmovsd   qword ptr [rsp+0A8h+var_50], xmm0                              ; +0x6e, 0x1400e71be\nmov     eax, cs:dword_140554610                                        ; +0x74, 0x1400e71c4\nmov     dword ptr [rsp+0A8h+var_50+8], eax                             ; +0x7a, 0x1400e71ca\nmovzx   eax, cs:word_140554614                                         ; +0x7e, 0x1400e71ce\nmov     word ptr [rsp+0A8h+var_50+0Ch], ax                             ; +0x85, 0x1400e71d5\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x8a, 0x1400e71da\ntest    rcx, rcx                                                       ; +0x91, 0x1400e71e1\njnz     short loc_1400E7215                                            ; +0x94, 0x1400e71e4\nmov     ecx, 668h; Size                                                ; +0x96, 0x1400e71e6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x9b, 0x1400e71eb\nmov     [rsp+0A8h+var_58], rax                                         ; +0xa0, 0x1400e71f0\nmov     rcx, rax                                                       ; +0xa5, 0x1400e71f5\ncall    sub_14017AB00                                                  ; +0xa8, 0x1400e71f8\nnop                                                                    ; +0xad, 0x1400e71fd\nmov     cs:qword_1406C2ED8, rax                                        ; +0xae, 0x1400e71fe\nmov     rdx, [rax]                                                     ; +0xb5, 0x1400e7205\nmov     rcx, rax                                                       ; +0xb8, 0x1400e7208\ncall    qword ptr [rdx+48h]                                            ; +0xbb, 0x1400e720b\nmov     rcx, cs:qword_1406C2ED8                                        ; +0xbe, 0x1400e720e\nlea     rdx, a0133; \"0133\"                                             ; +0xc5, 0x1400e7215\ncall    GameManager__getIntGameVariable                                ; +0xcc, 0x1400e721c\nmov     ecx, eax                                                       ; +0xd1, 0x1400e7221\nmov     [rsp+0A8h+var_68], 1                                           ; +0xd3, 0x1400e7223\nxorps   xmm0, xmm0                                                     ; +0xd8, 0x1400e7228\nmovss   [rsp+0A8h+var_70], xmm0                                        ; +0xdb, 0x1400e722b\nxor     esi, esi                                                       ; +0xe1, 0x1400e7231\nmov     [rsp+0A8h+var_78], esi                                         ; +0xe3, 0x1400e7233\nlea     rax, [rsp+0A8h+var_30]                                         ; +0xe7, 0x1400e7237\nmov     [rsp+0A8h+var_88], rax                                         ; +0xec, 0x1400e723c\nlea     r9, [rsp+0A8h+var_50]                                          ; +0xf1, 0x1400e7241\nxor     edx, edx                                                       ; +0xf6, 0x1400e7246\nmov     r8d, 270Fh                                                     ; +0xf8, 0x1400e7248\ncall    SetIDPopup__create                                             ; +0xfe, 0x1400e724e\nmov     rbx, rax                                                       ; +0x103, 0x1400e7253\nmov     r8, [rax]                                                      ; +0x106, 0x1400e7256\nlea     edx, [rsi+1]                                                   ; +0x109, 0x1400e7259\nmov     rcx, rax                                                       ; +0x10c, 0x1400e725c\ncall    qword ptr [r8+40h]                                             ; +0x10f, 0x1400e725f\nlea     rcx, [rdi+1C8h]                                                ; +0x113, 0x1400e7263\ntest    rdi, rdi                                                       ; +0x11a, 0x1400e726a\ncmovz   rcx, rsi                                                       ; +0x11d, 0x1400e726d\nmov     [rbx+2A0h], rcx                                                ; +0x121, 0x1400e7271\nmov     rdx, [rbx]                                                     ; +0x128, 0x1400e7278\nmov     rcx, rbx                                                       ; +0x12b, 0x1400e727b\ncall    qword ptr [rdx+410h]                                           ; +0x12e, 0x1400e727e\nlea     r11, [rsp+0A8h+var_8]                                          ; +0x134, 0x1400e7284\nmov     rbx, [r11+10h]                                                 ; +0x13c, 0x1400e728c\nmov     rsi, [r11+18h]                                                 ; +0x140, 0x1400e7290\nmov     rsp, r11                                                       ; +0x144, 0x1400e7294\npop     rdi                                                            ; +0x147, 0x1400e7297\nretn                                                                   ; +0x148, 0x1400e7298", "xrefs": ["EditorUI::setupDeleteMenu @ 0x1400e598f", "<???> @ 0x1406c8db4"], "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"}