{"type": "func", "start": 5375385584, "end": 5375385940, "name": "EndTriggerGameObject::customObjectSetup", "pseudocode": "// \n// EndTriggerGameObject::customObjectSetup from 0x14065dff0 to 0x14065e154 (356 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14082a298\n// > <???> @ 0x140931a48\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:47 +0000\n// \n\nbool __fastcall EndTriggerGameObject::customObjectSetup(__int64 a1, __int64 a2, __int64 a3)\n{\n  int v6; // ebp\n  int v7; // ebx\n  int v8; // eax\n  const char *v9; // rcx\n  int v10; // eax\n  const char *v11; // rcx\n  int v12; // eax\n  const char *v13; // rcx\n  int v14; // eax\n  const char *v15; // rcx\n  const char *v16; // rcx\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  v6 = 9999;\n  if ( *(_QWORD *)(*(_QWORD *)a3 + 408LL) )\n  {\n    v9 = (const char *)(*(_QWORD *)a2 + 1632LL);\n    if ( *(_QWORD *)(*(_QWORD *)a2 + 1656LL) > 0xFu )\n      v9 = *(const char **)v9;\n    v8 = atoi(v9);\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  *(_DWORD *)(a1 + 1480) = v8;\n  if ( !*(_QWORD *)(*(_QWORD *)a3 + 568LL) )\n  {\n    v10 = 0;\nLABEL_16:\n    v6 = v10;\n    goto LABEL_17;\n  }\n  v11 = (const char *)(*(_QWORD *)a2 + 2272LL);\n  if ( *(_QWORD *)(*(_QWORD *)a2 + 2296LL) > 0xFu )\n    v11 = *(const char **)v11;\n  v10 = atoi(v11);\n  if ( v10 < 0 )\n    v10 = 0;\n  if ( v10 <= 9999 )\n    goto LABEL_16;\nLABEL_17:\n  *(_DWORD *)(a1 + 1484) = v6;\n  if ( *(_QWORD *)(*(_QWORD *)a3 + 3680LL) )\n  {\n    v13 = (const char *)(*(_QWORD *)a2 + 14720LL);\n    if ( *(_QWORD *)(*(_QWORD *)a2 + 14744LL) > 0xFu )\n      v13 = *(const char **)v13;\n    v12 = atoi(v13);\n  }\n  else\n  {\n    v12 = 0;\n  }\n  *(_BYTE *)(a1 + 1856) = v12 != 0;\n  if ( *(_QWORD *)(*(_QWORD *)a3 + 3688LL) )\n  {\n    v15 = (const char *)(*(_QWORD *)a2 + 14752LL);\n    if ( *(_QWORD *)(*(_QWORD *)a2 + 14776LL) > 0xFu )\n      v15 = *(const char **)v15;\n    v14 = atoi(v15);\n  }\n  else\n  {\n    v14 = 0;\n  }\n  *(_BYTE *)(a1 + 1857) = v14 != 0;\n  if ( *(_QWORD *)(*(_QWORD *)a3 + 3896LL) )\n  {\n    v16 = (const char *)(*(_QWORD *)a2 + 15584LL);\n    if ( *(_QWORD *)(*(_QWORD *)a2 + 15608LL) > 0xFu )\n      v16 = *(const char **)v16;\n    v7 = atoi(v16);\n  }\n  *(_BYTE *)(a1 + 1858) = v7 != 0;\n  return v7 != 0;\n}", "assembly": "; \n; EndTriggerGameObject::customObjectSetup from 0x14065dff0 to 0x14065e154 (356 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14082a298\n; > <???> @ 0x140931a48\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:47 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14065dff0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x14065dff5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x14065dffa\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x14065dfff\npush    r14                                                            ; +0x14, 0x14065e004\nsub     rsp, 20h                                                       ; +0x16, 0x14065e006\nmov     rsi, r8                                                        ; +0x1a, 0x14065e00a\nmov     r14, rdx                                                       ; +0x1d, 0x14065e00d\nmov     rdi, rcx                                                       ; +0x20, 0x14065e010\ncall    EffectGameObject__customObjectSetup                            ; +0x23, 0x14065e013\nmov     rax, [rsi]                                                     ; +0x28, 0x14065e018\nmov     ebp, 270Fh                                                     ; +0x2b, 0x14065e01b\ncmp     qword ptr [rax+198h], 0                                        ; +0x30, 0x14065e020\njnz     short loc_14065E030                                            ; +0x38, 0x14065e028\nxor     ebx, ebx                                                       ; +0x3a, 0x14065e02a\nmov     eax, ebx                                                       ; +0x3c, 0x14065e02c\njmp     short loc_14065E057                                            ; +0x3e, 0x14065e02e\nmov     rcx, [r14]                                                     ; +0x40, 0x14065e030\nadd     rcx, 660h                                                      ; +0x43, 0x14065e033\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x4a, 0x14065e03a\njbe     short loc_14065E044                                            ; +0x4f, 0x14065e03f\nmov     rcx, [rcx]; String                                             ; +0x51, 0x14065e041\ncall    cs:atoi                                                        ; +0x54, 0x14065e044\nxor     ebx, ebx                                                       ; +0x5a, 0x14065e04a\ntest    eax, eax                                                       ; +0x5c, 0x14065e04c\ncmovs   eax, ebx                                                       ; +0x5e, 0x14065e04e\ncmp     eax, ebp                                                       ; +0x61, 0x14065e051\njle     short loc_14065E057                                            ; +0x63, 0x14065e053\nmov     eax, ebp                                                       ; +0x65, 0x14065e055\nmov     [rdi+5C8h], eax                                                ; +0x67, 0x14065e057\nmov     rax, [rsi]                                                     ; +0x6d, 0x14065e05d\ncmp     qword ptr [rax+238h], 0                                        ; +0x70, 0x14065e060\njnz     short loc_14065E06E                                            ; +0x78, 0x14065e068\nmov     eax, ebx                                                       ; +0x7a, 0x14065e06a\njmp     short loc_14065E091                                            ; +0x7c, 0x14065e06c\nmov     rcx, [r14]                                                     ; +0x7e, 0x14065e06e\nadd     rcx, 8E0h                                                      ; +0x81, 0x14065e071\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x88, 0x14065e078\njbe     short loc_14065E082                                            ; +0x8d, 0x14065e07d\nmov     rcx, [rcx]; String                                             ; +0x8f, 0x14065e07f\ncall    cs:atoi                                                        ; +0x92, 0x14065e082\ntest    eax, eax                                                       ; +0x98, 0x14065e088\ncmovs   eax, ebx                                                       ; +0x9a, 0x14065e08a\ncmp     eax, ebp                                                       ; +0x9d, 0x14065e08d\njg      short loc_14065E093                                            ; +0x9f, 0x14065e08f\nmov     ebp, eax                                                       ; +0xa1, 0x14065e091\nmov     [rdi+5CCh], ebp                                                ; +0xa3, 0x14065e093\nmov     rax, [rsi]                                                     ; +0xa9, 0x14065e099\ncmp     qword ptr [rax+0E60h], 0                                       ; +0xac, 0x14065e09c\njnz     short loc_14065E0AA                                            ; +0xb4, 0x14065e0a4\nmov     eax, ebx                                                       ; +0xb6, 0x14065e0a6\njmp     short loc_14065E0C4                                            ; +0xb8, 0x14065e0a8\nmov     rcx, [r14]                                                     ; +0xba, 0x14065e0aa\nadd     rcx, 3980h                                                     ; +0xbd, 0x14065e0ad\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0xc4, 0x14065e0b4\njbe     short loc_14065E0BE                                            ; +0xc9, 0x14065e0b9\nmov     rcx, [rcx]; String                                             ; +0xcb, 0x14065e0bb\ncall    cs:atoi                                                        ; +0xce, 0x14065e0be\ntest    eax, eax                                                       ; +0xd4, 0x14065e0c4\nsetnz   al                                                             ; +0xd6, 0x14065e0c6\nmov     [rdi+740h], al                                                 ; +0xd9, 0x14065e0c9\nmov     rax, [rsi]                                                     ; +0xdf, 0x14065e0cf\ncmp     qword ptr [rax+0E68h], 0                                       ; +0xe2, 0x14065e0d2\njnz     short loc_14065E0E0                                            ; +0xea, 0x14065e0da\nmov     eax, ebx                                                       ; +0xec, 0x14065e0dc\njmp     short loc_14065E0FA                                            ; +0xee, 0x14065e0de\nmov     rcx, [r14]                                                     ; +0xf0, 0x14065e0e0\nadd     rcx, 39A0h                                                     ; +0xf3, 0x14065e0e3\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0xfa, 0x14065e0ea\njbe     short loc_14065E0F4                                            ; +0xff, 0x14065e0ef\nmov     rcx, [rcx]; String                                             ; +0x101, 0x14065e0f1\ncall    cs:atoi                                                        ; +0x104, 0x14065e0f4\ntest    eax, eax                                                       ; +0x10a, 0x14065e0fa\nsetnz   al                                                             ; +0x10c, 0x14065e0fc\nmov     [rdi+741h], al                                                 ; +0x10f, 0x14065e0ff\nmov     rax, [rsi]                                                     ; +0x115, 0x14065e105\ncmp     qword ptr [rax+0F38h], 0                                       ; +0x118, 0x14065e108\njz      short loc_14065E12E                                            ; +0x120, 0x14065e110\nmov     rcx, [r14]                                                     ; +0x122, 0x14065e112\nadd     rcx, 3CE0h                                                     ; +0x125, 0x14065e115\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x12c, 0x14065e11c\njbe     short loc_14065E126                                            ; +0x131, 0x14065e121\nmov     rcx, [rcx]; String                                             ; +0x133, 0x14065e123\ncall    cs:atoi                                                        ; +0x136, 0x14065e126\nmov     ebx, eax                                                       ; +0x13c, 0x14065e12c\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x13e, 0x14065e12e\ntest    ebx, ebx                                                       ; +0x143, 0x14065e133\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x145, 0x14065e135\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x14a, 0x14065e13a\nsetnz   al                                                             ; +0x14f, 0x14065e13f\nmov     [rdi+742h], al                                                 ; +0x152, 0x14065e142\nmov     rdi, [rsp+28h+arg_18]                                          ; +0x158, 0x14065e148\nadd     rsp, 20h                                                       ; +0x15d, 0x14065e14d\npop     r14                                                            ; +0x161, 0x14065e151\nretn                                                                   ; +0x163, 0x14065e153", "xrefs": ["<???> @ 0x14082a298", "<???> @ 0x140931a48"], "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"}