; ; cocos2d::CCGrabber::beforeRender from 0x180022550 to 0x1800225af (95 bytes) ; ; 2 xrefs: ; > cocos2d::CCGridBase::beforeDraw @ 0x180022bec ; > @ 0x1801b8fbc ; ; 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:21:28 +0000 ; push rbx ; +0x0, 0x180022550 sub rsp, 20h ; +0x2, 0x180022552 mov rbx, rcx ; +0x6, 0x180022556 lea rdx, [rcx+3Ch]; params ; +0x9, 0x180022559 mov ecx, 8CA6h; pname ; +0xd, 0x18002255d call cs:glGetIntegerv ; +0x12, 0x180022562 mov rax, cs:__glewBindFramebuffer ; +0x18, 0x180022568 mov ecx, 8D40h ; +0x1f, 0x18002256f mov edx, [rbx+38h] ; +0x24, 0x180022574 mov r8, [rax] ; +0x27, 0x180022577 call r8 ; +0x2a, 0x18002257a lea rdx, [rbx+40h]; params ; +0x2d, 0x18002257d mov ecx, 0C22h; pname ; +0x31, 0x180022581 call cs:glGetFloatv ; +0x36, 0x180022586 xorps xmm3, xmm3; alpha ; +0x3c, 0x18002258c xorps xmm2, xmm2; blue ; +0x3f, 0x18002258f xorps xmm1, xmm1; green ; +0x42, 0x180022592 xorps xmm0, xmm0; red ; +0x45, 0x180022595 call cs:glClearColor ; +0x48, 0x180022598 mov ecx, 4100h ; +0x4e, 0x18002259e add rsp, 20h ; +0x53, 0x1800225a3 pop rbx ; +0x57, 0x1800225a7 jmp cs:glClear ; +0x58, 0x1800225a8