// // NewsPopup::prefetchPageImages from 0x14049f920 to 0x14049fb05 (485 bytes) // // 3 xrefs: // > NewsPopup::rebuildPage @ 0x14049f87c // > NewsPopup::rebuildPage @ 0x14049f88d // > @ 0x1409293cc // // 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 11:32:56 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall NewsPopup::prefetchPageImages(__int64 a1, int a2) { __int64 v3; // r10 int v4; // ebp __int64 v5; // r15 __int64 v6; // r8 __int64 v7; // rsi _QWORD *v8; // rbx __int64 v9; // rcx __int64 v10; // rdi void **v11; // rbx cocos2d::CCObject *v12; // rcx void *v13; // [rsp+20h] [rbp-78h] _BYTE v14[32]; // [rsp+28h] [rbp-70h] BYREF _BYTE v15[40]; // [rsp+48h] [rbp-50h] BYREF void *v16; // [rsp+B8h] [rbp+20h] if ( a2 >= 0 ) { v3 = *(_QWORD *)(a1 + 680); if ( a2 < (int)((*(_QWORD *)(a1 + 688) - v3) / 96) ) { v4 = 0; v5 = v3 + 96LL * a2; v6 = *(_QWORD *)(v5 + 72); if ( (int)((*(_QWORD *)(v5 + 80) - v6) / 120) > 0 ) { v7 = 0; do { if ( *(_DWORD *)(v7 + v6) == 1 ) { if ( *(_QWORD *)(v7 + v6 + 56) ) { v8 = (_QWORD *)(v7 + v6 + 40); if ( !sub_1400CF6A0((__int64 **)(a1 + 800), v8) ) { v10 = sub_14003F4F0((__int64)v14, (__int64)v8); if ( !qword_14090C070 ) { v16 = operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager((__int64)v16); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); } if ( !(unsigned __int8)MusicDownloadManager::isNewsImageDownloaded(v9, v10) ) { v11 = (void **)sub_14003F4F0((__int64)v15, (__int64)v8); v12 = (cocos2d::CCObject *)qword_14090C070; if ( !qword_14090C070 ) { v13 = operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager((__int64)v13); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); v12 = (cocos2d::CCObject *)qword_14090C070; } MusicDownloadManager::downloadNewsImage(v12, v11); } } } } ++v4; v7 += 120; v6 = *(_QWORD *)(v5 + 72); } while ( v4 < (int)((*(_QWORD *)(v5 + 80) - v6) / 120) ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source