// // KeybindingsLayer::onSettings from 0x1403d8230 to 0x1403d8440 (528 bytes) // // 2 xrefs: // > KeybindingsLayer::init @ 0x1403d5e61 // > @ 0x140924ab8 // // 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:37 +0000 // // Hidden C++ exception states: #wind=2 void __fastcall KeybindingsLayer::onSettings(__int64 a1) { __int64 v2; // rbx char *v3; // rsi void *v4; // r8 __int64 (__fastcall *v5)(__int64); // rdx void *Block[2]; // [rsp+30h] [rbp-28h] BYREF __int64 v7; // [rsp+40h] [rbp-18h] v2 = (*(__int64 (__fastcall **)(__int64, void **))(*(_QWORD *)a1 + 1248LL))(a1, Block); v3 = (char *)operator new(0x2F0u); memset(v3, 0, 0x2F0u); FLAlertLayer::FLAlertLayer((__int64)v3); *(_QWORD *)v3 = &KeybindingsSettingsPopup::`vftable'; *((_QWORD *)v3 + 40) = &KeybindingsSettingsPopup::`vftable'; *((_QWORD *)v3 + 41) = &KeybindingsSettingsPopup::`vftable'; *((_QWORD *)v3 + 42) = &KeybindingsSettingsPopup::`vftable'; *((_QWORD *)v3 + 43) = &KeybindingsSettingsPopup::`vftable'; *((_QWORD *)v3 + 44) = &KeybindingsSettingsPopup::`vftable'; *((_QWORD *)v3 + 51) = &KeybindingsSettingsPopup::`vftable'; *((_QWORD *)v3 + 54) = &KeybindingsSettingsPopup::`vftable'; *((_QWORD *)v3 + 68) = &KeybindingsSettingsPopup::`vftable'; *((_QWORD *)v3 + 83) = &KeybindingsSettingsPopup::`vftable'; *((_QWORD *)v3 + 84) = 0; *((_QWORD *)v3 + 85) = 0; *((_QWORD *)v3 + 86) = 0; *((_QWORD *)v3 + 87) = 0; *((_DWORD *)v3 + 176) = 0; *(_OWORD *)(v3 + 712) = 0; *((_QWORD *)v3 + 91) = 0; *((_QWORD *)v3 + 92) = 15; v3[712] = 0; *((_DWORD *)v3 + 186) = 0; if ( (unsigned __int8)KeybindingsSettingsPopup::init(v3, a1, v2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3); } else { (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v3 + 8LL))(v3, 1); v3 = nullptr; } v4 = Block[0]; if ( Block[0] ) { if ( (unsigned __int64)(40 * ((signed __int64)(v7 - (unsigned __int64)Block[0]) / 40)) >= 0x1000 ) { v4 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v4 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v4); *(_OWORD *)Block = 0; v7 = 0; } if ( v3 ) { v5 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1064LL); if ( v5 == FLAlertLayer::show ) FLAlertLayer::show((__int64)v3); else v5((__int64)v3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source