{"type": "func", "start": 6442517344, "end": 6442517433, "name": "cocos2d::CCString::boolValue", "pseudocode": "// \n// cocos2d::CCString::boolValue from 0x180010360 to 0x1800103b9 (89 bytes)\n// \n// 7 xrefs:\n// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a250\n// > cocos2d::CCAnimationCache::parseVersion2 @ 0x18008dd09\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1800941e4\n// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1800943c5\n// > cocos2d::CCConfiguration::getBool @ 0x1800c08ba\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b8194\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:21:22 +0000\n// \n\nbool __fastcall cocos2d::CCString::boolValue(cocos2d::CCString *this)\n{\n  bool v1; // cc\n  char *v2; // rbx\n  const char *v3; // rcx\n\n  if ( !*((_DWORD *)this + 18) )\n    return 0;\n  v1 = *((_QWORD *)this + 10) <= 0xFu;\n  v2 = (char *)this + 56;\n  v3 = (char *)this + 56;\n  if ( !v1 )\n    v3 = *(const char **)v2;\n  if ( !strcmp(v3, \"0\") )\n    return 0;\n  if ( *((_QWORD *)v2 + 3) > 0xFu )\n    v2 = *(char **)v2;\n  return strcmp(v2, \"false\") != 0;\n}", "assembly": "; \n; cocos2d::CCString::boolValue from 0x180010360 to 0x1800103b9 (89 bytes)\n; \n; 7 xrefs:\n; > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a250\n; > cocos2d::CCAnimationCache::parseVersion2 @ 0x18008dd09\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1800941e4\n; > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1800943c5\n; > cocos2d::CCConfiguration::getBool @ 0x1800c08ba\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b8194\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:21:22 +0000\n; \npush    rbx                                                            ; +0x0, 0x180010360\nsub     rsp, 20h                                                       ; +0x2, 0x180010362\ncmp     dword ptr [rcx+48h], 0                                         ; +0x6, 0x180010366\njz      short loc_1800103B1                                            ; +0xa, 0x18001036a\ncmp     qword ptr [rcx+50h], 0Fh                                       ; +0xc, 0x18001036c\nlea     rbx, [rcx+38h]                                                 ; +0x11, 0x180010371\nmov     rcx, rbx                                                       ; +0x15, 0x180010375\njbe     short loc_18001037D                                            ; +0x18, 0x180010378\nmov     rcx, [rbx]; Str1                                               ; +0x1a, 0x18001037a\nlea     rdx, Str2; \"0\"                                                 ; +0x1d, 0x18001037d\ncall    strcmp                                                         ; +0x24, 0x180010384\ntest    eax, eax                                                       ; +0x29, 0x180010389\njz      short loc_1800103B1                                            ; +0x2b, 0x18001038b\ncmp     qword ptr [rbx+18h], 0Fh                                       ; +0x2d, 0x18001038d\njbe     short loc_180010397                                            ; +0x32, 0x180010392\nmov     rbx, [rbx]                                                     ; +0x34, 0x180010394\nlea     rdx, aFalse; \"false\"                                           ; +0x37, 0x180010397\nmov     rcx, rbx; Str1                                                 ; +0x3e, 0x18001039e\ncall    strcmp                                                         ; +0x41, 0x1800103a1\ntest    eax, eax                                                       ; +0x46, 0x1800103a6\nsetnz   al                                                             ; +0x48, 0x1800103a8\nadd     rsp, 20h                                                       ; +0x4b, 0x1800103ab\npop     rbx                                                            ; +0x4f, 0x1800103af\nretn                                                                   ; +0x50, 0x1800103b0\nxor     al, al                                                         ; +0x51, 0x1800103b1\nadd     rsp, 20h                                                       ; +0x53, 0x1800103b3\npop     rbx                                                            ; +0x57, 0x1800103b7\nretn                                                                   ; +0x58, 0x1800103b8", "xrefs": ["cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a250", "cocos2d::CCAnimationCache::parseVersion2 @ 0x18008dd09", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1800941e4", "cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1800943c5", "cocos2d::CCConfiguration::getBool @ 0x1800c08ba", "<???> @ 0x18014cf68", "<???> @ 0x1801b8194"], "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"}