//
// CreateParticlePopup::onTogglePerfLog from 0xafc830 to 0xafc890 (96 bytes)
//
// 3 xrefs:
// > ??> @ 0xe3a40
// > CreateParticlePopup::init @ 0xb027f4
// > ??> @ 0x1546d60
//
// 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 13:01:18 +0000
//
__int64 __fastcall CreateParticlePopup::onTogglePerfLog(CreateParticlePopup *this, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
GameManager *v4; // x0
GameManager *v5; // x0
unsigned int GameVariable; // w0
__int64 v7; // x1
__int64 v8; // x0
v3 = (GameManager *)GameManager::sharedState(this);
v4 = (GameManager *)GameManager::toggleGameVariable(v3, "0178");
v5 = (GameManager *)GameManager::sharedState(v4);
GameVariable = GameManager::getGameVariable(v5, "0178");
*((_BYTE *)this + 976) = GameVariable;
v7 = GameVariable;
v8 = *((_QWORD *)this + 123);
*((float *)this + 245) = 1.0;
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 344LL))(v8, v7);
}