// // EndPortalObject::getSpawnPos from 0x507fa4 to 0x507ff4 (80 bytes) // // 2 xrefs: // > PlayLayer::checkForEnd @ 0x3ff5ba // > PlayLayer::checkForEnd @ 0x3ff5ec // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:51:25 +0000 // EndPortalObject *__fastcall EndPortalObject::getSpawnPos(EndPortalObject *this, int a2) { float v4; // s16 int v5; // r3 float v6; // s15 v4 = *(float *)(a2 + 824); v5 = *(_DWORD *)(GameManager::sharedState(this) + 404); v6 = -1.0; if ( !*(_BYTE *)(a2 + 1172) ) v6 = 1.0; cocos2d::CCPoint::CCPoint(this, v4 - (float)((float)(300.0 / *(float *)(v5 + 328)) * v6), *(float *)(a2 + 828)); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source