// // GJBaseGameLayer::checkCameraLimitAfterTeleport from 0x9e5890 to 0x9e597c (236 bytes) // // 5 xrefs: // > PlayerObject::spiderTestJumpInternal @ 0x762f54 // > PlayerObject::spiderTestJumpY @ 0x764ce8 // > PlayerObject::spiderTestJumpX @ 0x76573c // > GJBaseGameLayer::teleportPlayer @ 0x9e5cc8 // > @ 0xb2330 // // This function is hookable on this platform (idp: arm, 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:58:59 +0000 // __int64 __fastcall GJBaseGameLayer::checkCameraLimitAfterTeleport(GJBaseGameLayer *this, PlayerObject *a2, float a3) { cocos2d::CCDirector *v5; // x0 __int64 v6; // x0 __int64 v9; // [xsp+40h] [xbp+40h] BYREF if ( *((float *)this + 143) == 0.0 && !*((_BYTE *)a2 + 2427) ) { v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)*((unsigned __int8 *)a2 + 2427)); cocos2d::CCDirector::getWinSize(&v9, v5); v6 = (*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2); if ( *(float *)(v6 + 4) > (float)(a3 + (float)(*((float *)this + 249) + *((float *)&v9 + 1))) || *(float *)((*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)a2 + 192LL))(a2) + 4) < (float)(*((float *)this + 249) - a3) ) { *((_BYTE *)this + 1721) = 1; GJBaseGameLayer::updateCamera(this, 0.0); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source