{"type": "func", "start": 6443222288, "end": 6443222352, "name": "cocos2d::CCConfiguration::checkForGLExtension", "pseudocode": "// \n// cocos2d::CCConfiguration::checkForGLExtension from 0x1800bc510 to 0x1800bc550 (64 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCRenderTexture::begin @ 0x18005f55b\n// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x180060009\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b9078\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\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 0x1800bc510 to 0x1800bc550 (64 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCRenderTexture::begin @ 0x18005f55b\n; > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x180060009\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b9078\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, 0x1800bc510\nsub     rsp, 20h                                                       ; +0x2, 0x1800bc512\nxor     bl, bl                                                         ; +0x6, 0x1800bc516\ncmp     qword ptr [rdx+18h], 0Fh                                       ; +0x8, 0x1800bc518\njbe     short loc_1800BC522                                            ; +0xd, 0x1800bc51d\nmov     rdx, [rdx]; SubStr                                             ; +0xf, 0x1800bc51f\nmov     rcx, [rcx+50h]; Str                                            ; +0x12, 0x1800bc522\ntest    rcx, rcx                                                       ; +0x16, 0x1800bc526\njz      short loc_1800BC547                                            ; +0x19, 0x1800bc529\ncall    strstr                                                         ; +0x1b, 0x1800bc52b\ntest    rax, rax                                                       ; +0x20, 0x1800bc530\nmovzx   ecx, bl                                                        ; +0x23, 0x1800bc533\nmov     edx, 1                                                         ; +0x26, 0x1800bc536\ncmovnz  ecx, edx                                                       ; +0x2b, 0x1800bc53b\nmovzx   eax, cl                                                        ; +0x2e, 0x1800bc53e\nadd     rsp, 20h                                                       ; +0x31, 0x1800bc541\npop     rbx                                                            ; +0x35, 0x1800bc545\nretn                                                                   ; +0x36, 0x1800bc546\nmovzx   eax, bl                                                        ; +0x37, 0x1800bc547\nadd     rsp, 20h                                                       ; +0x3a, 0x1800bc54a\npop     rbx                                                            ; +0x3e, 0x1800bc54e\nretn                                                                   ; +0x3f, 0x1800bc54f", "xrefs": ["cocos2d::CCRenderTexture::begin @ 0x18005f55b", "cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x180060009", "<???> @ 0x1801438a8", "<???> @ 0x1801b9078"], "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"}