//
// ScrollableContentLayer::worldClipRect from 0x140081d60 to 0x140081e2c (204 bytes)
//
// 3 xrefs:
// > ScrollableContentLayer::visit @ 0x140081e42
// > ScrollableContentLayer::touchInsideClip @ 0x140081eb5
// > ??> @ 0x1409121b8
//
// 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 11:25:55 +0000
//
cocos2d::CCRect *__fastcall ScrollableContentLayer::worldClipRect(__int64 a1, cocos2d::CCRect *a2)
{
float v4; // xmm7_4
__int64 v5; // rax
__int64 v6; // rax
float v8; // [rsp+50h] [rbp+8h] BYREF
float v9; // [rsp+54h] [rbp+Ch]
float v10; // [rsp+58h] [rbp+10h] BYREF
float v11; // [rsp+5Ch] [rbp+14h]
char v12; // [rsp+60h] [rbp+18h] BYREF
if ( *(_BYTE *)(a1 + 568) )
v4 = 1.0;
else
v4 = 0.0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, v4, 2.0);
cocos2d::CCNode::convertToWorldSpace(a1, &v10, v5);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, *(float *)(a1 + 424) - v4, *(float *)(a1 + 428) - 2.0);
cocos2d::CCNode::convertToWorldSpace(a1, &v8, v6);
cocos2d::CCRect::CCRect(a2, v10, v11, v8 - v10, v9 - v11);
return a2;
}