// // sub_10096DB60 from 0x10096db60 to 0x10096dd55 (501 bytes) // // 2 xrefs: // > ScrollableContentLayer::updateVirtualRows @ 0x10096bce6 // > sub_10096DA20 @ 0x10096da7b // // 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:38:51 +0000 // __int64 __fastcall sub_10096DB60(__int64 a1, signed int a2) { __int64 *v2; // r13 __int64 v3; // rax int v4; // edx int v5; // ecx int v6; // r8d int v7; // r9d __int64 v8; // r12 __int64 *v9; // r15 char *v10; // rax _QWORD *v11; // r15 char *v12; // r13 __int64 v13; // rax __int64 *v14; // rdx char *v16; // [rsp+0h] [rbp-40h] float v17; // [rsp+8h] [rbp-38h] BYREF __int64 *v18; // [rsp+10h] [rbp-30h] *(float *)&v18 = *(float *)(*(_QWORD *)(a1 + 616) + 4LL * a2 + 4) - *(float *)(*(_QWORD *)(a1 + 616) + 4LL * a2); v2 = (__int64 *)cocos2d::CCNode::create(); sub_100278260(&v17, *(float *)(a1 + 424), *(float *)&v18); (*(void (__fastcall **)(__int64 *, float *))(*v2 + 320))(v2, &v17); sub_100278250(&v17, 0.0, -*(float *)(*(_QWORD *)(a1 + 616) + 4LL * a2 + 4)); v3 = *v2; v18 = v2; (*(void (__fastcall **)(__int64 *, float *))(v3 + 184))(v2, &v17); v8 = cocos2d::CCMenu::create((__int64)v2, (__int64)&v17, v4, v5, v6, v7); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v8 + 184LL))(v8, &unk_100BE7730); sub_100278250(&v17, 0.0, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v8 + 296LL))(v8, &v17); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v8 + 320LL))(v8, &unk_100BE7738); if ( *(_BYTE *)(a1 + 524) == 1 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 1000LL))(v8, 0); v9 = v18; (*(void (__fastcall **)(__int64 *, __int64, __int64))(*v18 + 464))(v18, v8, 10); (*(void (__fastcall **)(_QWORD, __int64 *))(**(_QWORD **)(a1 + 416) + 456LL))(*(_QWORD *)(a1 + 416), v9); v10 = *(char **)(a1 + 648); if ( v10 ) { while ( 1 ) { while ( 1 ) { v12 = v10; if ( *((_DWORD *)v10 + 8) <= a2 ) break; v10 = *(char **)v10; v11 = v12; if ( !*(_QWORD *)v12 ) goto LABEL_10; } if ( *((_DWORD *)v10 + 8) >= a2 ) break; v10 = *((char **)v10 + 1); if ( !v10 ) { v11 = v12 + 8; goto LABEL_10; } } } else { v11 = (_QWORD *)(a1 + 648); v12 = (char *)(a1 + 648); LABEL_10: v16 = v12; v12 = (char *)operator new(0x38u); *((_DWORD *)v12 + 8) = a2; *(_OWORD *)(v12 + 40) = 0; *(_OWORD *)v12 = 0; *((_QWORD *)v12 + 2) = v16; *v11 = v12; v13 = **(_QWORD **)(a1 + 640); if ( v13 ) *(_QWORD *)(a1 + 640) = v13; sub_10001B680(*(__int64 **)(a1 + 648), (__int64 *)v12); ++*(_QWORD *)(a1 + 656); } v14 = v18; *((_QWORD *)v12 + 5) = v18; *((_QWORD *)v12 + 6) = v8; return (*(__int64 (__fastcall **)(_QWORD, _QWORD, __int64 *, __int64))(**(_QWORD **)(a1 + 592) + 16LL))( *(_QWORD *)(a1 + 592), (unsigned int)a2, v14, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source