//
// GJSmartBlockPreviewSprite::visit from 0x100009630 to 0x100009750 (288 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008ad8f8
//
// 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:57:13 +0000
//
__int64 __fastcall GJSmartBlockPreviewSprite::visit(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x0
__int64 v4; // x0
bool v5; // zf
__int64 v6; // x21
float v7; // s8
float v8; // s8
__int64 v9; // x0
__int64 v10; // x0
_BYTE v12[16]; // [xsp+8h] [xbp-58h] BYREF
_BYTE v13[16]; // [xsp+18h] [xbp-48h] BYREF
__int64 v14; // [xsp+28h] [xbp-38h] BYREF
v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 512LL))(a1);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 512LL))(a1);
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 512LL))(v3);
if ( v2 )
v5 = v4 == 0;
else
v5 = 1;
if ( v5 )
return cocos2d::CCNode::visit(a1);
v6 = v4;
v7 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v2 + 168LL))(v2) * 92.0;
v8 = v7 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v6 + 168LL))(v6);
v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2);
cocos2d::CCNode::convertToWorldSpace(&v14, v6, v9);
sub_1000262CC(v13, *(float *)&v14 - (float)(v8 * 0.5), *((float *)&v14 + 1) - (float)(v8 * 0.5), v8, v8);
sub_1000264D4(v12, v13);
sub_100048E40(v12);
v10 = cocos2d::CCNode::visit(a1);
return sub_100048E78(v10);
}