// // cocos2d::CCUserDefault::getDoubleForKey from 0xd90c24 to 0xd90cfc (216 bytes) // // 2 xrefs: // > cocos2d::CCUserDefault::getDoubleForKey @ 0xd90d00 // > @ 0x9c418 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:08:18 +0000 // __int64 __fastcall cocos2d::CCUserDefault::getDoubleForKey( cocos2d::CCUserDefault *this, const char *a2, long double a3) { __int64 v5; // x0 tinyxml2::XMLNode **v6; // x20 long double v7; // q0 __int64 v8; // x0 const char *Str; // x0 double v10; // d8 tinyxml2::XMLDocument *v13; // [xsp+50h] [xbp+50h] BYREF v13 = nullptr; v5 = sub_D904E4(a2, &v13); v6 = (tinyxml2::XMLNode **)v5; v7 = a3; if ( !v5 ) goto LABEL_6; v8 = *(_QWORD *)(v5 + 48); if ( !v8 ) { sub_D90480((__int64)v13, v6); v7 = a3; LABEL_6: getDoubleForKeyJNI(a2, v7); return _stack_chk_guard; } Str = (const char *)tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v8 + 24)); v10 = atof(Str); cocos2d::CCUserDefault::setDoubleForKey(this, a2, v10); cocos2d::CCUserDefault::flush(this); sub_D90480((__int64)v13, v6); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source