// // ProfilePage::onSettings from 0x140559690 to 0x14055980e (382 bytes) // // 2 xrefs: // > ProfilePage::loadPageFromUserInfo @ 0x140555701 // > @ 0x14092bff4 // // 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:34:12 +0000 // // Hidden C++ exception states: #wind=2 __int64 __fastcall ProfilePage::onSettings(__int64 a1) { int v1; // edi _QWORD *v2; // rsi _QWORD *v3; // rax __int64 (__fastcall *v4)(__int64); // rdx v1 = *(_DWORD *)(a1 + 736); v2 = operator new(0x2E8u); FLAlertLayer::FLAlertLayer((__int64)v2); *v2 = &GJAccountSettingsLayer::`vftable'; v2[40] = &GJAccountSettingsLayer::`vftable'; v2[41] = &GJAccountSettingsLayer::`vftable'; v2[42] = &GJAccountSettingsLayer::`vftable'; v2[43] = &GJAccountSettingsLayer::`vftable'; v2[44] = &GJAccountSettingsLayer::`vftable'; v2[51] = &GJAccountSettingsLayer::`vftable'; v2[54] = &GJAccountSettingsLayer::`vftable'; v2[68] = &GJAccountSettingsLayer::`vftable'; v2[83] = 0; v2[84] = 0; *((_DWORD *)v2 + 170) = 1; *((_DWORD *)v2 + 171) = 2; v2[86] = 0; v2[87] = 0; v2[88] = 0; v3 = operator new(0x48u); *v3 = v3; v3[1] = v3; v3[2] = v3; *((_WORD *)v3 + 12) = 257; v2[87] = v3; v2[89] = 0; v2[90] = 0; v2[91] = 0; v2[92] = 0; if ( GJAccountSettingsLayer::init((__int64)v2, v1) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(_QWORD *, __int64))(*v2 + 8LL))(v2, 1); v2 = nullptr; } v4 = *(__int64 (__fastcall **)(__int64))(*v2 + 1064LL); if ( v4 == FLAlertLayer::show ) return FLAlertLayer::show((__int64)v2); else return v4((__int64)v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source