{"type": "func", "start": 5373677824, "end": 5373678180, "name": "EndTriggerGameObject::customObjectSetup", "pseudocode": "// \n// EndTriggerGameObject::customObjectSetup from 0x1404bd100 to 0x1404bd264 (356 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1406181a0\n// > <???> @ 0x1406dce18\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 EndTriggerGameObject::customObjectSetup(\n        EndTriggerGameObject *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  int v6; // ebp\n  int v7; // ebx\n  int v8; // eax\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer m_bigStorage; // rcx\n  int v10; // eax\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v11; // rcx\n  int v12; // eax\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v13; // rcx\n  int v14; // eax\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v15; // rcx\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v16; // rcx\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  v6 = 9999;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 51) )\n  {\n    m_bigStorage = a2->_Mypair._Myval2._Myfirst + 51;\n    if ( a2->_Mypair._Myval2._Myfirst[51].m_data.m_capacity > 0xF )\n      m_bigStorage = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)m_bigStorage->m_data.m_bigStorage;\n    v8 = atoi(m_bigStorage->m_data.m_smallStorage._Elems);\n    v7 = 0;\n    if ( v8 < 0 )\n      v8 = 0;\n    if ( v8 > 9999 )\n      v8 = 9999;\n  }\n  else\n  {\n    v7 = 0;\n    v8 = 0;\n  }\n  a1->m_targetGroupID = v8;\n  if ( !*((_QWORD *)a3->_Mypair._Myval2._Myfirst + 71) )\n  {\n    v10 = 0;\nLABEL_16:\n    v6 = v10;\n    goto LABEL_17;\n  }\n  v11 = a2->_Mypair._Myval2._Myfirst + 71;\n  if ( a2->_Mypair._Myval2._Myfirst[71].m_data.m_capacity > 0xF )\n    v11 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v11->m_data.m_bigStorage;\n  v10 = atoi(v11->m_data.m_smallStorage._Elems);\n  if ( v10 < 0 )\n    v10 = 0;\n  if ( v10 <= 9999 )\n    goto LABEL_16;\nLABEL_17:\n  a1->m_centerGroupID = v6;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 460) )\n  {\n    v13 = a2->_Mypair._Myval2._Myfirst + 460;\n    if ( a2->_Mypair._Myval2._Myfirst[460].m_data.m_capacity > 0xF )\n      v13 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v13->m_data.m_bigStorage;\n    v12 = atoi(v13->m_data.m_smallStorage._Elems);\n  }\n  else\n  {\n    v12 = 0;\n  }\n  a1->m_noEffects = v12 != 0;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 461) )\n  {\n    v15 = a2->_Mypair._Myval2._Myfirst + 461;\n    if ( a2->_Mypair._Myval2._Myfirst[461].m_data.m_capacity > 0xF )\n      v15 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v15->m_data.m_bigStorage;\n    v14 = atoi(v15->m_data.m_smallStorage._Elems);\n  }\n  else\n  {\n    v14 = 0;\n  }\n  a1->m_noSFX = v14 != 0;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 487) )\n  {\n    v16 = a2->_Mypair._Myval2._Myfirst + 487;\n    if ( a2->_Mypair._Myval2._Myfirst[487].m_data.m_capacity > 0xF )\n      v16 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v16->m_data.m_bigStorage;\n    v7 = atoi(v16->m_data.m_smallStorage._Elems);\n  }\n  a1->m_instant = v7 != 0;\n}", "assembly": "; \n; EndTriggerGameObject::customObjectSetup from 0x1404bd100 to 0x1404bd264 (356 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1406181a0\n; > <???> @ 0x1406dce18\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, 0x1404bd100\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1404bd105\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1404bd10a\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x1404bd10f\npush    r14                                                            ; +0x14, 0x1404bd114\nsub     rsp, 20h                                                       ; +0x16, 0x1404bd116\nmov     r14, r8                                                        ; +0x1a, 0x1404bd11a\nmov     rsi, rdx                                                       ; +0x1d, 0x1404bd11d\nmov     rdi, rcx                                                       ; +0x20, 0x1404bd120\ncall    EffectGameObject__customObjectSetup                            ; +0x23, 0x1404bd123\nmov     rax, [r14]                                                     ; +0x28, 0x1404bd128\nmov     ebp, 270Fh                                                     ; +0x2b, 0x1404bd12b\ncmp     qword ptr [rax+198h], 0                                        ; +0x30, 0x1404bd130\njnz     short loc_1404BD140                                            ; +0x38, 0x1404bd138\nxor     ebx, ebx                                                       ; +0x3a, 0x1404bd13a\nmov     eax, ebx                                                       ; +0x3c, 0x1404bd13c\njmp     short loc_1404BD167                                            ; +0x3e, 0x1404bd13e\nmov     rcx, [rsi]                                                     ; +0x40, 0x1404bd140\nadd     rcx, 660h                                                      ; +0x43, 0x1404bd143\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x4a, 0x1404bd14a\njbe     short loc_1404BD154                                            ; +0x4f, 0x1404bd14f\nmov     rcx, [rcx]; String                                             ; +0x51, 0x1404bd151\ncall    cs:atoi                                                        ; +0x54, 0x1404bd154\nxor     ebx, ebx                                                       ; +0x5a, 0x1404bd15a\ntest    eax, eax                                                       ; +0x5c, 0x1404bd15c\ncmovs   eax, ebx                                                       ; +0x5e, 0x1404bd15e\ncmp     eax, ebp                                                       ; +0x61, 0x1404bd161\njle     short loc_1404BD167                                            ; +0x63, 0x1404bd163\nmov     eax, ebp                                                       ; +0x65, 0x1404bd165\nmov     [rdi+5C8h], eax                                                ; +0x67, 0x1404bd167\nmov     rax, [r14]                                                     ; +0x6d, 0x1404bd16d\ncmp     qword ptr [rax+238h], 0                                        ; +0x70, 0x1404bd170\njnz     short loc_1404BD17E                                            ; +0x78, 0x1404bd178\nmov     eax, ebx                                                       ; +0x7a, 0x1404bd17a\njmp     short loc_1404BD1A1                                            ; +0x7c, 0x1404bd17c\nmov     rcx, [rsi]                                                     ; +0x7e, 0x1404bd17e\nadd     rcx, 8E0h                                                      ; +0x81, 0x1404bd181\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x88, 0x1404bd188\njbe     short loc_1404BD192                                            ; +0x8d, 0x1404bd18d\nmov     rcx, [rcx]; String                                             ; +0x8f, 0x1404bd18f\ncall    cs:atoi                                                        ; +0x92, 0x1404bd192\ntest    eax, eax                                                       ; +0x98, 0x1404bd198\ncmovs   eax, ebx                                                       ; +0x9a, 0x1404bd19a\ncmp     eax, ebp                                                       ; +0x9d, 0x1404bd19d\njg      short loc_1404BD1A3                                            ; +0x9f, 0x1404bd19f\nmov     ebp, eax                                                       ; +0xa1, 0x1404bd1a1\nmov     [rdi+5CCh], ebp                                                ; +0xa3, 0x1404bd1a3\nmov     rax, [r14]                                                     ; +0xa9, 0x1404bd1a9\ncmp     qword ptr [rax+0E60h], 0                                       ; +0xac, 0x1404bd1ac\njnz     short loc_1404BD1BA                                            ; +0xb4, 0x1404bd1b4\nmov     eax, ebx                                                       ; +0xb6, 0x1404bd1b6\njmp     short loc_1404BD1D4                                            ; +0xb8, 0x1404bd1b8\nmov     rcx, [rsi]                                                     ; +0xba, 0x1404bd1ba\nadd     rcx, 3980h                                                     ; +0xbd, 0x1404bd1bd\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0xc4, 0x1404bd1c4\njbe     short loc_1404BD1CE                                            ; +0xc9, 0x1404bd1c9\nmov     rcx, [rcx]; String                                             ; +0xcb, 0x1404bd1cb\ncall    cs:atoi                                                        ; +0xce, 0x1404bd1ce\ntest    eax, eax                                                       ; +0xd4, 0x1404bd1d4\nsetnz   al                                                             ; +0xd6, 0x1404bd1d6\nmov     [rdi+740h], al                                                 ; +0xd9, 0x1404bd1d9\nmov     rax, [r14]                                                     ; +0xdf, 0x1404bd1df\ncmp     qword ptr [rax+0E68h], 0                                       ; +0xe2, 0x1404bd1e2\njnz     short loc_1404BD1F0                                            ; +0xea, 0x1404bd1ea\nmov     eax, ebx                                                       ; +0xec, 0x1404bd1ec\njmp     short loc_1404BD20A                                            ; +0xee, 0x1404bd1ee\nmov     rcx, [rsi]                                                     ; +0xf0, 0x1404bd1f0\nadd     rcx, 39A0h                                                     ; +0xf3, 0x1404bd1f3\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0xfa, 0x1404bd1fa\njbe     short loc_1404BD204                                            ; +0xff, 0x1404bd1ff\nmov     rcx, [rcx]; String                                             ; +0x101, 0x1404bd201\ncall    cs:atoi                                                        ; +0x104, 0x1404bd204\ntest    eax, eax                                                       ; +0x10a, 0x1404bd20a\nsetnz   al                                                             ; +0x10c, 0x1404bd20c\nmov     [rdi+741h], al                                                 ; +0x10f, 0x1404bd20f\nmov     rax, [r14]                                                     ; +0x115, 0x1404bd215\ncmp     qword ptr [rax+0F38h], 0                                       ; +0x118, 0x1404bd218\njz      short loc_1404BD23E                                            ; +0x120, 0x1404bd220\nmov     rcx, [rsi]                                                     ; +0x122, 0x1404bd222\nadd     rcx, 3CE0h                                                     ; +0x125, 0x1404bd225\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x12c, 0x1404bd22c\njbe     short loc_1404BD236                                            ; +0x131, 0x1404bd231\nmov     rcx, [rcx]; String                                             ; +0x133, 0x1404bd233\ncall    cs:atoi                                                        ; +0x136, 0x1404bd236\nmov     ebx, eax                                                       ; +0x13c, 0x1404bd23c\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x13e, 0x1404bd23e\ntest    ebx, ebx                                                       ; +0x143, 0x1404bd243\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x145, 0x1404bd245\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x14a, 0x1404bd24a\nsetnz   al                                                             ; +0x14f, 0x1404bd24f\nmov     [rdi+742h], al                                                 ; +0x152, 0x1404bd252\nmov     rdi, [rsp+28h+arg_18]                                          ; +0x158, 0x1404bd258\nadd     rsp, 20h                                                       ; +0x15d, 0x1404bd25d\npop     r14                                                            ; +0x161, 0x1404bd261\nretn                                                                   ; +0x163, 0x1404bd263", "xrefs": ["<???> @ 0x1406181a0", "<???> @ 0x1406dce18"], "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"}