// // PlayerObject::spawnPortalCircle from 0x100400780 to 0x1004008ac (300 bytes) // // 14 xrefs: // > GJBaseGameLayer::teleportPlayer @ 0x1000fd056 // > GJBaseGameLayer::teleportPlayer @ 0x1000fd15b // > GJBaseGameLayer::toggleDualMode @ 0x1001019b6 // > GJBaseGameLayer::toggleFlipped @ 0x100101f63 // > GJBaseGameLayer::toggleFlipped @ 0x100101fb7 // > PlayerObject::flipGravity @ 0x1003f0a37 // > PlayerObject::togglePlayerScale @ 0x1004002e3 // > PlayerObject::toggleFlyMode @ 0x1004034ca // > PlayerObject::toggleBirdMode @ 0x100403f90 // > PlayerObject::toggleSwingMode @ 0x1004044e7 // > PlayerObject::toggleDartMode @ 0x100404f11 // > PlayerObject::toggleRollMode @ 0x10040543d // > PlayerObject::toggleRobotMode @ 0x100405ac4 // > PlayerObject::toggleSpiderMode @ 0x100405f07 // // 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 12:30:02 +0000 // void __fastcall PlayerObject::spawnPortalCircle(__int64 a1, int a2, float a3) { _QWORD *v3; // r15 __int64 v4; // rsi __int64 v5; // rax __int64 v6; // rcx __int64 v7; // rax if ( *(_BYTE *)(a1 + 1972) == 1 && !*(_BYTE *)(a1 + 1969) && !*(_BYTE *)(*(_QWORD *)(GameManager::sharedState() + 544) + 12605LL) && !*(_BYTE *)(GameManager::sharedState() + 925) && !sub_100278420((float *)(a1 + 2488), (float *)&qword_100BE37D8) ) { v3 = (_QWORD *)CCCircleWave::create_1(1, a3, 5.0, 0.30000001); *((_WORD *)v3 + 170) = a2; *((_BYTE *)v3 + 342) = BYTE2(a2); (*(void (__fastcall **)(_QWORD *, __int64))(*v3 + 184LL))(v3, a1 + 2488); v4 = *(_QWORD *)(a1 + 2592); if ( v4 ) { CCCircleWave::followObject(v3, v4, 1); v5 = *(_QWORD *)(GameManager::sharedState() + 544); v6 = v5 + 13992; if ( !v5 ) v6 = 0; v3[46] = v6; v7 = GameManager::sharedState(); PlayLayer::addCircle(*(_QWORD *)(v7 + 544), (__int64)v3); } (*(void (__fastcall **)(_QWORD, _QWORD *, _QWORD))(**(_QWORD **)(a1 + 3024) + 464LL))(*(_QWORD *)(a1 + 3024), v3, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source