// // ShareCommentLayer::onPercent from 0x1006b27a0 to 0x1006b2863 (195 bytes) // // 1 xrefs: // > ShareCommentLayer::init @ 0x1006b1844 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:35:25 +0000 // __int64 __fastcall ShareCommentLayer::onPercent(__int64 a1) { char v2; // cl __int64 v3; // rdi void (__fastcall *v4)(__int64, __int64); // rax __int64 v6; // r14 __int64 v7; // rax __int64 CString; // rax char v9; // [rsp+0h] [rbp-10h] v2 = *(_BYTE *)(a1 + 801); *(_BYTE *)(a1 + 801) = v2 ^ 1; v3 = *(_QWORD *)(a1 + 784); v4 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 1024LL); if ( v2 ) { v4(v3, 125); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 784) + 1072LL))(*(_QWORD *)(a1 + 784), &unk_100A107AF); return (*(__int64 (__fastcall **)(_QWORD, const std::string::value_type *))(**(_QWORD **)(a1 + 784) + 928LL))( *(_QWORD *)(a1 + 784), "%"); } else { v4(v3, 255); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 784) + 1072LL))(*(_QWORD *)(a1 + 784), &unk_100A107AC); v6 = *(_QWORD *)(a1 + 784); v7 = sub_10088E820("%i%%", v9); CString = cocos2d::CCString::getCString(v7); return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 928LL))(v6, CString); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source