// // GJBaseGameLayer::countCollectedUserCoins from 0x100106f30 to 0x100106f7d (77 bytes) // // 1 xrefs: // > PlayLayer::levelComplete @ 0x100081118 // // 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:21:32 +0000 // __int64 __fastcall GJBaseGameLayer::countCollectedUserCoins(__int64 a1) { __int64 v1; // rax unsigned int v2; // ebx __int64 v3; // r14 __int64 v4; // rdi v1 = *(_QWORD *)(a1 + 12592); v2 = 0; if ( v1 ) { v3 = *(_QWORD *)(v1 + 56); if ( v3 ) { v2 = 0; do { v4 = *(_QWORD *)(v3 + 264); v3 = *(_QWORD *)(v3 + 288); v2 += (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1800LL))(v4) == 31; } while ( v3 ); } } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source