{"type": "func", "start": 4848952, "end": 4849080, "name": "GJEffectManager::playerDied", "pseudocode": "// \n// GJEffectManager::playerDied from 0x49fd38 to 0x49fdb8 (128 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::destroyPlayer @ 0x313d4c\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::playerDied(GJEffectManager *a1)\n{\n  unsigned int i; // r7\n  ToggleTriggerAction *m_start; // r2\n  ToggleTriggerAction *v4; // r4\n  void *v5[3]; // [sp+8h] [bp-10h] BYREF\n\n  if ( a1->m_triggerEffectDelegate )\n  {\n    for ( i = 0; ; ++i )\n    {\n      m_start = a1->m_unkVector248.m_start;\n      if ( i >= a1->m_unkVector248.m_finish - m_start )\n        break;\n      v4 = &m_start[i];\n      if ( !v4->m_disabled )\n      {\n        std::vector<int>::vector((unsigned int *)v5, (int)&v4->m_remapKeys);\n        a1->m_triggerEffectDelegate->toggleGroupTriggered(\n          a1->m_triggerEffectDelegate,\n          v4->m_targetGroupID,\n          v4->m_activateGroup,\n          (const std::vector<int> *)v5,\n          v4->m_triggerUniqueID,\n          v4->m_controlID);\n        std::_Vector_base<int>::~_Vector_base(v5);\n      }\n    }\n  }\n}", "assembly": "; \n; GJEffectManager::playerDied from 0x49fd38 to 0x49fdb8 (128 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::destroyPlayer @ 0x313d4c\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\nLDR             R3, =(__stack_chk_guard_ptr - 0x49FD42)                ; +0x0, 0x49fd38\nPUSH.W          {R4-R8,LR}                                             ; +0x2, 0x49fd3a\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x49fd3e\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x49fd40\nSUB             SP, SP, #0x18                                          ; +0xa, 0x49fd42\nMOV             R8, R0                                                 ; +0xc, 0x49fd44\nLDR             R2, [R3]                                               ; +0xe, 0x49fd46\nMOV             R5, R3                                                 ; +0x10, 0x49fd48\nSTR             R2, [SP,#0x18+var_4]                                   ; +0x12, 0x49fd4a\nLDR.W           R2, [R0,#0x108]                                        ; +0x14, 0x49fd4c\nCBZ             R2, loc_49FDA6                                         ; +0x18, 0x49fd50\nADD             R6, SP, #0x18+var_10                                   ; +0x1a, 0x49fd52\nMOVS            R7, #0                                                 ; +0x1c, 0x49fd54\nLDR.W           R2, [R8,#0x18C]                                        ; +0x1e, 0x49fd56\nLDR.W           R3, [R8,#0x190]                                        ; +0x22, 0x49fd5a\nSUBS            R3, R3, R2                                             ; +0x26, 0x49fd5e\nCMP.W           R7, R3,ASR#5                                           ; +0x28, 0x49fd60\nBCS             loc_49FDA6                                             ; +0x2c, 0x49fd64\nLSLS            R3, R7, #5                                             ; +0x2e, 0x49fd66\nADDS            R4, R2, R3                                             ; +0x30, 0x49fd68\nLDRB            R3, [R2,R3]                                            ; +0x32, 0x49fd6a\nCBNZ            R3, loc_49FD98                                         ; +0x34, 0x49fd6c\nADD.W           R1, R4, #0x14                                          ; +0x36, 0x49fd6e\nMOV             R0, R6                                                 ; +0x3a, 0x49fd72\nBL              _ZNSt6vectorIiSaIiEEC2ERKS1_; std::vector<int>::vector(std::vector<int> const&) ; +0x3c, 0x49fd74\nLDR             R3, [R4,#0xC]                                          ; +0x40, 0x49fd78\nLDR.W           R0, [R8,#0x108]                                        ; +0x42, 0x49fd7a\nLDRB            R2, [R4,#8]                                            ; +0x46, 0x49fd7e\nLDR             R1, [R0]                                               ; +0x48, 0x49fd80\nSTR             R3, [SP,#0x18+var_18]                                  ; +0x4a, 0x49fd82\nLDR             R3, [R4,#0x10]                                         ; +0x4c, 0x49fd84\nSTR             R3, [SP,#0x18+var_14]                                  ; +0x4e, 0x49fd86\nMOV             R3, R6                                                 ; +0x50, 0x49fd88\nLDR.W           R12, [R1]                                              ; +0x52, 0x49fd8a\nLDR             R1, [R4,#4]                                            ; +0x56, 0x49fd8e\nBLX             R12                                                    ; +0x58, 0x49fd90\nMOV             R0, R6                                                 ; +0x5a, 0x49fd92\nBL              _ZNSt12_Vector_baseIiSaIiEED2Ev; std::_Vector_base<int>::~_Vector_base() ; +0x5c, 0x49fd94\nADDS            R7, #1                                                 ; +0x60, 0x49fd98\nB               loc_49FD56                                             ; +0x62, 0x49fd9a\nMOV             R0, R6                                                 ; +0x64, 0x49fd9c\nBL              _ZNSt12_Vector_baseIiSaIiEED2Ev; std::_Vector_base<int>::~_Vector_base() ; +0x66, 0x49fd9e\nBL              __cxa_end_cleanup                                      ; +0x6a, 0x49fda2\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x6e, 0x49fda6\nLDR             R3, [R5]                                               ; +0x70, 0x49fda8\nCMP             R2, R3                                                 ; +0x72, 0x49fdaa\nBEQ             loc_49FDB2                                             ; +0x74, 0x49fdac\nBLX             __stack_chk_fail                                       ; +0x76, 0x49fdae\nADD             SP, SP, #0x18                                          ; +0x7a, 0x49fdb2\nPOP.W           {R4-R8,PC}                                             ; +0x7c, 0x49fdb4", "xrefs": ["PlayLayer::destroyPlayer @ 0x313d4c"], "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"}