// // sub_1004CAD00 from 0x1004cad00 to 0x1004cad70 (112 bytes) // // 5 xrefs: // > sub_1004D224C @ 0x1004d22a8 // > sub_1004D268C @ 0x1004d26bc // > sub_1004D2A34 @ 0x1004d2a68 // > EditorSoundConfigInfoLayer::likedItem @ 0x1004d39e4 // > EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0x1004d4424 // // This function is hookable on this platform (idp: arm, 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:06:25 +0000 // __int64 __fastcall sub_1004CAD00(__int64 a1, int a2) { __int64 result; // x0 unsigned int v5; // w21 result = *(_QWORD *)(a1 + 144); if ( result ) { if ( (unsigned int)sub_1002E757C(result) ) { v5 = 0; while ( 1 ) { result = sub_1002E75A0(*(_QWORD *)(a1 + 144), v5); if ( result ) { if ( *(_DWORD *)(result + 316) == a2 ) break; } if ( ++v5 >= (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 144)) ) return 0; } } else { return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source