// // cocos2d::CCFileUtils::addSearchPath from 0x5e001c to 0x5e00c6 (170 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::addSearchPath(cocos2d::CCFileUtils *a1, const char *a2) { int v3; // r5 void *v4; // [sp+0h] [bp-10h] BYREF const char *v5; // [sp+4h] [bp-Ch] BYREF _BYTE v6[4]; // [sp+8h] [bp-8h] BYREF v5 = a2; v4 = &unk_ACDDA8; sub_776584((int)&v5, (char *)a2); if ( !((int (__fastcall *)(cocos2d::CCFileUtils *, const char **))a1->loadFilenameLookupDictionaryFromFile)(a1, &v5) ) sub_775D40(&v4, &a1[8]); sub_775C20(v6); sub_77441C(v6, &v5); sub_774794(&v5, v6); sub_774008(v6); v3 = *((_DWORD *)v5 - 3); if ( v3 ) { sub_775170(&v5); if ( v5[v3 - 1] != 47 ) sub_774394((int)&v5, "/"); } std::vector::push_back((char **)&a1[5]); sub_774008(&v5); sub_774008(&v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source