{"type": "func", "start": 6443236464, "end": 6443236528, "name": "cocos2d::CCConfiguration::checkForGLExtension", "pseudocode": "// \n// cocos2d::CCConfiguration::checkForGLExtension from 0x1800bfc70 to 0x1800bfcb0 (64 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCRenderTexture::begin @ 0x180061720\n// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1800621ec\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c3330\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:25 +0000\n// \n\n_BOOL8 __fastcall cocos2d::CCConfiguration::checkForGLExtension(__int64 a1, const char *a2)\n{\n  const char *v2; // rcx\n\n  if ( *((_QWORD *)a2 + 3) > 0xFu )\n    a2 = *(const char **)a2;\n  v2 = *(const char **)(a1 + 80);\n  return v2 && strstr(v2, a2) != nullptr;\n}", "assembly": "; \n; cocos2d::CCConfiguration::checkForGLExtension from 0x1800bfc70 to 0x1800bfcb0 (64 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCRenderTexture::begin @ 0x180061720\n; > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1800621ec\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c3330\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:25 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800bfc70\nsub     rsp, 20h                                                       ; +0x2, 0x1800bfc72\nxor     bl, bl                                                         ; +0x6, 0x1800bfc76\ncmp     qword ptr [rdx+18h], 0Fh                                       ; +0x8, 0x1800bfc78\njbe     short loc_1800BFC82                                            ; +0xd, 0x1800bfc7d\nmov     rdx, [rdx]; SubStr                                             ; +0xf, 0x1800bfc7f\nmov     rcx, [rcx+50h]; Str                                            ; +0x12, 0x1800bfc82\ntest    rcx, rcx                                                       ; +0x16, 0x1800bfc86\njz      short loc_1800BFCA7                                            ; +0x19, 0x1800bfc89\ncall    strstr                                                         ; +0x1b, 0x1800bfc8b\ntest    rax, rax                                                       ; +0x20, 0x1800bfc90\nmovzx   ecx, bl                                                        ; +0x23, 0x1800bfc93\nmov     edx, 1                                                         ; +0x26, 0x1800bfc96\ncmovnz  ecx, edx                                                       ; +0x2b, 0x1800bfc9b\nmovzx   eax, cl                                                        ; +0x2e, 0x1800bfc9e\nadd     rsp, 20h                                                       ; +0x31, 0x1800bfca1\npop     rbx                                                            ; +0x35, 0x1800bfca5\nretn                                                                   ; +0x36, 0x1800bfca6\nmovzx   eax, bl                                                        ; +0x37, 0x1800bfca7\nadd     rsp, 20h                                                       ; +0x3a, 0x1800bfcaa\npop     rbx                                                            ; +0x3e, 0x1800bfcae\nretn                                                                   ; +0x3f, 0x1800bfcaf", "xrefs": ["cocos2d::CCRenderTexture::begin @ 0x180061720", "cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1800621ec", "<???> @ 0x18014cf68", "<???> @ 0x1801c3330"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}