{"type": "func", "start": 5371027872, "end": 5371027957, "name": "GJBaseGameLayer::applyTimeWarp", "pseudocode": "// \n// GJBaseGameLayer::applyTimeWarp from 0x1402361a0 to 0x1402361f5 (85 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x1405670a0\n// > <???> @ 0x1405863f8\n// > <???> @ 0x1405c9c88\n// > <???> @ 0x14068141c\n// > <???> @ 0x14068142c\n// > <???> @ 0x1406ce0c4\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::applyTimeWarp(GJBaseGameLayer *a1, float a2)\n{\n  __int64 v3; // rax\n  float m_timeWarpRelated; // xmm6_4\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(a1);\n    m_timeWarpRelated = a1->m_gameState.m_timeWarpRelated;\n    *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 112LL))(v3) + 56) = m_timeWarpRelated;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::applyTimeWarp from 0x1402361a0 to 0x1402361f5 (85 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x1405670a0\n; > <???> @ 0x1405863f8\n; > <???> @ 0x1405c9c88\n; > <???> @ 0x14068141c\n; > <???> @ 0x14068142c\n; > <???> @ 0x1406ce0c4\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\npush    rbx                                                            ; +0x0, 0x1402361a0\nsub     rsp, 30h                                                       ; +0x2, 0x1402361a2\nmovss   xmm0, dword ptr [rcx+338h]                                     ; +0x6, 0x1402361a6\nmov     rbx, rcx                                                       ; +0xe, 0x1402361ae\nucomiss xmm0, xmm1                                                     ; +0x11, 0x1402361b1\njp      short loc_1402361B8                                            ; +0x14, 0x1402361b4\njz      short loc_1402361EF                                            ; +0x16, 0x1402361b6\ncmp     byte ptr [rcx+3258h], 0                                        ; +0x18, 0x1402361b8\njz      short loc_1402361EF                                            ; +0x1f, 0x1402361bf\nmovss   dword ptr [rcx+338h], xmm1                                     ; +0x21, 0x1402361c1\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x29, 0x1402361c9\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2e, 0x1402361ce\nmovss   xmm6, dword ptr [rbx+338h]                                     ; +0x34, 0x1402361d4\nmov     rcx, rax                                                       ; +0x3c, 0x1402361dc\nmov     rdx, [rax]                                                     ; +0x3f, 0x1402361df\ncall    qword ptr [rdx+70h]                                            ; +0x42, 0x1402361e2\nmovss   dword ptr [rax+38h], xmm6                                      ; +0x45, 0x1402361e5\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x4a, 0x1402361ea\nadd     rsp, 30h                                                       ; +0x4f, 0x1402361ef\npop     rbx                                                            ; +0x53, 0x1402361f3\nretn                                                                   ; +0x54, 0x1402361f4", "xrefs": ["<???> @ 0x1405670a0", "<???> @ 0x1405863f8", "<???> @ 0x1405c9c88", "<???> @ 0x14068141c", "<???> @ 0x14068142c", "<???> @ 0x1406ce0c4"], "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"}