// // MoreVideoOptionsLayer::onInfo from 0x14037b310 to 0x14037b4ea (474 bytes) // // 2 xrefs: // > MoreVideoOptionsLayer::addToggle @ 0x140379ca4 // > @ 0x1406d5ccc // // 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 // void MoreVideoOptionsLayer::onInfo(MoreVideoOptionsLayer *a1, cocos2d::CCObject *a2) { int v3; // eax cocos2d::CCString *v4; // rax const char *CString; // rax size_t v6; // rbx size_t v7; // r8 cocos2d::CCString *v8; // rax const char *v9; // rdi void *v10; // rcx __int64 v11; // rax FLAlertLayer *v12; // rbx __int128 v13; // [rsp+58h] [rbp-60h] BYREF __int64 v14; // [rsp+68h] [rbp-50h] __int64 v15; // [rsp+70h] [rbp-48h] void *Block[2]; // [rsp+80h] [rbp-38h] BYREF __m128i si128; // [rsp+90h] [rbp-28h] v3 = a2->getTag(a2); v4 = cocos2d::CCString::createWithFormat("info_%i", v3); CString = cocos2d::CCString::getCString(v4); *(_OWORD *)Block = 0; si128 = 0; v6 = -1; v7 = -1; do ++v7; while ( CString[v7] ); sub_14003A930(Block, CString, v7); v8 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1->m_values, Block); v9 = cocos2d::CCString::getCString(v8); if ( si128.m128i_i64[1] > 0xFuLL ) { v10 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v10 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v10 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v10); } si128 = _mm_load_si128((const __m128i *)&xmmword_140623F30); LOBYTE(Block[0]) = 0; v13 = 0; v14 = 0; v15 = 0; do ++v6; while ( v9[v6] ); sub_14003A930(&v13, v9, v6); v11 = sub_14003BDB0((__int64)Block, (__int64)&v13); v12 = FLAlertLayer::create(0, (int)"Info", v11, (__int64)"OK", 0, 1133903872, 0, 0, 1065353216); sub_14003A830((__int64)&v13); v12->show(v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source