// // sub_1001F0350 from 0x1001f0350 to 0x1001f05e8 (664 bytes) // // 3 xrefs: // > AccountHelpLayer::customSetup @ 0x1001f009c // > AccountHelpLayer::accountStatusChanged @ 0x1001f0708 // > sub_1001F070C @ 0x1001f0710 // // 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 11:00:37 +0000 // __int64 __fastcall sub_1001F0350(_QWORD *a1) { __int64 v2; // x0 __int64 *v3; // x21 __int64 v4; // x0 __int64 v5; // x0 __int64 v6; // x20 __int64 v7; // x20 __int64 v8; // x0 __int64 v9; // x0 __int64 v10; // x20 __int64 v11; // x20 __int64 v12; // x0 const void **v13; // x8 __int64 v14; // x0 const char *v15; // x8 __int64 v16; // x0 __int64 v17; // x0 __int64 v18; // x20 const char *p_dst; // x8 __int64 v20; // x0 __int64 CString; // x0 __int64 v22; // x20 __int64 v23; // x19 __int64 v24; // x0 const void *v26[2]; // [xsp+8h] [xbp-88h] BYREF char v27; // [xsp+1Fh] [xbp-71h] const void *v28[2]; // [xsp+20h] [xbp-70h] BYREF char v29; // [xsp+37h] [xbp-59h] const void *v30[2]; // [xsp+38h] [xbp-58h] BYREF char v31; // [xsp+4Fh] [xbp-41h] __int128 __dst; // [xsp+50h] [xbp-40h] BYREF __int64 v33; // [xsp+60h] [xbp-30h] v2 = GJAccountManager::sharedState(a1); if ( *(_DWORD *)(v2 + 352) == *(_DWORD *)(v2 + 356) ) { v3 = a1 + 79; v4 = TextArea::colorAllCharactersTo(a1[79], 0xFFFFFF); } else { v5 = GJAccountManager::sharedState(v2); if ( *(char *)(v5 + 391) < 0 ) { sub_1000097D0(&__dst, *(void **)(v5 + 368), *(_QWORD *)(v5 + 376)); } else { __dst = *(_OWORD *)(v5 + 368); v33 = *(_QWORD *)(v5 + 384); } if ( v33 >= 0 ) v6 = SHIBYTE(v33); else v6 = *((_QWORD *)&__dst + 1); if ( (SHIBYTE(v33) & 0x8000000000000000LL) != 0 ) operator delete((void *)__dst); v3 = a1 + 79; v4 = TextArea::colorAllCharactersTo(a1[79], 0xFFFFFF); if ( v6 ) { v7 = a1[78]; v8 = GJAccountManager::sharedState(v4); if ( *(char *)(v8 + 351) < 0 ) { sub_1000097D0(&__dst, *(void **)(v8 + 328), *(_QWORD *)(v8 + 336)); } else { __dst = *(_OWORD *)(v8 + 328); v33 = *(_QWORD *)(v8 + 344); } p_dst = (const char *)&__dst; if ( v33 < 0 ) p_dst = (const char *)__dst; v20 = sub_1003065B0("Linked to account: %s", p_dst); CString = cocos2d::CCString::getCString(v20); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 928LL))(v7, CString); if ( SHIBYTE(v33) < 0 ) operator delete((void *)__dst); v22 = *v3; sub_100009900(v30, ""); v12 = TextArea::setString(v22, v30); if ( v31 < 0 ) { v13 = v30; goto LABEL_33; } goto LABEL_34; } } v9 = GJAccountManager::sharedState(v4); v10 = a1[78]; if ( *(_DWORD *)(v9 + 352) == *(_DWORD *)(v9 + 356) ) { (*(void (__fastcall **)(_QWORD, const char *))(*(_QWORD *)v10 + 928LL))(a1[78], "Not logged in"); v11 = *v3; sub_100009900(v26, "Create an account to backup\nand sync your data"); v12 = TextArea::setString(v11, v26); if ( v27 < 0 ) { v13 = v26; LABEL_33: operator delete((void *)*v13); } } else { v14 = GJAccountManager::sharedState(v9); if ( *(char *)(v14 + 351) < 0 ) { sub_1000097D0(&__dst, *(void **)(v14 + 328), *(_QWORD *)(v14 + 336)); } else { __dst = *(_OWORD *)(v14 + 328); v33 = *(_QWORD *)(v14 + 344); } v15 = (const char *)&__dst; if ( v33 < 0 ) v15 = (const char *)__dst; v16 = sub_1003065B0("Linked to account: %s", v15); v17 = cocos2d::CCString::getCString(v16); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 928LL))(v10, v17); if ( SHIBYTE(v33) < 0 ) operator delete((void *)__dst); v18 = *v3; sub_100009900(v28, "Login required"); v12 = TextArea::setString(v18, v28); if ( v29 < 0 ) { v13 = v28; goto LABEL_33; } } LABEL_34: v23 = a1[81]; v24 = GJAccountManager::sharedState(v12); return (*(__int64 (__fastcall **)(__int64, bool))(*(_QWORD *)v23 + 344LL))( v23, *(_DWORD *)(v24 + 352) != *(_DWORD *)(v24 + 356)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source