// // cocos2d::CCFileUtils::setSearchResolutionsOrder from 0x5e0124 to 0x5e01e8 (196 bytes) // // 0 xrefs: // // 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 cocos2d::CCFileUtils::setSearchResolutionsOrder(cocos2d::CCFileUtils *a1, std::vector *const a2) { cocos2d::CCFileUtils *v2; // r6 _BOOL4 v4; // r7 std::string *i; // r8 int v6; // [sp+4h] [bp-18h] int v7; // [sp+10h] [bp-Ch] BYREF v2 = a1 + 2; v4 = 0; std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::clear((int)&a1[9]); std::vector::clear(v2); for ( i = a2->m_start; i != a2->m_finish; ++i ) { sub_775C20(&v7); if ( !v4 ) v4 = std::operator==((int)&v7, (char *)&unk_939830); if ( *(_DWORD *)(v7 - 12) ) { v6 = *(_DWORD *)(v7 - 12); sub_775170(&v7); if ( *(_BYTE *)(v6 + v7 - 1) != 47 ) sub_774394((int)&v7, "/"); } std::vector::push_back((char **)v2); sub_774008(&v7); } if ( !v4 ) { sub_776584((int)&v7, (char *)&unk_939830); std::vector::emplace_back((int)v2, &v7); sub_774008(&v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source