// // SupportLayer::sendSupportMail from 0x53a828 to 0x53a956 (302 bytes) // // 1 xrefs: // > SupportLayer::FLAlert_Clicked @ 0x53a96e // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:52:14 +0000 // int __fastcall SupportLayer::sendSupportMail(SupportLayer *this) { int v1; // r0 int v2; // r3 GJAccountManager *v3; // r0 int v4; // r1 char *v5; // r2 char *v6; // r8 int v7; // r0 int v8; // r3 AppDelegate *v9; // r0 int v10; // r1 char *v11; // r2 char *v12; // r7 int v13; // r0 cocos2d::CCString *v14; // r0 const char *CString; // r8 size_t v16; // r0 char *v17; // r1 int v19[2]; // [sp+10h] [bp-28h] BYREF char *v20; // [sp+18h] [bp-20h] GJAccountManager *v21; // [sp+1Ch] [bp-1Ch] BYREF int v22; // [sp+20h] [bp-18h] char *v23; // [sp+24h] [bp-14h] AppDelegate *v24; // [sp+28h] [bp-10h] BYREF int v25; // [sp+2Ch] [bp-Ch] char *v26; // [sp+30h] [bp-8h] v1 = GameManager::sharedState(this); v21 = nullptr; v22 = 0; v23 = nullptr; if ( (*(_BYTE *)(v1 + 436) & 1) != 0 ) { v3 = (GJAccountManager *)std::string::__init((int *)&v21, *(const void **)(v1 + 444), *(_DWORD *)(v1 + 440)); } else { v2 = v1 + 436; v3 = *(GJAccountManager **)(v1 + 436); v4 = *(_DWORD *)(v2 + 4); v5 = *(char **)(v2 + 8); v21 = v3; v22 = v4; v23 = v5; } if ( ((unsigned __int8)v21 & 1) != 0 ) v6 = v23; else v6 = (char *)&v21 + 1; v7 = GJAccountManager::sharedState(v3); v24 = nullptr; v25 = 0; v26 = nullptr; if ( (*(_BYTE *)(v7 + 268) & 1) != 0 ) { v9 = (AppDelegate *)std::string::__init((int *)&v24, *(const void **)(v7 + 276), *(_DWORD *)(v7 + 272)); } else { v8 = v7 + 268; v9 = *(AppDelegate **)(v7 + 268); v10 = *(_DWORD *)(v8 + 4); v11 = *(char **)(v8 + 8); v24 = v9; v25 = v10; v26 = v11; } if ( ((unsigned __int8)v24 & 1) != 0 ) v12 = v26; else v12 = (char *)&v24 + 1; v13 = AppDelegate::get(v9); v14 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"\n" "\n" "Game: %s\n" "\n" "UserID: %s\n" "\n" "Account: %s\n" "\n" "Platform: %i\n" "\n" "Version: %i - %i", "Geometry Dash", v6, v12, *(unsigned __int8 *)(v13 + 18), 22, 51); CString = (const char *)cocos2d::CCString::getCString(v14); v19[0] = 0; v19[1] = 0; v20 = nullptr; v16 = strlen(CString); std::string::__init(v19, CString, v16); std::string::~string((int)&v24); std::string::~string((int)&v21); if ( (v19[0] & 1) != 0 ) v17 = v20; else v17 = (char *)v19 + 1; PlatformToolbox::sendMail( (PlatformToolbox *)"Geometry Dash Support", v17, "[email protected]", (const char *)(LOBYTE(v19[0]) << 31)); return std::string::~string((int)v19); }
GD Web Decomp Icon

GD Web Decomp

Raw Source