// // sub_CF3A68 from 0xcf3a68 to 0xcf3b40 (216 bytes) // // 6 xrefs: // > GJGameLevel::scoreStringToVector @ 0x72ecd0 // > formatTags @ 0x7ded0c // > cocos2d::CCTMXMapInfo::startElement @ 0xb3db28 // > sub_CF3B40 @ 0xcf3b44 // > sub_CF3B48 @ 0xcf3b54 // > @ 0x111e558 // // 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 // __int64 __fastcall sub_CF3A68(__int64 a1) { __int64 v2; // x2 void *v3; // x0 unsigned int *v5; // x2 int v6; // w1 *(_QWORD *)a1 = off_111E558; *(_QWORD *)(a1 + 104) = off_111E5A8; v2 = *(_QWORD *)(a1 + 96); *(_QWORD *)(a1 + 16) = off_111E580; *(_QWORD *)(a1 + 24) = off_121D820; v3 = (void *)(v2 - 24); if ( (__int64 *)(v2 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v5 = (unsigned int *)(v2 - 8); do v6 = __ldaxr(v5); while ( __stlxr(v6 - 1, v5) ); } else { v6 = *(_DWORD *)(v2 - 8); *(_DWORD *)(v2 - 8) = v6 - 1; } if ( v6 <= 0 ) operator delete(v3); } *(_QWORD *)(a1 + 24) = off_111E930; sub_CEA56C((unsigned int **)(a1 + 80)); *(_QWORD *)(a1 + 104) = off_111DB70; return sub_CCFDF8((_QWORD *)(a1 + 104)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source