// // FollowRewardPage::switchToOpenedState from 0xaaa3dc to 0xaaa500 (292 bytes) // // 3 xrefs: // > FollowRewardPage::onSpecialItem @ 0xaaafb4 // > FollowRewardPage::init @ 0xaabf28 // > @ 0x47ae8 // // 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 13:00:53 +0000 // __int64 __fastcall FollowRewardPage::switchToOpenedState(FollowRewardPage *this, CCMenuItemSpriteExtra *a2) { __int64 v3; // x19 __int64 v4; // x0 unsigned int *v5; // x1 char *v6; // x20 __int64 v7; // x0 char *v8; // x24 __int64 *i; // x19 __int64 v10; // x2 _BYTE v12[8]; // [xsp+50h] [xbp+50h] BYREF v3 = (*(__int64 (__fastcall **)(CCMenuItemSpriteExtra *))(*(_QWORD *)a2 + 1072LL))(a2); *(_BYTE *)(v3 + 604) = 0; GJChestSprite::switchToState((unsigned int *)v3, 4u, 1u); v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 488LL))(v3); if ( v4 ) { v5 = *(unsigned int **)(v4 + 56); if ( *v5 ) { v6 = *((char **)v5 + 2); v7 = 8LL * *v5 - 8; v8 = &v6[v7]; if ( v6 <= &v6[v7] ) { for ( i = *(__int64 **)v6; *(_QWORD *)v6; i = *(__int64 **)v6 ) { v6 += 8; (*(void (__fastcall **)(__int64 *, __int64))(*i + 912))(i, 4294967190LL); v10 = *i; memset(v12, 150, 3); (*(void (__fastcall **)(__int64 *, _BYTE *))(v10 + 960))(i, v12); if ( v8 < v6 ) break; } } } } (*(void (__fastcall **)(CCMenuItemSpriteExtra *, _QWORD))(*(_QWORD *)a2 + 1056LL))(a2, 0); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source