{"type": "func", "start": 5375377104, "end": 5375377450, "name": "CheckpointGameObject::customObjectSetup", "pseudocode": "// \n// CheckpointGameObject::customObjectSetup from 0x14065bed0 to 0x14065c02a (346 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1408241e0\n// > <???> @ 0x140931964\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:46 +0000\n// \n\nbool __fastcall CheckpointGameObject::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 + 3584LL) )\n  {\n    v13 = (const char *)(*(_QWORD *)a2 + 14336LL);\n    if ( *(_QWORD *)(*(_QWORD *)a2 + 14360LL) > 0xFu )\n      v13 = *(const char **)v13;\n    v12 = atoi(v13);\n  }\n  else\n  {\n    v12 = 0;\n  }\n  *(_DWORD *)(a1 + 1860) = v12;\n  if ( *(_QWORD *)(*(_QWORD *)a3 + 4832LL) )\n  {\n    v15 = (const char *)(*(_QWORD *)a2 + 19328LL);\n    if ( *(_QWORD *)(*(_QWORD *)a2 + 19352LL) > 0xFu )\n      v15 = *(const char **)v15;\n    v14 = atoi(v15);\n  }\n  else\n  {\n    v14 = 0;\n  }\n  *(_DWORD *)(a1 + 1864) = v14;\n  if ( *(_QWORD *)(*(_QWORD *)a3 + 1104LL) )\n  {\n    v16 = (const char *)(*(_QWORD *)a2 + 4416LL);\n    if ( *(_QWORD *)(*(_QWORD *)a2 + 4440LL) > 0xFu )\n      v16 = *(const char **)v16;\n    v7 = atoi(v16);\n  }\n  *(_BYTE *)(a1 + 1700) = v7 != 0;\n  return v7 != 0;\n}", "assembly": "; \n; CheckpointGameObject::customObjectSetup from 0x14065bed0 to 0x14065c02a (346 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1408241e0\n; > <???> @ 0x140931964\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:46 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14065bed0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x14065bed5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x14065beda\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x14065bedf\npush    r14                                                            ; +0x14, 0x14065bee4\nsub     rsp, 20h                                                       ; +0x16, 0x14065bee6\nmov     rsi, r8                                                        ; +0x1a, 0x14065beea\nmov     r14, rdx                                                       ; +0x1d, 0x14065beed\nmov     rdi, rcx                                                       ; +0x20, 0x14065bef0\ncall    EffectGameObject__customObjectSetup                            ; +0x23, 0x14065bef3\nmov     rax, [rsi]                                                     ; +0x28, 0x14065bef8\nmov     ebp, 270Fh                                                     ; +0x2b, 0x14065befb\ncmp     qword ptr [rax+198h], 0                                        ; +0x30, 0x14065bf00\njnz     short loc_14065BF10                                            ; +0x38, 0x14065bf08\nxor     ebx, ebx                                                       ; +0x3a, 0x14065bf0a\nmov     eax, ebx                                                       ; +0x3c, 0x14065bf0c\njmp     short loc_14065BF37                                            ; +0x3e, 0x14065bf0e\nmov     rcx, [r14]                                                     ; +0x40, 0x14065bf10\nadd     rcx, 660h                                                      ; +0x43, 0x14065bf13\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x4a, 0x14065bf1a\njbe     short loc_14065BF24                                            ; +0x4f, 0x14065bf1f\nmov     rcx, [rcx]; String                                             ; +0x51, 0x14065bf21\ncall    cs:atoi                                                        ; +0x54, 0x14065bf24\nxor     ebx, ebx                                                       ; +0x5a, 0x14065bf2a\ntest    eax, eax                                                       ; +0x5c, 0x14065bf2c\ncmovs   eax, ebx                                                       ; +0x5e, 0x14065bf2e\ncmp     eax, ebp                                                       ; +0x61, 0x14065bf31\njle     short loc_14065BF37                                            ; +0x63, 0x14065bf33\nmov     eax, ebp                                                       ; +0x65, 0x14065bf35\nmov     [rdi+5C8h], eax                                                ; +0x67, 0x14065bf37\nmov     rax, [rsi]                                                     ; +0x6d, 0x14065bf3d\ncmp     qword ptr [rax+238h], 0                                        ; +0x70, 0x14065bf40\njnz     short loc_14065BF4E                                            ; +0x78, 0x14065bf48\nmov     eax, ebx                                                       ; +0x7a, 0x14065bf4a\njmp     short loc_14065BF71                                            ; +0x7c, 0x14065bf4c\nmov     rcx, [r14]                                                     ; +0x7e, 0x14065bf4e\nadd     rcx, 8E0h                                                      ; +0x81, 0x14065bf51\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x88, 0x14065bf58\njbe     short loc_14065BF62                                            ; +0x8d, 0x14065bf5d\nmov     rcx, [rcx]; String                                             ; +0x8f, 0x14065bf5f\ncall    cs:atoi                                                        ; +0x92, 0x14065bf62\ntest    eax, eax                                                       ; +0x98, 0x14065bf68\ncmovs   eax, ebx                                                       ; +0x9a, 0x14065bf6a\ncmp     eax, ebp                                                       ; +0x9d, 0x14065bf6d\njg      short loc_14065BF73                                            ; +0x9f, 0x14065bf6f\nmov     ebp, eax                                                       ; +0xa1, 0x14065bf71\nmov     [rdi+5CCh], ebp                                                ; +0xa3, 0x14065bf73\nmov     rax, [rsi]                                                     ; +0xa9, 0x14065bf79\ncmp     qword ptr [rax+0E00h], 0                                       ; +0xac, 0x14065bf7c\njnz     short loc_14065BF8A                                            ; +0xb4, 0x14065bf84\nmov     eax, ebx                                                       ; +0xb6, 0x14065bf86\njmp     short loc_14065BFA4                                            ; +0xb8, 0x14065bf88\nmov     rcx, [r14]                                                     ; +0xba, 0x14065bf8a\nadd     rcx, 3800h                                                     ; +0xbd, 0x14065bf8d\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0xc4, 0x14065bf94\njbe     short loc_14065BF9E                                            ; +0xc9, 0x14065bf99\nmov     rcx, [rcx]; String                                             ; +0xcb, 0x14065bf9b\ncall    cs:atoi                                                        ; +0xce, 0x14065bf9e\nmov     [rdi+744h], eax                                                ; +0xd4, 0x14065bfa4\nmov     rax, [rsi]                                                     ; +0xda, 0x14065bfaa\ncmp     qword ptr [rax+12E0h], 0                                       ; +0xdd, 0x14065bfad\njnz     short loc_14065BFBB                                            ; +0xe5, 0x14065bfb5\nmov     eax, ebx                                                       ; +0xe7, 0x14065bfb7\njmp     short loc_14065BFD5                                            ; +0xe9, 0x14065bfb9\nmov     rcx, [r14]                                                     ; +0xeb, 0x14065bfbb\nadd     rcx, 4B80h                                                     ; +0xee, 0x14065bfbe\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0xf5, 0x14065bfc5\njbe     short loc_14065BFCF                                            ; +0xfa, 0x14065bfca\nmov     rcx, [rcx]; String                                             ; +0xfc, 0x14065bfcc\ncall    cs:atoi                                                        ; +0xff, 0x14065bfcf\nmov     [rdi+748h], eax                                                ; +0x105, 0x14065bfd5\nmov     rax, [rsi]                                                     ; +0x10b, 0x14065bfdb\ncmp     qword ptr [rax+450h], 0                                        ; +0x10e, 0x14065bfde\njz      short loc_14065C004                                            ; +0x116, 0x14065bfe6\nmov     rcx, [r14]                                                     ; +0x118, 0x14065bfe8\nadd     rcx, 1140h                                                     ; +0x11b, 0x14065bfeb\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x122, 0x14065bff2\njbe     short loc_14065BFFC                                            ; +0x127, 0x14065bff7\nmov     rcx, [rcx]; String                                             ; +0x129, 0x14065bff9\ncall    cs:atoi                                                        ; +0x12c, 0x14065bffc\nmov     ebx, eax                                                       ; +0x132, 0x14065c002\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x134, 0x14065c004\ntest    ebx, ebx                                                       ; +0x139, 0x14065c009\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x13b, 0x14065c00b\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x140, 0x14065c010\nsetnz   al                                                             ; +0x145, 0x14065c015\nmov     [rdi+6A4h], al                                                 ; +0x148, 0x14065c018\nmov     rdi, [rsp+28h+arg_18]                                          ; +0x14e, 0x14065c01e\nadd     rsp, 20h                                                       ; +0x153, 0x14065c023\npop     r14                                                            ; +0x157, 0x14065c027\nretn                                                                   ; +0x159, 0x14065c029", "xrefs": ["<???> @ 0x1408241e0", "<???> @ 0x140931964"], "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"}