// // sub_100652FC0 from 0x100652fc0 to 0x1006530ca (266 bytes) // // 1 xrefs: // > sub_1006532E0 @ 0x100653429 // // 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:34:50 +0000 // __int64 __fastcall sub_100652FC0(__int64 a1, __int64 a2, __int64 a3) { __int64 *v5; // rax __int64 *v6; // rcx int v7; // edx __int64 v8; // rsi __int64 v9; // rdi __int64 v10; // rax unsigned int v11; // r15d int v12; // edx int v13; // esi __int64 v14; // rsi __int64 v15; // rdi if ( !*(_QWORD *)(a3 + 16) ) return 0; v5 = *(__int64 **)(a3 + 8); if ( v5 ) { v6 = *(__int64 **)(a3 + 8); while ( 1 ) { v7 = *((_DWORD *)v6 + 7); if ( v7 < 0 ) { if ( v7 == -1 ) { LABEL_27: LOBYTE(v6) = 1; return (unsigned int)v6; } ++v6; } v6 = (__int64 *)*v6; if ( !v6 ) { while ( 1 ) { if ( *((int *)v5 + 7) <= 1 ) { if ( *((_DWORD *)v5 + 7) == 1 ) goto LABEL_27; ++v5; } v5 = (__int64 *)*v5; if ( !v5 ) goto LABEL_12; } } } } LABEL_12: v8 = *(int *)(a2 + 60); v9 = *(_QWORD *)(a1 + 824); if ( v8 <= 0 || v9 == 0 || (v10 = cocos2d::CCDictionary::objectForKey_1(v9, v8), v11 = 0, !v10) ) { LODWORD(v6) = 0; } else { do { v6 = *(__int64 **)(a3 + 8); if ( v6 ) { v12 = *(_DWORD *)(v10 + 76); do { v13 = *((_DWORD *)v6 + 7); if ( v12 >= v13 ) { if ( v12 <= v13 ) goto LABEL_27; ++v6; } v6 = (__int64 *)*v6; } while ( v6 ); } v14 = *(int *)(v10 + 60); LODWORD(v6) = 0; if ( v14 <= 0 ) break; v15 = *(_QWORD *)(a1 + 824); if ( !v15 ) break; v10 = cocos2d::CCDictionary::objectForKey_1(v15, v14); LODWORD(v6) = 0; if ( !v10 ) break; } while ( v11++ < 0x63 ); } return (unsigned int)v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source