// // GJRewardItem::getRewardObjectForType from 0x1003d1964 to 0x1003d1a0c (168 bytes) // // 1 xrefs: // > sub_1003D1760 @ 0x1003d18b8 // // This function is hookable on this platform (idp: arm, 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 11:04:11 +0000 // _DWORD *__fastcall GJRewardItem::getRewardObjectForType(__int64 a1, int a2) { __int64 v4; // x0 _QWORD *v5; // x0 unsigned int v6; // w21 __int64 v7; // x0 _DWORD *v8; // x22 v4 = *(_QWORD *)(a1 + 72); if ( !v4 ) { v5 = sub_1002E736C(); sub_1001E3D38(a1, (__int64)v5); v4 = *(_QWORD *)(a1 + 72); } if ( (unsigned int)sub_1002E757C(v4) ) { v6 = 0; while ( 1 ) { v7 = sub_1002E75A0(*(_QWORD *)(a1 + 72), v6); if ( *(_DWORD *)(v7 + 56) == a2 ) return (_DWORD *)v7; if ( ++v6 >= (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 72)) ) goto LABEL_7; } } else { LABEL_7: v8 = GJRewardObject::create(a2, 0, 0); sub_1002E74E0(*(_QWORD *)(a1 + 72)); } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source