// // EndLevelLayer::onReplay from 0x100393ae8 to 0x100393bd8 (240 bytes) // // 2 xrefs: // > EndLevelLayer::keyDown @ 0x1003954c4 // > EndLevelLayer::customSetup @ 0x100392c90 // // This function is hookable on this platform (idp: arm, 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:03:39 +0000 // double __fastcall EndLevelLayer::onReplay(_BYTE *a1) { __int64 v2; // x0 char v3; // w0 __int64 v4; // x0 __int64 v5; // x20 double result; // d0 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v8; // [xsp+1Fh] [xbp-11h] if ( (a1[619] & 1) == 0 ) { a1[619] = 1; v2 = GameManager::sharedState(a1); GameManager::getGameVariable(v2, "0024"); if ( (v3 & 1) == 0 ) PlatformToolbox::hideCursor(); v4 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::clearAllAudio(v4); v5 = FMODAudioEngine::sharedEngine(); sub_100009900(__p, "playSound_01.ogg"); FMODAudioEngine::playEffect(v5, (__int64)__p, 1.0, 0.0, 0.3); if ( v8 < 0 ) operator delete(__p[0]); (*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 1320LL))(a1, 0); (*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 1000LL))(a1, 0); (*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 1088LL))(a1, 0); (*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0); return sub_10014B2C0(*((_BYTE **)a1 + 76)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source