// // kmGLMatrixMode from 0x1800bf530 to 0x1800bf58b (91 bytes) // // 20 xrefs: // > cocos2d::CCGridBase::set2DProjection @ 0x180023df8 // > cocos2d::CCGridBase::set2DProjection @ 0x180023e4f // > cocos2d::CCRenderTexture::begin @ 0x1800615c1 // > cocos2d::CCRenderTexture::begin @ 0x1800615d0 // > cocos2d::CCRenderTexture::clear @ 0x180061a94 // > cocos2d::CCRenderTexture::clear @ 0x180061aa3 // > cocos2d::CCRenderTexture::clearDepth @ 0x180061b3e // > cocos2d::CCRenderTexture::clearDepth @ 0x180061b4d // > cocos2d::CCRenderTexture::draw @ 0x180061f4a // > cocos2d::CCRenderTexture::draw @ 0x180061f59 // > cocos2d::CCRenderTexture::end @ 0x180061fba // > cocos2d::CCRenderTexture::end @ 0x180061fc9 // > cocos2d::CCRenderTexture::newCCImage @ 0x1800625fa // > cocos2d::CCRenderTexture::newCCImage @ 0x180062609 // > cocos2d::CCDirector::setProjection @ 0x1800c323e // > cocos2d::CCDirector::setProjection @ 0x1800c3288 // > cocos2d::CCDirector::setProjection @ 0x1800c332c // > cocos2d::CCDirector::setProjection @ 0x1800c3381 // > @ 0x18014cf68 // > @ 0x1801c3258 // // 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:22:24 +0000 // void *__fastcall kmGLMatrixMode(int a1) { void *result; // rax int v3; // ebx int v4; // ebx result = (void *)sub_1800BF740(); v3 = a1 - 5888; if ( v3 ) { v4 = v3 - 1; if ( v4 ) { if ( v4 == 1 ) { qword_1801B3B80 = (__int64)&unk_1801B6D20; return &unk_1801B6D20; } } else { qword_1801B3B80 = (__int64)&unk_1801B6D40; return &unk_1801B6D40; } } else { qword_1801B3B80 = (__int64)&unk_1801B6D60; return &unk_1801B6D60; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source