// // PlayLayer::updateTestModeLabel from 0x6ffd94 to 0x6fff8c (504 bytes) // // 7 xrefs: // > UILayer::handleAction @ 0x6f12e0 // > PlayLayer::toggleIgnoreDamage @ 0x6fffbc // > PlayLayer::resume @ 0x70010c // > PlayLayer::setupHasCompleted @ 0x708310 // > PlayLayer::switchToStartPosObject @ 0x710ff0 // > PlayLayer::resetLevel @ 0x7110e0 // > @ 0x64918 // // This function is hookable on this platform (idp: arm, 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:52:02 +0000 // __int64 __fastcall PlayLayer::updateTestModeLabel(PlayLayer *this) { __int64 v2; // x0 float v3; // s0 char *v4; // x1 cocos2d::CCString *v5; // x0 size_t v6; // x0 char *v7; // x1 char *CString; // [xsp+38h] [xbp+38h] __int64 v10; // [xsp+40h] [xbp+40h] BYREF char *v11; // [xsp+48h] [xbp+48h] void *v12; // [xsp+50h] [xbp+50h] v2 = *((_QWORD *)this + 1775); if ( v2 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 344LL))(v2); v10 = 0; v11 = nullptr; v12 = nullptr; std::string::__init(&v10, &byte_11B8890, 0); if ( *((_BYTE *)this + 1978) ) { std::string::assign(&v10, "Ignore Damage"); } else if ( *((_BYTE *)this + 14185) ) { std::string::assign(&v10, "Used Ignore Damage"); } else if ( *((_BYTE *)this + 12616) ) { std::string::assign(&v10, "Testmode"); } v3 = *((float *)this + 3278); if ( v3 != 1.0 || *((_BYTE *)this + 14186) ) { v4 = (char *)((unsigned __int8)v10 >> 1); if ( (v10 & 1) != 0 ) v4 = v11; if ( v4 ) { std::string::append((__int64)&v10, &byte_11AAA48, 1u); v3 = *((float *)this + 3278); } if ( *((_BYTE *)this + 14186) && v3 == 1.0 ) { std::string::append((__int64)&v10, "Used Speed Change", 0x11u); } else { v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"Speed: %.01fx", v4, v3); CString = (char *)cocos2d::CCString::getCString(v5); v6 = strlen(CString); std::string::append((__int64)&v10, CString, v6); } } if ( (v10 & 1) != 0 ) v7 = (char *)v12; else v7 = (char *)&v10 + 1; (*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 1775) + 928LL))(*((_QWORD *)this + 1775), v7); if ( (v10 & 1) != 0 ) operator delete(v12); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source