{"type": "func", "start": 6442590208, "end": 6442590266, "name": "sub_180022000", "pseudocode": "// \n// sub_180022000 from 0x180022000 to 0x18002203a (58 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCGridBase::afterDraw @ 0x1800225d8\n// > <???> @ 0x1801aeecc\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall sub_180022000(__int64 a1)\n{\n  _glewBindFramebuffer(36160, *(unsigned int *)(a1 + 60));\n  glClearColor(*(GLclampf *)(a1 + 64), *(GLclampf *)(a1 + 68), *(GLclampf *)(a1 + 72), *(GLclampf *)(a1 + 76));\n}", "assembly": "; \n; sub_180022000 from 0x180022000 to 0x18002203a (58 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCGridBase::afterDraw @ 0x1800225d8\n; > <???> @ 0x1801aeecc\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x180022000\nsub     rsp, 20h                                                       ; +0x2, 0x180022002\nmov     edx, [rcx+3Ch]                                                 ; +0x6, 0x180022006\nmov     rbx, rcx                                                       ; +0x9, 0x180022009\nmov     rax, cs:__glewBindFramebuffer                                  ; +0xc, 0x18002200c\nmov     ecx, 8D40h                                                     ; +0x13, 0x180022013\ncall    qword ptr [rax]                                                ; +0x18, 0x180022018\nmovss   xmm3, dword ptr [rbx+4Ch]                                      ; +0x1a, 0x18002201a\nmovss   xmm2, dword ptr [rbx+48h]                                      ; +0x1f, 0x18002201f\nmovss   xmm1, dword ptr [rbx+44h]                                      ; +0x24, 0x180022024\nmovss   xmm0, dword ptr [rbx+40h]                                      ; +0x29, 0x180022029\nadd     rsp, 20h                                                       ; +0x2e, 0x18002202e\npop     rbx                                                            ; +0x32, 0x180022032\njmp     cs:glClearColor                                                ; +0x33, 0x180022033", "xrefs": ["cocos2d::CCGridBase::afterDraw @ 0x1800225d8", "<???> @ 0x1801aeecc"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}