// // sub_1001CD6DC from 0x1001cd6dc to 0x1001cd804 (296 bytes) // // 4 xrefs: // > sub_1001CD6DC @ 0x1001cd7b4 // > sub_1001CD804 @ 0x1001cd854 // > sub_10022B0A0 @ 0x10022b1dc // > sub_1004F7820 @ 0x1004f797c // // 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:21 +0000 // __int64 __fastcall sub_1001CD6DC(_QWORD *a1, unsigned int *a2, _DWORD *a3) { int v3; // w22 __int64 result; // x0 __int64 v8; // x0 __int64 v9; // x0 __int64 v10; // x0 _BOOL4 v11; // w23 int v12; // w23 __int64 v13; // x0 int v14; // w0 __int64 v15; // x19 _DWORD *v16; // x0 int v17; // [xsp+Ch] [xbp-34h] BYREF result = cocos2d::CCDictionary::count(a1[18]); if ( (_DWORD)result ) { if ( a2 ) { while ( 1 ) { v8 = cocos2d::CCDictionary::objectForKey_1(a1[18], a2[2]); if ( v8 ) { *a3 = *(_DWORD *)(v8 + 56); v11 = 1; v3 = 1; return v11 & (unsigned int)v3; } v9 = cocos2d::CCDictionary::objectForKey_1(a1[19], a2[2]); if ( v9 ) break; v10 = cocos2d::CCDictionary::objectForKey_1(a1[17], a2[2]); v11 = v10 != 0; if ( !v10 ) { a2 = (unsigned int *)(*(__int64 (__fastcall **)(unsigned int *))(*(_QWORD *)a2 + 512LL))(a2); if ( a2 ) continue; } v3 = 0; return v11 & (unsigned int)v3; } v12 = *(_DWORD *)(v9 + 56); cocos2d::CCDictionary::removeObjectForKey_1(a1[19], a2[2]); v17 = 0; v13 = (*(__int64 (__fastcall **)(unsigned int *))(*(_QWORD *)a2 + 512LL))(a2); v3 = sub_1001CD6DC(a1, v13, &v17); if ( v3 ) { v14 = v17 - v12; *a3 = v17 - v12; v15 = a1[18]; v16 = sub_100145068(v14); cocos2d::CCDictionary::setObject_1(v15, v16, a2[2]); } v11 = 1; } else { v11 = 0; } return v11 & (unsigned int)v3; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source