// // sub_140561A10 from 0x140561a10 to 0x140561b38 (296 bytes) // // 3 xrefs: // > sub_140567E10 @ 0x140567e17 // > @ 0x1407db328 // > @ 0x14092c480 // // 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:34:15 +0000 // // Hidden C++ exception states: #wind=1 char *__fastcall sub_140561A10(char *Block, char a2) { char *v4; // rdi __int64 v5; // rax void *v6; // rax *(_QWORD *)Block = &RewardsPage::`vftable'; *((_QWORD *)Block + 40) = &RewardsPage::`vftable'; *((_QWORD *)Block + 41) = &RewardsPage::`vftable'; *((_QWORD *)Block + 42) = &RewardsPage::`vftable'; *((_QWORD *)Block + 43) = &RewardsPage::`vftable'; *((_QWORD *)Block + 44) = &RewardsPage::`vftable'; *((_QWORD *)Block + 51) = &RewardsPage::`vftable'; *((_QWORD *)Block + 54) = &RewardsPage::`vftable'; *((_QWORD *)Block + 68) = &RewardsPage::`vftable'; *((_QWORD *)Block + 83) = &RewardsPage::`vftable'; v4 = Block + 672; *((_QWORD *)Block + 84) = &RewardsPage::`vftable'; v5 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v6 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v6); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v5 = *(_QWORD *)&qword_14090BFB0; } if ( *(char **)(v5 + 1536) == v4 ) *(_QWORD *)(v5 + 1536) = 0; FLAlertLayer::dFLAlertLayer((__int64)Block); if ( (a2 & 1) != 0 ) j_j_free(Block); return Block; }
GD Web Decomp Icon

GD Web Decomp

Raw Source