//
// GameManager::addDuplicateLastFrame from 0x65ea44 to 0x65eb2a (230 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:55:35 +0000
//
int __fastcall GameManager::addDuplicateLastFrame(cocos2d::CCDictionary **this, GameManager *a2)
{
int v4; // r8
const char *v5; // r10
size_t v6; // r0
const char *v7; // r10
size_t v8; // r0
cocos2d::CCDictionary *v9; // r9
int v10; // r1
cocos2d::CCObject *v11; // r0
int v13[3]; // [sp+Ch] [bp-38h] BYREF
int v14[3]; // [sp+18h] [bp-2Ch] BYREF
int v15[3]; // [sp+24h] [bp-20h] BYREF
int v16[3]; // [sp+30h] [bp-14h] BYREF
v4 = GameManager::framesForAnimation(this, (int)a2);
memset(v13, 0, sizeof(v13));
v5 = (const char *)sub_65CF52(a2, v4);
v6 = strlen(v5);
std::string::__init(v13, v5, v6);
v7 = (const char *)sub_65CF74(a2, v4);
memset(v14, 0, sizeof(v14));
v8 = strlen(v7);
std::string::__init(v14, v7, v8);
std::string::basic_string(v15, (int)v13);
std::string::basic_string(v16, (int)v14);
GameManager::addCustomAnimationFrame((int)this, (int)a2, v4, (unsigned __int8 *)v15, (unsigned __int8 *)v16);
std::string::~string((int)v16);
std::string::~string((int)v15);
v9 = *(this + 76);
v11 = cocos2d::CCInteger::create((cocos2d::CCInteger *)(v4 + 1), v10);
cocos2d::CCDictionary::setObject(v9, v11, (int)a2);
std::string::~string((int)v14);
return std::string::~string((int)v13);
}