{"type": "func", "start": 5371441680, "end": 5371441981, "name": "SetIDPopup::create", "pseudocode": "// \n// SetIDPopup::create from 0x14029b210 to 0x14029b33d (301 bytes)\n// \n// 3 xrefs:\n// > EditorUI::onGroupIDFilter @ 0x1400e724e\n// > LevelBrowserLayer::onGoToPage @ 0x1402cc94f\n// > <???> @ 0x1406d1d90\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=4\nSetIDPopup *__fastcall SetIDPopup::create(\n        int a1,\n        int a2,\n        int a3,\n        __int64 a4,\n        __int64 a5,\n        __int64 a6,\n        int a7,\n        int a8,\n        char a9)\n{\n  SetIDPopup *v13; // rdi\n  __int64 v14; // rbx\n  __int64 v15; // rax\n  SetIDPopup *v17; // [rsp+60h] [rbp-A8h]\n  _BYTE v18[32]; // [rsp+70h] [rbp-98h] BYREF\n  _BYTE v19[32]; // [rsp+90h] [rbp-78h] BYREF\n  __int64 v20; // [rsp+B0h] [rbp-58h]\n  __int64 v21; // [rsp+B8h] [rbp-50h]\n\n  v20 = a4;\n  v21 = a5;\n  v17 = (SetIDPopup *)operator new(0x2A8u);\n  v13 = SetIDPopup::SetIDPopup(v17);\n  if ( v13 )\n  {\n    v14 = sub_14003BDB0((__int64)v18, a5);\n    v15 = sub_14003BDB0((__int64)v19, a4);\n    if ( (unsigned __int8)SetIDPopup::init((_DWORD)v13, a1, a2, a3, v15, v14, 1, a7, a8, a9, 0) )\n    {\n      cocos2d::CCObject::autorelease(v13);\n    }\n    else\n    {\n      ((void (__fastcall *)(SetIDPopup *, __int64))v13->~SetIDPopup)(v13, 1);\n      v13 = nullptr;\n    }\n  }\n  sub_14003A830(a4);\n  sub_14003A830(a5);\n  return v13;\n}", "assembly": "; \n; SetIDPopup::create from 0x14029b210 to 0x14029b33d (301 bytes)\n; \n; 3 xrefs:\n; > EditorUI::onGroupIDFilter @ 0x1400e724e\n; > LevelBrowserLayer::onGoToPage @ 0x1402cc94f\n; > <???> @ 0x1406d1d90\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, 0x14029b210\npush    rbx                                                            ; +0x3, 0x14029b213\npush    rbp                                                            ; +0x4, 0x14029b214\npush    rsi                                                            ; +0x5, 0x14029b215\npush    rdi                                                            ; +0x6, 0x14029b216\npush    r12                                                            ; +0x7, 0x14029b217\npush    r14                                                            ; +0x9, 0x14029b219\npush    r15                                                            ; +0xb, 0x14029b21b\nsub     rsp, 0D0h                                                      ; +0xd, 0x14029b21d\nmov     rax, cs:__security_cookie                                      ; +0x14, 0x14029b224\nxor     rax, rsp                                                       ; +0x1b, 0x14029b22b\nmov     [rsp+108h+var_48], rax                                         ; +0x1e, 0x14029b22e\nmov     rsi, r9                                                        ; +0x26, 0x14029b236\nmov     r12d, r8d                                                      ; +0x29, 0x14029b239\nmov     r15d, edx                                                      ; +0x2c, 0x14029b23c\nmov     r14d, ecx                                                      ; +0x2f, 0x14029b23f\nmov     [r11-58h], r9                                                  ; +0x32, 0x14029b242\nmov     rbp, [rsp+108h+arg_20]                                         ; +0x36, 0x14029b246\nmov     [r11-50h], rbp                                                 ; +0x3e, 0x14029b24e\nmov     ecx, 2A8h; Size                                                ; +0x42, 0x14029b252\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x47, 0x14029b257\nmov     [rsp+108h+var_A8], rax                                         ; +0x4c, 0x14029b25c\nmov     rcx, rax                                                       ; +0x51, 0x14029b261\ncall    SetIDPopup__SetIDPopup                                         ; +0x54, 0x14029b264\nmov     rdi, rax                                                       ; +0x59, 0x14029b269\ntest    rax, rax                                                       ; +0x5c, 0x14029b26c\njz      loc_14029B307                                                  ; +0x5f, 0x14029b26f\nlea     rax, [rsp+108h+var_98]                                         ; +0x65, 0x14029b275\nmov     [rsp+108h+var_A8], rax                                         ; +0x6a, 0x14029b27a\nmov     rdx, rbp                                                       ; +0x6f, 0x14029b27f\nlea     rcx, [rsp+108h+var_98]                                         ; +0x72, 0x14029b282\ncall    sub_14003BDB0                                                  ; +0x77, 0x14029b287\nmov     rbx, rax                                                       ; +0x7c, 0x14029b28c\nmov     rdx, rsi                                                       ; +0x7f, 0x14029b28f\nlea     rcx, [rsp+108h+var_78]                                         ; +0x82, 0x14029b292\ncall    sub_14003BDB0                                                  ; +0x8a, 0x14029b29a\nnop                                                                    ; +0x8f, 0x14029b29f\nmov     [rsp+108h+var_B8], 0                                           ; +0x90, 0x14029b2a0\nmovzx   ecx, [rsp+108h+arg_40]                                         ; +0x95, 0x14029b2a5\nmov     [rsp+108h+var_C0], cl                                          ; +0x9d, 0x14029b2ad\nmovss   xmm0, [rsp+108h+arg_38]                                        ; +0xa1, 0x14029b2b1\nmovss   [rsp+108h+var_C8], xmm0                                        ; +0xaa, 0x14029b2ba\nmov     ecx, [rsp+108h+arg_30]                                         ; +0xb0, 0x14029b2c0\nmov     [rsp+108h+var_D0], ecx                                         ; +0xb7, 0x14029b2c7\nmov     [rsp+108h+var_D8], 1                                           ; +0xbb, 0x14029b2cb\nmov     [rsp+108h+var_E0], rbx                                         ; +0xc0, 0x14029b2d0\nmov     [rsp+108h+var_E8], rax                                         ; +0xc5, 0x14029b2d5\nmov     r9d, r12d                                                      ; +0xca, 0x14029b2da\nmov     r8d, r15d                                                      ; +0xcd, 0x14029b2dd\nmov     edx, r14d                                                      ; +0xd0, 0x14029b2e0\nmov     rcx, rdi                                                       ; +0xd3, 0x14029b2e3\ncall    SetIDPopup__init                                               ; +0xd6, 0x14029b2e6\nmov     rcx, rdi                                                       ; +0xdb, 0x14029b2eb\ntest    al, al                                                         ; +0xde, 0x14029b2ee\njz      short loc_14029B2FA                                            ; +0xe0, 0x14029b2f0\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xe2, 0x14029b2f2\njmp     short loc_14029B307                                            ; +0xe8, 0x14029b2f8\nmov     rax, [rdi]                                                     ; +0xea, 0x14029b2fa\nmov     edx, 1                                                         ; +0xed, 0x14029b2fd\ncall    qword ptr [rax+8]                                              ; +0xf2, 0x14029b302\nxor     edi, edi                                                       ; +0xf5, 0x14029b305\nmov     rcx, rsi                                                       ; +0xf7, 0x14029b307\ncall    sub_14003A830                                                  ; +0xfa, 0x14029b30a\nnop                                                                    ; +0xff, 0x14029b30f\nmov     rcx, rbp                                                       ; +0x100, 0x14029b310\ncall    sub_14003A830                                                  ; +0x103, 0x14029b313\nmov     rax, rdi                                                       ; +0x108, 0x14029b318\nmov     rcx, [rsp+108h+var_48]                                         ; +0x10b, 0x14029b31b\nxor     rcx, rsp; StackCookie                                          ; +0x113, 0x14029b323\ncall    __security_check_cookie                                        ; +0x116, 0x14029b326\nadd     rsp, 0D0h                                                      ; +0x11b, 0x14029b32b\npop     r15                                                            ; +0x122, 0x14029b332\npop     r14                                                            ; +0x124, 0x14029b334\npop     r12                                                            ; +0x126, 0x14029b336\npop     rdi                                                            ; +0x128, 0x14029b338\npop     rsi                                                            ; +0x129, 0x14029b339\npop     rbp                                                            ; +0x12a, 0x14029b33a\npop     rbx                                                            ; +0x12b, 0x14029b33b\nretn                                                                   ; +0x12c, 0x14029b33c", "xrefs": ["EditorUI::onGroupIDFilter @ 0x1400e724e", "LevelBrowserLayer::onGoToPage @ 0x1402cc94f", "<???> @ 0x1406d1d90"], "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"}