// // sub_1000AEF50 from 0x1000aef50 to 0x1000af1fc (684 bytes) // // 1 xrefs: // > PlayLayer::onQuit @ 0x1001421f8 // // 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 10:58:38 +0000 // void __fastcall sub_1000AEF50(__int64 a1, __int64 a2) { __int64 v3; // x22 std::mutex *v4; // x19 _QWORD *v5; // x20 void *v6; // x0 void *v7; // x0 void **v8; // x1 void **v9; // x1 __int64 v10; // x0 void *v11; // x0 void *v12; // x0 void *__p[2]; // [xsp+0h] [xbp-60h] BYREF char v14; // [xsp+17h] [xbp-49h] void *v15[2]; // [xsp+18h] [xbp-48h] BYREF char v16; // [xsp+2Fh] [xbp-31h] if ( a2 ) { v3 = *(unsigned int *)(a2 + 1140); if ( (unsigned int)(v3 - 4) >= 0xFFFFFFFE && ((_DWORD)v3 == 2 || *(_DWORD *)(a2 + 328) > *(_DWORD *)(a2 + 332)) ) { if ( (*(char *)(a2 + 1495) & 0x8000000000000000LL) != 0 ) { if ( !*(_QWORD *)(a2 + 1480) ) return; } else if ( !*(_BYTE *)(a2 + 1495) ) { return; } v4 = (std::mutex *)qword_1009F3988; std::mutex::lock((std::mutex *)qword_1009F3988); v5 = operator new(0xF0u); j_DS_Dictionary::DS_Dictionary(); if ( (sub_1000AF258(v5) & 1) == 0 ) { v6 = (void *)v5[26]; if ( v6 ) { v5[27] = v6; operator delete(v6); } v7 = (void *)pugi::xml_document::dxml_document(v5); operator delete(v7); v5 = operator new(0xF0u); j_DS_Dictionary::DS_Dictionary(); } sub_1000AF350(v15, a2); if ( v16 >= 0 ) v8 = v15; else v8 = (void **)v15[0]; DS_Dictionary::removeKey(v5, v8); if ( v16 >= 0 ) v9 = v15; else v9 = (void **)v15[0]; DS_Dictionary::setSubDictForKey(v5, v9, 0, 1); DS_Dictionary::setIntegerForKey_1(v5, "t", v3); DS_Dictionary::setIntegerForKey_1(v5, "id", (unsigned int)(*(_DWORD *)(a2 + 328) - *(_DWORD *)(a2 + 332))); DS_Dictionary::setIntegerForKey_1(v5, "did", (unsigned int)(*(_DWORD *)(a2 + 920) - *(_DWORD *)(a2 + 924))); DS_Dictionary::setBoolForKey_1(v5, "g", *(unsigned __int8 *)(a2 + 649)); if ( (_DWORD)v3 == 2 ) sub_1000A65B0(a2, (__int64)__p); else sub_100009900(__p, ""); sub_1001EB144(v5, "uid", __p); if ( v14 < 0 ) operator delete(__p[0]); sub_1001EB144(v5, "cs", a2 + 1472); DS_Dictionary::setIntegerForKey_1(v5, "cv", *(unsigned int *)(a2 + 1520)); DS_Dictionary::setIntegerForKey_1(v5, "fv", *(unsigned int *)(a2 + 1524)); sub_1001EB144(v5, "rs", a2 + 1496); DS_Dictionary::setBoolForKey_1(v5, "ps", *(unsigned __int8 *)(a2 + 1528)); DS_Dictionary::setIntegerForKey_1(v5, "sq", (unsigned int)++dword_1009F3990); v10 = sub_1000AF628(v15); DS_Dictionary::setIntegerForKey_1(v5, "ow", v10); sub_1001EA32C(v5); sub_1000AF6A4(v5); v11 = (void *)v5[26]; if ( v11 ) { v5[27] = v11; operator delete(v11); } v12 = (void *)pugi::xml_document::dxml_document(v5); operator delete(v12); if ( v16 < 0 ) operator delete(v15[0]); std::mutex::unlock(v4); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source