//
// GJSmartBlockPreview::init from 0x100415570 to 0x1004155d9 (105 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:30:11 +0000
//
char __fastcall GJSmartBlockPreview::init(__int64 a1, const std::string *a2)
{
char result; // al
char v3; // r12
float v4[10]; // [rsp+8h] [rbp-28h] BYREF
result = cocos2d::CCNode::init();
if ( result )
{
v3 = result;
sub_100278260(v4, 90.0, 90.0);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 320LL))(a1, v4);
std::string::operator=((std::string *)(a1 + 320), a2);
return v3;
}
return result;
}