// // std::vector>::push_back from 0x5dfe64 to 0x5dff0c (168 bytes) // // 5 xrefs: // > cocos2d::CCFileUtils::setSearchPaths @ 0x5dffca // > cocos2d::CCFileUtils::setSearchPaths @ 0x5dffea // > cocos2d::CCFileUtils::addSearchPath @ 0x5e0098 // > cocos2d::CCFileUtils::init @ 0x5e00ea // > cocos2d::CCFileUtils::setSearchResolutionsOrder @ 0x5e019c // // 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 std::vector::push_back(char **a1) { char *v2; // r3 unsigned int v3; // r0 unsigned int v4; // r8 _DWORD *v5; // r5 char *v6; // r0 char *v7; // r7 char *v8; // r9 _DWORD *v9; // r1 char *i; // r3 char *v11; // r6 char *v12; // r0 v2 = a1[1]; if ( v2 == a1[2] ) { v3 = std::vector::_M_check_len(a1, 1u, (int)"vector::_M_emplace_back_aux"); v4 = v3; if ( v3 ) { if ( v3 >= 0x40000000 ) sub_772FB4(v3); v5 = (_DWORD *)operator new(4 * v3); } else { v5 = nullptr; } v6 = (char *)v5 + a1[1] - *a1; if ( v6 ) sub_775C20(v6); v7 = *a1; v8 = a1[1]; v9 = v5; for ( i = *a1; i != v8; i += 4 ) { if ( v9 ) { *v9 = *(_DWORD *)i; *(_DWORD *)i = &unk_ACDDA8; } ++v9; } v11 = (char *)v5 + ((v8 - v7) & 0xFFFFFFFC) + 4; while ( v7 != v8 ) { v12 = v7; v7 += 4; sub_774008(v12); } if ( *a1 ) operator delete(*a1); *a1 = (char *)v5; a1[1] = v11; a1[2] = (char *)&v5[v4]; } else { if ( v2 ) sub_775C20(a1[1]); a1[1] += 4; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source