// // GameSettingsLayer::init from 0x100164394 to 0x1001644ac (280 bytes) // // 1 xrefs: // > GameSettingsLayer::create @ 0x100164344 // // 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 10:59:47 +0000 // __int64 __fastcall GameSettingsLayer::init(__int64 a1, __int64 a2, __int64 a3) { __int64 v6; // x21 __int64 v7; // x8 __int64 v8; // x9 _WORD v10[2]; // [xsp+Ch] [xbp-24h] BYREF v6 = SetupTriggerPopup::init(a1, 0, 0, 7, 400.0, 280.0, 0.0); if ( (_DWORD)v6 ) { *(_QWORD *)(a1 + 1096) = a2; SetupTriggerPopup::preSetup(a1); qmemcpy(v10, "PWi", 3); SetupTriggerPopup::setCustomBGColor(a1, v10); *(_BYTE *)(a1 + 596) = 1; SetupTriggerPopup::addCloseButton(a1); GameSettingsLayer::setupTabs(a1); GameSettingsLayer::buildTabContent(a1); GameSettingsLayer::addSpecialContent(a1); SetupTriggerPopup::postSetup(a1); v7 = (unsigned int)dword_1009D3E88; if ( (dword_1009D3E88 & 0x80000000) == 0 ) { v8 = *(_QWORD *)(a1 + 1016); if ( dword_1009D3E88 < (int)(954437177 * ((unsigned __int64)(*(_QWORD *)(a1 + 1024) - v8) >> 3)) ) { *(_DWORD *)(v8 + 72LL * (unsigned int)dword_1009D3E88 + 52) = dword_1009F4060; a3 = v7; } } (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1504LL))(a1, a3); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source