// // sub_1006A5A70 from 0x1006a5a70 to 0x1006a5c89 (537 bytes) // // 0 xrefs: // // 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:35:19 +0000 // char *__fastcall sub_1006A5A70(__int128 *a1) { char *v1; // rbx char v2; // r14 __int128 v4; // [rsp+0h] [rbp-30h] BYREF void *__p; // [rsp+10h] [rbp-20h] v1 = (char *)operator new(0x2D0u); cocos2d::CCLayerColor::CCLayerColor((__int64)v1); *(_QWORD *)v1 = off_100B4FB70; *((_QWORD *)v1 + 40) = off_100B500C0; *((_QWORD *)v1 + 41) = &off_100B50130; *((_QWORD *)v1 + 42) = off_100B50148; *((_QWORD *)v1 + 43) = off_100B50168; *((_QWORD *)v1 + 44) = off_100B50190; *((_QWORD *)v1 + 51) = off_100B501C0; *((_QWORD *)v1 + 54) = off_100B50240; *((_QWORD *)v1 + 68) = off_100B50260; *(_OWORD *)(v1 + 552) = 0; *(_OWORD *)(v1 + 561) = 0; *(_OWORD *)(v1 + 584) = 0; sub_1002782A0((_QWORD *)v1 + 75); *((_OWORD *)v1 + 38) = 0; *((_QWORD *)v1 + 78) = 0; *((_DWORD *)v1 + 158) = -1; *((_WORD *)v1 + 318) = 0; *((_DWORD *)v1 + 160) = -1; v1[644] = 0; *((_QWORD *)v1 + 81) = 0; v1[656] = 0; *(_QWORD *)v1 = off_100B85D60; *((_QWORD *)v1 + 40) = off_100B862B0; *((_QWORD *)v1 + 41) = &off_100B86320; *((_QWORD *)v1 + 42) = off_100B86338; *((_QWORD *)v1 + 43) = off_100B86358; *((_QWORD *)v1 + 44) = off_100B86380; *((_QWORD *)v1 + 51) = off_100B863B0; *((_QWORD *)v1 + 54) = off_100B86430; *((_QWORD *)v1 + 68) = off_100B86450; *(_OWORD *)(v1 + 673) = 0; *(_OWORD *)(v1 + 664) = 0; *(_OWORD *)(v1 + 696) = 0; *((_QWORD *)v1 + 89) = 0; if ( (*(_BYTE *)a1 & 1) != 0 ) { sub_10001AD30(&v4, *((const void **)a1 + 2), *((_QWORD *)a1 + 1)); } else { __p = *((void **)a1 + 2); v4 = *a1; } v2 = TutorialPopup::init(v1, &v4); if ( (v4 & 1) != 0 ) operator delete(__p); if ( v2 ) { cocos2d::CCObject::autorelease((__int64)v1); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1); return nullptr; } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source