{"type": "func", "start": 8997968, "end": 8998092, "name": "ArtTriggerGameObject::customObjectSetup", "pseudocode": "// \n// ArtTriggerGameObject::customObjectSetup from 0x894c50 to 0x894ccc (124 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x88d98\n// > <???> @ 0x1455ba8\n// \n// This function is hookable on this platform (idp: arm, 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:56:09 +0000\n// \n\n__int64 __fastcall ArtTriggerGameObject::customObjectSetup(__int64 a1, __int64 *a2, __int64 a3)\n{\n  const char *v6; // x0\n  __int64 result; // x0\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  if ( *(_QWORD *)(*(_QWORD *)a3 + 4264LL) )\n  {\n    v6 = (const char *)(*a2 + 12793);\n    if ( (*(_BYTE *)(*a2 + 12792) & 1) != 0 )\n      v6 = *(const char **)(*a2 + 12808);\n    result = atoi(v6);\n    *(_DWORD *)(a1 + 1840) = result;\n  }\n  else\n  {\n    *(_DWORD *)(a1 + 1840) = 0;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; ArtTriggerGameObject::customObjectSetup from 0x894c50 to 0x894ccc (124 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x88d98\n; > <???> @ 0x1455ba8\n; \n; This function is hookable on this platform (idp: arm, 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:56:09 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x894c50\nMOV             X29, SP                                                ; +0x4, 0x894c54\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x894c58\nMOV             X20, X2                                                ; +0xc, 0x894c5c\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x10, 0x894c60\nMOV             X19, X0                                                ; +0x14, 0x894c64\nMOV             X21, X1                                                ; +0x18, 0x894c68\nBL              _ZN16EffectGameObject17customObjectSetupERNSt6__ndk16vectorINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS5_IS7_EEEERNS1_IPvNS5_ISB_EEEE; EffectGameObject::customObjectSetup(std::vector<std::string> &,std::vector<void *> &) ; +0x1c, 0x894c6c\nLDR             X0, [X20]                                              ; +0x20, 0x894c70\nLDR             X0, [X0,#0x10A8]                                       ; +0x24, 0x894c74\nCBZ             X0, loc_894CB4                                         ; +0x28, 0x894c78\nLDR             X1, [X21]                                              ; +0x2c, 0x894c7c\nADD             X1, X1, #3,LSL#12                                      ; +0x30, 0x894c80\nADD             X2, X1, #0x1F8                                         ; +0x34, 0x894c84\nADD             X0, X1, #0x1F9; char *                                 ; +0x38, 0x894c88\nLDRB            W1, [X1,#0x1F8]                                        ; +0x3c, 0x894c8c\nTBNZ            W1, #0, loc_894CAC                                     ; +0x40, 0x894c90\nBL              .atoi                                                  ; +0x44, 0x894c94\nSTR             W0, [X19,#0x730]                                       ; +0x48, 0x894c98\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x4c, 0x894c9c\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x50, 0x894ca0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x54, 0x894ca4\nRET                                                                    ; +0x58, 0x894ca8\nLDR             X0, [X2,#0x10]                                         ; +0x5c, 0x894cac\nB               loc_894C94                                             ; +0x60, 0x894cb0\nMOV             W0, #0                                                 ; +0x64, 0x894cb4\nSTR             W0, [X19,#0x730]                                       ; +0x68, 0x894cb8\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x6c, 0x894cbc\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x70, 0x894cc0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x74, 0x894cc4\nRET                                                                    ; +0x78, 0x894cc8", "xrefs": ["<???> @ 0x88d98", "<???> @ 0x1455ba8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}