// // GJSmartBlockPreview::toggleSelectItem from 0x100416360 to 0x100416426 (198 bytes) // // 1 xrefs: // > BrowseSmartKeyLayer::onPrefabObject @ 0x1004e628e // // 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 // void __fastcall GJSmartBlockPreview::toggleSelectItem(__int64 a1, unsigned __int8 a2, double a3) { __int64 v3; // rax char *v5; // rax __int64 v6; // r14 float v7[12]; // [rsp-30h] [rbp-30h] BYREF if ( *(_BYTE *)(a1 + 360) != a2 ) { *(_BYTE *)(a1 + 360) = a2; v3 = *(_QWORD *)(a1 + 352); if ( !v3 ) { v5 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_select_001.png", a3); *(_QWORD *)(a1 + 352) = v5; (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)a1 + 456LL))(a1, v5); (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 352) + 160LL))(*(_QWORD *)(a1 + 352), 2.8); v6 = *(_QWORD *)(a1 + 352); sub_100278250(v7, 45.0, 45.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v6 + 184LL))(v6, v7); v3 = *(_QWORD *)(a1 + 352); } (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 344LL))(v3, a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source