// // sub_18006F0C0 from 0x18006f0c0 to 0x18006f19e (222 bytes) // // 15 xrefs: // > sub_18006F1C0 @ 0x18006f1c0 // > sub_18006F1D0 @ 0x18006f1ea // > sub_18006F1D0 @ 0x18006f1f6 // > sub_18006F1D0 @ 0x18006f216 // > cocos2d::CCFileUtils::createCCArrayWithContentsOfFile @ 0x180070153 // > cocos2d::CCFileUtils::createCCArrayWithContentsOfFile @ 0x180070160 // > cocos2d::CCFileUtils::createCCArrayWithContentsOfFile @ 0x180070187 // > cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile @ 0x1800702c0 // > cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile @ 0x1800702cd // > cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile @ 0x1800702f4 // > sub_1800ACB60 @ 0x1800acd1b // > sub_1800ACB60 @ 0x1800acd43 // > @ 0x180143e7c // > @ 0x180143e8c // > @ 0x1801be380 // // This function is hookable on this platform (idp: pc, 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:21:56 +0000 // void __fastcall sub_18006F0C0(__int64 a1) { __int64 v2; // rcx __int64 v3; // rdi void *v4; // rcx _QWORD *v5; // rcx void *v6; // rcx v2 = *(_QWORD *)(a1 + 32); if ( v2 ) { do *(_QWORD *)(a1 + 32) = --v2; while ( v2 ); *(_QWORD *)(a1 + 24) = 0; } if ( *(_QWORD *)(a1 + 8) ) { v3 = *(_QWORD *)(a1 + 16); while ( v3 > 0 ) { --v3; v4 = *(void **)(*(_QWORD *)(a1 + 8) + 8 * v3); if ( v4 ) j_j_free_0(v4); } v5 = *(_QWORD **)(a1 + 8); if ( (unsigned __int64)(8LL * *(_QWORD *)(a1 + 16)) >= 0x1000 ) { if ( (unsigned __int64)v5 - *(v5 - 1) - 8 > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); v5 = (_QWORD *)*(v5 - 1); } j_j_free_0(v5); *(_QWORD *)(a1 + 8) = 0; *(_QWORD *)(a1 + 16) = 0; } v6 = *(void **)a1; *(_QWORD *)a1 = 0; j_j_free_0(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source