// // EndPortalObject::getSpawnPos from 0x1401381a0 to 0x140138256 (182 bytes) // // 3 xrefs: // > PlayLayer::checkForEnd @ 0x1403b4d26 // > PlayLayer::checkForEnd @ 0x1403b4d63 // > @ 0x1406ca098 // // 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 // // Hidden C++ exception states: #wind=1 cocos2d::CCPoint EndPortalObject::getSpawnPos(EndPortalObject *a1) { cocos2d::CCPoint *v1; // rdx cocos2d::CCPoint *v2; // rdi float v4; // xmm6_4 __int64 v5; // rax void *v7; // [rsp+40h] [rbp+8h] v2 = v1; if ( a1->m_flippedX ) v4 = -1.0; else v4 = 1.0; v5 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v7 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00(v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v5 = qword_1406C2ED8; } cocos2d::CCPoint::CCPoint( v2, a1->m_startPosition.x - (float)((float)(300.0 / *(float *)(*(_QWORD *)(v5 + 520) + 424LL)) * v4), a1->m_startPosition.y); return (cocos2d::CCPoint)v2; }