// // KeybindingsLayer::onInfo from 0x10060b630 to 0x10060b7d1 (417 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 // void __fastcall KeybindingsLayer::onInfo(KeybindingsLayer *a1, cocos2d::CCObject *a2) { double v2; // xmm0_8 cocos2d::CCDictionary *m_values; // rbx cocos2d::CCString *v4; // rax const char *CString; // r15 size_t v6; // rax size_t v7; // r14 char *v8; // r12 size_t v9; // r13 cocos2d::CCString *v10; // rax const char *v11; // rbx size_t v12; // rax size_t v13; // r14 char *v14; // r15 size_t v15; // r12 char *v16; // rbx char v17; // [rsp+0h] [rbp-60h] _QWORD __dst[2]; // [rsp+8h] [rbp-58h] BYREF void *__p; // [rsp+18h] [rbp-48h] _QWORD v20[2]; // [rsp+20h] [rbp-40h] BYREF void *v21; // [rsp+30h] [rbp-30h] ((void (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); m_values = a1->m_values; v4 = (cocos2d::CCString *)sub_1007AB580("info_%i", v17); CString = cocos2d::CCString::getCString(v4); v6 = strlen(CString); if ( v6 >= 0xFFFFFFFFFFFFFFF8LL ) goto LABEL_22; v7 = v6; if ( v6 >= 0x17 ) { v9 = 26; if ( (v6 | 7) != 0x17 ) v9 = (v6 | 7) + 1; v8 = (char *)operator new(v9); __p = v8; __dst[0] = v9 + 1; __dst[1] = v7; goto LABEL_8; } LOBYTE(__dst[0]) = 2 * v6; v8 = (char *)__dst + 1; if ( v6 ) LABEL_8: memmove(v8, CString, v7); v8[v7] = 0; v10 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)m_values, (__int64)__dst); v11 = cocos2d::CCString::getCString(v10); if ( (__dst[0] & 1) != 0 ) operator delete(__p); v12 = strlen(v11); if ( v12 >= 0xFFFFFFFFFFFFFFF8LL ) LABEL_22: sub_100006BF0(v2); v13 = v12; if ( v12 >= 0x17 ) { v15 = 26; if ( (v12 | 7) != 0x17 ) v15 = (v12 | 7) + 1; v14 = (char *)operator new(v15); v21 = v14; v20[0] = v15 + 1; v20[1] = v13; goto LABEL_18; } LOBYTE(v20[0]) = 2 * v12; v14 = (char *)v20 + 1; if ( v12 ) LABEL_18: memmove(v14, v11, v13); v14[v13] = 0; v16 = FLAlertLayer::create_1(0, (int)"Info", (__int64)v20, (int)"OK", 0, COERCE_DOUBLE(1133903872)); if ( (v20[0] & 1) != 0 ) operator delete(v21); (*(void (__fastcall **)(char *))(*(_QWORD *)v16 + 1288LL))(v16); }
GD Web Decomp Icon

GD Web Decomp

Raw Source