{"name": "a_swap", "code": "__int64 __fastcall a_swap ( volatile __int32 * @@a1@@ , __int32 @@a2@@ ) { return ( unsigned int ) _InterlockedExchange ( @@a1@@ , @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "volatile __int32"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int32", "s": 4}, "location": "r64"}]}
{"name": "pthread_spin_lock", "code": "__int64 __fastcall pthread_spin_lock ( volatile __int32 * @@a1@@ ) { int @@i@@ ; for ( @@i@@ = a_swap ( @@a1@@ , Number ) ; @@i@@ ; @@i@@ = a_swap ( @@a1@@ , Number ) ) a_spin ( ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "volatile __int32"}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}]}