// // cocos2d::CCUserDefault::getFloatForKey from 0x7f6c48 to 0x7f6cd0 (136 bytes) // // 1 xrefs: // > cocos2d::CCUserDefault::getFloatForKey @ 0x7f6cd6 // // 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 // float __fastcall cocos2d::CCUserDefault::getFloatForKey( cocos2d::CCUserDefault *this, cocos2d::CCUserDefault *a2, float a3) { FILE *v6; // r0 tinyxml2::XMLNode **v7; // r5 char *IO_write_end; // r0 const char *Str; // r0 float v10; // s16 tinyxml2::XMLDocument *v12; // [sp+0h] [bp-8h] BYREF v12 = 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::setFloatForKey(this, a2, v10); cocos2d::CCUserDefault::flush(this); sub_7F69A8((int)v12, v7); return v10; } sub_7F69A8((int)v12, v7); } return COERCE_FLOAT(getFloatForKeyJNI((const char *)a2, a3)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source