{"type": "func", "start": 4296791520, "end": 4296791781, "name": "EnhancedTriggerObject::customObjectSetup", "pseudocode": "// \n// EnhancedTriggerObject::customObjectSetup from 0x1001bd5e0 to 0x1001bd6e5 (261 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008ca658\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 __fastcall EnhancedTriggerObject::customObjectSetup(\n        EnhancedTriggerObject *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  std::__vector_base<void *>::pointer begin; // r12\n  int v6; // r15d\n  int v7; // eax\n  std::__vector_base<std::string>::pointer v8; // rdi\n  const char *longStorage; // rdi\n  std::__vector_base<std::string>::pointer v10; // rdi\n  const char *elems; // rdi\n  int v12; // r15d\n  int v13; // eax\n  std::__vector_base<std::string>::pointer v14; // rdi\n  const char *v15; // rdi\n  std::__vector_base<std::string>::pointer v16; // rdi\n  const char *v17; // rdi\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  begin = a3->__begin_;\n  v6 = 0;\n  v7 = 0;\n  if ( begin[516] )\n  {\n    v8 = a2->__begin_;\n    if ( (a2->__begin_[516].m_data.m_short.sizex2 & 1) != 0 )\n      longStorage = v8[516].m_data.m_long.longStorage;\n    else\n      longStorage = v8[516].m_data.m_short.shortStorage.__elems_;\n    v7 = atoi(longStorage);\n  }\n  a1->m_minXID = v7;\n  if ( begin[517] )\n  {\n    v10 = a2->__begin_;\n    if ( (a2->__begin_[517].m_data.m_short.sizex2 & 1) != 0 )\n      elems = v10[517].m_data.m_long.longStorage;\n    else\n      elems = v10[517].m_data.m_short.shortStorage.__elems_;\n    v6 = atoi(elems);\n  }\n  a1->m_minYID = v6;\n  v12 = 0;\n  v13 = 0;\n  if ( begin[518] )\n  {\n    v14 = a2->__begin_;\n    if ( (a2->__begin_[518].m_data.m_short.sizex2 & 1) != 0 )\n      v15 = v14[518].m_data.m_long.longStorage;\n    else\n      v15 = v14[518].m_data.m_short.shortStorage.__elems_;\n    v13 = atoi(v15);\n  }\n  a1->m_maxXID = v13;\n  if ( begin[519] )\n  {\n    v16 = a2->__begin_;\n    if ( (a2->__begin_[519].m_data.m_short.sizex2 & 1) != 0 )\n      v17 = v16[519].m_data.m_long.longStorage;\n    else\n      v17 = v16[519].m_data.m_short.shortStorage.__elems_;\n    v12 = atoi(v17);\n  }\n  a1->m_maxYID = v12;\n}", "assembly": "; \n; EnhancedTriggerObject::customObjectSetup from 0x1001bd5e0 to 0x1001bd6e5 (261 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008ca658\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\npush    rbp                                                            ; +0x0, 0x1001bd5e0\nmov     rbp, rsp                                                       ; +0x1, 0x1001bd5e1\npush    r15                                                            ; +0x4, 0x1001bd5e4\npush    r14                                                            ; +0x6, 0x1001bd5e6\npush    r12                                                            ; +0x8, 0x1001bd5e8\npush    rbx                                                            ; +0xa, 0x1001bd5ea\nmov     r15, rdx                                                       ; +0xb, 0x1001bd5eb\nmov     r14, rsi                                                       ; +0xe, 0x1001bd5ee\nmov     rbx, rdi                                                       ; +0x11, 0x1001bd5f1\ncall    EffectGameObject__customObjectSetup                            ; +0x14, 0x1001bd5f4\nmov     r12, [r15]                                                     ; +0x19, 0x1001bd5f9\nxor     r15d, r15d                                                     ; +0x1c, 0x1001bd5fc\ncmp     qword ptr [r12+1020h], 0                                       ; +0x1f, 0x1001bd5ff\nmov     eax, 0                                                         ; +0x28, 0x1001bd608\njz      short loc_1001BD630                                            ; +0x2d, 0x1001bd60d\nmov     rdi, [r14]                                                     ; +0x2f, 0x1001bd60f\ntest    byte ptr [rdi+3060h], 1                                        ; +0x32, 0x1001bd612\njnz     short loc_1001BD624                                            ; +0x39, 0x1001bd619\nadd     rdi, 3061h                                                     ; +0x3b, 0x1001bd61b\njmp     short loc_1001BD62B                                            ; +0x42, 0x1001bd622\nmov     rdi, [rdi+3070h]; char *                                       ; +0x44, 0x1001bd624\ncall    _atoi                                                          ; +0x4b, 0x1001bd62b\nmov     [rbx+72Ch], eax                                                ; +0x50, 0x1001bd630\ncmp     qword ptr [r12+1028h], 0                                       ; +0x56, 0x1001bd636\njz      short loc_1001BD665                                            ; +0x5f, 0x1001bd63f\nmov     rdi, [r14]                                                     ; +0x61, 0x1001bd641\ntest    byte ptr [rdi+3078h], 1                                        ; +0x64, 0x1001bd644\njnz     short loc_1001BD656                                            ; +0x6b, 0x1001bd64b\nadd     rdi, 3079h                                                     ; +0x6d, 0x1001bd64d\njmp     short loc_1001BD65D                                            ; +0x74, 0x1001bd654\nmov     rdi, [rdi+3088h]; char *                                       ; +0x76, 0x1001bd656\ncall    _atoi                                                          ; +0x7d, 0x1001bd65d\nmov     r15d, eax                                                      ; +0x82, 0x1001bd662\nmov     [rbx+730h], r15d                                               ; +0x85, 0x1001bd665\nxor     r15d, r15d                                                     ; +0x8c, 0x1001bd66c\ncmp     qword ptr [r12+1030h], 0                                       ; +0x8f, 0x1001bd66f\nmov     eax, 0                                                         ; +0x98, 0x1001bd678\njz      short loc_1001BD6A0                                            ; +0x9d, 0x1001bd67d\nmov     rdi, [r14]                                                     ; +0x9f, 0x1001bd67f\ntest    byte ptr [rdi+3090h], 1                                        ; +0xa2, 0x1001bd682\njnz     short loc_1001BD694                                            ; +0xa9, 0x1001bd689\nadd     rdi, 3091h                                                     ; +0xab, 0x1001bd68b\njmp     short loc_1001BD69B                                            ; +0xb2, 0x1001bd692\nmov     rdi, [rdi+30A0h]; char *                                       ; +0xb4, 0x1001bd694\ncall    _atoi                                                          ; +0xbb, 0x1001bd69b\nmov     [rbx+734h], eax                                                ; +0xc0, 0x1001bd6a0\ncmp     qword ptr [r12+1038h], 0                                       ; +0xc6, 0x1001bd6a6\njz      short loc_1001BD6D5                                            ; +0xcf, 0x1001bd6af\nmov     rdi, [r14]                                                     ; +0xd1, 0x1001bd6b1\ntest    byte ptr [rdi+30A8h], 1                                        ; +0xd4, 0x1001bd6b4\njnz     short loc_1001BD6C6                                            ; +0xdb, 0x1001bd6bb\nadd     rdi, 30A9h                                                     ; +0xdd, 0x1001bd6bd\njmp     short loc_1001BD6CD                                            ; +0xe4, 0x1001bd6c4\nmov     rdi, [rdi+30B8h]; char *                                       ; +0xe6, 0x1001bd6c6\ncall    _atoi                                                          ; +0xed, 0x1001bd6cd\nmov     r15d, eax                                                      ; +0xf2, 0x1001bd6d2\nmov     [rbx+738h], r15d                                               ; +0xf5, 0x1001bd6d5\npop     rbx                                                            ; +0xfc, 0x1001bd6dc\npop     r12                                                            ; +0xfd, 0x1001bd6dd\npop     r14                                                            ; +0xff, 0x1001bd6df\npop     r15                                                            ; +0x101, 0x1001bd6e1\npop     rbp                                                            ; +0x103, 0x1001bd6e3\nretn                                                                   ; +0x104, 0x1001bd6e4", "xrefs": ["<???> @ 0x1008ca658"], "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"}