// // SetupCameraOffsetTrigger::updateDurLabel from 0x1405ae670 to 0x1405ae736 (198 bytes) // // 4 xrefs: // > SetupCameraOffsetTrigger::init @ 0x1405acfc8 // > SetupMGTrigger::init @ 0x1405bcfa5 // > SetupShakePopup::init @ 0x1405eb29c // > @ 0x14092d938 // // 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:34:41 +0000 // // Merged with: SetupCameraOffsetTrigger::updateDurLabel, SetupMGTrigger::updateDurLabel, SetupShakePopup::updateDurLabel void __fastcall SetupCameraOffsetTrigger::updateDurLabel(__int64 a1, char a2) { float v2; // xmm3_4 const char *CString; // rax cocos2d::CCString *v5; // rax size_t v6; // r8 __int128 v7; // [rsp+20h] [rbp-28h] BYREF __int64 v8; // [rsp+30h] [rbp-18h] __int64 v9; // [rsp+38h] [rbp-10h] v2 = *(float *)(a1 + 1016); CString = "Mixed"; *(_BYTE *)(a1 + 744) = 1; if ( v2 != -99999.0 ) { if ( a2 || (float)(v2 - (float)(int)v2) != 0.0 ) v5 = cocos2d::CCString::createWithFormat("%.02f", v2); else v5 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8); CString = cocos2d::CCString::getCString(v5); } v7 = 0; v8 = 0; v6 = -1; v9 = 0; do ++v6; while ( CString[v6] ); sub_14003D230(&v7, CString, v6); CCTextInputNode::setString(*(_QWORD **)(a1 + 1000), &v7); *(_BYTE *)(a1 + 744) = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source