//
// GameManager::addIconDelegate from 0x418858 to 0x41888e (54 bytes)
//
// 1 xrefs:
// > GameManager::loadIconAsync @ 0x41d8e8
//
// 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:47:42 +0000
//
void __fastcall GameManager::addIconDelegate(int **this, cocos2d::CCObject *a2, int a3)
{
_DWORD *v3; // r0
_DWORD *v4; // r2
int v5; // [sp+0h] [bp-Ch] BYREF
_DWORD v6[2]; // [sp+4h] [bp-8h] BYREF
v6[1] = a3;
v6[0] = a2;
v5 = a3;
v3 = std::map>::operator[](this + 243, &v5);
v4 = (_DWORD *)v3[1];
if ( v4 == (_DWORD *)v3[2] )
{
std::vector::__push_back_slow_path((int)v3, v6);
}
else
{
if ( v4 )
*v4 = v6[0];
v3[1] += 4;
}
}