// // LevelListLayer::textChanged from 0xa73018 to 0xa731bc (420 bytes) // // 3 xrefs: // > `non-virtual thunk to'LevelListLayer::textChanged @ 0xa731c0 // > @ 0x77a78 // > @ 0x11efba8 // // 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 LevelListLayer::textChanged(LevelListLayer *a1, CCTextInputNode *a2) { GJLevelList *m_levelList; // x20 void *v4; // x0 char *v5; // x0 unsigned int *v6; // x1 int v7; // w2 unsigned int *v8; // x1 int v9; // w2 char *v11; // [xsp+58h] [xbp+58h] BYREF __int64 v12; // [xsp+60h] [xbp+60h] BYREF if ( a2->getTag(a2) == 1002 ) { m_levelList = a1->m_levelList; CCTextInputNode::getString(a2, (__int64)&v11); sub_D153B8((int)&v12, v11); sub_D18EA8(&m_levelList->m_listName, &v12); v4 = (void *)(v12 - 24); if ( (__int64 *)(v12 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v8 = (unsigned int *)(v12 - 8); do v9 = __ldaxr(v8); while ( __stlxr(v9 - 1, v8) ); } else { v9 = *(_DWORD *)(v12 - 8); *(_DWORD *)(v12 - 8) = v9 - 1; } if ( v9 <= 0 ) operator delete(v4); } v5 = v11 - 24; if ( v11 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v6 = (unsigned int *)(v11 - 8); do v7 = __ldaxr(v6); while ( __stlxr(v7 - 1, v6) ); } else { v7 = *((_DWORD *)v11 - 2); *((_DWORD *)v11 - 2) = v7 - 1; } if ( v7 <= 0 ) operator delete(v5); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source