// // DrawGridLayer::update from 0x787328 to 0x787430 (264 bytes) // // 2 xrefs: // > @ 0xead60 // > @ 0x1436238 // // 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:53:25 +0000 // void __fastcall DrawGridLayer::update(DrawGridLayer *this, float a2) { __int64 v2; // x1 __int64 v3; // x1 FMODAudioEngine *v6; // x0 _BOOL4 isMusicPlaying; // w20 __int64 v8; // x5 LevelTools *v9; // x0 FMODAudioEngine *v10; // x0 float v11; // s8 float v12; // s1 float MusicTime; // s0 float v14; // s2 float v15; // s2 FMODAudioEngine *v16; // x0 char v17; // [xsp+30h] [xbp+30h] BYREF v2 = *((_QWORD *)this + 62); *((_DWORD *)this + 120) = *((_DWORD *)this + 119); v3 = *(_QWORD *)(v2 + 14248); if ( v3 && *(_BYTE *)(v3 + 668) ) { v6 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(this); isMusicPlaying = FMODAudioEngine::isMusicPlaying(v6, 0); v8 = *((_QWORD *)this + 62); if ( *((float *)this + 118) == -1.0 ) *((_DWORD *)this + 118) = *(_DWORD *)(*(_QWORD *)(v8 + 14248) + 672LL); v9 = LevelTools::posForTimeInternal( *((LevelTools **)this + 70), *((float *)this + 119), (cocos2d::CCArray *)*(unsigned int *)(*(_QWORD *)(v8 + 3272) + 332LL), *(_BYTE *)(*(_QWORD *)(v8 + 3272) + 341LL), 0, 1u, (_DWORD *)(v8 + 832), (cocos2d::CCPoint *)&v17); v11 = a2 * LevelTools::getLastTimewarp(v9); if ( isMusicPlaying ) { v16 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(v10); MusicTime = FMODAudioEngine::getMusicTime(v16, 0); v12 = *((float *)this + 118); } else { v12 = *((float *)this + 118); MusicTime = v11 + v12; } v14 = MusicTime; if ( v12 != -1.0 ) { if ( vabds_f32(MusicTime, v12) < 1000.0 ) { v15 = *((float *)this + 119); *((float *)this + 118) = MusicTime; *((float *)this + 119) = v11 + v15; return; } v14 = MusicTime; } *((float *)this + 119) = v14; *((float *)this + 118) = MusicTime; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source