{"type": "func", "start": 8804368, "end": 8804628, "name": "GJBaseGameLayer::activateTimerTrigger", "pseudocode": "// \n// GJBaseGameLayer::activateTimerTrigger from 0x865810 to 0x865914 (260 bytes)\n// \n// 2 xrefs:\n// > TimerTriggerGameObject::triggerObject @ 0x770a6c\n// > <???> @ 0x67c50\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 GJBaseGameLayer::activateTimerTrigger(GJBaseGameLayer *a1, TimerTriggerGameObject *a2, std::vector<int> *const a3)\n{\n  int m_objectID; // w8\n  int m_controlType; // w1\n\n  m_objectID = a2->m_objectID;\n  switch ( m_objectID )\n  {\n    case 3615:\n      GJEffectManager::runTimerTrigger(\n        a1->m_effectManager,\n        a2->m_itemID,\n        a2->m_targetTime,\n        a2->m_multiActivate,\n        a2->m_targetGroupID,\n        a3,\n        a2->m_uniqueID,\n        a2->m_controlID);\n      break;\n    case 3617:\n      m_controlType = a2->m_controlType;\n      if ( m_controlType )\n      {\n        if ( m_controlType == 1 )\n          GJEffectManager::pauseTimer(a1->m_effectManager, a2->m_itemID);\n      }\n      else\n      {\n        GJEffectManager::resumeTimer(a1->m_effectManager, a2->m_itemID);\n      }\n      break;\n    case 3614:\n      GJEffectManager::startTimer(\n        a1->m_effectManager,\n        a2->m_itemID,\n        a2->m_startTime,\n        a2->m_targetTime,\n        a2->m_stopTimeEnabled,\n        !a2->m_startPaused,\n        a2->m_dontOverride,\n        a2->m_timeMod,\n        a2->m_ignoreTimeWarp,\n        a2->m_targetGroupID,\n        a3,\n        a2->m_uniqueID,\n        a2->m_controlID);\n      break;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::activateTimerTrigger from 0x865810 to 0x865914 (260 bytes)\n; \n; 2 xrefs:\n; > TimerTriggerGameObject::triggerObject @ 0x770a6c\n; > <???> @ 0x67c50\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\nSUB             SP, SP, #0x20                                          ; +0x0, 0x865810\nMOV             X6, X1                                                 ; +0x4, 0x865814\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x8, 0x865818\nADD             X29, SP, #0x10                                         ; +0xc, 0x86581c\nLDR             W8, [X1,#0x3F4]                                        ; +0x10, 0x865820\nCMP             W8, #0xE1F                                             ; +0x14, 0x865824\nB.EQ            loc_8658CC                                             ; +0x18, 0x865828\nCMP             W8, #0xE21                                             ; +0x1c, 0x86582c\nB.EQ            loc_8658A4                                             ; +0x20, 0x865830\nCMP             W8, #0xE1E                                             ; +0x24, 0x865834\nB.EQ            loc_86584C                                             ; +0x28, 0x865838\nSUB             SP, X29, #0x10                                         ; +0x2c, 0x86583c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x865840\nADD             SP, SP, #0x20 ; ' '                                    ; +0x34, 0x865844\nRET                                                                    ; +0x38, 0x865848\nMOV             X8, X1                                                 ; +0x3c, 0x86584c\nLDRB            W3, [X1,#0x738]                                        ; +0x40, 0x865850\nLDR             S2, [X1,#0x734]                                        ; +0x44, 0x865854\nLDRB            W4, [X1,#0x731]                                        ; +0x48, 0x865858\nLDR             D0, [X8,#0x720]                                        ; +0x4c, 0x86585c\nLDRB            W5, [X6,#0x732]                                        ; +0x50, 0x865860\nLDR             D1, [X8,#0x728]                                        ; +0x54, 0x865864\nLDR             W9, [X8,#0x384]                                        ; +0x58, 0x865868\nLDR             X0, [X0,#0x9A8]                                        ; +0x5c, 0x86586c\nMOV             X7, X2                                                 ; +0x60, 0x865870\nLDR             W1, [X1,#0x680]                                        ; +0x64, 0x865874\nEOR             W3, W3, #1                                             ; +0x68, 0x865878\nLDRB            W2, [X6,#0x730]                                        ; +0x6c, 0x86587c\nLDR             W8, [X8,#0x678]                                        ; +0x70, 0x865880\nLDR             W6, [X6,#0x5A8]                                        ; +0x74, 0x865884\nSTR             W9, [SP,#0x10+var_10]                                  ; +0x78, 0x865888\nSTR             W8, [SP,#0x10+var_8]                                   ; +0x7c, 0x86588c\nBL              _ZN15GJEffectManager10startTimerEiddbbbfbiRKSt6vectorIiSaIiEEii; GJEffectManager::startTimer(int,double,double,bool,bool,bool,float,bool,int,std::vector<int> const&,int,int) ; +0x80, 0x865890\nSUB             SP, X29, #0x10                                         ; +0x84, 0x865894\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x88, 0x865898\nADD             SP, SP, #0x20 ; ' '                                    ; +0x8c, 0x86589c\nRET                                                                    ; +0x90, 0x8658a0\nLDR             W1, [X1,#0x73C]                                        ; +0x94, 0x8658a4\nCBZ             W1, loc_8658FC                                         ; +0x98, 0x8658a8\nCMP             W1, #1                                                 ; +0x9c, 0x8658ac\nB.NE            loc_86583C                                             ; +0xa0, 0x8658b0\nSUB             SP, X29, #0x10                                         ; +0xa4, 0x8658b4\nLDR             X0, [X0,#0x9A8]; this                                  ; +0xa8, 0x8658b8\nLDR             W1, [X6,#0x680]; int                                   ; +0xac, 0x8658bc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xb0, 0x8658c0\nADD             SP, SP, #0x20 ; ' '                                    ; +0xb4, 0x8658c4\nB               _ZN15GJEffectManager10pauseTimerEi; GJEffectManager::pauseTimer(int) ; +0xb8, 0x8658c8\nSUB             SP, X29, #0x10                                         ; +0xbc, 0x8658cc\nMOV             X4, X2                                                 ; +0xc0, 0x8658d0\nLDR             D0, [X1,#0x728]                                        ; +0xc4, 0x8658d4\nLDRB            W2, [X6,#0x739]                                        ; +0xc8, 0x8658d8\nLDR             W3, [X6,#0x5A8]                                        ; +0xcc, 0x8658dc\nLDR             W5, [X6,#0x384]                                        ; +0xd0, 0x8658e0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xd4, 0x8658e4\nLDR             X0, [X0,#0x9A8]                                        ; +0xd8, 0x8658e8\nADD             SP, SP, #0x20 ; ' '                                    ; +0xdc, 0x8658ec\nLDR             W1, [X1,#0x680]                                        ; +0xe0, 0x8658f0\nLDR             W6, [X6,#0x678]                                        ; +0xe4, 0x8658f4\nB               _ZN15GJEffectManager15runTimerTriggerEidbiRKSt6vectorIiSaIiEEii; GJEffectManager::runTimerTrigger(int,double,bool,int,std::vector<int> const&,int,int) ; +0xe8, 0x8658f8\nSUB             SP, X29, #0x10                                         ; +0xec, 0x8658fc\nLDR             X0, [X0,#0x9A8]; this                                  ; +0xf0, 0x865900\nLDR             W1, [X6,#0x680]; int                                   ; +0xf4, 0x865904\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xf8, 0x865908\nADD             SP, SP, #0x20 ; ' '                                    ; +0xfc, 0x86590c\nB               _ZN15GJEffectManager11resumeTimerEi; GJEffectManager::resumeTimer(int) ; +0x100, 0x865910", "xrefs": ["TimerTriggerGameObject::triggerObject @ 0x770a6c", "<???> @ 0x67c50"], "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"}