// // TeleportPortalObject::setPosition from 0x1404b23a0 to 0x1404b243a (154 bytes) // // 4 xrefs: // > @ 0x140611138 // > @ 0x1406a83e8 // > @ 0x1406a83f8 // > @ 0x1406dc9ec // // 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 // void TeleportPortalObject::setPosition(TeleportPortalObject *a1, const cocos2d::CCPoint *a2) { TeleportPortalObject *m_orangePortal; // rcx float TeleportXOff; // xmm0_4 const cocos2d::CCPoint *v5; // rax cocos2d::CCPoint v6; // [rsp+30h] [rbp+8h] BYREF cocos2d::CCPoint::CCPoint(&v6); if ( a1->m_isYellowPortal ) v6.x = a1->getPosition_0(a1)->x; GameObject::setPosition(a1, &v6); m_orangePortal = a1->m_orangePortal; if ( m_orangePortal ) { ((void (*)(void))m_orangePortal->getPosition_0)(); TeleportXOff = TeleportPortalObject::getTeleportXOff(a1, nullptr); cocos2d::CCPoint::CCPoint(TeleportXOff + v6.x, TeleportXOff + v6.x); GameObject::setPosition(a1->m_orangePortal, v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source