// // CCScrollLayerExt::CCScrollLayerExt from 0x10041aad0 to 0x10041ae81 (945 bytes) // // 2 xrefs: // > sub_10041B100 @ 0x10041b105 // > TableView::TableView @ 0x1006fdfc0 // // 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:13 +0000 // __int64 __fastcall CCScrollLayerExt::CCScrollLayerExt(__int64 a1, __int64 a2) { __int64 v3; // r12 __int64 v4; // rax __int64 v5; // r15 __int64 v6; // rax float v7; // xmm0_4 float v8; // xmm1_4 float *v9; // rax __int64 v10; // r14 float v12; // [rsp+0h] [rbp-40h] float v13[2]; // [rsp+4h] [rbp-3Ch] BYREF float v14; // [rsp+Ch] [rbp-34h] float v15; // [rsp+10h] [rbp-30h] BYREF float v16; // [rsp+14h] [rbp-2Ch] cocos2d::CCLayer::CCLayer(a1); *(_QWORD *)a1 = off_100B3F8F8; *(_QWORD *)(a1 + 320) = off_100B3FDA0; *(_QWORD *)(a1 + 328) = &off_100B3FE10; *(_QWORD *)(a1 + 336) = off_100B3FE28; *(_QWORD *)(a1 + 344) = off_100B3FE48; *(_QWORD *)(a1 + 352) = off_100B3FE70; *(_QWORD *)(a1 + 408) = off_100B3FEA0; sub_1002782A0((_QWORD *)(a1 + 424)); sub_1002782A0((_QWORD *)(a1 + 432)); *(_BYTE *)(a1 + 496) = 1; *(_BYTE *)(a1 + 501) = 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1000LL))(a1, 1); *(_WORD *)(a1 + 499) = 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 320LL))(a1, a2 + 8); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 184LL))(a1, a2); *(_WORD *)(a1 + 497) = 0; *(_QWORD *)(a1 + 480) = 0; *(_OWORD *)(a1 + 504) = xmmword_100A0A240; *(_QWORD *)(a1 + 416) = 0; sub_100278300((_QWORD *)(a1 + 424), &qword_100BE38C8); sub_100278300((_QWORD *)(a1 + 432), &qword_100BE38C8); *(_WORD *)(a1 + 456) = 0; *(_DWORD *)(a1 + 520) = 0; *(_BYTE *)(a1 + 524) = 0; v15 = 1.1801041e-38; v3 = CCContentLayer::create(&v15, *(float *)(a2 + 8), 0.0); *(_QWORD *)(a1 + 488) = v3; sub_100278250(&v15, 0.0, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v3 + 296LL))(v3, &v15); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 456LL))(a1, *(_QWORD *)(a1 + 488)); *(_QWORD *)(a1 + 464) = 0; v14 = *(float *)(a2 + 12); v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 488) + 328LL))(*(_QWORD *)(a1 + 488)); sub_100278260(&v15, 4.0, (float)(v14 * v14) / *(float *)(v4 + 4)); v13[0] = -0.00000016595803; v5 = cocos2d::CCLayerColor::create(v13, v15, v16); *(_QWORD *)(a1 + 464) = v5; v14 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 328LL))(a1); v12 = v15; v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 328LL))(a1); v7 = v14 - v12 * 0.5; v8 = *(float *)(v6 + 4) - v16 * 0.5; sub_100278250(v13, v7, v8); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v5 + 184LL))(v5, v13); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 464) + 1000LL))(*(_QWORD *)(a1 + 464), 0); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 456LL))(a1, *(_QWORD *)(a1 + 464)); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 464) + 344LL))(*(_QWORD *)(a1 + 464), 0); *(_QWORD *)(a1 + 472) = 0; v14 = *(float *)(a2 + 8); v9 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 488) + 328LL))(*(_QWORD *)(a1 + 488)); sub_100278260(&v15, (float)(v14 * v14) / *v9, 4.0); v13[0] = -0.00000016595803; v10 = cocos2d::CCLayerColor::create(v13, v15, v16); *(_QWORD *)(a1 + 472) = v10; sub_100278250(v13, v15 * 0.5, 0.5 * v16); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v10 + 184LL))(v10, v13); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 472) + 1000LL))(*(_QWORD *)(a1 + 472), 0); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 456LL))(a1, *(_QWORD *)(a1 + 472)); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 472) + 344LL))(*(_QWORD *)(a1 + 472), 0); return cocos2d::CCNode::schedule_2(a1, (__int64)CCScrollLayerExt::updateIndicators, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source