// // cocos2d::CCUserDefault::getDoubleForKey from 0x7f6cf8 to 0x7f6d76 (126 bytes) // // 1 xrefs: // > cocos2d::CCUserDefault::getDoubleForKey @ 0x7f6d80 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:01:10 +0000 // __int64 __fastcall cocos2d::CCUserDefault::getDoubleForKey( cocos2d::CCUserDefault *this, tinyxml2::XMLDocument *a2, double a3) { FILE *v6; // r0 tinyxml2::XMLNode **v7; // r5 char *IO_write_end; // r0 const char *Str; // r0 double v10; // r6 tinyxml2::XMLDocument *v12[3]; // [sp+0h] [bp-Ch] BYREF v12[1] = a2; v12[2] = (tinyxml2::XMLDocument *)LODWORD(a3); v12[0] = nullptr; v6 = sub_7F69E0(a2, v12); v7 = (tinyxml2::XMLNode **)v6; if ( v6 ) { IO_write_end = v6->_IO_write_end; if ( IO_write_end ) { Str = (const char *)tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(IO_write_end + 12)); v10 = atof(Str); cocos2d::CCUserDefault::setDoubleForKey(this, a2, v10); cocos2d::CCUserDefault::flush(this); sub_7F69A8((int)v12[0], v7); return *(_QWORD *)&v10; } sub_7F69A8((int)v12[0], v7); } return getDoubleForKeyJNI((const char *)a2, a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source