// // SupportLayer::sendSupportMail from 0x100384570 to 0x100384748 (472 bytes) // // 2 xrefs: // > SupportLayer::FLAlert_Clicked @ 0x100384799 // > sub_1003847A0 @ 0x1003847a9 // // 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 12:29:09 +0000 // void __fastcall SupportLayer::sendSupportMail(__int128 *a1, const void *a2) { __int64 v2; // rax __int64 v3; // rax __int64 v4; // rax __int64 v5; // rax __int64 v6; // rax const char *CString; // rbx size_t v8; // rax size_t v9; // r14 char *v10; // r15 char *v11; // rsi size_t v12; // r12 __int128 v13; // [rsp+10h] [rbp-70h] BYREF void *v14; // [rsp+20h] [rbp-60h] __int128 v15; // [rsp+30h] [rbp-50h] BYREF void *__p; // [rsp+40h] [rbp-40h] _QWORD __dst[2]; // [rsp+48h] [rbp-38h] BYREF void *v18; // [rsp+58h] [rbp-28h] v2 = GameManager::sharedState(); if ( (*(_BYTE *)(v2 + 608) & 1) != 0 ) { a2 = *(const void **)(v2 + 624); a1 = &v13; sub_10001AD30(&v13, a2, *(_QWORD *)(v2 + 616)); } else { v3 = v2 + 608; v14 = *(void **)(v3 + 16); v13 = *(_OWORD *)v3; } v4 = GJAccountManager::sharedState((__int64)a1, (__int64)a2); if ( (*(_BYTE *)(v4 + 328) & 1) != 0 ) { a2 = *(const void **)(v4 + 344); a1 = &v15; sub_10001AD30(&v15, a2, *(_QWORD *)(v4 + 336)); } else { v5 = v4 + 328; __p = *(void **)(v5 + 16); v15 = *(_OWORD *)v5; } AppDelegate::get(a1, a2); v6 = sub_10088E820("\n\nGame: %s\n\nUserID: %s\n\nAccount: %s\n\nPlatform: %i\n\nVersion: %i - %i", 51); CString = (const char *)cocos2d::CCString::getCString(v6); v8 = strlen(CString); if ( v8 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v9 = v8; if ( v8 >= 0x17 ) { v12 = 26; if ( (v8 | 7) != 0x17 ) v12 = (v8 | 7) + 1; v10 = (char *)operator new(v12); v18 = v10; __dst[0] = v12 | 1; __dst[1] = v9; } else { LOBYTE(__dst[0]) = 2 * v8; v10 = (char *)__dst + 1; if ( !v8 ) { BYTE1(__dst[0]) = 0; if ( (v15 & 1) == 0 ) goto LABEL_11; goto LABEL_18; } } memmove(v10, CString, v9); v10[v9] = 0; if ( (v15 & 1) == 0 ) { LABEL_11: if ( (v13 & 1) == 0 ) goto LABEL_12; LABEL_19: operator delete(v14); if ( (__dst[0] & 1) != 0 ) goto LABEL_13; goto LABEL_20; } LABEL_18: operator delete(__p); if ( (v13 & 1) != 0 ) goto LABEL_19; LABEL_12: if ( (__dst[0] & 1) != 0 ) { LABEL_13: v11 = (char *)v18; goto LABEL_21; } LABEL_20: v11 = (char *)__dst + 1; LABEL_21: PlatformToolbox::sendMail("Geometry Dash Support", v11, "[email protected]"); if ( (__dst[0] & 1) != 0 ) operator delete(v18); }
GD Web Decomp Icon

GD Web Decomp

Raw Source