//
// CCBlockLayer::draw from 0x100519190 to 0x1005191bb (43 bytes)
//
// 3 xrefs:
// > ??> @ 0x100afdcd0
// > ??> @ 0x100b388d8
// > ??> @ 0x100b6cb00
//
// 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:31:40 +0000
//
int *__fastcall CCBlockLayer::draw(GLenum *a1, __m128 a2)
{
int *result; // rax
result = (int *)(*(__int64 (__fastcall **)(GLenum *))(*(_QWORD *)a1 + 1152LL))(a1);
if ( (_BYTE)result )
return cocos2d::CCLayerColor::draw(a1, a2);
return result;
}