// // sub_1000AE69C from 0x1000ae69c to 0x1000ae874 (472 bytes) // // 2 xrefs: // > GameLevelManager::encodeDataTo @ 0x1000b1134 // > GameLevelManager::dataLoaded @ 0x1000b2054 // // 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:37 +0000 // __int64 __fastcall sub_1000AE69C(__int64 a1) { __int64 v2; // x20 __int64 result; // x0 unsigned int v4; // w23 int v5; // w24 int v6; // w0 __int64 v7; // x0 char *CString; // x21 __int64 v9; // x22 __int64 v10; // x0 __int64 v11; // x22 int v12; // w8 int v13; // w9 bool v14; // vf int v15; // w8 __int64 v16; // x22 void *__p[2]; // [xsp+8h] [xbp-48h] BYREF char v18; // [xsp+1Fh] [xbp-31h] v2 = cocos2d::CCDictionary::allKeys(*(_QWORD *)(a1 + 760)); result = sub_1002E757C(v2); if ( (_DWORD)result ) { v4 = 0; v5 = -1; do { v6 = sub_1002E757C(v2); v7 = sub_1002E75A0(v2, (unsigned int)(v6 + v5)); CString = (char *)cocos2d::CCString::getCString(v7); v9 = *(_QWORD *)(a1 + 760); sub_100009900(__p, CString); v10 = cocos2d::CCDictionary::objectForKey(v9, __p); v11 = v10; if ( v18 < 0 ) operator delete(__p[0]); if ( *(_BYTE *)(v11 + 1105) != 1 || *(int *)(v11 + 916) > 0 ) goto LABEL_20; if ( (*(char *)(v11 + 1495) & 0x8000000000000000LL) != 0 ) { if ( !*(_QWORD *)(v11 + 1480) ) { LABEL_11: if ( *(_BYTE *)(v11 + 1744) != 1 || (sub_1000AE894(v10, v11) & 1) == 0 ) { if ( (v12 = *(_DWORD *)(v11 + 860), v13 = *(_DWORD *)(v11 + 856), v14 = __OFSUB__(v12, v13), v15 = v12 - v13, (v15 < 0) ^ v14 | (v15 == 0)) && *(int *)(v11 + 888) <= 0 && !*(_DWORD *)(v11 + 1296) && !*(_DWORD *)(v11 + 1336) && (*(_BYTE *)(v11 + 849) & 1) == 0 || *(_DWORD *)(v11 + 948) <= *(_DWORD *)(v11 + 952) && (v15 <= 9 && *(_DWORD *)(v11 + 796) - *(_DWORD *)(v11 + 800) <= 4 && !*(_DWORD *)(v11 + 1296) && !*(_DWORD *)(v11 + 1336) || v15 <= 99 && *(int *)(v11 + 900) <= 1 && *(_DWORD *)(v11 + 796) - *(_DWORD *)(v11 + 800) <= 9 && !*(_DWORD *)(v11 + 1296) && !*(_DWORD *)(v11 + 1336)) ) { v16 = *(_QWORD *)(a1 + 760); sub_100009900(__p, CString); cocos2d::CCDictionary::removeObjectForKey(v16, (char *)__p); if ( v18 < 0 ) operator delete(__p[0]); } } } } else if ( !*(_BYTE *)(v11 + 1495) ) { goto LABEL_11; } LABEL_20: ++v4; result = sub_1002E757C(v2); --v5; } while ( v4 < (unsigned int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source