// // sub_1001D68F0 from 0x1001d68f0 to 0x1001d6958 (104 bytes) // // 2 xrefs: // > MusicDownloadManager::createCustomSFXFolder @ 0x1001d69f8 // > MusicDownloadManager::createCustomSFXPlacement @ 0x1001d6ca8 // // 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:25 +0000 // __int64 __fastcall sub_1001D68F0(__int64 a1) { __int64 result; // x0 __int64 v3; // x8 __int64 v5; // x0 int v6; // w8 result = *(unsigned int *)(a1 + 832); v3 = *(_QWORD *)(a1 + 824); if ( (int)result >= 1 && v3 != 0 ) { while ( 1 ) { v5 = cocos2d::CCDictionary::objectForKey_1(v3, (unsigned int)result); v6 = *(_DWORD *)(a1 + 832); if ( !v5 ) break; result = (unsigned int)(v6 + 1); *(_DWORD *)(a1 + 832) = result; if ( (v6 & 0x80000000) == 0 ) { v3 = *(_QWORD *)(a1 + 824); if ( v3 ) continue; } goto LABEL_10; } result = *(unsigned int *)(a1 + 832); } LABEL_10: *(_DWORD *)(a1 + 832) = result + 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source