// // EndPortalObject::getSpawnPos from 0x140209330 to 0x1402093e9 (185 bytes) // // 3 xrefs: // > PlayLayer::checkForEnd @ 0x140513e98 // > PlayLayer::checkForEnd @ 0x140513ed2 // > @ 0x14091b32c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:28:16 +0000 // // Hidden C++ exception states: #wind=1 cocos2d::CCPoint *__fastcall EndPortalObject::getSpawnPos(__int64 a1, cocos2d::CCPoint *a2) { float v4; // xmm6_4 __int64 v5; // rax void *v7; // [rsp+40h] [rbp+8h] if ( *(_BYTE *)(a1 + 1368) ) v4 = -1.0; else v4 = 1.0; v5 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v7 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v5 = qword_14090BFD0; } cocos2d::CCPoint::CCPoint( a2, *(float *)(a1 + 968) - (float)((float)(300.0 / *(float *)(*(_QWORD *)(v5 + 560) + 424LL)) * v4), *(float *)(a1 + 972)); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source