// // GJSmartBlockPreview::toggleSelectItem from 0xb0d0d4 to 0xb0d1c8 (244 bytes) // // 2 xrefs: // > BrowseSmartKeyLayer::onPrefabObject @ 0xb143b4 // > @ 0x4e328 // // 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:26 +0000 // __int64 __fastcall GJSmartBlockPreview::toggleSelectItem(GJSmartBlockPreview *this, unsigned __int8 a2) { unsigned int v3; // w21 const char *v4; // x1 __int64 v5; // x0 __int64 v7; // x0 __int64 v8; // x23 void (__fastcall *v9)(__int64, _BYTE *); // x22 _BYTE v10[8]; // [xsp+50h] [xbp+50h] BYREF v3 = a2; v4 = (const char *)*((unsigned __int8 *)this + 360); if ( (_DWORD)v4 != v3 ) { v5 = *((_QWORD *)this + 44); *((_BYTE *)this + 360) = v3; if ( !v5 ) { v7 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_select_001.png", v4); *((_QWORD *)this + 44) = v7; (*(void (__fastcall **)(GJSmartBlockPreview *, __int64))(*(_QWORD *)this + 456LL))(this, v7); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 44) + 160LL))(*((_QWORD *)this + 44), 2.8); v8 = *((_QWORD *)this + 44); v9 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v8 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 45.0, 45.0); v9(v8, v10); v5 = *((_QWORD *)this + 44); } (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 344LL))(v5, v3); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source