// // SetupAdvFollowPopup::valueDidChange from 0x100062c68 to 0x100062e10 (424 bytes) // // 1 xrefs: // > @ 0x100776088 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall SetupAdvFollowPopup::valueDidChange(SetupAdvFollowPopup *a1, int a2, float a3) { int v6; // w1 cocos2d::CCObject *v7; // x19 std::string *v8; // x1 void *__p[2]; // [xsp+0h] [xbp-50h] BYREF char v10; // [xsp+17h] [xbp-39h] std::string v11; // [xsp+18h] [xbp-38h] BYREF if ( (unsigned int)(a2 - 138) > 0x3F || ((1LL << ((unsigned __int8)a2 + 118)) & 0xC000000000000001LL) == 0 ) { if ( a2 == 306 ) { if ( a3 == 0.0 ) return; v6 = 307; } else { if ( a2 != 307 || a3 == 0.0 ) return; v6 = 306; } SetupTriggerPopup::updateValue(a1, v6, 0.0); return; } SetupTriggerPopup::valueChanged(a1, 71, 0.0); sub_100009900(&v11, "0"); if ( a3 != 0.0 ) { if ( a2 == 138 ) { std::string::assign(&v11, "P1"); } else { SetupTriggerPopup::updateValue(a1, 138, 0.0); if ( a2 == 200 ) { std::string::assign(&v11, "P2"); goto LABEL_17; } } SetupTriggerPopup::updateValue(a1, 200, 0.0); if ( a2 == 201 ) { std::string::assign(&v11, "C"); goto LABEL_18; } LABEL_17: SetupTriggerPopup::updateValue(a1, 201, 0.0); } LABEL_18: v7 = cocos2d::CCDictionary::objectForKey(a1->m_inputNodes, 71); if ( v7 ) { if ( (v11.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v8 = &v11; else v8 = (std::string *)v11.__r_.__value_.__r.__words[0]; sub_100009900(__p, (char *)v8); CCTextInputNode::setString(v7, __p); if ( v10 < 0 ) operator delete(__p[0]); } if ( SHIBYTE(v11.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v11.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source