// // PlayLayer::getEndPosition from 0x1001198ec to 0x100119948 (92 bytes) // // 4 xrefs: // > PlayLayer::levelComplete @ 0x10011a1b8 // > PlayLayer::spawnCircle @ 0x10011a318 // > PlayLayer::showCompleteEffect @ 0x10011a4cc // > PlayLayer::showCompleteText @ 0x10011aa04 // // 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 __fastcall PlayLayer::getEndPosition(PlayLayer *a1) { __int64 *v1; // x8 __int64 *v2; // x19 EndPortalObject *m_endPortal; // x8 __int64 *p_m_endPosition; // x1 cocos2d::CCPoint result; // 0:s0.4,4:s1.4 v2 = v1; if ( a1->m_isPlatformer || (m_endPortal = a1->m_endPortal) == nullptr || a1->m_platformerEndTrigger ) p_m_endPosition = (__int64 *)&a1->m_endPosition; else p_m_endPosition = (__int64 *)((__int64 (__fastcall *)(EndPortalObject *))m_endPortal->getPosition)(a1->m_endPortal); result.x = sub_1000229B8(v2, p_m_endPosition); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source