// // GJBaseGameLayer::getPortalTargetPos from 0x46e1d0 to 0x46e244 (116 bytes) // // 1 xrefs: // > GJBaseGameLayer::teleportPlayer @ 0x4912d0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // cocos2d::CCPoint *GJBaseGameLayer::getPortalTargetPos( cocos2d::CCPoint *__return_ptr retstr, GJBaseGameLayer *a2, TeleportPortalObject *a3, GameObject *a4, PlayerObject *a5) { float x; // r7 _BYTE v9[4]; // [sp+4h] [bp-10h] BYREF float v10; // [sp+8h] [bp-Ch] if ( !a4 || a3->m_objectID == 747 ) { x = a5->getPosition(a5)->x; a3->getRealPosition((cocos2d::CCPoint *)v9, a3); cocos2d::CCPoint::CCPoint(retstr, x, v10 + a3->m_teleportYOffset); } else { a4->getRealPosition(retstr, a4); } return retstr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source