// // LevelListLayer::textInputClosed from 0xa74540 to 0xa7480c (716 bytes) // // 3 xrefs: // > `non-virtual thunk to'LevelListLayer::textInputClosed @ 0xa74810 // > @ 0x4a898 // > @ 0x11efba0 // // 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::textInputClosed(LevelListLayer *a1, CCTextInputNode *a2) { GJLevelList *m_levelList; // x22 void *v5; // x0 char *v6; // x0 char *v7; // x0 void *v8; // x0 unsigned int *v9; // x20 int v10; // w1 unsigned int *v11; // x1 int v12; // w2 unsigned int *v13; // x1 int v14; // w2 unsigned int *v15; // x1 int v16; // w2 __int64 v17; // [xsp+58h] [xbp+58h] BYREF __int64 v18; // [xsp+60h] [xbp+60h] BYREF char *v19; // [xsp+68h] [xbp+68h] BYREF _DWORD *v20; // [xsp+70h] [xbp+70h] BYREF if ( a2->getTag(a2) == 1002 ) { CCTextInputNode::getString(a2, (__int64)&v17); m_levelList = a1->m_levelList; sub_D18D28(&v18); sub_D18EA8(&m_levelList->m_listName, &v18); v5 = (void *)(v18 - 24); if ( (__int64 *)(v18 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v13 = (unsigned int *)(v18 - 8); do v14 = __ldaxr(v13); while ( __stlxr(v14 - 1, v13) ); } else { v14 = *(_DWORD *)(v18 - 8); *(_DWORD *)(v18 - 8) = v14 - 1; } if ( v14 <= 0 ) operator delete(v5); } CCTextInputNode::getString(a2, (__int64)&v19); sub_D153B8((int)&v20, v19); CCTextInputNode::updateLabel(a2, (const void **)&v20); v6 = (char *)(v20 - 6); if ( v20 - 6 != (_DWORD *)&qword_124B6B0 ) { if ( &pthread_create ) { v15 = v20 - 2; do v16 = __ldaxr(v15); while ( __stlxr(v16 - 1, v15) ); } else { v16 = *(v20 - 2); *(v20 - 2) = v16 - 1; } if ( v16 <= 0 ) operator delete(v6); } v7 = v19 - 24; if ( v19 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v11 = (unsigned int *)(v19 - 8); do v12 = __ldaxr(v11); while ( __stlxr(v12 - 1, v11) ); } else { v12 = *((_DWORD *)v19 - 2); *((_DWORD *)v19 - 2) = v12 - 1; } if ( v12 <= 0 ) operator delete(v7); } v8 = (void *)(v17 - 24); if ( (__int64 *)(v17 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v9 = (unsigned int *)(v17 - 8); do v10 = __ldaxr(v9); while ( __stlxr(v10 - 1, v9) ); } else { v10 = *(_DWORD *)(v17 - 8); *(_DWORD *)(v17 - 8) = v10 - 1; } if ( v10 <= 0 ) operator delete(v8); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source