// // GJAccountSettingsLayer::onMessageSetting from 0x14039e9a0 to 0x14039ea33 (147 bytes) // // 6 xrefs: // > GJAccountSettingsLayer::init @ 0x14039d2bb // > GJAccountSettingsLayer::init @ 0x14039d397 // > GJAccountSettingsLayer::init @ 0x14039d463 // > @ 0x1408bf390 // > @ 0x1408bf3e8 // > @ 0x1409233c0 // // This function is hookable on this platform (idp: pc, 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 11:31:16 +0000 // __int64 __fastcall GJAccountSettingsLayer::onMessageSetting(__int64 a1, __int64 a2) { __int64 result; // rax unsigned int *v4; // rdi __int64 *v5; // rdi __int64 *i; // rbp __int64 v7; // rbx __int64 v8; // rdx if ( a2 ) *(_DWORD *)(a1 + 668) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); result = *(_QWORD *)(a1 + 712); if ( result ) { v4 = *(unsigned int **)(result + 56); result = *v4; if ( (_DWORD)result ) { v5 = *((__int64 **)v4 + 2); for ( i = &v5[result - 1]; v5 <= i; ++v5 ) { v7 = *v5; if ( !*v5 ) break; LOBYTE(v8) = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v7 + 56LL))(*v5) != *(_DWORD *)(a1 + 668); result = CCMenuItemToggler::toggle(v7, v8); } } } return result; }