// // ShareCommentLayer::updatePercentLabel from 0x14062f390 to 0x14062f464 (212 bytes) // // 5 xrefs: // > ShareCommentLayer::init @ 0x14062e9c9 // > ShareCommentLayer::onPercent @ 0x14062f380 // > @ 0x1408e7308 // > @ 0x1408e7318 // > @ 0x1409309ec // // 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 11:35:28 +0000 // __int64 __fastcall ShareCommentLayer::updatePercentLabel(__int64 a1, __int64 a2) { __int64 *v3; // rcx __int64 v4; // rax __int64 v5; // rdi __int64 (__fastcall **v6)(__int64, const char *); // rbx cocos2d::CCString *v7; // rax const char *CString; // rax v3 = (__int64 *)(*(_QWORD *)(a1 + 800) + 368LL); v4 = *v3; if ( *(_BYTE *)(a1 + 817) ) { LOBYTE(a2) = -1; (*(void (__fastcall **)(__int64 *, __int64))(v4 + 40))(v3, a2); (**(void (__fastcall ***)(__int64, void *))(*(_QWORD *)(a1 + 800) + 368LL))( *(_QWORD *)(a1 + 800) + 368LL, &unk_1407046C0); v5 = *(_QWORD *)(a1 + 800); v6 = *(__int64 (__fastcall ***)(__int64, const char *))(v5 + 360); v7 = cocos2d::CCString::createWithFormat("%i%%", *(_DWORD *)(a1 + 820)); CString = cocos2d::CCString::getCString(v7); return (*v6)(v5 + 360, CString); } else { LOBYTE(a2) = 125; (*(void (__fastcall **)(__int64 *, __int64))(v4 + 40))(v3, a2); (**(void (__fastcall ***)(__int64, void *))(*(_QWORD *)(a1 + 800) + 368LL))( *(_QWORD *)(a1 + 800) + 368LL, &unk_1407046B8); return (**(__int64 (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 800) + 360LL))( *(_QWORD *)(a1 + 800) + 360LL, "%"); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source