// // kmGLMatrixMode from 0x1800bbdd0 to 0x1800bbe2b (91 bytes) // // 20 xrefs: // > cocos2d::CCGridBase::set2DProjection @ 0x1800238a8 // > cocos2d::CCGridBase::set2DProjection @ 0x1800238ff // > cocos2d::CCRenderTexture::begin @ 0x18005f3d1 // > cocos2d::CCRenderTexture::begin @ 0x18005f3e0 // > cocos2d::CCRenderTexture::clear @ 0x18005f8b1 // > cocos2d::CCRenderTexture::clear @ 0x18005f8c0 // > cocos2d::CCRenderTexture::clearDepth @ 0x18005f95b // > cocos2d::CCRenderTexture::clearDepth @ 0x18005f96a // > cocos2d::CCRenderTexture::draw @ 0x18005fd67 // > cocos2d::CCRenderTexture::draw @ 0x18005fd76 // > cocos2d::CCRenderTexture::end @ 0x18005fdd7 // > cocos2d::CCRenderTexture::end @ 0x18005fde6 // > cocos2d::CCRenderTexture::newCCImage @ 0x1800603d7 // > cocos2d::CCRenderTexture::newCCImage @ 0x1800603e6 // > cocos2d::CCDirector::setProjection @ 0x1800bfa0e // > cocos2d::CCDirector::setProjection @ 0x1800bfa58 // > cocos2d::CCDirector::setProjection @ 0x1800bfafc // > cocos2d::CCDirector::setProjection @ 0x1800bfb51 // > @ 0x1801438a8 // > @ 0x1801b8fa0 // // 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 kmGLMatrixMode(int a1) { void *result; // rax int v3; // ebx int v4; // ebx result = (void *)sub_1800BBFE0(); v3 = a1 - 5888; if ( v3 ) { v4 = v3 - 1; if ( v4 ) { if ( v4 == 1 ) { qword_1801A9B08 = (__int64)&unk_1801ACCA0; return &unk_1801ACCA0; } } else { qword_1801A9B08 = (__int64)&unk_1801ACCC0; return &unk_1801ACCC0; } } else { qword_1801A9B08 = (__int64)&unk_1801ACCE0; return &unk_1801ACCE0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source