{"type": "func", "start": 9015192, "end": 9015424, "name": "EventLinkTrigger::triggerObject", "pseudocode": "// \n// EventLinkTrigger::triggerObject from 0x898f98 to 0x899080 (232 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x55fd8\n// > <???> @ 0x144fa90\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 EventLinkTrigger::triggerObject(__int64 a1, __int64 a2, __int64 a3, const void **a4)\n{\n  void *v7; // [xsp+40h] [xbp+40h] BYREF\n  char *v8; // [xsp+48h] [xbp+48h]\n  __int64 v9; // [xsp+50h] [xbp+50h]\n\n  if ( a4 )\n  {\n    std::vector<int>::vector((__int64 *)&v7, a4);\n  }\n  else\n  {\n    v7 = nullptr;\n    v8 = nullptr;\n    v9 = 0;\n  }\n  GJBaseGameLayer::activateEventTrigger(a2, a1, &v7);\n  if ( v7 )\n  {\n    if ( v7 != v8 )\n      v8 += 4 * ~((unsigned __int64)(v8 - 4 - (_BYTE *)v7) >> 2);\n    operator delete(v7);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EventLinkTrigger::triggerObject from 0x898f98 to 0x899080 (232 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x55fd8\n; > <???> @ 0x144fa90\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, 0x898f98\nMOV             X29, SP                                                ; +0x4, 0x898f9c\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x8, 0x898fa0\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x898fa4\nMOV             X20, X0                                                ; +0x10, 0x898fa8\nSTR             X21, [SP,#0x60+var_40]                                 ; +0x14, 0x898fac\nMOV             X21, X1                                                ; +0x18, 0x898fb0\nLDR             X0, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x898fb4\nLDR             X0, [X0]                                               ; +0x20, 0x898fb8\nSTR             X0, [X29,#0x60+var_8]                                  ; +0x24, 0x898fbc\nCBZ             X3, loc_899038                                         ; +0x28, 0x898fc0\nADD             X2, X29, #0x60+var_20                                  ; +0x2c, 0x898fc4\nMOV             X1, X3                                                 ; +0x30, 0x898fc8\nMOV             X0, X2                                                 ; +0x34, 0x898fcc\nSTR             X2, [X29,#0x60+var_28]                                 ; +0x38, 0x898fd0\nBL              _ZNSt6__ndk16vectorIiNS_9allocatorIiEEEC1ERKS3_; std::vector<int>::vector(std::vector<int> const&) ; +0x3c, 0x898fd4\nLDR             X2, [X29,#0x60+var_28]                                 ; +0x40, 0x898fd8\nMOV             X0, X21                                                ; +0x44, 0x898fdc\nMOV             X1, X20                                                ; +0x48, 0x898fe0\nBL              _ZN15GJBaseGameLayer20activateEventTriggerEP16EventLinkTriggerRKNSt6__ndk16vectorIiNS2_9allocatorIiEEEE; GJBaseGameLayer::activateEventTrigger(EventLinkTrigger *,std::vector<int> const&) ; +0x4c, 0x898fe4\nLDR             X0, [X29,#0x60+var_20]; void *                         ; +0x50, 0x898fe8\nCBZ             X0, loc_899014                                         ; +0x54, 0x898fec\nLDR             X2, [X29,#0x60+var_18]                                 ; +0x58, 0x898ff0\nCMP             X0, X2                                                 ; +0x5c, 0x898ff4\nB.EQ            loc_899010                                             ; +0x60, 0x898ff8\nSUB             X1, X2, #4                                             ; +0x64, 0x898ffc\nSUB             X1, X1, X0                                             ; +0x68, 0x899000\nMVN             X1, X1,LSR#2                                           ; +0x6c, 0x899004\nADD             X1, X2, X1,LSL#2                                       ; +0x70, 0x899008\nSTR             X1, [X29,#0x60+var_18]                                 ; +0x74, 0x89900c\nBL              _ZdlPv; operator delete(void *)                        ; +0x78, 0x899010\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x7c, 0x899014\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x80, 0x899018\nLDR             X0, [X19]                                              ; +0x84, 0x89901c\nCMP             X1, X0                                                 ; +0x88, 0x899020\nB.NE            loc_89904C                                             ; +0x8c, 0x899024\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x90, 0x899028\nLDR             X21, [SP,#0x60+var_40]                                 ; +0x94, 0x89902c\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0x98, 0x899030\nRET                                                                    ; +0x9c, 0x899034\nSTR             XZR, [X29,#0x60+var_20]                                ; +0xa0, 0x899038\nADD             X2, X29, #0x60+var_20                                  ; +0xa4, 0x89903c\nSTR             XZR, [X29,#0x60+var_18]                                ; +0xa8, 0x899040\nSTR             XZR, [X29,#0x60+var_10]                                ; +0xac, 0x899044\nB               loc_898FDC                                             ; +0xb0, 0x899048\nBL              .__stack_chk_fail                                      ; +0xb4, 0x89904c\nLDR             X1, [X29,#0x60+var_20]                                 ; +0xb8, 0x899050\nMOV             X19, X0                                                ; +0xbc, 0x899054\nCBZ             X1, loc_899078                                         ; +0xc0, 0x899058\nLDR             X2, [X29,#0x60+var_18]                                 ; +0xc4, 0x89905c\nMOV             X0, X1; void *                                         ; +0xc8, 0x899060\nSUB             X1, X2, X1                                             ; +0xcc, 0x899064\nLSR             X1, X1, #2                                             ; +0xd0, 0x899068\nSUB             X1, X2, X1,LSL#2                                       ; +0xd4, 0x89906c\nSTR             X1, [X29,#0x60+var_18]                                 ; +0xd8, 0x899070\nBL              _ZdlPv; operator delete(void *)                        ; +0xdc, 0x899074\nMOV             X0, X19                                                ; +0xe0, 0x899078\nBL              _Unwind_Resume                                         ; +0xe4, 0x89907c", "xrefs": ["<???> @ 0x55fd8", "<???> @ 0x144fa90"], "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"}