//
// CCScrollLayerExt::scissorRect from 0x3c8fd0 to 0x3c9048 (120 bytes)
//
// 2 xrefs:
// > CCScrollLayerExt::touchInsideClip @ 0x3c906c
// > CCScrollLayerExt::visit @ 0x3c90c2
//
// 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:46:36 +0000
//
CCScrollLayerExt *__fastcall CCScrollLayerExt::scissorRect(CCScrollLayerExt *this, int a2)
{
float v4; // r7
float v5; // r6
float v6; // s16
float v7; // s15
float v8; // s17
float v9; // r0
v4 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)a2 + 96))(a2);
v5 = *(float *)((*(int (__fastcall **)(int))(*(_DWORD *)a2 + 96))(a2) + 4);
v6 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)a2 + 164))(a2);
v7 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)a2 + 68))(a2));
v8 = *(float *)((*(int (__fastcall **)(int))(*(_DWORD *)a2 + 164))(a2) + 4);
v9 = (*(float (__fastcall **)(int))(*(_DWORD *)a2 + 76))(a2);
cocos2d::CCRect::CCRect(this, v4, v5, v6 * v7, v8 * v9);
return this;
}