{"type": "func", "start": 6442517824, "end": 6442517855, "name": "cocos2d::CCString::doubleValue", "pseudocode": "// \n// cocos2d::CCString::doubleValue from 0x180010540 to 0x18001055f (31 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCConfiguration::getNumber @ 0x1800bd36c\n// > <???> @ 0x1801438a8\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\ndouble __fastcall cocos2d::CCString::doubleValue(cocos2d::CCString *this)\n{\n  std::string *p_m_sString; // rcx\n\n  if ( !LODWORD(this->m_sString.m_data.m_size) )\n    return 0.0;\n  p_m_sString = &this->m_sString;\n  if ( p_m_sString->m_data.m_capacity > 0xF )\n    p_m_sString = (std::string *)p_m_sString->m_data.m_bigStorage;\n  return atof(p_m_sString->m_data.m_smallStorage._Elems);\n}", "assembly": "; \n; cocos2d::CCString::doubleValue from 0x180010540 to 0x18001055f (31 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCConfiguration::getNumber @ 0x1800bd36c\n; > <???> @ 0x1801438a8\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\ncmp     dword ptr [rcx+48h], 0                                         ; +0x0, 0x180010540\njnz     short loc_18001054A                                            ; +0x4, 0x180010544\nxorps   xmm0, xmm0                                                     ; +0x6, 0x180010546\nretn                                                                   ; +0x9, 0x180010549\nadd     rcx, 38h ; '8'                                                 ; +0xa, 0x18001054a\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0xe, 0x18001054e\njbe     short loc_180010558                                            ; +0x13, 0x180010553\nmov     rcx, [rcx]                                                     ; +0x15, 0x180010555\njmp     cs:atof                                                        ; +0x18, 0x180010558", "xrefs": ["cocos2d::CCConfiguration::getNumber @ 0x1800bd36c", "<???> @ 0x1801438a8"], "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"}