// // sub_100490CD0 from 0x100490cd0 to 0x100490deb (283 bytes) // // 4 xrefs: // > sub_100490E00 @ 0x100490e05 // > sub_100490E10 @ 0x100490e1c // > sub_100490E30 @ 0x100490e39 // > sub_100490E50 @ 0x100490e63 // // 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:30:46 +0000 // __int64 __fastcall sub_100490CD0(__int64 a1, __int64 a2) { _DWORD *v3; // rdi *(_QWORD *)a1 = off_100B4EAB8; *(_QWORD *)(a1 + 320) = off_100B4F038; *(_QWORD *)(a1 + 328) = &off_100B4F0A8; *(_QWORD *)(a1 + 336) = off_100B4F0C0; *(_QWORD *)(a1 + 344) = off_100B4F0E0; *(_QWORD *)(a1 + 352) = off_100B4F108; *(_QWORD *)(a1 + 408) = off_100B4F138; *(_QWORD *)(a1 + 432) = off_100B4F1B8; *(_QWORD *)(a1 + 544) = off_100B4F1D8; *(_QWORD *)(a1 + 664) = off_100B4F220; *(_QWORD *)(a1 + 672) = &off_100B4F240; if ( *(_QWORD *)(GJAccountManager::sharedState(a1, a2) + 400) == a1 + 664 ) { *(_QWORD *)(GJAccountManager::sharedState(a1, a2) + 400) = 0; v3 = *(_DWORD **)(a1 + 712); if ( !v3 ) goto LABEL_6; goto LABEL_5; } v3 = *(_DWORD **)(a1 + 712); if ( v3 ) LABEL_5: cocos2d::CCObject::release(v3); LABEL_6: if ( (*(_BYTE *)(a1 + 744) & 1) != 0 ) operator delete(*(void **)(a1 + 760)); if ( (*(_BYTE *)(a1 + 720) & 1) != 0 ) operator delete(*(void **)(a1 + 736)); return sub_1004936F0(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source