// // SupportLayer::FLAlert_Clicked from 0x1404ca950 to 0x1404caaee (414 bytes) // // 2 xrefs: // > @ 0x140621290 // > @ 0x1406dd364 // // 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 // // Hidden C++ exception states: #wind=3 void SupportLayer::FLAlert_Clicked(SupportLayer *a1, FLAlertLayer *a2, bool a3) { GJAccountManager *v3; // rax __int64 v4; // rdx __int64 v5; // rcx __int64 v6; // rax const char *v7; // r9 const char *v8; // r8 cocos2d::CCString *v9; // rax const char *CString; // rax size_t v11; // r8 void *v12; // rcx void *v13; // [rsp+40h] [rbp-78h] void *Block[2]; // [rsp+48h] [rbp-70h] BYREF __int64 v15; // [rsp+58h] [rbp-60h] unsigned __int64 v16; // [rsp+60h] [rbp-58h] _QWORD v17[4]; // [rsp+68h] [rbp-50h] BYREF _QWORD v18[4]; // [rsp+88h] [rbp-30h] BYREF if ( a3 ) { v3 = GJAccountManager::sharedState(); sub_14003BDB0((__int64)v18, (__int64)&v3->m_username); v4 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v13 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v13); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = qword_1406C2ED8; } sub_14003BDB0((__int64)v17, v4 + 584); v6 = cocos2d::CCApplication::sharedApplication(v5); v7 = (const char *)v18; if ( v18[3] > 0xFu ) v7 = (const char *)v18[0]; v8 = (const char *)v17; if ( v17[3] > 0xFu ) v8 = (const char *)v17[0]; v9 = cocos2d::CCString::createWithFormat( "\n\nGame: %s\n\nUserID: %s\n\nAccount: %s\n\nPlatform: %i\n\nVersion: %i - %i", (const char *)&qword_14053C5D8, v8, v7, *(unsigned __int8 *)(v6 + 234), 22, 47); CString = cocos2d::CCString::getCString(v9); *(_OWORD *)Block = 0; v15 = 0; v16 = 0; v11 = -1; do ++v11; while ( CString[v11] ); sub_14003A930(Block, CString, v11); sub_14003A830((__int64)v17); sub_14003A830((__int64)v18); if ( v16 > 0xF ) { v12 = Block[0]; if ( v16 + 1 >= 0x1000 ) { v12 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v12 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v12); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source