// // cocos2d::CCFileUtils::setSearchPaths from 0x5dff14 to 0x5e000e (250 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::setSearchPaths(cocos2d::CCFileUtils *a1, std::vector *const a2) { cocos2d::CCFileUtils *v3; // r9 _BOOL4 v5; // r8 std::string *m_start; // r6 int v7; // r7 cocos2d::CCFileUtils *v8; // [sp+4h] [bp-20h] void *v9; // [sp+10h] [bp-14h] BYREF _DWORD *v10; // [sp+14h] [bp-10h] BYREF _BYTE v11[4]; // [sp+18h] [bp-Ch] BYREF v3 = a1 + 5; v5 = 0; std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::clear((int)&a1[9]); std::vector::clear(v3); m_start = a2->m_start; v8 = a1 + 8; while ( m_start != a2->m_finish ) { v9 = &unk_ACDDA8; v10 = &unk_ACDDA8; if ( !((int (__fastcall *)(cocos2d::CCFileUtils *, std::string *))a1->loadFilenameLookupDictionaryFromFile)( a1, m_start) ) sub_775D40(&v9, v8); sub_775C20(v11); sub_77441C(v11, m_start); sub_774794(&v10, v11); sub_774008(v11); v7 = *(v10 - 3); if ( v7 ) { sub_775170(&v10); if ( *((_BYTE *)v10 + v7 - 1) != 47 ) sub_774394((int)&v10, "/"); } if ( !v5 ) v5 = std::operator==((const void **)&v10, (const void **)&v8->__vftable); std::vector::push_back((char **)v3); sub_774008(&v10); sub_774008(&v9); ++m_start; } if ( !v5 ) std::vector::push_back((char **)v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source