// // SetupSmartTemplateLayer::textInputClosed from 0x9dca24 to 0x9dcc60 (572 bytes) // // 3 xrefs: // > `non-virtual thunk to'SetupSmartTemplateLayer::textInputClosed @ 0x9dcc64 // > @ 0x61068 // > @ 0x11cb0a0 // // 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 SetupSmartTemplateLayer::textInputClosed(SetupSmartTemplateLayer *a1, CCTextInputNode *a2) { int v4; // w21 void *v5; // x0 GJSmartTemplate *m_smartTemplate; // x20 void *v7; // x0 void *v8; // x0 unsigned int *v9; // x1 int v10; // w2 unsigned int *v11; // x1 int v12; // w2 unsigned int *v13; // x1 int v14; // w2 __int64 v15; // [xsp+40h] [xbp+40h] BYREF __int64 v16; // [xsp+48h] [xbp+48h] BYREF __int64 v17; // [xsp+50h] [xbp+50h] BYREF v4 = a2->getTag(a2); CCTextInputNode::getString(a2, (__int64)&v15); if ( !v4 ) { CCTextInputNode::getString(a2, (__int64)&v16); m_smartTemplate = a1->m_smartTemplate; if ( m_smartTemplate ) { sub_D18D28(&v17); sub_D18EA8(&m_smartTemplate->m_templateName, &v17); v7 = (void *)(v17 - 24); if ( (__int64 *)(v17 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v13 = (unsigned int *)(v17 - 8); do v14 = __ldaxr(v13); while ( __stlxr(v14 - 1, v13) ); } else { v14 = *(_DWORD *)(v17 - 8); *(_DWORD *)(v17 - 8) = v14 - 1; } if ( v14 <= 0 ) operator delete(v7); } } v8 = (void *)(v16 - 24); if ( (__int64 *)(v16 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v9 = (unsigned int *)(v16 - 8); do v10 = __ldaxr(v9); while ( __stlxr(v10 - 1, v9) ); } else { v10 = *(_DWORD *)(v16 - 8); *(_DWORD *)(v16 - 8) = v10 - 1; } if ( v10 <= 0 ) operator delete(v8); } } v5 = (void *)(v15 - 24); if ( (__int64 *)(v15 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v11 = (unsigned int *)(v15 - 8); do v12 = __ldaxr(v11); while ( __stlxr(v12 - 1, v11) ); } else { v12 = *(_DWORD *)(v15 - 8); *(_DWORD *)(v15 - 8) = v12 - 1; } if ( v12 <= 0 ) operator delete(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source