// // sub_100527B60 from 0x100527b60 to 0x100527cd3 (371 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x10051eabb // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:31:46 +0000 // void __fastcall sub_100527B60(__int64 a1, unsigned __int8 *a2, char *a3) { unsigned int v5; // r14d const char *v6; // rdi const void *v7; // rdi unsigned __int64 v8; // rcx size_t v9; // rdx _QWORD *v10; // rdi void (__fastcall **v11)(_QWORD *, _QWORD, __int64); // rax void **v12; // rbx void **v13; // r14 void *v14; // rdi _WORD v15[8]; // [rsp+8h] [rbp-48h] BYREF void *__p; // [rsp+18h] [rbp-38h] void *v17[2]; // [rsp+20h] [rbp-30h] BYREF __int64 v18; // [rsp+30h] [rbp-20h] cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1088), a3); *(_OWORD *)v17 = 0; v18 = 0; sub_100552EF0(a3, "_", v17); v5 = 0; if ( 0xAAAAAAAAAAAAAAABLL * (((char *)v17[1] - (char *)v17[0]) >> 3) >= 2 ) { if ( (*((_BYTE *)v17[0] + 24) & 1) != 0 ) v6 = *((const char **)v17[0] + 5); else v6 = (char *)v17[0] + 25; v5 = atoi(v6); } strcpy((char *)v15 + 1, "-1"); v7 = a2 + 1; v8 = *a2 >> 1; if ( (*a2 & 1) != 0 ) { v7 = *((const void **)a2 + 2); v8 = *((_QWORD *)a2 + 1); } v9 = 2; if ( v8 < 2 ) v9 = v8; if ( !((v8 != 2) | (memcmp(v7, (char *)v15 + 1, v9) != 0)) ) { v10 = *(_QWORD **)(a1 + 1360); if ( !v10 ) goto LABEL_18; v11 = (void (__fastcall **)(_QWORD *, _QWORD, __int64))(*v10 + 8LL); goto LABEL_17; } v15[0] = 0; sub_10057D8A0(a1, v5, v15, 0); if ( (v15[0] & 1) != 0 ) operator delete(__p); v10 = *(_QWORD **)(a1 + 1360); if ( v10 ) { v11 = (void (__fastcall **)(_QWORD *, _QWORD, __int64))*v10; LABEL_17: (*v11)(v10, v5, 29); } LABEL_18: v12 = (void **)v17[0]; if ( v17[0] ) { v13 = (void **)v17[1]; v14 = v17[0]; if ( v17[1] != v17[0] ) { do { if ( (*(_BYTE *)(v13 - 3) & 1) != 0 ) operator delete(*(v13 - 1)); v13 -= 3; } while ( v13 != v12 ); v14 = v17[0]; } v17[1] = v12; operator delete(v14); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source