// // PlayLayer::prepareMusic from 0x6f7470 to 0x6f75b4 (324 bytes) // // 3 xrefs: // > PlayLayer::setupHasCompleted @ 0x708284 // > PlayLayer::startMusic @ 0x710eb4 // > @ 0xd6b58 // // 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 12:51:51 +0000 // __int64 __fastcall PlayLayer::prepareMusic(PlayLayer *this, unsigned __int8 a2) { char *v2; // x20 __int64 v6; // x23 __int64 v7; // x0 double v8; // d9 float v9; // s8 FMODAudioEngine *v10; // x0 float v11; // s0 __int64 v12[3]; // [xsp+60h] [xbp+60h] BYREF v2 = (char *)this + 12288; if ( (!*((_BYTE *)this + 12544) || *((_BYTE *)this + 12545)) && !*((_BYTE *)this + 12650) ) { v6 = FMODAudioEngine::sharedEngine((FMODAudioEngine *)*((unsigned __int8 *)this + 12650)); GJGameLevel::getAudioFileName(v12, *((GJGameLevel **)this + 242)); FMODAudioEngine::loadMusic( v6, (char *)v12, *((_BYTE *)this + 12238), 0, 0, *(_BYTE *)(*((_QWORD *)this + 409) + 350LL), 1.0, 0.0, 1.0); if ( (v12[0] & 1) != 0 ) operator delete((void *)v12[2]); v7 = *((_QWORD *)this + 409); v8 = *((double *)this + 116); v9 = *(float *)(v7 + 344); if ( !*(_BYTE *)(v7 + 350) ) { v10 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine((FMODAudioEngine *)v7); v11 = (v9 + v8) * 1000.0; FMODAudioEngine::setMusicTimeMS(v10, (unsigned int)v11, a2, 0); } v2[2592] = 1; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source