{"type": "func", "start": 5373632144, "end": 5373632407, "name": "EnhancedTriggerObject::customObjectSetup", "pseudocode": "// \n// EnhancedTriggerObject::customObjectSetup from 0x1404b1e90 to 0x1404b1f97 (263 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140618848\n// > <???> @ 0x1406dc974\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 EnhancedTriggerObject::customObjectSetup(\n        EnhancedTriggerObject *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  int v6; // eax\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer m_bigStorage; // rcx\n  int v8; // eax\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v9; // rcx\n  int v10; // eax\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v11; // rcx\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v12; // rcx\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 516) )\n  {\n    m_bigStorage = a2->_Mypair._Myval2._Myfirst + 516;\n    if ( a2->_Mypair._Myval2._Myfirst[516].m_data.m_capacity > 0xF )\n      m_bigStorage = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)m_bigStorage->m_data.m_bigStorage;\n    v6 = atoi(m_bigStorage->m_data.m_smallStorage._Elems);\n  }\n  else\n  {\n    v6 = 0;\n  }\n  a1->m_minXID = v6;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 517) )\n  {\n    v9 = a2->_Mypair._Myval2._Myfirst + 517;\n    if ( a2->_Mypair._Myval2._Myfirst[517].m_data.m_capacity > 0xF )\n      v9 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v9->m_data.m_bigStorage;\n    v8 = atoi(v9->m_data.m_smallStorage._Elems);\n  }\n  else\n  {\n    v8 = 0;\n  }\n  a1->m_minYID = v8;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 518) )\n  {\n    v11 = a2->_Mypair._Myval2._Myfirst + 518;\n    if ( a2->_Mypair._Myval2._Myfirst[518].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  }\n  else\n  {\n    v10 = 0;\n  }\n  a1->m_maxXID = v10;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 519) )\n  {\n    v12 = a2->_Mypair._Myval2._Myfirst + 519;\n    if ( a2->_Mypair._Myval2._Myfirst[519].m_data.m_capacity > 0xF )\n      v12 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v12->m_data.m_bigStorage;\n    a1->m_maxYID = atoi(v12->m_data.m_smallStorage._Elems);\n  }\n  else\n  {\n    a1->m_maxYID = 0;\n  }\n}", "assembly": "; \n; EnhancedTriggerObject::customObjectSetup from 0x1404b1e90 to 0x1404b1f97 (263 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140618848\n; > <???> @ 0x1406dc974\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, 0x1404b1e90\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1404b1e95\npush    rdi                                                            ; +0xa, 0x1404b1e9a\nsub     rsp, 20h                                                       ; +0xb, 0x1404b1e9b\nmov     rsi, r8                                                        ; +0xf, 0x1404b1e9f\nmov     rdi, rdx                                                       ; +0x12, 0x1404b1ea2\nmov     rbx, rcx                                                       ; +0x15, 0x1404b1ea5\ncall    EffectGameObject__customObjectSetup                            ; +0x18, 0x1404b1ea8\nmov     rax, [rsi]                                                     ; +0x1d, 0x1404b1ead\ncmp     qword ptr [rax+1020h], 0                                       ; +0x20, 0x1404b1eb0\njnz     short loc_1404B1EBE                                            ; +0x28, 0x1404b1eb8\nxor     eax, eax                                                       ; +0x2a, 0x1404b1eba\njmp     short loc_1404B1ED8                                            ; +0x2c, 0x1404b1ebc\nmov     rcx, [rdi]                                                     ; +0x2e, 0x1404b1ebe\nadd     rcx, 4080h                                                     ; +0x31, 0x1404b1ec1\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x38, 0x1404b1ec8\njbe     short loc_1404B1ED2                                            ; +0x3d, 0x1404b1ecd\nmov     rcx, [rcx]; String                                             ; +0x3f, 0x1404b1ecf\ncall    cs:atoi                                                        ; +0x42, 0x1404b1ed2\nmov     [rbx+740h], eax                                                ; +0x48, 0x1404b1ed8\nmov     rax, [rsi]                                                     ; +0x4e, 0x1404b1ede\ncmp     qword ptr [rax+1028h], 0                                       ; +0x51, 0x1404b1ee1\njnz     short loc_1404B1EEF                                            ; +0x59, 0x1404b1ee9\nxor     eax, eax                                                       ; +0x5b, 0x1404b1eeb\njmp     short loc_1404B1F09                                            ; +0x5d, 0x1404b1eed\nmov     rcx, [rdi]                                                     ; +0x5f, 0x1404b1eef\nadd     rcx, 40A0h                                                     ; +0x62, 0x1404b1ef2\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x69, 0x1404b1ef9\njbe     short loc_1404B1F03                                            ; +0x6e, 0x1404b1efe\nmov     rcx, [rcx]; String                                             ; +0x70, 0x1404b1f00\ncall    cs:atoi                                                        ; +0x73, 0x1404b1f03\nmov     [rbx+744h], eax                                                ; +0x79, 0x1404b1f09\nmov     rax, [rsi]                                                     ; +0x7f, 0x1404b1f0f\ncmp     qword ptr [rax+1030h], 0                                       ; +0x82, 0x1404b1f12\njnz     short loc_1404B1F20                                            ; +0x8a, 0x1404b1f1a\nxor     eax, eax                                                       ; +0x8c, 0x1404b1f1c\njmp     short loc_1404B1F3A                                            ; +0x8e, 0x1404b1f1e\nmov     rcx, [rdi]                                                     ; +0x90, 0x1404b1f20\nadd     rcx, 40C0h                                                     ; +0x93, 0x1404b1f23\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x9a, 0x1404b1f2a\njbe     short loc_1404B1F34                                            ; +0x9f, 0x1404b1f2f\nmov     rcx, [rcx]; String                                             ; +0xa1, 0x1404b1f31\ncall    cs:atoi                                                        ; +0xa4, 0x1404b1f34\nmov     [rbx+748h], eax                                                ; +0xaa, 0x1404b1f3a\nmov     rax, [rsi]                                                     ; +0xb0, 0x1404b1f40\ncmp     qword ptr [rax+1038h], 0                                       ; +0xb3, 0x1404b1f43\njnz     short loc_1404B1F67                                            ; +0xbb, 0x1404b1f4b\nmov     dword ptr [rbx+74Ch], 0                                        ; +0xbd, 0x1404b1f4d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xc7, 0x1404b1f57\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xcc, 0x1404b1f5c\nadd     rsp, 20h                                                       ; +0xd1, 0x1404b1f61\npop     rdi                                                            ; +0xd5, 0x1404b1f65\nretn                                                                   ; +0xd6, 0x1404b1f66\nmov     rcx, [rdi]                                                     ; +0xd7, 0x1404b1f67\nadd     rcx, 40E0h                                                     ; +0xda, 0x1404b1f6a\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0xe1, 0x1404b1f71\njbe     short loc_1404B1F7B                                            ; +0xe6, 0x1404b1f76\nmov     rcx, [rcx]; String                                             ; +0xe8, 0x1404b1f78\ncall    cs:atoi                                                        ; +0xeb, 0x1404b1f7b\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xf1, 0x1404b1f81\nmov     [rbx+74Ch], eax                                                ; +0xf6, 0x1404b1f86\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xfc, 0x1404b1f8c\nadd     rsp, 20h                                                       ; +0x101, 0x1404b1f91\npop     rdi                                                            ; +0x105, 0x1404b1f95\nretn                                                                   ; +0x106, 0x1404b1f96", "xrefs": ["<???> @ 0x140618848", "<???> @ 0x1406dc974"], "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"}