// // GJSmartBlockPreviewSprite::visit from 0x66e6c8 to 0x66e79e (214 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:55:49 +0000 // void __fastcall GJSmartBlockPreviewSprite::visit(GJSmartBlockPreviewSprite *this) { int v2; // r5 int v3; // r0 int v4; // r0 const cocos2d::CCPoint *v5; // r6 float v6; // s16 float v7; // s16 int v8; // r1 int v9; // r2 GameToolbox *v10; // r0 float v11[2]; // [sp+Ch] [bp-30h] BYREF _BYTE v12[16]; // [sp+14h] [bp-28h] BYREF _DWORD v13[4]; // [sp+24h] [bp-18h] BYREF v2 = (*(int (__fastcall **)(GJSmartBlockPreviewSprite *))(*(_DWORD *)this + 256))(this); v3 = (*(int (__fastcall **)(GJSmartBlockPreviewSprite *))(*(_DWORD *)this + 256))(this); v4 = (*(int (__fastcall **)(int))(*(_DWORD *)v3 + 256))(v3); v5 = (const cocos2d::CCPoint *)v4; if ( v2 && v4 ) { v6 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v2 + 84))(v2)); v7 = (float)(v6 * 92.0) * COERCE_FLOAT((*(int (__fastcall **)(const cocos2d::CCPoint *))(*(_DWORD *)v5 + 84))(v5)); (*(void (__fastcall **)(int))(*(_DWORD *)v2 + 96))(v2); cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v11, v5); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v12, v11[0] - (float)(v7 * 0.5), v11[1] - (float)(v7 * 0.5), v7, v7); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v13, (const cocos2d::CCRect *)v12); GameToolbox::preVisitWithClipRect(v13, v8, v9); v10 = (GameToolbox *)cocos2d::CCNode::visit(this); GameToolbox::postClipVisit(v10); } else { cocos2d::CCNode::visit(this); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source