// // SetupRandAdvTriggerPopup::onAddChance from 0x528ed4 to 0x528f40 (108 bytes) // // 0 xrefs: // // 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 SetupRandAdvTriggerPopup::onAddChance(SetupRandAdvTriggerPopup *a1, cocos2d::CCObject *a2) { int v3; // r8 int v4; // r7 char *v5[2]; // [sp+0h] [bp-8h] BYREF v5[0] = (char *)a1; v5[1] = (char *)a2; CCTextInputNode::getString((CCTextInputNode *)v5, (int)a1->m_groupIDInput); v3 = atoi(v5[0]); sub_774008(v5); CCTextInputNode::getString((CCTextInputNode *)v5, (int)a1->m_chanceInput); v4 = atoi(v5[0]); sub_774008(v5); if ( v3 > 0 && v4 > 0 ) { SetupRandAdvTriggerPopup::addChance(a1, v3, v4); SetupRandAdvTriggerPopup::updateGroupIDButtons(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source