// // SupportLayer::sendSupportMail from 0x90301c to 0x90320c (496 bytes) // // 2 xrefs: // > SupportLayer::FLAlert_Clicked @ 0x903218 // > @ 0x70d08 // // This function is hookable on this platform (idp: arm, 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 12:57:07 +0000 // __int64 __fastcall SupportLayer::sendSupportMail(SupportLayer *this) { __int64 v1; // x2 char v2; // w0 GJAccountManager *v3; // x0 __int64 v4; // x1 char *v5; // x20 __int64 v6; // x2 char v7; // w0 AppDelegate *v8; // x0 __int64 v9; // x1 char *v10; // x19 __int64 v11; // x0 cocos2d::CCString *v12; // x0 size_t v13; // x0 const char *v14; // x3 char *v15; // x1 char *CString; // [xsp+38h] [xbp+38h] __int64 v18[2]; // [xsp+40h] [xbp+40h] BYREF char *v19; // [xsp+50h] [xbp+50h] GJAccountManager *v20; // [xsp+58h] [xbp+58h] BYREF __int64 v21; // [xsp+60h] [xbp+60h] void *v22; // [xsp+68h] [xbp+68h] AppDelegate *v23; // [xsp+70h] [xbp+70h] BYREF __int64 v24; // [xsp+78h] [xbp+78h] void *v25; // [xsp+80h] [xbp+80h] v1 = GameManager::sharedState(_stack_chk_guard) + 608; v2 = *(_BYTE *)v1; v20 = nullptr; v21 = 0; v22 = nullptr; if ( (v2 & 1) != 0 ) { std::string::__init((__int64 *)&v20, *(void **)(v1 + 16), *(_QWORD *)(v1 + 8)); } else { v3 = *(GJAccountManager **)v1; v4 = *(_QWORD *)(v1 + 8); v22 = *(void **)(v1 + 16); v20 = v3; v21 = v4; } v5 = (char *)&v20 + 1; if ( ((unsigned __int8)v20 & 1) != 0 ) v5 = (char *)v22; v6 = GJAccountManager::sharedState((GJAccountManager *)(unsigned __int8)v20) + 328; v7 = *(_BYTE *)v6; v23 = nullptr; v24 = 0; v25 = nullptr; if ( (v7 & 1) != 0 ) { std::string::__init((__int64 *)&v23, *(void **)(v6 + 16), *(_QWORD *)(v6 + 8)); } else { v8 = *(AppDelegate **)v6; v9 = *(_QWORD *)(v6 + 8); v25 = *(void **)(v6 + 16); v23 = v8; v24 = v9; } v10 = (char *)&v23 + 1; if ( ((unsigned __int8)v23 & 1) != 0 ) v10 = (char *)v25; v11 = AppDelegate::get((AppDelegate *)(unsigned __int8)v23); v12 = (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", v5, v10, *(unsigned __int8 *)(v11 + 34), 22, 51); CString = (char *)cocos2d::CCString::getCString(v12); v18[0] = 0; v18[1] = 0; v19 = nullptr; v13 = strlen(CString); std::string::__init(v18, CString, v13); if ( ((unsigned __int8)v23 & 1) != 0 ) operator delete(v25); if ( ((unsigned __int8)v20 & 1) != 0 ) operator delete(v22); v15 = (char *)v18 + 1; if ( (v18[0] & 1) != 0 ) v15 = v19; PlatformToolbox::sendMail((PlatformToolbox *)"Geometry Dash Support", v15, "[email protected]", v14); if ( (v18[0] & 1) != 0 ) operator delete(v19); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source