// // PlayLayer::updateTestModeLabel from 0x100142288 to 0x100142414 (396 bytes) // // 8 xrefs: // > UILayer::handleAction @ 0x100051ab4 // > PlayLayer::init @ 0x10013e870 // > sub_10013ECDC @ 0x10013ecfc // > PlayLayer::setupHasCompleted @ 0x100140008 // > PlayLayer::switchToStartPosObject @ 0x10014b014 // > PlayLayer::resetLevel @ 0x10014b5ac // > PlayLayer::resetLevel @ 0x10014b5e4 // > PlayLayer::resume @ 0x10014c7c0 // // 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 10:59:32 +0000 // void __fastcall PlayLayer::updateTestModeLabel(__int64 a1) { __int64 v2; // x0 _BOOL8 v3; // x1 const std::string::value_type *v4; // x1 float v5; // s0 std::string::size_type size; // x8 __int64 v7; // x0 const std::string::value_type *CString; // x0 std::string *v9; // x1 std::string v10; // [xsp+8h] [xbp-28h] BYREF v2 = *(_QWORD *)(a1 + 14200); if ( !v2 ) return; v3 = (*(_BYTE *)(a1 + 14185) & 1) != 0 || (*(_BYTE *)(a1 + 14186) & 1) != 0 || (*(_BYTE *)(a1 + 12616) & 1) != 0 || *(float *)(a1 + 13112) != 1.0; (*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v2 + 344LL))(v2, v3); sub_100009900(&v10, ""); if ( (*(_BYTE *)(a1 + 1978) & 1) != 0 ) { v4 = "Ignore Damage"; } else if ( (*(_BYTE *)(a1 + 14185) & 1) != 0 ) { v4 = "Used Ignore Damage"; } else { if ( *(_BYTE *)(a1 + 12616) != 1 ) goto LABEL_13; v4 = "Testmode"; } std::string::assign(&v10, v4); LABEL_13: v5 = *(float *)(a1 + 13112); if ( v5 != 1.0 || *(_BYTE *)(a1 + 14186) == 1 ) { size = HIBYTE(v10.__r_.__value_.__r.__words[2]); if ( (v10.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) != 0LL ) size = v10.__r_.__value_.__l.__size_; if ( size ) { std::string::append(&v10, "\n"); v5 = *(float *)(a1 + 13112); } if ( *(_BYTE *)(a1 + 14186) == 1 && v5 == 1.0 ) { std::string::append(&v10, "Used Speed Change"); } else { v7 = sub_1003065B0("Speed: %.01fx", v5); CString = (const std::string::value_type *)cocos2d::CCString::getCString(v7); std::string::append(&v10, CString); } } if ( (v10.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v9 = &v10; else v9 = (std::string *)v10.__r_.__value_.__r.__words[0]; (*(void (__fastcall **)(_QWORD, std::string *))(**(_QWORD **)(a1 + 14200) + 928LL))(*(_QWORD *)(a1 + 14200), v9); if ( SHIBYTE(v10.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v10.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source