// // SetupRandTriggerPopup::updateTextInputLabel2 from 0x96c9d4 to 0x96cb84 (432 bytes) // // 3 xrefs: // > SetupRandTriggerPopup::init @ 0x96d2a8 // > SetupRandTriggerPopup::onTargetID2Arrow @ 0x96df28 // > @ 0xc61c8 // // 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 SetupRandTriggerPopup::updateTextInputLabel2(SetupRandTriggerPopup *a1) { const char *m_groupID2; // x1 const unsigned __int8 *v3; // x2 cocos2d::CCString *v4; // x0 char *CString; // x0 CCTextInputNode *m_groupID2Input; // x23 unsigned __int8 *v7; // x0 void *v8; // x0 unsigned int *v9; // x1 int v10; // w2 unsigned int *v11; // x1 int v12; // w2 __int64 v13; // [xsp+48h] [xbp+48h] BYREF const unsigned __int8 *v14[2]; // [xsp+50h] [xbp+50h] BYREF m_groupID2 = (const char *)(unsigned int)a1->m_groupID2; v3 = (const unsigned __int8 *)_stack_chk_guard; a1->m_disableTextDelegate = 1; v14[1] = v3; v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", m_groupID2); CString = (char *)cocos2d::CCString::getCString(v4); sub_D153B8((int)&v13, CString); m_groupID2Input = a1->m_groupID2Input; sub_D18D28(v14); CCTextInputNode::setString(m_groupID2Input, v14); v7 = (unsigned __int8 *)(v14[0] - 24); if ( (__int64 *)v14[0] - 3 != &qword_124B6B0 ) { if ( &pthread_create ) { v9 = (unsigned int *)(v14[0] - 8); do v10 = __ldaxr(v9); while ( __stlxr(v10 - 1, v9) ); } else { v10 = *((_DWORD *)v14[0] - 2); *((_DWORD *)v14[0] - 2) = v10 - 1; } if ( v10 <= 0 ) operator delete(v7); } a1->m_disableTextDelegate = 0; v8 = (void *)(v13 - 24); if ( (__int64 *)(v13 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v11 = (unsigned int *)(v13 - 8); do v12 = __ldaxr(v11); while ( __stlxr(v12 - 1, v11) ); } else { v12 = *(_DWORD *)(v13 - 8); *(_DWORD *)(v13 - 8) = v12 - 1; } if ( v12 <= 0 ) operator delete(v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source