// // SetupTriggerPopup::updateInputNode from 0x540b6c to 0x540c64 (248 bytes) // // 5 xrefs: // > SetupMoveCommandPopup::updateInputNode @ 0x4b89c6 // > SetupRotateCommandPopup::updateInputNode @ 0x4deb4a // > SetupGameplayOffsetPopup::updateInputNode @ 0x54a4aa // > SetupAreaMoveTriggerPopup::updateInputNode @ 0x55962c // > SetupEnterEffectPopup::updateInputNode @ 0x55dbe2 // // 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 SetupTriggerPopup::updateInputNode(SetupTriggerPopup *a1, int a2, float a3) { cocos2d::CCObject *v4; // r0 const char *v5; // r1 int v6; // r7 char *CString; // r1 cocos2d::CCString *v8; // r0 char *v9; // r0 char *v10; // r2 void *v11; // [sp+4h] [bp-10h] BYREF char v12[4]; // [sp+8h] [bp-Ch] BYREF v4 = cocos2d::CCDictionary::objectForKey(a1->m_inputNodes, a2); v6 = (int)v4; if ( v4 ) { v11 = &unk_ACDDA8; if ( a3 == -909190.0 ) { CString = "NA"; } else { if ( (unsigned int)(v4[7].m_nZOrder - 2) <= 1 ) { LABEL_7: v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)(int)a3); } else { switch ( v4[7].m_uOrderOfArrival ) { case 0: goto LABEL_7; case 1: v9 = "%.01f"; break; case 2: v9 = "%.02f"; break; case 3: v9 = "%.03f"; break; case 4: v9 = "%.04f"; break; default: v9 = "%.02f"; break; } v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)v9, v5, a3); } CString = (char *)cocos2d::CCString::getCString(v8); } sub_7753D4((int)&v11, CString); sub_775C20(v12); CCTextInputNode::setString(v6, v12, v10); sub_774008(v12); sub_774008(&v11); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source