{"type": "func", "start": 9015944, "end": 9016184, "name": "EndTriggerGameObject::triggerObject", "pseudocode": "// \n// EndTriggerGameObject::triggerObject from 0x899288 to 0x899378 (240 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0xc7c90\n// > <???> @ 0x14522e0\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:11 +0000\n// \n\n__int64 __fastcall EndTriggerGameObject::triggerObject(__int64 a1, __int64 a2, __int64 a3, const void **a4)\n{\n  void (__fastcall *v6)(__int64, __int64, void **); // x21\n  void *v8; // [xsp+40h] [xbp+40h] BYREF\n  char *v9; // [xsp+48h] [xbp+48h]\n  __int64 v10; // [xsp+50h] [xbp+50h]\n\n  v6 = *(void (__fastcall **)(__int64, __int64, void **))(*(_QWORD *)a2 + 1280LL);\n  if ( a4 )\n  {\n    std::vector<int>::vector((__int64 *)&v8, a4);\n  }\n  else\n  {\n    v8 = nullptr;\n    v9 = nullptr;\n    v10 = 0;\n  }\n  v6(a2, a1, &v8);\n  if ( v8 )\n  {\n    if ( v8 != v9 )\n      v9 += 4 * ~((unsigned __int64)(v9 - 4 - (_BYTE *)v8) >> 2);\n    operator delete(v8);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EndTriggerGameObject::triggerObject from 0x899288 to 0x899378 (240 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0xc7c90\n; > <???> @ 0x14522e0\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:11 +0000\n; \nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0x899288\nMOV             X29, SP                                                ; +0x4, 0x89928c\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x8, 0x899290\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x899294\nMOV             X20, X1                                                ; +0x10, 0x899298\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0x14, 0x89929c\nMOV             X22, X0                                                ; +0x18, 0x8992a0\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x8992a4\nLDR             X0, [X20]                                              ; +0x20, 0x8992a8\nLDR             X1, [X1]                                               ; +0x24, 0x8992ac\nSTR             X1, [X29,#0x60+var_8]                                  ; +0x28, 0x8992b0\nLDR             X21, [X0,#0x500]                                       ; +0x2c, 0x8992b4\nCBZ             X3, loc_899330                                         ; +0x30, 0x8992b8\nADD             X2, X29, #0x60+var_20                                  ; +0x34, 0x8992bc\nMOV             X1, X3                                                 ; +0x38, 0x8992c0\nMOV             X0, X2                                                 ; +0x3c, 0x8992c4\nSTR             X2, [X29,#0x60+var_28]                                 ; +0x40, 0x8992c8\nBL              _ZNSt6__ndk16vectorIiNS_9allocatorIiEEEC1ERKS3_; std::vector<int>::vector(std::vector<int> const&) ; +0x44, 0x8992cc\nLDR             X2, [X29,#0x60+var_28]                                 ; +0x48, 0x8992d0\nMOV             X0, X20                                                ; +0x4c, 0x8992d4\nMOV             X1, X22                                                ; +0x50, 0x8992d8\nBLR             X21                                                    ; +0x54, 0x8992dc\nLDR             X0, [X29,#0x60+var_20]; void *                         ; +0x58, 0x8992e0\nCBZ             X0, loc_89930C                                         ; +0x5c, 0x8992e4\nLDR             X2, [X29,#0x60+var_18]                                 ; +0x60, 0x8992e8\nCMP             X0, X2                                                 ; +0x64, 0x8992ec\nB.EQ            loc_899308                                             ; +0x68, 0x8992f0\nSUB             X1, X2, #4                                             ; +0x6c, 0x8992f4\nSUB             X1, X1, X0                                             ; +0x70, 0x8992f8\nMVN             X1, X1,LSR#2                                           ; +0x74, 0x8992fc\nADD             X1, X2, X1,LSL#2                                       ; +0x78, 0x899300\nSTR             X1, [X29,#0x60+var_18]                                 ; +0x7c, 0x899304\nBL              _ZdlPv; operator delete(void *)                        ; +0x80, 0x899308\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x84, 0x89930c\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x88, 0x899310\nLDR             X0, [X19]                                              ; +0x8c, 0x899314\nCMP             X1, X0                                                 ; +0x90, 0x899318\nB.NE            loc_899344                                             ; +0x94, 0x89931c\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x98, 0x899320\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0x9c, 0x899324\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0xa0, 0x899328\nRET                                                                    ; +0xa4, 0x89932c\nSTR             XZR, [X29,#0x60+var_20]                                ; +0xa8, 0x899330\nADD             X2, X29, #0x60+var_20                                  ; +0xac, 0x899334\nSTR             XZR, [X29,#0x60+var_18]                                ; +0xb0, 0x899338\nSTR             XZR, [X29,#0x60+var_10]                                ; +0xb4, 0x89933c\nB               loc_8992D4                                             ; +0xb8, 0x899340\nBL              .__stack_chk_fail                                      ; +0xbc, 0x899344\nLDR             X1, [X29,#0x60+var_20]                                 ; +0xc0, 0x899348\nMOV             X19, X0                                                ; +0xc4, 0x89934c\nCBZ             X1, loc_899370                                         ; +0xc8, 0x899350\nLDR             X2, [X29,#0x60+var_18]                                 ; +0xcc, 0x899354\nMOV             X0, X1; void *                                         ; +0xd0, 0x899358\nSUB             X1, X2, X1                                             ; +0xd4, 0x89935c\nLSR             X1, X1, #2                                             ; +0xd8, 0x899360\nSUB             X1, X2, X1,LSL#2                                       ; +0xdc, 0x899364\nSTR             X1, [X29,#0x60+var_18]                                 ; +0xe0, 0x899368\nBL              _ZdlPv; operator delete(void *)                        ; +0xe4, 0x89936c\nMOV             X0, X19                                                ; +0xe8, 0x899370\nBL              _Unwind_Resume                                         ; +0xec, 0x899374", "xrefs": ["<???> @ 0xc7c90", "<???> @ 0x14522e0"], "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"}