{"type": "func", "start": 8980004, "end": 8980332, "name": "EnhancedTriggerObject::customObjectSetup", "pseudocode": "// \n// EnhancedTriggerObject::customObjectSetup from 0x890624 to 0x89076c (328 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x4cf30\n// > <???> @ 0x144b248\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:07 +0000\n// \n\n__int64 __fastcall EnhancedTriggerObject::customObjectSetup(_DWORD *a1, __int64 *a2, __int64 a3)\n{\n  const char *v6; // x0\n  int v7; // w0\n  const char *v8; // x0\n  const char *v9; // x0\n  const char *v10; // x0\n  __int64 result; // x0\n\n  EffectGameObject::customObjectSetup((__int64)a1, a2, a3);\n  if ( *(_QWORD *)(*(_QWORD *)a3 + 4128LL) )\n  {\n    v6 = (const char *)(*a2 + 12385);\n    if ( (*(_BYTE *)(*a2 + 12384) & 1) != 0 )\n      v6 = *(const char **)(*a2 + 12400);\n    v7 = atoi(v6);\n  }\n  else\n  {\n    v7 = 0;\n  }\n  a1[460] = v7;\n  if ( *(_QWORD *)(*(_QWORD *)a3 + 4136LL) )\n  {\n    v8 = (const char *)(*a2 + 12409);\n    if ( (*(_BYTE *)(*a2 + 12408) & 1) != 0 )\n      v8 = *(const char **)(*a2 + 12424);\n    a1[461] = atoi(v8);\n    if ( *(_QWORD *)(*(_QWORD *)a3 + 4144LL) )\n    {\nLABEL_9:\n      v9 = (const char *)(*a2 + 12433);\n      if ( (*(_BYTE *)(*a2 + 12432) & 1) != 0 )\n        v9 = *(const char **)(*a2 + 12448);\n      a1[462] = atoi(v9);\n      if ( *(_QWORD *)(*(_QWORD *)a3 + 4152LL) )\n        goto LABEL_12;\nLABEL_17:\n      a1[463] = 0;\n      return 0;\n    }\n  }\n  else\n  {\n    a1[461] = 0;\n    if ( *(_QWORD *)(*(_QWORD *)a3 + 4144LL) )\n      goto LABEL_9;\n  }\n  a1[462] = 0;\n  if ( !*(_QWORD *)(*(_QWORD *)a3 + 4152LL) )\n    goto LABEL_17;\nLABEL_12:\n  v10 = (const char *)(*a2 + 12457);\n  if ( (*(_BYTE *)(*a2 + 12456) & 1) != 0 )\n    v10 = *(const char **)(*a2 + 12472);\n  result = atoi(v10);\n  a1[463] = result;\n  return result;\n}", "assembly": "; \n; EnhancedTriggerObject::customObjectSetup from 0x890624 to 0x89076c (328 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x4cf30\n; > <???> @ 0x144b248\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:07 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x890624\nMOV             X29, SP                                                ; +0x4, 0x890628\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x89062c\nMOV             X20, X2                                                ; +0xc, 0x890630\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x10, 0x890634\nMOV             X19, X0                                                ; +0x14, 0x890638\nMOV             X21, X1                                                ; +0x18, 0x89063c\nBL              _ZN16EffectGameObject17customObjectSetupERNSt6__ndk16vectorINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS5_IS7_EEEERNS1_IPvNS5_ISB_EEEE; EffectGameObject::customObjectSetup(std::vector<std::string> &,std::vector<void *> &) ; +0x1c, 0x890640\nLDR             X0, [X20]                                              ; +0x20, 0x890644\nLDR             X0, [X0,#0x1020]                                       ; +0x24, 0x890648\nCBZ             X0, loc_890764                                         ; +0x28, 0x89064c\nLDR             X1, [X21]                                              ; +0x2c, 0x890650\nADD             X1, X1, #3,LSL#12                                      ; +0x30, 0x890654\nADD             X2, X1, #0x60 ; '`'                                    ; +0x34, 0x890658\nADD             X0, X1, #0x61 ; 'a'; char *                            ; +0x38, 0x89065c\nLDRB            W1, [X1,#0x60]                                         ; +0x3c, 0x890660\nTBNZ            W1, #0, loc_89071C                                     ; +0x40, 0x890664\nBL              .atoi                                                  ; +0x44, 0x890668\nSTR             W0, [X19,#0x730]                                       ; +0x48, 0x89066c\nLDR             X0, [X20]                                              ; +0x4c, 0x890670\nLDR             X0, [X0,#0x1028]                                       ; +0x50, 0x890674\nCBZ             X0, loc_890724                                         ; +0x54, 0x890678\nLDR             X1, [X21]                                              ; +0x58, 0x89067c\nADD             X1, X1, #3,LSL#12                                      ; +0x5c, 0x890680\nADD             X2, X1, #0x78 ; 'x'                                    ; +0x60, 0x890684\nADD             X0, X1, #0x79 ; 'y'; char *                            ; +0x64, 0x890688\nLDRB            W1, [X1,#0x78]                                         ; +0x68, 0x89068c\nTBNZ            W1, #0, loc_890714                                     ; +0x6c, 0x890690\nBL              .atoi                                                  ; +0x70, 0x890694\nSTR             W0, [X19,#0x734]                                       ; +0x74, 0x890698\nLDR             X0, [X20]                                              ; +0x78, 0x89069c\nLDR             X0, [X0,#0x1030]                                       ; +0x7c, 0x8906a0\nCBZ             X0, loc_890738                                         ; +0x80, 0x8906a4\nLDR             X1, [X21]                                              ; +0x84, 0x8906a8\nADD             X1, X1, #3,LSL#12                                      ; +0x88, 0x8906ac\nADD             X2, X1, #0x90                                          ; +0x8c, 0x8906b0\nADD             X0, X1, #0x91; char *                                  ; +0x90, 0x8906b4\nLDRB            W1, [X1,#0x90]                                         ; +0x94, 0x8906b8\nTBNZ            W1, #0, loc_89070C                                     ; +0x98, 0x8906bc\nBL              .atoi                                                  ; +0x9c, 0x8906c0\nSTR             W0, [X19,#0x738]                                       ; +0xa0, 0x8906c4\nLDR             X0, [X20]                                              ; +0xa4, 0x8906c8\nLDR             X0, [X0,#0x1038]                                       ; +0xa8, 0x8906cc\nCBZ             X0, loc_89074C                                         ; +0xac, 0x8906d0\nLDR             X1, [X21]                                              ; +0xb0, 0x8906d4\nADD             X1, X1, #3,LSL#12                                      ; +0xb4, 0x8906d8\nADD             X2, X1, #0xA8                                          ; +0xb8, 0x8906dc\nADD             X0, X1, #0xA9; char *                                  ; +0xbc, 0x8906e0\nLDRB            W1, [X1,#0xA8]                                         ; +0xc0, 0x8906e4\nTBNZ            W1, #0, loc_890704                                     ; +0xc4, 0x8906e8\nBL              .atoi                                                  ; +0xc8, 0x8906ec\nSTR             W0, [X19,#0x73C]                                       ; +0xcc, 0x8906f0\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0xd0, 0x8906f4\nLDR             X21, [SP,#0x30+var_10]                                 ; +0xd4, 0x8906f8\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0xd8, 0x8906fc\nRET                                                                    ; +0xdc, 0x890700\nLDR             X0, [X2,#0x10]                                         ; +0xe0, 0x890704\nB               loc_8906EC                                             ; +0xe4, 0x890708\nLDR             X0, [X2,#0x10]                                         ; +0xe8, 0x89070c\nB               loc_8906C0                                             ; +0xec, 0x890710\nLDR             X0, [X2,#0x10]                                         ; +0xf0, 0x890714\nB               loc_890694                                             ; +0xf4, 0x890718\nLDR             X0, [X2,#0x10]                                         ; +0xf8, 0x89071c\nB               loc_890668                                             ; +0xfc, 0x890720\nMOV             W0, #0                                                 ; +0x100, 0x890724\nSTR             W0, [X19,#0x734]                                       ; +0x104, 0x890728\nLDR             X0, [X20]                                              ; +0x108, 0x89072c\nLDR             X0, [X0,#0x1030]                                       ; +0x10c, 0x890730\nCBNZ            X0, loc_8906A8                                         ; +0x110, 0x890734\nMOV             W0, #0                                                 ; +0x114, 0x890738\nSTR             W0, [X19,#0x738]                                       ; +0x118, 0x89073c\nLDR             X0, [X20]                                              ; +0x11c, 0x890740\nLDR             X0, [X0,#0x1038]                                       ; +0x120, 0x890744\nCBNZ            X0, loc_8906D4                                         ; +0x124, 0x890748\nMOV             W0, #0                                                 ; +0x128, 0x89074c\nSTR             W0, [X19,#0x73C]                                       ; +0x12c, 0x890750\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x130, 0x890754\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x134, 0x890758\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x138, 0x89075c\nRET                                                                    ; +0x13c, 0x890760\nMOV             W0, #0                                                 ; +0x140, 0x890764\nB               loc_89066C                                             ; +0x144, 0x890768", "xrefs": ["<???> @ 0x4cf30", "<???> @ 0x144b248"], "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"}