//
// cocos2d::CCLayerColor::draw from 0x1004b31e0 to 0x1004b32a1 (193 bytes)
//
// 216 xrefs:
// > SlideInLayer::draw @ 0x10028ed0f
// > ParticlePreviewLayer::draw @ 0x100477894
// > LoadingCircle::draw @ 0x1004bf4ce
// > CCBlockLayer::draw @ 0x1005180df
// > GJDropDownLayer::draw @ 0x1005e888f
// > ??> @ 0x1008af038
// > ??> @ 0x1008af830
// > ??> @ 0x1008b22d0
// > ??> @ 0x1008b2ac8
// > ??> @ 0x1008b4db0
// > ??> @ 0x1008b5d60
// > ??> @ 0x1008c23b8
// > ??> @ 0x1008d9660
// > ??> @ 0x1008d9e60
// > ??> @ 0x1008dad50
// > ??> @ 0x1008db530
// > ??> @ 0x1008dc980
// > ??> @ 0x1008dddf8
// > ??> @ 0x1008de5d0
// > ??> @ 0x1008dec98
// > ??> @ 0x1008df3a0
// > ??> @ 0x1008dfb18
// > ??> @ 0x1008e0218
// > ??> @ 0x1008e1518
// > ??> @ 0x1008e1d00
// > ??> @ 0x1008e28f8
// > ??> @ 0x1008ec008
// > ??> @ 0x1008ec718
// > ??> @ 0x1008eceb8
// > ??> @ 0x1008ed568
// > ??> @ 0x1008edcf0
// > ??> @ 0x1008ee500
// > ??> @ 0x1008f1330
// > ??> @ 0x1008f19e0
// > ??> @ 0x1008f2120
// > ??> @ 0x1008f2830
// > ??> @ 0x1008f3110
// > ??> @ 0x1008f3f40
// > ??> @ 0x1008f67a0
// > ??> @ 0x1008f8188
// > ??> @ 0x1008f8838
// > ??> @ 0x1008f9030
// > ??> @ 0x1008f96d8
// > ??> @ 0x1008f9ec8
// > ??> @ 0x1008fa5a8
// > ??> @ 0x1008facc8
// > ??> @ 0x1008fb418
// > ??> @ 0x1008fbba8
// > ??> @ 0x1008fc2b8
// > ??> @ 0x1008fca20
// > ??> @ 0x1008fd928
// > ??> @ 0x1008fe120
// > ??> @ 0x1008fe930
// > ??> @ 0x1008ff1e8
// > ??> @ 0x1008ff9f8
// > ??> @ 0x100900260
// > ??> @ 0x1009009d8
// > ??> @ 0x100901100
// > ??> @ 0x100901878
// > ??> @ 0x1009022f0
// > ??> @ 0x100902b18
// > ??> @ 0x100903310
// > ??> @ 0x100903b20
// > ??> @ 0x100904580
// > ??> @ 0x100905318
// > ??> @ 0x100905b10
// > ??> @ 0x100906308
// > ??> @ 0x100907348
// > ??> @ 0x100907e58
// > ??> @ 0x100908710
// > ??> @ 0x100908dd8
// > ??> @ 0x10090a480
// > ??> @ 0x10090ab80
// > ??> @ 0x10090b2c0
// > ??> @ 0x10090d038
// > ??> @ 0x10090d700
// > ??> @ 0x10090df48
// > ??> @ 0x10090e740
// > ??> @ 0x100910168
// > ??> @ 0x100910950
// > ??> @ 0x100911078
// > ??> @ 0x100911800
// > ??> @ 0x100912558
// > ??> @ 0x100912c38
// > ??> @ 0x100913fa8
// > ??> @ 0x100917560
// > ??> @ 0x100918430
// > ??> @ 0x100918cc0
// > ??> @ 0x100919370
// > ??> @ 0x100919a20
// > ??> @ 0x10091a200
// > ??> @ 0x10091a928
// > ??> @ 0x10091cc00
// > ??> @ 0x10091e528
// > ??> @ 0x10091f150
// > ??> @ 0x1009208e8
// > ??> @ 0x1009210e0
// > ??> @ 0x1009218d8
// > ??> @ 0x100922e18
// > ??> @ 0x100923df8
// > ??> @ 0x100925010
// > ??> @ 0x100925808
// > ??> @ 0x100926000
// > ??> @ 0x100928c80
// > ??> @ 0x10092d5e8
// > ??> @ 0x10092e648
// > ??> @ 0x10092f760
// > ??> @ 0x100930728
// > ??> @ 0x100931218
// > ??> @ 0x100932648
// > ??> @ 0x1009347a0
// > ??> @ 0x100936880
// > ??> @ 0x100938430
// > ??> @ 0x100938c50
// > ??> @ 0x100939318
// > ??> @ 0x100939ba0
// > ??> @ 0x10093a260
// > ??> @ 0x100942810
// > ??> @ 0x100943068
// > ??> @ 0x1009441e8
// > ??> @ 0x100944960
// > ??> @ 0x100945190
// > ??> @ 0x100946e40
// > ??> @ 0x100949ac8
// > ??> @ 0x10094a7d8
// > ??> @ 0x10094b028
// > ??> @ 0x10094b820
// > ??> @ 0x10094c018
// > ??> @ 0x10094c8b0
// > ??> @ 0x10094d148
// > ??> @ 0x10094d940
// > ??> @ 0x10094fc10
// > ??> @ 0x100950408
// > ??> @ 0x1009518a0
// > ??> @ 0x100952098
// > ??> @ 0x100952890
// > ??> @ 0x100953088
// > ??> @ 0x100953880
// > ??> @ 0x1009540c0
// > ??> @ 0x1009548b8
// > ??> @ 0x1009550d8
// > ??> @ 0x1009557a0
// > ??> @ 0x1009564e0
// > ??> @ 0x100956bf8
// > ??> @ 0x100957328
// > ??> @ 0x1009579e0
// > ??> @ 0x100958f38
// > ??> @ 0x100959f58
// > ??> @ 0x10095a7d8
// > ??> @ 0x10095af18
// > ??> @ 0x10095b710
// > ??> @ 0x10095bf08
// > ??> @ 0x10095c648
// > ??> @ 0x10095cd68
// > ??> @ 0x10095d6b8
// > ??> @ 0x100963060
// > ??> @ 0x100963728
// > ??> @ 0x100964520
// > ??> @ 0x1009660d0
// > ??> @ 0x1009668b0
// > ??> @ 0x1009670c0
// > ??> @ 0x1009678b8
// > ??> @ 0x1009680b0
// > ??> @ 0x1009688a8
// > ??> @ 0x1009690a0
// > ??> @ 0x100969898
// > ??> @ 0x10096a0d0
// > ??> @ 0x10096a8c8
// > ??> @ 0x10096b100
// > ??> @ 0x10096b8f8
// > ??> @ 0x10096c0f0
// > ??> @ 0x10096c8e8
// > ??> @ 0x10096d0e0
// > ??> @ 0x10096d8d8
// > ??> @ 0x10096e0d0
// > ??> @ 0x10096e8c8
// > ??> @ 0x10096f0c0
// > ??> @ 0x10096f8b8
// > ??> @ 0x100970ec8
// > ??> @ 0x100972ea0
// > ??> @ 0x100973560
// > ??> @ 0x100975ef0
// > ??> @ 0x100977440
// > ??> @ 0x100977c38
// > ??> @ 0x100978b40
// > ??> @ 0x10097aff0
// > ??> @ 0x10097c550
// > ??> @ 0x10097de78
// > ??> @ 0x10097f5a8
// > ??> @ 0x100980138
// > ??> @ 0x100980930
// > ??> @ 0x1009810f8
// > ??> @ 0x100982cf8
// > ??> @ 0x100983438
// > ??> @ 0x100984698
// > ??> @ 0x100984da0
// > ??> @ 0x100986290
// > ??> @ 0x100986ed0
// > ??> @ 0x100987598
// > ??> @ 0x100987d90
// > ??> @ 0x1009885b8
// > ??> @ 0x100988db0
// > ??> @ 0x10098ab98
// > ??> @ 0x10098b798
// > ??> @ 0x10098d448
// > ??> @ 0x10098dc40
// > ??> @ 0x10098e988
// > ??> @ 0x10098f0d0
// > ??> @ 0x10098f780
// > ??> @ 0x10098fe78
// > ??> @ 0x1009927b0
// > ??> @ 0x100992ff8
// > ??> @ 0x100994060
// > ??> @ 0x100994930
// > ??> @ 0x100994ff8
// > ??> @ 0x1009956c0
//
// 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 cocos2d::CCLayerColor::draw(cocos2d::CCLayerColor *a1)
{
cocos2d::CCGLProgram *v2; // rax
cocos2d::CCGLProgram *v3; // rax
cocos2d::ccGLEnable(a1->m_eGLServerState);
((void (__fastcall *)(cocos2d::CCLayerColor *))a1->getShaderProgram)(a1);
v2 = (cocos2d::CCGLProgram *)((__int64 (__fastcall *)(cocos2d::CCLayerColor *))a1->getShaderProgram)(a1);
cocos2d::CCGLProgram::use(v2);
v3 = (cocos2d::CCGLProgram *)((__int64 (__fastcall *)(cocos2d::CCLayerColor *))a1->getShaderProgram)(a1);
cocos2d::CCGLProgram::setUniformsForBuiltins(v3);
cocos2d::ccGLEnableVertexAttribs(3u);
glVertexAttribPointer(0, 2, 0x1406u, 0, 0, a1->m_pSquareVertices);
glVertexAttribPointer(1u, 4, 0x1406u, 0, 0, a1->m_pSquareColors);
cocos2d::ccGLBlendFunc(a1->m_tBlendFunc.src, a1->m_tBlendFunc.dst);
glDrawArrays(5u, 0, 4);
++dword_1009A4FB0;
}