{"type": "func", "start": 5375341104, "end": 5375341367, "name": "EnhancedTriggerObject::customObjectSetup", "pseudocode": "// \n// EnhancedTriggerObject::customObjectSetup from 0x140653230 to 0x140653337 (263 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14082a950\n// > <???> @ 0x140931544\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:35:44 +0000\n// \n\nint __fastcall EnhancedTriggerObject::customObjectSetup(_DWORD *a1, __int64 a2, __int64 a3)\n{\n  int v6; // eax\n  const char *v7; // rcx\n  int v8; // eax\n  const char *v9; // rcx\n  int v10; // eax\n  const char *v11; // rcx\n  __int64 v12; // rax\n  const char *v13; // rcx\n\n  EffectGameObject::customObjectSetup((__int64)a1, a2, a3);\n  if ( *(_QWORD *)(*(_QWORD *)a3 + 4128LL) )\n  {\n    v7 = (const char *)(*(_QWORD *)a2 + 16512LL);\n    if ( *(_QWORD *)(*(_QWORD *)a2 + 16536LL) > 0xFu )\n      v7 = *(const char **)v7;\n    v6 = atoi(v7);\n  }\n  else\n  {\n    v6 = 0;\n  }\n  a1[464] = v6;\n  if ( *(_QWORD *)(*(_QWORD *)a3 + 4136LL) )\n  {\n    v9 = (const char *)(*(_QWORD *)a2 + 16544LL);\n    if ( *(_QWORD *)(*(_QWORD *)a2 + 16568LL) > 0xFu )\n      v9 = *(const char **)v9;\n    v8 = atoi(v9);\n  }\n  else\n  {\n    v8 = 0;\n  }\n  a1[465] = v8;\n  if ( *(_QWORD *)(*(_QWORD *)a3 + 4144LL) )\n  {\n    v11 = (const char *)(*(_QWORD *)a2 + 16576LL);\n    if ( *(_QWORD *)(*(_QWORD *)a2 + 16600LL) > 0xFu )\n      v11 = *(const char **)v11;\n    v10 = atoi(v11);\n  }\n  else\n  {\n    v10 = 0;\n  }\n  a1[466] = v10;\n  v12 = *(_QWORD *)a3;\n  if ( *(_QWORD *)(*(_QWORD *)a3 + 4152LL) )\n  {\n    v13 = (const char *)(*(_QWORD *)a2 + 16608LL);\n    if ( *(_QWORD *)(*(_QWORD *)a2 + 16632LL) > 0xFu )\n      v13 = *(const char **)v13;\n    LODWORD(v12) = atoi(v13);\n    a1[467] = v12;\n  }\n  else\n  {\n    a1[467] = 0;\n  }\n  return v12;\n}", "assembly": "; \n; EnhancedTriggerObject::customObjectSetup from 0x140653230 to 0x140653337 (263 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14082a950\n; > <???> @ 0x140931544\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:35:44 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140653230\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140653235\npush    rdi                                                            ; +0xa, 0x14065323a\nsub     rsp, 20h                                                       ; +0xb, 0x14065323b\nmov     rdi, r8                                                        ; +0xf, 0x14065323f\nmov     rsi, rdx                                                       ; +0x12, 0x140653242\nmov     rbx, rcx                                                       ; +0x15, 0x140653245\ncall    EffectGameObject__customObjectSetup                            ; +0x18, 0x140653248\nmov     rax, [rdi]                                                     ; +0x1d, 0x14065324d\ncmp     qword ptr [rax+1020h], 0                                       ; +0x20, 0x140653250\njnz     short loc_14065325E                                            ; +0x28, 0x140653258\nxor     eax, eax                                                       ; +0x2a, 0x14065325a\njmp     short loc_140653278                                            ; +0x2c, 0x14065325c\nmov     rcx, [rsi]                                                     ; +0x2e, 0x14065325e\nadd     rcx, 4080h                                                     ; +0x31, 0x140653261\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x38, 0x140653268\njbe     short loc_140653272                                            ; +0x3d, 0x14065326d\nmov     rcx, [rcx]; String                                             ; +0x3f, 0x14065326f\ncall    cs:atoi                                                        ; +0x42, 0x140653272\nmov     [rbx+740h], eax                                                ; +0x48, 0x140653278\nmov     rax, [rdi]                                                     ; +0x4e, 0x14065327e\ncmp     qword ptr [rax+1028h], 0                                       ; +0x51, 0x140653281\njnz     short loc_14065328F                                            ; +0x59, 0x140653289\nxor     eax, eax                                                       ; +0x5b, 0x14065328b\njmp     short loc_1406532A9                                            ; +0x5d, 0x14065328d\nmov     rcx, [rsi]                                                     ; +0x5f, 0x14065328f\nadd     rcx, 40A0h                                                     ; +0x62, 0x140653292\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x69, 0x140653299\njbe     short loc_1406532A3                                            ; +0x6e, 0x14065329e\nmov     rcx, [rcx]; String                                             ; +0x70, 0x1406532a0\ncall    cs:atoi                                                        ; +0x73, 0x1406532a3\nmov     [rbx+744h], eax                                                ; +0x79, 0x1406532a9\nmov     rax, [rdi]                                                     ; +0x7f, 0x1406532af\ncmp     qword ptr [rax+1030h], 0                                       ; +0x82, 0x1406532b2\njnz     short loc_1406532C0                                            ; +0x8a, 0x1406532ba\nxor     eax, eax                                                       ; +0x8c, 0x1406532bc\njmp     short loc_1406532DA                                            ; +0x8e, 0x1406532be\nmov     rcx, [rsi]                                                     ; +0x90, 0x1406532c0\nadd     rcx, 40C0h                                                     ; +0x93, 0x1406532c3\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x9a, 0x1406532ca\njbe     short loc_1406532D4                                            ; +0x9f, 0x1406532cf\nmov     rcx, [rcx]; String                                             ; +0xa1, 0x1406532d1\ncall    cs:atoi                                                        ; +0xa4, 0x1406532d4\nmov     [rbx+748h], eax                                                ; +0xaa, 0x1406532da\nmov     rax, [rdi]                                                     ; +0xb0, 0x1406532e0\ncmp     qword ptr [rax+1038h], 0                                       ; +0xb3, 0x1406532e3\njnz     short loc_140653307                                            ; +0xbb, 0x1406532eb\nmov     dword ptr [rbx+74Ch], 0                                        ; +0xbd, 0x1406532ed\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xc7, 0x1406532f7\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xcc, 0x1406532fc\nadd     rsp, 20h                                                       ; +0xd1, 0x140653301\npop     rdi                                                            ; +0xd5, 0x140653305\nretn                                                                   ; +0xd6, 0x140653306\nmov     rcx, [rsi]                                                     ; +0xd7, 0x140653307\nadd     rcx, 40E0h                                                     ; +0xda, 0x14065330a\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0xe1, 0x140653311\njbe     short loc_14065331B                                            ; +0xe6, 0x140653316\nmov     rcx, [rcx]; String                                             ; +0xe8, 0x140653318\ncall    cs:atoi                                                        ; +0xeb, 0x14065331b\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xf1, 0x140653321\nmov     [rbx+74Ch], eax                                                ; +0xf6, 0x140653326\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xfc, 0x14065332c\nadd     rsp, 20h                                                       ; +0x101, 0x140653331\npop     rdi                                                            ; +0x105, 0x140653335\nretn                                                                   ; +0x106, 0x140653336", "xrefs": ["<???> @ 0x14082a950", "<???> @ 0x140931544"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}