//
// ShareLevelLayer::setupNotifyToggles from 0x4a278c to 0x4a281c (144 bytes)
//
// 1 xrefs:
// > ShareLevelLayer::setupStars @ 0x4a37b0
//
// 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:49:51 +0000
//
int __fastcall ShareLevelLayer::setupNotifyToggles(ShareLevelLayer *a1, const cocos2d::CCPoint *a2, float a3, float a4)
{
const cocos2d::CCPoint *v5; // r9
const cocos2d::CCPoint *v6; // r8
int v9; // r1
int v10; // r2
int v11; // r3
int v12; // r1
int v13; // r2
int v14; // r3
_DWORD v16[9]; // [sp+20h] [bp-44h] BYREF
float v17[2]; // [sp+44h] [bp-20h] BYREF
int (__fastcall *v18)(int, cocos2d::CCObject *); // [sp+4Ch] [bp-18h]
int v19; // [sp+50h] [bp-14h]
int (__fastcall *v20)(int, cocos2d::CCObject *); // [sp+54h] [bp-10h]
int v21; // [sp+58h] [bp-Ch]
v5 = *((const cocos2d::CCPoint **)a1 + 115);
v6 = *((const cocos2d::CCPoint **)a1 + 111);
v18 = ShareLevelLayer::onNotifyFriends;
v20 = ShareLevelLayer::onNotifyFollowers;
v19 = 0;
v21 = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, a2);
GameToolbox::createNotifyToggles(v16, v5, v6, (int)a1, (char)v18, v19, (char)v20, v21, v17, a3, a4);
v9 = v16[1];
v10 = v16[2];
v11 = v16[3];
*((_DWORD *)a1 + 134) = v16[0];
*((_DWORD *)a1 + 135) = v9;
*((_DWORD *)a1 + 136) = v10;
*((_DWORD *)a1 + 137) = v11;
v12 = v16[5];
v13 = v16[6];
v14 = v16[7];
*((_DWORD *)a1 + 138) = v16[4];
*((_DWORD *)a1 + 139) = v12;
*((_DWORD *)a1 + 140) = v13;
*((_DWORD *)a1 + 141) = v14;
return ShareLevelLayer::updateNotifyToggles(a1);
}