{"type": "func", "start": 9091280, "end": 9091480, "name": "GJEffectManager::runDeathTrigger", "pseudocode": "// \n// GJEffectManager::runDeathTrigger from 0x8ab8d0 to 0x8ab998 (200 bytes)\n// \n// 2 xrefs:\n// > EffectGameObject::triggerObject @ 0x76f918\n// > <???> @ 0x54348\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid GJEffectManager::runDeathTrigger(GJEffectManager *a1, int a2, bool a3, std::vector<int> *const a4, int a5, int a6)\n{\n  __int64 *p_m_unkVector248; // x20\n  ToggleTriggerAction *m_finish; // x19\n  ToggleTriggerAction *m_reserveEnd; // x0\n  int v9; // [xsp+20h] [xbp+20h] BYREF\n  int v10; // [xsp+24h] [xbp+24h] BYREF\n  bool v11; // [xsp+2Bh] [xbp+2Bh] BYREF\n  int v12; // [xsp+2Ch] [xbp+2Ch] BYREF\n\n  p_m_unkVector248 = (__int64 *)&a1->m_unkVector248;\n  m_finish = a1->m_unkVector248.m_finish;\n  v12 = a2;\n  m_reserveEnd = a1->m_unkVector248.m_reserveEnd;\n  v11 = a3;\n  v10 = a5;\n  v9 = a6;\n  if ( m_finish == m_reserveEnd )\n  {\n    std::vector<ToggleTriggerAction>::_M_emplace_back_aux<int &,bool &,std::vector const&<int,std::allocator<int>>,int &,int &>(\n      p_m_unkVector248,\n      &v12,\n      &v11,\n      (char **)a4,\n      &v10,\n      &v9);\n  }\n  else\n  {\n    if ( m_finish )\n    {\n      m_finish->m_disabled = 0;\n      m_finish->m_remapKeys.m_start = nullptr;\n      m_finish->m_remapKeys.m_finish = nullptr;\n      m_finish->m_remapKeys.m_reserveEnd = nullptr;\n      m_finish->m_targetGroupID = a2;\n      m_finish->m_activateGroup = a3;\n      m_finish->m_triggerUniqueID = a5;\n      m_finish->m_controlID = a6;\n      std::vector<int>::operator=((__int64)&m_finish->m_remapKeys, (char **)a4);\n      m_finish = (ToggleTriggerAction *)p_m_unkVector248[1];\n    }\n    p_m_unkVector248[1] = (__int64)&m_finish[1];\n  }\n}", "assembly": "; \n; GJEffectManager::runDeathTrigger from 0x8ab8d0 to 0x8ab998 (200 bytes)\n; \n; 2 xrefs:\n; > EffectGameObject::triggerObject @ 0x76f918\n; > <???> @ 0x54348\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x8ab8d0\nMOV             X6, X3                                                 ; +0x4, 0x8ab8d4\nMOV             X29, SP                                                ; +0x8, 0x8ab8d8\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0xc, 0x8ab8dc\nADD             X20, X0, #0x248                                        ; +0x10, 0x8ab8e0\nLDR             X19, [X20,#8]                                          ; +0x14, 0x8ab8e4\nSTR             W1, [X29,#0x30+var_4]                                  ; +0x18, 0x8ab8e8\nLDR             X0, [X20,#0x10]                                        ; +0x1c, 0x8ab8ec\nSTRB            W2, [X29,#0x30+var_5]                                  ; +0x20, 0x8ab8f0\nCMP             X19, X0                                                ; +0x24, 0x8ab8f4\nSTR             W4, [X29,#0x30+var_C]                                  ; +0x28, 0x8ab8f8\nSTR             W5, [X29,#0x30+var_10]                                 ; +0x2c, 0x8ab8fc\nB.EQ            loc_8AB958                                             ; +0x30, 0x8ab900\nMOV             W7, W1                                                 ; +0x34, 0x8ab904\nUXTB            W3, W2                                                 ; +0x38, 0x8ab908\nCBZ             X19, loc_8AB944                                        ; +0x3c, 0x8ab90c\nMOV             X2, X19                                                ; +0x40, 0x8ab910\nMOV             X1, X6                                                 ; +0x44, 0x8ab914\nSTRB            WZR, [X2],#0x18                                        ; +0x48, 0x8ab918\nSTR             XZR, [X19,#0x18]                                       ; +0x4c, 0x8ab91c\nSTR             XZR, [X2,#8]                                           ; +0x50, 0x8ab920\nMOV             X0, X2                                                 ; +0x54, 0x8ab924\nSTR             XZR, [X2,#0x10]                                        ; +0x58, 0x8ab928\nSTR             W7, [X19,#4]                                           ; +0x5c, 0x8ab92c\nSTRB            W3, [X19,#8]                                           ; +0x60, 0x8ab930\nSTR             W4, [X19,#0xC]                                         ; +0x64, 0x8ab934\nSTR             W5, [X19,#0x10]                                        ; +0x68, 0x8ab938\nBL              _ZNSt6vectorIiSaIiEEaSERKS1_; std::vector<int>::operator=(std::vector<int> const&) ; +0x6c, 0x8ab93c\nLDR             X19, [X20,#8]                                          ; +0x70, 0x8ab940\nADD             X19, X19, #0x30 ; '0'                                  ; +0x74, 0x8ab944\nSTR             X19, [X20,#8]                                          ; +0x78, 0x8ab948\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x7c, 0x8ab94c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x80, 0x8ab950\nRET                                                                    ; +0x84, 0x8ab954\nMOV             X0, X20                                                ; +0x88, 0x8ab958\nADD             X1, X29, #0x30+var_4                                   ; +0x8c, 0x8ab95c\nADD             X2, X29, #0x30+var_5                                   ; +0x90, 0x8ab960\nADD             X4, X29, #0x30+var_C                                   ; +0x94, 0x8ab964\nADD             X5, X29, #0x30+var_10                                  ; +0x98, 0x8ab968\nBL              _ZNSt6vectorI19ToggleTriggerActionSaIS0_EE19_M_emplace_back_auxIJRiRbRKS_IiSaIiEES4_S4_EEEvDpOT_; std::vector<ToggleTriggerAction>::_M_emplace_back_aux<int &,bool &,std::vector const&<int,std::allocator<int>>,int &,int &>(int &,bool &,std::vector const&<int,std::allocator<int>>,int &,int &) ; +0x9c, 0x8ab96c\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0xa0, 0x8ab970\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0xa4, 0x8ab974\nRET                                                                    ; +0xa8, 0x8ab978\nLDR             X1, [X19,#0x18]                                        ; +0xac, 0x8ab97c\nMOV             X19, X0                                                ; +0xb0, 0x8ab980\nCBZ             X1, loc_8AB990                                         ; +0xb4, 0x8ab984\nMOV             X0, X1; p                                              ; +0xb8, 0x8ab988\nBL              _ZdlPv; operator delete(void *)                        ; +0xbc, 0x8ab98c\nMOV             X0, X19                                                ; +0xc0, 0x8ab990\nBL              _Unwind_Resume                                         ; +0xc4, 0x8ab994", "xrefs": ["EffectGameObject::triggerObject @ 0x76f918", "<???> @ 0x54348"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}