// // cocos2d::CCApplication::getCurrentLanguage from 0x5e10ec to 0x5e11f8 (268 bytes) // // 0 xrefs: // // 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 // cocos2d::ccLanguageType cocos2d::CCApplication::getCurrentLanguage(cocos2d::CCApplication *a1) { cocos2d::ccLanguageType v1; // r4 char *v3; // [sp+0h] [bp-8h] BYREF v3 = (char *)a1; getCurrentLanguageJNI(); if ( !strcmp("zh", v3) ) { v1 = kLanguageChinese; } else if ( !strcmp("en", v3) ) { v1 = kLanguageEnglish; } else if ( !strcmp("fr", v3) ) { v1 = kLanguageFrench; } else if ( !strcmp("it", v3) ) { v1 = kLanguageItalian; } else if ( !strcmp("de", v3) ) { v1 = kLanguageGerman; } else if ( !strcmp("es", v3) ) { v1 = kLanguageSpanish; } else if ( !strcmp("nl", v3) ) { v1 = kLanguageDutch; } else if ( !strcmp("ru", v3) ) { v1 = kLanguageRussian; } else if ( !strcmp("ko", v3) ) { v1 = kLanguageKorean; } else if ( !strcmp("ja", v3) ) { v1 = kLanguageJapanese; } else if ( !strcmp("hu", v3) ) { v1 = kLanguageHungarian; } else if ( !strcmp("pt", v3) ) { v1 = kLanguagePortuguese; } else if ( !strcmp("ar", v3) ) { v1 = kLanguageArabic; } else { v1 = kLanguageEnglish; } sub_774008(&v3); return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source