//
// GJSelectionStrip::addAction from 0xa2b4dc to 0xa2b568 (140 bytes)
//
// 8 xrefs:
// > LevelBrowserLayer::init @ 0x7fa40c
// > LevelBrowserLayer::init @ 0x7fae50
// > FRequestProfilePage::init @ 0xa4e88c
// > FRequestProfilePage::init @ 0xa4e8b4
// > AutoBackupPopup::init @ 0xc5d6f0
// > MessageThreadsPage::init @ 0xc761d4
// > MessageThreadsPage::init @ 0xc761f8
// > ??> @ 0xcae58
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:59:44 +0000
//
__int64 __fastcall GJSelectionStrip::addAction(
__int64 a1,
cocos2d::CCSprite *a2,
__int64 a3,
__int64 a4,
float a5,
float a6)
{
__int64 result; // x0
__int64 *v8; // x1
__int64 *v9; // x3
__int64 v10; // [xsp+20h] [xbp+20h] BYREF
result = GJSelectionStrip::addButton(a1, a2, a3, a4, a5, a6);
v8 = *(__int64 **)(a1 + 392);
v9 = *(__int64 **)(a1 + 400);
v10 = result;
if ( v8 == v9 )
{
std::vector::__push_back_slow_path(a1 + 384, &v10);
return v10;
}
else
{
if ( v8 )
{
*v8 = result;
v8 = *(__int64 **)(a1 + 392);
result = v10;
}
*(_QWORD *)(a1 + 392) = v8 + 1;
}
return result;
}