// // SetupAdvFollowPopup::valueDidChange from 0x10006b934 to 0x10006badc (424 bytes) // // 1 xrefs: // > @ 0x1008c2b88 // // 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:57:58 +0000 // void __fastcall SetupAdvFollowPopup::valueDidChange(__int64 a1, int a2, float a3) { __int64 v6; // x1 __int64 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; } sub_1001AFA70(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 { sub_1001AFA70(a1, 138, 0.0); if ( a2 == 200 ) { std::string::assign(&v11, "P2"); goto LABEL_17; } } sub_1001AFA70(a1, 200, 0.0); if ( a2 == 201 ) { std::string::assign(&v11, "C"); goto LABEL_18; } LABEL_17: sub_1001AFA70(a1, 201, 0.0); } LABEL_18: v7 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 760), 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