{"type": "func", "start": 4297053324, "end": 4297053408, "name": "GJBaseGameLayer::applyTimeWarp", "pseudocode": "// \n// GJBaseGameLayer::applyTimeWarp from 0x1001fd48c to 0x1001fd4e0 (84 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x10078fe18\n// > <???> @ 0x1007c0c30\n// > <???> @ 0x1007f4390\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 __fastcall GJBaseGameLayer::applyTimeWarp(GJBaseGameLayer *a1, float a2)\n{\n  cocos2d::CCDirector *v3; // x0\n\n  if ( a1->m_gameState.m_timeWarpRelated != a2 && a1->m_started )\n  {\n    a1->m_gameState.m_timeWarpRelated = a2;\n    v3 = cocos2d::CCDirector::sharedDirector();\n    *(float *)(((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getScheduler)(v3) + 56) = a1->m_gameState.m_timeWarpRelated;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::applyTimeWarp from 0x1001fd48c to 0x1001fd4e0 (84 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x10078fe18\n; > <???> @ 0x1007c0c30\n; > <???> @ 0x1007f4390\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             S1, [X0,#0x338]                                        ; +0x0, 0x1001fd48c\nFCMP            S1, S0                                                 ; +0x4, 0x1001fd490\nB.EQ            locret_1001FD4DC                                       ; +0x8, 0x1001fd494\nSTP             X20, X19, [SP,#var_20]!                                ; +0xc, 0x1001fd498\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0x10, 0x1001fd49c\nADD             X29, SP, #0x20+var_10                                  ; +0x14, 0x1001fd4a0\nMOV             X19, X0                                                ; +0x18, 0x1001fd4a4\nMOV             W8, #0x30E8                                            ; +0x1c, 0x1001fd4a8\nLDRB            W8, [X0,X8]                                            ; +0x20, 0x1001fd4ac\nCMP             W8, #1                                                 ; +0x24, 0x1001fd4b0\nB.NE            loc_1001FD4D4                                          ; +0x28, 0x1001fd4b4\nSTR             S0, [X19,#0x338]                                       ; +0x2c, 0x1001fd4b8\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x30, 0x1001fd4bc\nLDR             X8, [X0]                                               ; +0x34, 0x1001fd4c0\nLDR             X8, [X8,#0x80]                                         ; +0x38, 0x1001fd4c4\nBLR             X8                                                     ; +0x3c, 0x1001fd4c8\nLDR             S0, [X19,#0x338]                                       ; +0x40, 0x1001fd4cc\nSTR             S0, [X0,#0x38]                                         ; +0x44, 0x1001fd4d0\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x48, 0x1001fd4d4\nLDP             X20, X19, [SP+0x20+var_20],#0x20                       ; +0x4c, 0x1001fd4d8\nRET                                                                    ; +0x50, 0x1001fd4dc", "xrefs": ["<???> @ 0x10078fe18", "<???> @ 0x1007c0c30", "<???> @ 0x1007f4390"], "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"}