// // SetupCollisionTriggerPopup::updateItemIDInputLabel from 0x4f4538 to 0x4f45c6 (142 bytes) // // 5 xrefs: // > SetupCollisionTriggerPopup::onTargetP1 @ 0x4f4626 // > SetupCollisionTriggerPopup::onTargetP2 @ 0x4f4692 // > SetupCollisionTriggerPopup::onTargetPP @ 0x4f477a // > SetupCollisionTriggerPopup::init @ 0x4f4e02 // > SetupCollisionTriggerPopup::onItemIDArrow @ 0x4f51bc // // 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 SetupCollisionTriggerPopup::updateItemIDInputLabel(SetupCollisionTriggerPopup *a1) { const char *m_blockAID; // r1 cocos2d::CCString *v3; // r0 char *CString; // r1 CCTextInputNode *m_blockAInput; // r7 char *v6; // r2 char v7[4]; // [sp+8h] [bp-Ch] BYREF m_blockAID = (const char *)a1->m_blockAID; a1->m_disableTextDelegate = 1; v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", m_blockAID); CString = (char *)cocos2d::CCString::getCString(v3); if ( a1->m_targetPP ) { CString = "P1"; } else if ( a1->m_targetP1 ) { if ( a1->m_targetP2 ) CString = "P"; else CString = "P1"; } else if ( a1->m_targetP2 ) { CString = "P2"; } m_blockAInput = a1->m_blockAInput; sub_776584((int)v7, CString); CCTextInputNode::setString((int)m_blockAInput, v7, v6); sub_774008(v7); a1->m_disableTextDelegate = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source