// // sub_18006CF70 from 0x18006cf70 to 0x18006d04f (223 bytes) // // 5 xrefs: // > cocos2d::CCFileUtils::createCCArrayWithContentsOfFile @ 0x18006e16d // > cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile @ 0x18006e28a // > int `Concurrency::agent::wait_for_one @ 0x1800e2857 // > @ 0x18013a9c9 // > @ 0x1801b4050 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall sub_18006CF70(_QWORD *a1) { unsigned __int64 v2; // rdx _QWORD *v3; // rcx unsigned __int64 v4; // rdx void *v5; // rcx *a1 = &cocos2d::CCDictMaker::`vftable'; sub_18006CDD0((__int64)(a1 + 25)); sub_18006CDD0((__int64)(a1 + 20)); v2 = a1[17]; if ( v2 > 0xF ) { v3 = (_QWORD *)a1[14]; if ( v2 + 1 >= 0x1000 ) { if ( (unsigned __int64)v3 - *(v3 - 1) - 8 > 0x1F ) goto LABEL_12; v3 = (_QWORD *)*(v3 - 1); } j_j_free_0(v3); } a1[16] = 0; a1[17] = 15; *((_BYTE *)a1 + 112) = 0; v4 = a1[13]; if ( v4 > 0xF ) { v5 = (void *)a1[10]; if ( v4 + 1 < 0x1000 ) { LABEL_10: j_j_free_0(v5); goto LABEL_11; } if ( (unsigned __int64)v5 - *((_QWORD *)v5 - 1) - 8 <= 0x1F ) { v5 = *((void **)v5 - 1); goto LABEL_10; } LABEL_12: invalid_parameter_noinfo_noreturn(); } LABEL_11: a1[12] = 0; a1[13] = 15; *((_BYTE *)a1 + 80) = 0; sub_18006CDD0((__int64)(a1 + 5)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source