// // GJSmartBlockPreviewSprite::visit from 0x100009630 to 0x100009750 (288 bytes) // // 1 xrefs: // > @ 0x100762388 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall GJSmartBlockPreviewSprite::visit(GJSmartBlockPreviewSprite *a1) { __int64 v2; // x20 __int64 v3; // x0 __int64 v4; // x0 bool v5; // zf cocos2d::CCNode *v6; // x21 float v7; // s8 float v8; // s8 const cocos2d::CCPoint *v9; // x0 _BYTE v10[16]; // [xsp+8h] [xbp-58h] BYREF _BYTE v11[16]; // [xsp+18h] [xbp-48h] BYREF float v12; // [xsp+28h] [xbp-38h] float v13; // [xsp+2Ch] [xbp-34h] cocos2d::CCRect v14; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4 v2 = ((__int64 (__fastcall *)(GJSmartBlockPreviewSprite *))a1->getParent)(a1); v3 = ((__int64 (__fastcall *)(GJSmartBlockPreviewSprite *))a1->getParent)(a1); v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 496LL))(v3); if ( v2 ) v5 = v4 == 0; else v5 = 1; if ( v5 ) { cocos2d::CCNode::visit(a1); } else { v6 = (cocos2d::CCNode *)v4; v7 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v2 + 168LL))(v2) * 92.0; v8 = v7 * ((float (__fastcall *)(cocos2d::CCNode *))v6->getScale)(v6); v9 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2); cocos2d::CCNode::convertToWorldSpace(v6, v9); sub_100022990(v11, v12 - (float)(v8 * 0.5), v13 - (float)(v8 * 0.5), v8, v8); v14.origin.x = sub_100022B98(v10, v11); GameToolbox::preVisitWithClipRect(v14); cocos2d::CCNode::visit(a1); GameToolbox::postClipVisit(); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source