// // sub_10009A400 from 0x10009a400 to 0x10009a59c (412 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x100093630 // // 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:28 +0000 // __int64 __fastcall sub_10009A400(_QWORD *a1, _QWORD *a2, char *__s) { char *v3; // x20 __int64 v6; // x22 __int64 v7; // x0 __int64 v8; // x20 _BOOL4 v9; // w21 __int64 result; // x0 __int64 v11; // x0 __int64 v12; // x1 __int64 v13; // x0 __int64 StoredUserList; // x0 __int64 v15; // x21 __int64 v16; // x22 __int64 v17; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v19; // [xsp+1Fh] [xbp-21h] v3 = __s; if ( __s[23] < 0 ) v3 = *(char **)__s; v6 = a1[136]; sub_100009900(__p, v3); v7 = cocos2d::CCDictionary::removeObjectForKey(v6, (char *)__p); if ( v19 < 0 ) operator delete(__p[0]); v8 = sub_1000BBC70(v7, v3, 1); sub_100009900(__p, "-1"); v9 = sub_1000045BC(a2, __p); if ( v19 < 0 ) operator delete(__p[0]); result = a1[170]; if ( v9 ) { if ( result ) return (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)result + 8LL))(result, v8, 39); } else { if ( result ) (**(void (__fastcall ***)(__int64, __int64, __int64))result)(result, v8, 39); v11 = cocos2d::CCDictionary::objectForKey_1(a1[140], (int)v8); if ( v11 ) { v12 = v11; *(_DWORD *)(v11 + 688) = 0; v13 = a1[169]; if ( v13 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v13 + 16LL))(v13, v12); } StoredUserList = GameLevelManager::getStoredUserList(a1, 0); if ( StoredUserList ) { v15 = StoredUserList; if ( (unsigned int)sub_1002E757C(StoredUserList) ) { v16 = 0; while ( *(_DWORD *)(sub_1002E75A0(v15, v16) + 376) != (_DWORD)v8 ) { v16 = (unsigned int)(v16 + 1); if ( (unsigned int)v16 >= (unsigned int)sub_1002E757C(v15) ) return sub_1000C7830(a1, 4); } sub_1002E7664(v15, v16, 1); v17 = a1[171]; if ( v17 ) (*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v17 + 16LL))(v17, v15, 0); } } return sub_1000C7830(a1, 4); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source