//
// GJSmartBlockPreview::init from 0x100428900 to 0x100428969 (105 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall GJSmartBlockPreview::init(__int64 a1, const std::string *a2)
{
bool result; // al
bool v3; // r12
float v4[10]; // [rsp+8h] [rbp-28h] BYREF
result = cocos2d::CCNode::init((cocos2d::CCNode *)a1);
if ( result )
{
v3 = result;
sub_10028CBF0(v4, 90.0, 90.0);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 304LL))(a1, v4);
std::string::operator=((std::string *)(a1 + 320), a2);
return v3;
}
return result;
}