// // SetupAdvFollowPopup::valueDidChange from 0x699978 to 0x699ace (342 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:56:17 +0000 // cocos2d::CCDictionary **__fastcall SetupAdvFollowPopup::valueDidChange(cocos2d::CCDictionary **this, int a2, float a3) { cocos2d::CCDictionary **v3; // r6 int v6; // r8 size_t v7; // r0 int v8; // r1 int v9[2]; // [sp+4h] [bp-1Ch] BYREF char *v10; // [sp+Ch] [bp-14h] int v11[3]; // [sp+10h] [bp-10h] BYREF v3 = this; if ( a2 > 201 ) { if ( a2 == 306 ) { if ( a3 == 0.0 ) return this; v8 = 307; } else { if ( a2 != 307 || a3 == 0.0 ) return this; v8 = 306; } return (cocos2d::CCDictionary **)SetupTriggerPopup::updateValue(this, v8, 0.0); } if ( a2 < 200 && a2 != 138 ) return this; SetupTriggerPopup::valueChanged(this, 71, 0.0); v9[0] = 0; v9[1] = 0; v10 = nullptr; std::string::__init(v9, "0", 1u); if ( a3 != 0.0 ) { if ( a2 == 138 ) { std::string::assign(v9, "P1"); } else { SetupTriggerPopup::updateValue(v3, 138, 0.0); if ( a2 == 200 ) { std::string::assign(v9, "P2"); LABEL_17: SetupTriggerPopup::updateValue(v3, 201, 0.0); goto LABEL_9; } } SetupTriggerPopup::updateValue(v3, 200, 0.0); if ( a2 == 201 ) { std::string::assign(v9, "C"); goto LABEL_9; } goto LABEL_17; } LABEL_9: v6 = cocos2d::CCDictionary::objectForKey(v3[144], 71); if ( v6 ) { if ( (v9[0] & 1) == 0 ) v3 = (cocos2d::CCDictionary **)((char *)v9 + 1); v11[0] = 0; if ( (v9[0] & 1) != 0 ) v3 = (cocos2d::CCDictionary **)v10; v11[1] = 0; v11[2] = 0; v7 = strlen((const char *)v3); std::string::__init(v11, v3, v7); CCTextInputNode::setString(v6, (int)v11); std::string::~string((int)v11); } return (cocos2d::CCDictionary **)std::string::~string((int)v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source