// // sub_100651F10 from 0x100651f10 to 0x100651f7f (111 bytes) // // 0 xrefs: // // 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:49 +0000 // __int64 __fastcall sub_100651F10(__int64 a1) { __int64 result; // rax __int64 v3; // rdi __int64 v4; // rax int v5; // ecx result = *(unsigned int *)(a1 + 832); v3 = *(_QWORD *)(a1 + 824); if ( v3 != 0 && (int)result > 0 ) { while ( 1 ) { v4 = cocos2d::CCDictionary::objectForKey_1(v3, (unsigned int)result); v5 = *(_DWORD *)(a1 + 832); if ( !v4 ) break; result = (unsigned int)(v5 + 1); *(_DWORD *)(a1 + 832) = result; if ( v5 >= 0 ) { v3 = *(_QWORD *)(a1 + 824); if ( v3 ) continue; } goto LABEL_7; } result = (unsigned int)v5; } LABEL_7: *(_DWORD *)(a1 + 832) = result + 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source