//
// sub_7A2884 from 0x7a2884 to 0x7a28cc (72 bytes)
//
// 1 xrefs:
// > std::__ndk1::vector>::assign @ 0x7a46b0
//
// 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:59:55 +0000
//
int __fastcall sub_7A2884(int result, UIButtonConfig *a2, UIButtonConfig *a3)
{
int v3; // r6
int v6; // r5
v3 = result;
while ( a2 != a3 )
{
v6 = *(_DWORD *)(v3 + 4);
if ( v6 )
{
UIButtonConfig::UIButtonConfig(*(UIButtonConfig **)(v3 + 4), a2);
result = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 40), (UIButtonConfig *)((char *)a2 + 40));
*(_DWORD *)(v6 + 48) = *((_DWORD *)a2 + 12);
*(_DWORD *)(v6 + 52) = *((_DWORD *)a2 + 13);
*(_BYTE *)(v6 + 56) = *((_BYTE *)a2 + 56);
*(_BYTE *)(v6 + 57) = *((_BYTE *)a2 + 57);
}
a2 = (UIButtonConfig *)((char *)a2 + 60);
*(_DWORD *)(v3 + 4) += 60;
}
return result;
}