// // GJAccountManager::linkToAccount from 0x100447c6c to 0x100447d74 (264 bytes) // // 1 xrefs: // > AccountLoginLayer::loginAccountFinished @ 0x10008d5fc // // 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:05:15 +0000 // double __fastcall GJAccountManager::linkToAccount( __int64 a1, const std::string *a2, std::string *__str, int a4, int a5) { __int64 v9; // x0 __int64 v10; // x22 _DWORD *v11; // x21 float v12; // s0 __int64 v13; // x0 void (__fastcall ***v14)(_QWORD); // x0 __int64 v15; // x0 std::string __p; // [xsp+0h] [xbp-50h] BYREF std::string::operator=((std::string *)(a1 + 368), __str); std::string::operator=((std::string *)(a1 + 328), a2); *(_DWORD *)(a1 + 352) = a4; v9 = GameLevelManager::sharedState(); sub_1000ADEB0(v9); v10 = GameManager::sharedState(); if ( *(char *)(a1 + 351) < 0 ) sub_1000097D0(&__p, *(void **)(a1 + 328), *(_QWORD *)(a1 + 336)); else __p = *(std::string *)(a1 + 328); std::string::operator=((std::string *)(v10 + 632), &__p); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); v11 = (_DWORD *)GameManager::sharedState(); v11[167] = a5; v12 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; v11[166] = (int)v12; v11[165] = (int)v12 + a5; v13 = GameLevelManager::sharedState(); sub_1000C7EEC(v13); v14 = *(void (__fastcall ****)(_QWORD))(a1 + 408); if ( v14 ) (**v14)(v14); v15 = GameManager::sharedState(); return sub_1003B67C0(v15); }