// // PlayLayer::getEndPosition from 0x5c9fcc to 0x5ca03c (112 bytes) // // 5 xrefs: // > PlayLayer::showCompleteText @ 0x5ca37c // > PlayLayer::spawnCircle @ 0x5ca62c // > PlayLayer::showCompleteEffect @ 0x5ca90c // > PlayLayer::levelComplete @ 0x5d0dc8 // > @ 0xa59f0 // // 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 PlayLayer::getEndPosition(PlayLayer *a1) { cocos2d::CCPoint *v1; // x8 EndPortalObject *m_endPortal; // x2 const cocos2d::CCPoint *v5; // x0 cocos2d::CCPoint *v6; // [xsp+18h] [xbp+18h] cocos2d::CCPoint result; // 0:s0.4,4:s1.4 if ( a1->m_isPlatformer || (m_endPortal = a1->m_endPortal) == nullptr || a1->m_platformerEndTrigger ) { cocos2d::CCPoint::CCPoint(v1, &a1->m_endPosition); } else { v6 = v1; v5 = m_endPortal->getPosition(m_endPortal); cocos2d::CCPoint::CCPoint(v6, v5); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source