// // cocos2d::CCUserDefault::getStringForKey from 0xb20300 to 0xb203e8 (232 bytes) // // 4 xrefs: // > cocos2d::extension::AssetsManager::update @ 0xa976e8 // > cocos2d::extension::AssetsManager::getVersion @ 0xa97d58 // > cocos2d::extension::AssetsManager::checkUpdate @ 0xa98fc0 // > @ 0x73f08 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // char **__usercall cocos2d::CCUserDefault::getStringForKey@( char **__return_ptr a1@, cocos2d::CCUserDefault *this@, const char *a3@) { char *v6; // x0 unsigned int *v8; // x2 int v9; // w1 char *v10; // [xsp+50h] [xbp+50h] BYREF sub_D153B8((int)&v10, &byte_F288A0); cocos2d::CCUserDefault::getStringForKey(this, a3, &v10, a1); v6 = v10 - 24; if ( v10 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v8 = (unsigned int *)(v10 - 8); do v9 = __ldaxr(v8); while ( __stlxr(v9 - 1, v8) ); } else { v9 = *((_DWORD *)v10 - 2); *((_DWORD *)v10 - 2) = v9 - 1; } if ( v9 <= 0 ) operator delete(v6); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source