// // GJBaseGameLayer::getPortalTargetPos from 0x1001212b0 to 0x100121330 (128 bytes) // // 0 xrefs: // // 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 GJBaseGameLayer::getPortalTargetPos( GJBaseGameLayer *a1, TeleportPortalObject *a2, GameObject *a3, PlayerObject *a4) { __int64 v4; // r8 _BYTE v7[4]; // [rsp+4h] [rbp-1Ch] BYREF float v8; // [rsp+8h] [rbp-18h] float v9; // [rsp+Ch] [rbp-14h] cocos2d::CCPoint result; // 0:xmm0_8.8 if ( a4 && a3->m_objectID != 747 ) return ((cocos2d::CCPoint (__fastcall *)(GJBaseGameLayer *, PlayerObject *))a4->getRealPosition)(a1, a4); v9 = *(float *)(*(__int64 (__fastcall **)(__int64, TeleportPortalObject *))(*(_QWORD *)v4 + 192LL))(v4, a2); ((void (__fastcall *)(_BYTE *, GameObject *))a3->getRealPosition)(v7, a3); result = (cocos2d::CCPoint)LODWORD(v9); sub_10028CBE0(a1, v9, v8 + a3[1].m_sQuad.bl.texCoords.u); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source