; ; cocos2d::CCGLProgram::initWithVertexShaderByteArray from 0x1800869d0 to 0x180086aa8 (216 bytes) ; ; 25 xrefs: ; > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x180086bf3 ; > cocos2d::CCShaderCache::loadDefaultShader @ 0x1800885a1 ; > cocos2d::CCShaderCache::loadDefaultShader @ 0x1800885db ; > cocos2d::CCShaderCache::loadDefaultShader @ 0x180088620 ; > cocos2d::CCShaderCache::loadDefaultShader @ 0x180088645 ; > cocos2d::CCShaderCache::loadDefaultShader @ 0x18008867f ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x18008875e ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x180088891 ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x1800889cf ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x180088aea ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x180088c03 ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x180088d1f ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x180088e50 ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x180088f54 ; > cocos2d::CCShaderCache::loadDefaultShaders @ 0x18008907a ; > cocos2d::CCShaderCache::reloadDefaultShaders @ 0x180089285 ; > cocos2d::CCShaderCache::reloadDefaultShaders @ 0x180089301 ; > cocos2d::CCShaderCache::reloadDefaultShaders @ 0x18008937d ; > cocos2d::CCShaderCache::reloadDefaultShaders @ 0x1800893e4 ; > cocos2d::CCShaderCache::reloadDefaultShaders @ 0x18008944b ; > cocos2d::CCShaderCache::reloadDefaultShaders @ 0x1800894b2 ; > cocos2d::CCShaderCache::reloadDefaultShaders @ 0x18008952e ; > cocos2d::CCShaderCache::reloadDefaultShaders @ 0x180089580 ; > @ 0x1801438a8 ; > @ 0x1801b570c ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x1800869d0 mov [rsp+arg_8], rbp ; +0x5, 0x1800869d5 mov [rsp+arg_10], rsi ; +0xa, 0x1800869da push rdi ; +0xf, 0x1800869df push r12 ; +0x10, 0x1800869e0 push r13 ; +0x12, 0x1800869e2 push r14 ; +0x14, 0x1800869e4 push r15 ; +0x16, 0x1800869e6 sub rsp, 20h ; +0x18, 0x1800869e8 mov rax, cs:__glewCreateProgram ; +0x1c, 0x1800869ec mov r15, r8 ; +0x23, 0x1800869f3 mov r13, rdx ; +0x26, 0x1800869f6 mov rbx, rcx ; +0x29, 0x1800869f9 call qword ptr [rax] ; +0x2c, 0x1800869fc lea rdi, [rbx+40h] ; +0x2e, 0x1800869fe mov [rbx+38h], eax ; +0x32, 0x180086a02 xor eax, eax ; +0x35, 0x180086a05 lea rsi, [rbx+38h] ; +0x37, 0x180086a07 mov [rdi], eax ; +0x3b, 0x180086a0b mov rbp, rdi ; +0x3d, 0x180086a0d mov [rbx+3Ch], eax ; +0x40, 0x180086a10 test r13, r13 ; +0x43, 0x180086a13 jz short loc_180086A39 ; +0x46, 0x180086a16 mov r9, r13; char * ; +0x48, 0x180086a18 lea rdx, [rbx+3Ch]; unsigned int * ; +0x4b, 0x180086a1b mov r8d, 8B31h; unsigned int ; +0x4f, 0x180086a1f mov rcx, rbx; this ; +0x55, 0x180086a25 call ?compileShader@CCGLProgram@cocos2d@@AEAA_NPEAIIPEBD@Z; cocos2d::CCGLProgram::compileShader(uint *,uint,char const *) ; +0x58, 0x180086a28 test al, al ; +0x5d, 0x180086a2d jz short loc_180086A56 ; +0x5f, 0x180086a2f lea rbp, [rbx+40h] ; +0x61, 0x180086a31 lea rsi, [rbx+38h] ; +0x65, 0x180086a35 test r15, r15 ; +0x69, 0x180086a39 jz short loc_180086A5A ; +0x6c, 0x180086a3c mov r9, r15; char * ; +0x6e, 0x180086a3e mov r8d, 8B30h; unsigned int ; +0x71, 0x180086a41 mov rdx, rdi; unsigned int * ; +0x77, 0x180086a47 mov rcx, rbx; this ; +0x7a, 0x180086a4a call ?compileShader@CCGLProgram@cocos2d@@AEAA_NPEAIIPEBD@Z; cocos2d::CCGLProgram::compileShader(uint *,uint,char const *) ; +0x7d, 0x180086a4d test al, al ; +0x82, 0x180086a52 jnz short loc_180086A5A ; +0x84, 0x180086a54 xor al, al ; +0x86, 0x180086a56 jmp short loc_180086A8B ; +0x88, 0x180086a58 mov edx, [rbx+3Ch] ; +0x8a, 0x180086a5a test edx, edx ; +0x8d, 0x180086a5d jz short loc_180086A70 ; +0x8f, 0x180086a5f mov rax, cs:__glewAttachShader ; +0x91, 0x180086a61 mov ecx, [rbx+38h] ; +0x98, 0x180086a68 call qword ptr [rax] ; +0x9b, 0x180086a6b mov rdi, rbp ; +0x9d, 0x180086a6d mov edx, [rdi] ; +0xa0, 0x180086a70 test edx, edx ; +0xa2, 0x180086a72 jz short loc_180086A81 ; +0xa4, 0x180086a74 mov rax, cs:__glewAttachShader ; +0xa6, 0x180086a76 mov ecx, [rsi] ; +0xad, 0x180086a7d call qword ptr [rax] ; +0xaf, 0x180086a7f mov qword ptr [rbx+68h], 0 ; +0xb1, 0x180086a81 mov al, 1 ; +0xb9, 0x180086a89 mov rbx, [rsp+48h+arg_0] ; +0xbb, 0x180086a8b mov rbp, [rsp+48h+arg_8] ; +0xc0, 0x180086a90 mov rsi, [rsp+48h+arg_10] ; +0xc5, 0x180086a95 add rsp, 20h ; +0xca, 0x180086a9a pop r15 ; +0xce, 0x180086a9e pop r14 ; +0xd0, 0x180086aa0 pop r13 ; +0xd2, 0x180086aa2 pop r12 ; +0xd4, 0x180086aa4 pop rdi ; +0xd6, 0x180086aa6 retn ; +0xd7, 0x180086aa7