//
// BrowseSmartKeyLayer::onPrefabObject from 0xb14390 to 0xb143b8 (40 bytes)
//
// 3 xrefs:
// > ??> @ 0x69af0
// > BrowseSmartKeyLayer::init @ 0xb181b8
// > ??> @ 0x1542990
//
// 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 13:01:31 +0000
//
__int64 __fastcall BrowseSmartKeyLayer::onPrefabObject(BrowseSmartKeyLayer *this, cocos2d::CCObject *a2)
{
GJSmartBlockPreview *v2; // x0
v2 = (GJSmartBlockPreview *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 1072LL))(a2);
return GJSmartBlockPreview::toggleSelectItem(v2, *((_BYTE *)v2 + 360) ^ 1u);
}