{"type": "func", "start": 4296861952, "end": 4296862043, "name": "ArtTriggerGameObject::customObjectSetup", "pseudocode": "// \n// ArtTriggerGameObject::customObjectSetup from 0x1001ce900 to 0x1001ce95b (91 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100ad9908\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 12:26:21 +0000\n// \n\nint __fastcall ArtTriggerGameObject::customObjectSetup(__int64 a1, __int64 *a2, __int64 *a3, __m128 a4)\n{\n  __int64 v6; // rdi\n  const char *v7; // rdi\n  int result; // eax\n\n  EffectGameObject::customObjectSetup(a1, a2, a3, a4);\n  if ( *(_QWORD *)(*a3 + 4264) )\n  {\n    v6 = *a2;\n    if ( (*(_BYTE *)(*a2 + 12792) & 1) != 0 )\n      v7 = *(const char **)(v6 + 12808);\n    else\n      v7 = (const char *)(v6 + 12793);\n    result = atoi(v7);\n  }\n  else\n  {\n    result = 0;\n  }\n  *(_DWORD *)(a1 + 1840) = result;\n  return result;\n}", "assembly": "; \n; ArtTriggerGameObject::customObjectSetup from 0x1001ce900 to 0x1001ce95b (91 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100ad9908\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 12:26:21 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001ce900\nmov     rbp, rsp                                                       ; +0x1, 0x1001ce901\npush    r15                                                            ; +0x4, 0x1001ce904\npush    r14                                                            ; +0x6, 0x1001ce906\npush    rbx                                                            ; +0x8, 0x1001ce908\npush    rax                                                            ; +0x9, 0x1001ce909\nmov     r15, rdx                                                       ; +0xa, 0x1001ce90a\nmov     r14, rsi                                                       ; +0xd, 0x1001ce90d\nmov     rbx, rdi                                                       ; +0x10, 0x1001ce910\ncall    EffectGameObject__customObjectSetup                            ; +0x13, 0x1001ce913\nmov     rax, [r15]                                                     ; +0x18, 0x1001ce918\ncmp     qword ptr [rax+10A8h], 0                                       ; +0x1b, 0x1001ce91b\njz      short loc_1001CE93A                                            ; +0x23, 0x1001ce923\nmov     rdi, [r14]                                                     ; +0x25, 0x1001ce925\ntest    byte ptr [rdi+31F8h], 1                                        ; +0x28, 0x1001ce928\njnz     short loc_1001CE93E                                            ; +0x2f, 0x1001ce92f\nadd     rdi, 31F9h                                                     ; +0x31, 0x1001ce931\njmp     short loc_1001CE945                                            ; +0x38, 0x1001ce938\nxor     eax, eax                                                       ; +0x3a, 0x1001ce93a\njmp     short loc_1001CE94A                                            ; +0x3c, 0x1001ce93c\nmov     rdi, [rdi+3208h]; char *                                       ; +0x3e, 0x1001ce93e\ncall    _atoi                                                          ; +0x45, 0x1001ce945\nmov     [rbx+730h], eax                                                ; +0x4a, 0x1001ce94a\nadd     rsp, 8                                                         ; +0x50, 0x1001ce950\npop     rbx                                                            ; +0x54, 0x1001ce954\npop     r14                                                            ; +0x55, 0x1001ce955\npop     r15                                                            ; +0x57, 0x1001ce957\npop     rbp                                                            ; +0x59, 0x1001ce959\nretn                                                                   ; +0x5a, 0x1001ce95a", "xrefs": ["<???> @ 0x100ad9908"], "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"}