// // GJRewardItem::getRewardCount from 0x10003cf10 to 0x10003cf74 (100 bytes) // // 3 xrefs: // > RewardUnlockLayer::playRewardEffect @ 0x100200825 // > RewardUnlockLayer::playRewardEffect @ 0x100200839 // > RewardUnlockLayer::playRewardEffect @ 0x10020084d // // 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:19:34 +0000 // __int64 __fastcall GJRewardItem::getRewardCount(__int64 a1, int a2) { __int64 v3; // rdi unsigned int v4; // r15d unsigned int v5; // r12d __int64 v6; // rax v3 = *(_QWORD *)(a1 + 72); v4 = 0; if ( v3 && (unsigned int)sub_1007FEF90(v3) ) { v5 = 0; v4 = 0; do { v6 = sub_1007FEFE0(*(_QWORD *)(a1 + 72), v5); if ( *(_DWORD *)(v6 + 56) == a2 ) v4 += *(_DWORD *)(v6 + 68); ++v5; } while ( v5 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 72)) ); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source