{"type": "func", "start": 5373009584, "end": 5373009714, "name": "SetupInstantCollisionTriggerPopup::create", "pseudocode": "// \n// SetupInstantCollisionTriggerPopup::create from 0x140419eb0 to 0x140419f32 (130 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editObject @ 0x14011d9c1\n// > <???> @ 0x1406d920c\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=1\nSetupInstantCollisionTriggerPopup *SetupInstantCollisionTriggerPopup::create(\n        EffectGameObject *a1,\n        cocos2d::CCArray *a2)\n{\n  SetupInstantCollisionTriggerPopup *v4; // rax\n  SetupInstantCollisionTriggerPopup *v5; // rbx\n  SetupInstantCollisionTriggerPopup *v7; // [rsp+40h] [rbp+18h]\n\n  v7 = (SetupInstantCollisionTriggerPopup *)operator new(0x3A8u);\n  v4 = SetupInstantCollisionTriggerPopup::SetupInstantCollisionTriggerPopup(v7);\n  v5 = v4;\n  if ( v4 )\n  {\n    if ( SetupInstantCollisionTriggerPopup::init(v4, a1, a2) )\n    {\n      cocos2d::CCObject::autorelease(v5);\n      return v5;\n    }\n    ((void (__fastcall *)(SetupInstantCollisionTriggerPopup *, __int64))v5->~SetupInstantCollisionTriggerPopup)(v5, 1);\n    return nullptr;\n  }\n  return v5;\n}", "assembly": "; \n; SetupInstantCollisionTriggerPopup::create from 0x140419eb0 to 0x140419f32 (130 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editObject @ 0x14011d9c1\n; > <???> @ 0x1406d920c\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, 0x140419eb0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140419eb5\npush    rdi                                                            ; +0xa, 0x140419eba\nsub     rsp, 20h                                                       ; +0xb, 0x140419ebb\nmov     rdi, rdx                                                       ; +0xf, 0x140419ebf\nmov     rsi, rcx                                                       ; +0x12, 0x140419ec2\nmov     ecx, 3A8h; Size                                                ; +0x15, 0x140419ec5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x140419eca\nmov     [rsp+28h+arg_10], rax                                          ; +0x1f, 0x140419ecf\nmov     rcx, rax                                                       ; +0x24, 0x140419ed4\ncall    SetupInstantCollisionTriggerPopup__SetupInstantCollisionTriggerPopup ; +0x27, 0x140419ed7\nmov     rbx, rax                                                       ; +0x2c, 0x140419edc\ntest    rax, rax                                                       ; +0x2f, 0x140419edf\njz      short loc_140419F1F                                            ; +0x32, 0x140419ee2\nmov     r8, rdi                                                        ; +0x34, 0x140419ee4\nmov     rdx, rsi                                                       ; +0x37, 0x140419ee7\nmov     rcx, rax                                                       ; +0x3a, 0x140419eea\ncall    SetupInstantCollisionTriggerPopup__init                        ; +0x3d, 0x140419eed\nmov     rcx, rbx                                                       ; +0x42, 0x140419ef2\ntest    al, al                                                         ; +0x45, 0x140419ef5\njz      short loc_140419F12                                            ; +0x47, 0x140419ef7\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x49, 0x140419ef9\nmov     rax, rbx                                                       ; +0x4f, 0x140419eff\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x52, 0x140419f02\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x57, 0x140419f07\nadd     rsp, 20h                                                       ; +0x5c, 0x140419f0c\npop     rdi                                                            ; +0x60, 0x140419f10\nretn                                                                   ; +0x61, 0x140419f11\nmov     rax, [rbx]                                                     ; +0x62, 0x140419f12\nmov     edx, 1                                                         ; +0x65, 0x140419f15\ncall    qword ptr [rax+8]                                              ; +0x6a, 0x140419f1a\nxor     ebx, ebx                                                       ; +0x6d, 0x140419f1d\nmov     rax, rbx                                                       ; +0x6f, 0x140419f1f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x72, 0x140419f22\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x77, 0x140419f27\nadd     rsp, 20h                                                       ; +0x7c, 0x140419f2c\npop     rdi                                                            ; +0x80, 0x140419f30\nretn                                                                   ; +0x81, 0x140419f31", "xrefs": ["EditorUI::editObject @ 0x14011d9c1", "<???> @ 0x1406d920c"], "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"}