// // GJBaseGameLayer::checkCameraLimitAfterTeleport from 0x1000fd7e0 to 0x1000fd895 (181 bytes) // // 3 xrefs: // > PlayerObject::spiderTestJumpInternal @ 0x1003fb4be // > PlayerObject::spiderTestJumpX @ 0x1003fcd1b // > PlayerObject::spiderTestJumpY @ 0x1003fdbab // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:21:19 +0000 // void __fastcall GJBaseGameLayer::checkCameraLimitAfterTeleport(__int64 a1, _BYTE *a2, float a3) { __int64 v4; // rsi __int64 v5; // rax __int64 v6; // rax float v7[2]; // [rsp-2Ch] [rbp-2Ch] BYREF float v8; // [rsp-24h] [rbp-24h] if ( *(float *)(a1 + 572) == 0.0 && !a2[2427] ) { v8 = a3; v4 = cocos2d::CCDirector::sharedDirector(a1, a2); cocos2d::CCDirector::getWinSize(v7, v4); v5 = (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a2 + 192LL))(a2); if ( *(float *)(v5 + 4) > (float)((float)(*(float *)(a1 + 996) + v7[1]) + v8) || (v6 = (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a2 + 192LL))(a2), (float)(*(float *)(a1 + 996) - v8) > *(float *)(v6 + 4)) ) { *(_BYTE *)(a1 + 1721) = 1; GJBaseGameLayer::updateCamera(a1, 0.0); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source