//
// PlayLayer::updateInfoLabel from 0x409950 to 0x409ee4 (1428 bytes)
//
// 3 xrefs:
// > PlayLayer::setupHasCompleted @ 0x40a39c
// > PlayLayer::toggleInfoLabel @ 0x40cc76
// > PlayLayer::postUpdate @ 0x40ccb2
//
// 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:47:30 +0000
//
void __fastcall PlayLayer::updateInfoLabel(PlayLayer *this)
{
unsigned int *v2; // r0
FMODAudioEngine *v3; // r0
int active; // r0
unsigned int *v5; // r0
FMODAudioEngine *v6; // r0
int v7; // r0
int v8; // r4
unsigned int v9; // r7
void (__fastcall *v10)(int, _BYTE *); // r10
unsigned int v11; // [sp+Ch] [bp-204h] BYREF
unsigned int v12; // [sp+10h] [bp-200h]
_BYTE *v13; // [sp+14h] [bp-1FCh]
_BYTE v14[500]; // [sp+18h] [bp-1F8h] BYREF
if ( (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 3053) + 176))(*((_DWORD *)this + 3053)) )
{
v12 = 500;
v11 = 0;
v13 = v14;
fmt::BasicWriter::operator<<(&v11, "LevelID: ", 0);
fmt::BasicWriter::operator<<(
&v11,
*(_DWORD *)(*((_DWORD *)this + 352) + 268) - *(_DWORD *)(*((_DWORD *)this + 352) + 272));
fmt::BasicWriter::operator<<(&v11, "\nTime: ", 0);
roundf();
fmt::BasicWriter::operator<<((int)&v11);
fmt::BasicWriter::operator<<(&v11, "\nAttempt: ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2647));
fmt::BasicWriter::operator<<(&v11, "\nTaps: ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2646));
fmt::BasicWriter::operator<<(&v11, "\nTimeWarp: ", 0);
fmt::BasicWriter::operator<<((int)&v11);
fmt::BasicWriter::operator<<(&v11, "\nGravity: ", 0);
fmt::BasicWriter::operator<<((int)&v11);
if ( *((_BYTE *)this + 866)
&& *(float *)(*((_DWORD *)this + 519) + 2340) != *(float *)(*((_DWORD *)this + 520) + 2340) )
{
fmt::BasicWriter::operator<<(&v11, " / ", 0);
fmt::BasicWriter::operator<<((int)&v11);
}
fmt::BasicWriter::operator<<(&v11, "\nActive: ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2730));
fmt::BasicWriter::operator<<(&v11, "\nGradients: ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2677));
fmt::BasicWriter::operator<<(&v11, "\nParticles: ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2656));
fmt::BasicWriter::operator<<(&v11, "\nParticleC: ", 0);
fmt::BasicWriter::operator<<(&v11, 10 * (*((_DWORD *)this + 2658) / 100));
fmt::BasicWriter::operator<<(&v11, "\n", 0);
fmt::BasicWriter::operator<<(&v11, "-- Audio --\n", 0);
v2 = fmt::BasicWriter::operator<<(&v11, "Songs: ", 0);
v3 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine((FMODAudioEngine *)v2);
active = FMODAudioEngine::countActiveMusic(v3);
fmt::BasicWriter::operator<<(&v11, active);
fmt::BasicWriter::operator<<(&v11, "\n", 0);
v5 = fmt::BasicWriter::operator<<(&v11, "SFX: ", 0);
v6 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine((FMODAudioEngine *)v5);
v7 = FMODAudioEngine::countActiveEffects(v6);
fmt::BasicWriter::operator<<(&v11, v7);
fmt::BasicWriter::operator<<(&v11, "\n", 0);
fmt::BasicWriter::operator<<(&v11, "-- Perf --\n", 0);
fmt::BasicWriter::operator<<(&v11, "Move: ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2888));
fmt::BasicWriter::operator<<(&v11, "\n", 0);
fmt::BasicWriter::operator<<(&v11, "Rotate: ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2890));
fmt::BasicWriter::operator<<(&v11, "\n", 0);
fmt::BasicWriter::operator<<(&v11, "Scale: ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2889));
fmt::BasicWriter::operator<<(&v11, "\n", 0);
fmt::BasicWriter::operator<<(&v11, "Follow: ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2891));
fmt::BasicWriter::operator<<(&v11, "\n", 0);
fmt::BasicWriter::operator<<(&v11, "-- Area --\n", 0);
fmt::BasicWriter::operator<<(&v11, "Move: ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2884));
fmt::BasicWriter::operator<<(&v11, " / ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2880));
fmt::BasicWriter::operator<<(&v11, "\n", 0);
fmt::BasicWriter::operator<<(&v11, "Rotate: ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2886));
fmt::BasicWriter::operator<<(&v11, " / ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2882));
fmt::BasicWriter::operator<<(&v11, "\n", 0);
fmt::BasicWriter::operator<<(&v11, "Scale: ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2885));
fmt::BasicWriter::operator<<(&v11, " / ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2881));
fmt::BasicWriter::operator<<(&v11, "\n", 0);
fmt::BasicWriter::operator<<(&v11, "ColOp: ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2887));
fmt::BasicWriter::operator<<(&v11, " / ", 0);
fmt::BasicWriter::operator<<(&v11, *((_DWORD *)this + 2883));
fmt::BasicWriter::operator<<(&v11, "\n", 0);
v8 = *((_DWORD *)this + 3053);
v9 = v11;
v10 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v8 + 464);
if ( v11 + 1 > v12 )
fmt::internal::Array::grow((int)&v11, v11 + 1);
v13[v9] = 0;
v10(v8, v13);
if ( v13 != v14 )
{
if ( v13 )
operator delete[](v13);
}
}
}