// // ShareLevelLayer::updateNotifyToggles from 0x4a2736 to 0x4a278c (86 bytes) // // 2 xrefs: // > ShareLevelLayer::setupNotifyToggles @ 0x4a2806 // > ShareLevelSettingsLayer::onClose @ 0x4a286a // // 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:49:51 +0000 // int __fastcall ShareLevelLayer::updateNotifyToggles(ShareLevelLayer *this) { int v2; // r1 GameManager *v3; // r0 GameManager *v4; // r0 if ( *(_BYTE *)(*((_DWORD *)this + 130) + 444) || (v3 = (GameManager *)GJAccountManager::sharedState(this), *((_DWORD *)v3 + 70) - *((_DWORD *)v3 + 71) <= 0) || *(_BYTE *)(*((_DWORD *)this + 130) + 609) ) { v2 = 0; } else { v4 = (GameManager *)GameManager::sharedState(v3); v2 = (unsigned __int8)GameManager::safeModeEnabled(v4) ^ 1; } return GameToolbox::NotifyToggleSet::setState( (ShareLevelLayer *)((char *)this + 536), v2, (bool *)(*((_DWORD *)this + 130) + 446), (bool *)(*((_DWORD *)this + 130) + 447)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source