//
// GJSelectionStrip::addAction from 0x5db4f8 to 0x5db556 (94 bytes)
//
// 7 xrefs:
// > LevelBrowserLayer::init @ 0x4a7582
// > LevelBrowserLayer::init @ 0x4a75a0
// > FRequestProfilePage::init @ 0x5f289a
// > FRequestProfilePage::init @ 0x5f28be
// > AutoBackupPopup::init @ 0x742544
// > MessageThreadsPage::init @ 0x750d42
// > MessageThreadsPage::init @ 0x750d5e
//
// 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:54:12 +0000
//
int __fastcall GJSelectionStrip::addAction(int a1, cocos2d::CCSprite *a2, float a3, int a4, int a5, float a6)
{
int v7; // r0
int *v8; // r3
int *v9; // r2
_DWORD v11[8]; // [sp+8h] [bp-20h] BYREF
*(float *)v11 = a3;
v11[1] = a4;
v11[7] = a4;
v7 = GJSelectionStrip::addButton(a1, a2, a3, a4, a5, a6);
v8 = *(int **)(a1 + 304);
v9 = *(int **)(a1 + 308);
v11[0] = v7;
if ( v8 == v9 )
{
std::vector::__push_back_slow_path(a1 + 300, v11);
}
else
{
if ( v8 )
*v8 = v7;
*(_DWORD *)(a1 + 304) += 4;
}
return v11[0];
}