// // SetupRandTriggerPopup::textChanged from 0x1001cadac to 0x1001caf28 (380 bytes) // // 2 xrefs: // > sub_1001CAF28 @ 0x1001caf2c // > @ 0x1007b98d8 // // 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 SetupRandTriggerPopup::textChanged(SetupRandTriggerPopup *a1, CCTextInputNode *a2) { double v4; // d8 char *v5; // x20 char *v6; // x20 char *v7; // x20 float v8; // s0 cocos2d::CCString *v9; // x0 char *v10[2]; // [xsp+8h] [xbp-38h] BYREF char v11; // [xsp+1Fh] [xbp-21h] if ( !a1->m_disableTextDelegate ) { if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 3 ) { CCTextInputNode::getString((__int64)a2, v10); if ( v11 < 0 ) { v5 = v10[0]; a1->m_groupID1 = atoi(v10[0]); operator delete(v5); } else { a1->m_groupID1 = atoi((const char *)v10); } SetupRandTriggerPopup::updateTargetID(a1); LABEL_15: SetupTriggerPopup::updateEditorLabel(a1); return; } if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 5 ) { CCTextInputNode::getString((__int64)a2, v10); if ( v11 < 0 ) { v6 = v10[0]; a1->m_groupID2 = atoi(v10[0]); operator delete(v6); } else { a1->m_groupID2 = atoi((const char *)v10); } SetupRandTriggerPopup::updateTargetID2(a1); goto LABEL_15; } if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 4 ) { CCTextInputNode::getString((__int64)a2, v10); if ( v11 < 0 ) { v7 = v10[0]; v4 = atof(v10[0]); operator delete(v7); } else { v4 = atof((const char *)v10); } v8 = v4; v9 = (cocos2d::CCString *)sub_100268F4C("%.04f", v8); a1->m_chancePercent = cocos2d::CCString::floatValue(v9); SetupRandTriggerPopup::updateChance(a1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source