//
// sub_1003B5AA4 from 0x1003b5aa4 to 0x1003b5af0 (76 bytes)
//
// 1 xrefs:
// > GJGroundLayer::init @ 0x10002f350
//
// 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 11:03:56 +0000
//
__int64 __fastcall sub_1003B5AA4(_DWORD *a1, int a2)
{
int v2; // w8
int v3; // w19
void *v4; // x0
if ( a2 >= 22 )
v2 = 22;
else
v2 = a2;
if ( v2 <= 1 )
v3 = 1;
else
v3 = v2;
sub_1003B56BC(a1, v3);
v4 = sub_1003065B0("groundSquare_%02d_001.png", v3);
return cocos2d::CCString::getCString((__int64)v4);
}