{"type": "func", "start": 8989764, "end": 8990216, "name": "EndTriggerGameObject::customObjectSetup", "pseudocode": "// \n// EndTriggerGameObject::customObjectSetup from 0x892c44 to 0x892e08 (452 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x71c68\n// > <???> @ 0x1452338\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:08 +0000\n// \n\nbool __fastcall EndTriggerGameObject::customObjectSetup(_BYTE *a1, __int64 *a2, __int64 a3)\n{\n  const char *v6; // x0\n  int v7; // w0\n  const char *v8; // x0\n  int v9; // w0\n  const char *v10; // x0\n  const char *v11; // x0\n  const char *v12; // x0\n  _BOOL8 result; // x0\n\n  EffectGameObject::customObjectSetup((__int64)a1, a2, a3);\n  if ( !*(_QWORD *)(*(_QWORD *)a3 + 408LL) )\n  {\n    EffectGameObject::setTargetID((__int64)a1, 0);\n    if ( *(_QWORD *)(*(_QWORD *)a3 + 568LL) )\n      goto LABEL_5;\nLABEL_18:\n    EffectGameObject::setTargetID2((__int64)a1, 0);\n    if ( *(_QWORD *)(*(_QWORD *)a3 + 3680LL) )\n      goto LABEL_8;\nLABEL_19:\n    a1[1840] = 0;\n    if ( *(_QWORD *)(*(_QWORD *)a3 + 3688LL) )\n      goto LABEL_11;\n    goto LABEL_20;\n  }\n  v6 = (const char *)(*a2 + 1225);\n  if ( (*(_BYTE *)(*a2 + 1224) & 1) != 0 )\n    v6 = *(const char **)(*a2 + 1240);\n  v7 = atoi(v6);\n  EffectGameObject::setTargetID((__int64)a1, v7);\n  if ( !*(_QWORD *)(*(_QWORD *)a3 + 568LL) )\n    goto LABEL_18;\nLABEL_5:\n  v8 = (const char *)(*a2 + 1705);\n  if ( (*(_BYTE *)(*a2 + 1704) & 1) != 0 )\n    v8 = *(const char **)(*a2 + 1720);\n  v9 = atoi(v8);\n  EffectGameObject::setTargetID2((__int64)a1, v9);\n  if ( !*(_QWORD *)(*(_QWORD *)a3 + 3680LL) )\n    goto LABEL_19;\nLABEL_8:\n  v10 = (const char *)(*a2 + 11041);\n  if ( (*(_BYTE *)(*a2 + 11040) & 1) != 0 )\n    v10 = *(const char **)(*a2 + 11056);\n  a1[1840] = atoi(v10) != 0;\n  if ( *(_QWORD *)(*(_QWORD *)a3 + 3688LL) )\n  {\nLABEL_11:\n    v11 = (const char *)(*a2 + 11065);\n    if ( (*(_BYTE *)(*a2 + 11064) & 1) != 0 )\n      v11 = *(const char **)(*a2 + 11080);\n    a1[1841] = atoi(v11) != 0;\n    if ( *(_QWORD *)(*(_QWORD *)a3 + 3896LL) )\n      goto LABEL_14;\nLABEL_21:\n    a1[1842] = 0;\n    return 0;\n  }\nLABEL_20:\n  a1[1841] = 0;\n  if ( !*(_QWORD *)(*(_QWORD *)a3 + 3896LL) )\n    goto LABEL_21;\nLABEL_14:\n  v12 = (const char *)(*a2 + 11689);\n  if ( (*(_BYTE *)(*a2 + 11688) & 1) != 0 )\n    v12 = *(const char **)(*a2 + 11704);\n  result = atoi(v12) != 0;\n  a1[1842] = result;\n  return result;\n}", "assembly": "; \n; EndTriggerGameObject::customObjectSetup from 0x892c44 to 0x892e08 (452 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x71c68\n; > <???> @ 0x1452338\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:08 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x892c44\nMOV             X29, SP                                                ; +0x4, 0x892c48\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x892c4c\nMOV             X20, X2                                                ; +0xc, 0x892c50\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x10, 0x892c54\nMOV             X19, X0                                                ; +0x14, 0x892c58\nMOV             X21, X1                                                ; +0x18, 0x892c5c\nBL              _ZN16EffectGameObject17customObjectSetupERNSt6__ndk16vectorINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS5_IS7_EEEERNS1_IPvNS5_ISB_EEEE; EffectGameObject::customObjectSetup(std::vector<std::string> &,std::vector<void *> &) ; +0x1c, 0x892c60\nLDR             X0, [X20]                                              ; +0x20, 0x892c64\nLDR             X0, [X0,#0x198]                                        ; +0x24, 0x892c68\nCBZ             X0, loc_892D98                                         ; +0x28, 0x892c6c\nLDR             X1, [X21]                                              ; +0x2c, 0x892c70\nADD             X2, X1, #0x4C8                                         ; +0x30, 0x892c74\nADD             X0, X1, #0x4C9; char *                                 ; +0x34, 0x892c78\nLDRB            W1, [X1,#0x4C8]                                        ; +0x38, 0x892c7c\nTBNZ            W1, #0, loc_892D90                                     ; +0x3c, 0x892c80\nBL              .atoi                                                  ; +0x40, 0x892c84\nMOV             W1, W0; int                                            ; +0x44, 0x892c88\nMOV             X0, X19; this                                          ; +0x48, 0x892c8c\nBL              _ZN16EffectGameObject11setTargetIDEi; EffectGameObject::setTargetID(int) ; +0x4c, 0x892c90\nLDR             X0, [X20]                                              ; +0x50, 0x892c94\nLDR             X0, [X0,#0x238]                                        ; +0x54, 0x892c98\nCBZ             X0, loc_892DB0                                         ; +0x58, 0x892c9c\nLDR             X1, [X21]                                              ; +0x5c, 0x892ca0\nADD             X2, X1, #0x6A8                                         ; +0x60, 0x892ca4\nADD             X0, X1, #0x6A9; char *                                 ; +0x64, 0x892ca8\nLDRB            W1, [X1,#0x6A8]                                        ; +0x68, 0x892cac\nTBNZ            W1, #0, loc_892D88                                     ; +0x6c, 0x892cb0\nBL              .atoi                                                  ; +0x70, 0x892cb4\nMOV             W1, W0; int                                            ; +0x74, 0x892cb8\nMOV             X0, X19; this                                          ; +0x78, 0x892cbc\nBL              _ZN16EffectGameObject12setTargetID2Ei; EffectGameObject::setTargetID2(int) ; +0x7c, 0x892cc0\nLDR             X0, [X20]                                              ; +0x80, 0x892cc4\nLDR             X0, [X0,#0xE60]                                        ; +0x84, 0x892cc8\nCBZ             X0, loc_892DC8                                         ; +0x88, 0x892ccc\nLDR             X1, [X21]                                              ; +0x8c, 0x892cd0\nADD             X1, X1, #2,LSL#12                                      ; +0x90, 0x892cd4\nADD             X2, X1, #0xB20                                         ; +0x94, 0x892cd8\nADD             X0, X1, #0xB21; char *                                 ; +0x98, 0x892cdc\nLDRB            W1, [X1,#0xB20]                                        ; +0x9c, 0x892ce0\nTBNZ            W1, #0, loc_892D80                                     ; +0xa0, 0x892ce4\nBL              .atoi                                                  ; +0xa4, 0x892ce8\nCMP             W0, WZR                                                ; +0xa8, 0x892cec\nCSET            W0, NE                                                 ; +0xac, 0x892cf0\nSTRB            W0, [X19,#0x730]                                       ; +0xb0, 0x892cf4\nLDR             X0, [X20]                                              ; +0xb4, 0x892cf8\nLDR             X0, [X0,#0xE68]                                        ; +0xb8, 0x892cfc\nCBZ             X0, loc_892DDC                                         ; +0xbc, 0x892d00\nLDR             X1, [X21]                                              ; +0xc0, 0x892d04\nADD             X1, X1, #2,LSL#12                                      ; +0xc4, 0x892d08\nADD             X2, X1, #0xB38                                         ; +0xc8, 0x892d0c\nADD             X0, X1, #0xB39; char *                                 ; +0xcc, 0x892d10\nLDRB            W1, [X1,#0xB38]                                        ; +0xd0, 0x892d14\nTBNZ            W1, #0, loc_892D78                                     ; +0xd4, 0x892d18\nBL              .atoi                                                  ; +0xd8, 0x892d1c\nCMP             W0, WZR                                                ; +0xdc, 0x892d20\nCSET            W0, NE                                                 ; +0xe0, 0x892d24\nSTRB            W0, [X19,#0x731]                                       ; +0xe4, 0x892d28\nLDR             X0, [X20]                                              ; +0xe8, 0x892d2c\nLDR             X0, [X0,#0xF38]                                        ; +0xec, 0x892d30\nCBZ             X0, loc_892DF0                                         ; +0xf0, 0x892d34\nLDR             X1, [X21]                                              ; +0xf4, 0x892d38\nADD             X1, X1, #2,LSL#12                                      ; +0xf8, 0x892d3c\nADD             X2, X1, #0xDA8                                         ; +0xfc, 0x892d40\nADD             X0, X1, #0xDA9; char *                                 ; +0x100, 0x892d44\nLDRB            W1, [X1,#0xDA8]                                        ; +0x104, 0x892d48\nTBNZ            W1, #0, loc_892D70                                     ; +0x108, 0x892d4c\nBL              .atoi                                                  ; +0x10c, 0x892d50\nCMP             W0, WZR                                                ; +0x110, 0x892d54\nCSET            W0, NE                                                 ; +0x114, 0x892d58\nSTRB            W0, [X19,#0x732]                                       ; +0x118, 0x892d5c\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x11c, 0x892d60\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x120, 0x892d64\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x124, 0x892d68\nRET                                                                    ; +0x128, 0x892d6c\nLDR             X0, [X2,#0x10]                                         ; +0x12c, 0x892d70\nB               loc_892D50                                             ; +0x130, 0x892d74\nLDR             X0, [X2,#0x10]                                         ; +0x134, 0x892d78\nB               loc_892D1C                                             ; +0x138, 0x892d7c\nLDR             X0, [X2,#0x10]                                         ; +0x13c, 0x892d80\nB               loc_892CE8                                             ; +0x140, 0x892d84\nLDR             X0, [X2,#0x10]                                         ; +0x144, 0x892d88\nB               loc_892CB4                                             ; +0x148, 0x892d8c\nLDR             X0, [X2,#0x10]                                         ; +0x14c, 0x892d90\nB               loc_892C84                                             ; +0x150, 0x892d94\nMOV             X0, X19; this                                          ; +0x154, 0x892d98\nMOV             W1, #0; int                                            ; +0x158, 0x892d9c\nBL              _ZN16EffectGameObject11setTargetIDEi; EffectGameObject::setTargetID(int) ; +0x15c, 0x892da0\nLDR             X0, [X20]                                              ; +0x160, 0x892da4\nLDR             X0, [X0,#0x238]                                        ; +0x164, 0x892da8\nCBNZ            X0, loc_892CA0                                         ; +0x168, 0x892dac\nMOV             X0, X19; this                                          ; +0x16c, 0x892db0\nMOV             W1, #0; int                                            ; +0x170, 0x892db4\nBL              _ZN16EffectGameObject12setTargetID2Ei; EffectGameObject::setTargetID2(int) ; +0x174, 0x892db8\nLDR             X0, [X20]                                              ; +0x178, 0x892dbc\nLDR             X0, [X0,#0xE60]                                        ; +0x17c, 0x892dc0\nCBNZ            X0, loc_892CD0                                         ; +0x180, 0x892dc4\nMOV             W0, #0                                                 ; +0x184, 0x892dc8\nSTRB            W0, [X19,#0x730]                                       ; +0x188, 0x892dcc\nLDR             X0, [X20]                                              ; +0x18c, 0x892dd0\nLDR             X0, [X0,#0xE68]                                        ; +0x190, 0x892dd4\nCBNZ            X0, loc_892D04                                         ; +0x194, 0x892dd8\nMOV             W0, #0                                                 ; +0x198, 0x892ddc\nSTRB            W0, [X19,#0x731]                                       ; +0x19c, 0x892de0\nLDR             X0, [X20]                                              ; +0x1a0, 0x892de4\nLDR             X0, [X0,#0xF38]                                        ; +0x1a4, 0x892de8\nCBNZ            X0, loc_892D38                                         ; +0x1a8, 0x892dec\nMOV             W0, #0                                                 ; +0x1ac, 0x892df0\nSTRB            W0, [X19,#0x732]                                       ; +0x1b0, 0x892df4\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x1b4, 0x892df8\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x1b8, 0x892dfc\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x1bc, 0x892e00\nRET                                                                    ; +0x1c0, 0x892e04", "xrefs": ["<???> @ 0x71c68", "<???> @ 0x1452338"], "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"}