//
// sub_10008D288 from 0x10008d288 to 0x10008d34c (196 bytes)
//
// 2 xrefs:
// > sub_10008C7D4 @ 0x10008cb10
// > sub_10008C7D4 @ 0x10008cc48
//
// 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 10:58:22 +0000
//
__int64 __fastcall sub_10008D288(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
__int64 v7; // x22
_QWORD v9[2]; // [xsp+0h] [xbp-40h] BYREF
float v10[4]; // [xsp+10h] [xbp-30h] BYREF
sub_1000262CC(v10, 0.0, 0.0, 40.0, 40.0);
sub_1000264D4(v9, (__int64)v10);
v7 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v9);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 320LL))(v7, a4);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v7, 1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 912LL))(v7, 100);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 184LL))(v7, a2);
return v7;
}