// // SetupAdvFollowRetargetPopup::valueDidChange from 0xb4cde8 to 0xb4d004 (540 bytes) // // 2 xrefs: // > @ 0x61708 // > @ 0x14be9b0 // // 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 13:01:57 +0000 // __int64 __fastcall SetupAdvFollowRetargetPopup::valueDidChange(cocos2d::CCDictionary **this, int a2, float a3) { _QWORD *v6; // x20 const char *v7; // x1 size_t v8; // x0 IDNameInput *v10; // x0 int v11; // w1 char *v12; // [xsp+48h] [xbp+48h] __int64 v13[2]; // [xsp+58h] [xbp+58h] BYREF void *v14; // [xsp+68h] [xbp+68h] __int64 v15[2]; // [xsp+70h] [xbp+70h] BYREF void *v16; // [xsp+80h] [xbp+80h] if ( a2 <= 201 ) { if ( a2 < 200 && a2 != 138 ) return _stack_chk_guard; SetupTriggerPopup::valueChanged((SetupTriggerPopup *)this, 71, 0.0); v13[0] = 0; v13[1] = 0; v14 = nullptr; std::string::__init(v13, "0", 1u); if ( a3 == 0.0 ) goto LABEL_9; if ( a2 == 138 ) { std::string::assign(v13, "P1"); } else { SetupTriggerPopup::updateValue(this, 0x8Au, 0.0); if ( a2 == 200 ) { std::string::assign(v13, "P2"); goto LABEL_8; } } SetupTriggerPopup::updateValue(this, 0xC8u, 0.0); if ( a2 == 201 ) { std::string::assign(v13, "C"); goto LABEL_9; } LABEL_8: SetupTriggerPopup::updateValue(this, 0xC9u, 0.0); LABEL_9: v6 = (_QWORD *)cocos2d::CCDictionary::objectForKey(*(this + 95), 71); if ( v6 ) { v7 = (char *)v13 + 1; if ( (v13[0] & 1) != 0 ) v7 = (const char *)v14; v12 = (char *)v7; v15[0] = 0; v15[1] = 0; v16 = nullptr; v8 = strlen(v7); std::string::__init(v15, v12, v8); CCTextInputNode::setString(v6, (char *)v15); if ( (v15[0] & 1) != 0 ) operator delete(v16); } if ( (v13[0] & 1) != 0 ) operator delete(v14); return _stack_chk_guard; } if ( a2 == 535 ) { v10 = (IDNameInput *)cocos2d::CCDictionary::objectForKey(*(this + 125), 51); if ( v10 ) { if ( a3 == 0.0 ) v11 = 1; else v11 = 6; IDNameInput::setType(v10, v11); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source