// // cocos2d::CCEGLView::showMessage from 0x180078d20 to 0x180078dbc (156 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b4af4 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall cocos2d::CCEGLView::showMessage(__int64 a1, __int64 a2) { const CHAR *v3; // rdi HWND v4; // rax unsigned __int64 v5; // rdx _QWORD *v6; // rcx v3 = (const CHAR *)a2; if ( *(_QWORD *)(a2 + 24) > 0xFu ) v3 = *(const CHAR **)a2; v4 = (HWND)sub_1800D8320(*(_QWORD *)(a1 + 200)); MessageBoxA(v4, v3, "Message", 0); v5 = *(_QWORD *)(a2 + 24); if ( v5 > 0xF ) { v6 = *(_QWORD **)a2; if ( v5 + 1 >= 0x1000 ) { if ( (unsigned __int64)v6 - *(v6 - 1) - 8 > 0x1F ) invalid_parameter_noinfo_noreturn(); v6 = (_QWORD *)*(v6 - 1); } j_j_free_0(v6); } *(_QWORD *)(a2 + 16) = 0; *(_QWORD *)(a2 + 24) = 15; *(_BYTE *)a2 = 0; }